elementary / default theme - fixed identation and removed white spaces for ctxpopup
[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
323       data {
324          item: "focus_highlight" "on";
325       }
326
327       script {
328          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
329          public timer0(val) {
330             new v;
331             v = get_int(sbvis_v);
332             if (v) {
333                v = get_int(sbalways_v);
334                if (!v) {
335                   emit("do-hide-vbar", "");
336                   set_int(sbvis_v, 0);
337                }
338             }
339             v = get_int(sbvis_h);
340             if (v) {
341                v = get_int(sbalways_h);
342                if (!v) {
343                   emit("do-hide-hbar", "");
344                   set_int(sbvis_h, 0);
345                }
346             }
347             set_int(sbvis_timer, 0);
348             return 0;
349          }
350       }
351       images {
352          image: "shelf_inset.png" COMP;
353          image: "bt_sm_base2.png" COMP;
354          image: "bt_sm_shine.png" COMP;
355          image: "bt_sm_hilight.png" COMP;
356          image: "sl_bt2_2.png" COMP;
357       }
358       parts {
359          part { name: "bg";
360             type: RECT;
361             description { state: "default" 0.0;
362                rel1.offset: 2 2;
363                rel2.offset: -3 -3;
364                color: 255 255 255 0;
365             }
366          }
367          part { name: "clipper";
368             type: RECT;
369             mouse_events: 0;
370             description { state: "default" 0.0;
371                rel1.to: "bg";
372                rel2.to: "bg";
373                rel1.offset: 2 2;
374                rel2.offset: -3 -3;
375             }
376          }
377          part { name: "elm.swallow.content";
378             clip_to: "clipper";
379             type: SWALLOW;
380             description { state: "default" 0.0;
381                rel1.to: "bg";
382                rel2.to: "bg";
383                rel1.offset: 2 2;
384                rel2.offset: -3 -3;
385             }
386          }
387          part { name: "conf_over";
388             mouse_events:  0;
389             description { state: "default" 0.0;
390                rel1.to: "bg";
391                rel2.to: "bg";
392                image {
393                   normal: "shelf_inset.png";
394                   border: 7 7 7 7;
395                   middle: 0;
396                }
397                fill.smooth : 0;
398             }
399             description { state: "enabled" 0.0;
400                inherit: "default" 0.0;
401                color: 200 155 0 255;
402             }
403          }
404          part { name: "focus_highlight";
405             mouse_events: 0;
406             description { state: "default" 0.0;
407                rel1.offset: -1 -1;
408                rel2.offset: 0 0;
409                image {
410                   normal: "sl_bt2_2.png";
411                   border: 7 7 7 7;
412                   middle: 0;
413                }
414                fill.smooth : 0;
415                color: 200 155 0 0;
416             }
417             description { state: "enabled" 0.0;
418                inherit: "default" 0.0;
419                color: 200 155 0 255;
420             }
421          }
422          part { name: "sb_vbar_clip_master";
423             type: RECT;
424             mouse_events: 0;
425             description { state: "default" 0.0;
426             }
427             description { state: "hidden" 0.0;
428                visible: 0;
429                color: 255 255 255 0;
430             }
431          }
432          part { name: "sb_vbar_clip";
433             clip_to: "sb_vbar_clip_master";
434             type: RECT;
435             mouse_events: 0;
436             description { state: "default" 0.0;
437             }
438             description { state: "hidden" 0.0;
439                visible: 0;
440                color: 255 255 255 0;
441             }
442          }
443          part { name: "sb_vbar";
444             type: RECT;
445             mouse_events: 0;
446             description { state: "default" 0.0;
447                fixed: 1 1;
448                visible: 0;
449                min: 10 17;
450                align: 1.0 0.0;
451                rel1 {
452                   relative: 1.0 0.0;
453                   offset:   0 2;
454                   to_y:     "elm.swallow.content";
455                   to_x:     "elm.swallow.content";
456                }
457                rel2 {
458                   relative: 1.0 0.0;
459                   offset:   -1 -1;
460                   to_y:     "sb_hbar";
461                   to_x:     "elm.swallow.content";
462                }
463             }
464          }
465          part { name: "elm.dragable.vbar";
466             clip_to: "sb_vbar_clip";
467             mouse_events: 0;
468             dragable {
469                x: 0 0 0;
470                y: 1 1 0;
471                confine: "sb_vbar";
472             }
473             description { state: "default" 0.0;
474                fixed: 1 1;
475                min: 10 17;
476                max: 10 99999;
477                rel1 {
478                   relative: 0.5  0.5;
479                   offset:   0    0;
480                   to: "sb_vbar";
481                }
482                rel2 {
483                   relative: 0.5  0.5;
484                   offset:   0    0;
485                   to: "sb_vbar";
486                }
487                image {
488                   normal: "bt_sm_base2.png";
489                   border: 6 6 6 6;
490                   middle: SOLID;
491                }
492             }
493          }
494          part { name: "sb_vbar_over1";
495             clip_to: "sb_vbar_clip";
496             mouse_events: 0;
497             description { state: "default" 0.0;
498                rel1.to: "elm.dragable.vbar";
499                rel2.relative: 1.0 0.5;
500                rel2.to: "elm.dragable.vbar";
501                image {
502                   normal: "bt_sm_hilight.png";
503                   border: 6 6 6 0;
504                }
505             }
506          }
507          part { name: "sb_vbar_over2";
508             clip_to: "sb_vbar_clip";
509             mouse_events: 0;
510             description { state: "default" 0.0;
511                rel1.to: "elm.dragable.vbar";
512                rel2.to: "elm.dragable.vbar";
513                image {
514                   normal: "bt_sm_shine.png";
515                   border: 6 6 6 0;
516                }
517             }
518          }
519
520          part { name: "sb_hbar_clip_master";
521             type: RECT;
522             mouse_events: 0;
523             description { state: "default" 0.0;
524             }
525             description { state: "hidden" 0.0;
526                visible: 0;
527                color: 255 255 255 0;
528             }
529          }
530          part { name: "sb_hbar_clip";
531             clip_to: "sb_hbar_clip_master";
532             type: RECT;
533             mouse_events: 0;
534             description { state: "default" 0.0;
535             }
536             description { state: "hidden" 0.0;
537                visible: 0;
538                color: 255 255 255 0;
539             }
540          }
541          part { name: "sb_hbar";
542             type: RECT;
543             mouse_events: 0;
544             description { state: "default" 0.0;
545                fixed: 1 1;
546                visible: 0;
547                min: 17 10;
548                align: 0.0 1.0;
549                rel1 {
550                   relative: 0.0 1.0;
551                   offset:   2 0;
552                   to_x:     "elm.swallow.content";
553                   to_y:     "elm.swallow.content";
554                }
555                rel2 {
556                   relative: 0.0 1.0;
557                   offset:   -1 -1;
558                   to_x:     "sb_vbar";
559                   to_y:     "elm.swallow.content";
560                }
561             }
562          }
563          part { name: "elm.dragable.hbar";
564             clip_to: "sb_hbar_clip";
565             mouse_events: 0;
566             dragable {
567                x: 1 1 0;
568                y: 0 0 0;
569                confine: "sb_hbar";
570             }
571             description { state: "default" 0.0;
572                fixed: 1 1;
573                min: 17 10;
574                max: 99999 10;
575                rel1 {
576                   relative: 0.5  0.5;
577                   offset:   0    0;
578                   to: "sb_hbar";
579                }
580                rel2 {
581                   relative: 0.5  0.5;
582                   offset:   0    0;
583                   to: "sb_hbar";
584                }
585                image {
586                   normal: "bt_sm_base2.png";
587                   border: 4 4 4 4;
588                   middle: SOLID;
589                }
590             }
591          }
592          part { name: "sb_hbar_over1";
593             clip_to: "sb_hbar_clip";
594             mouse_events: 0;
595             description { state: "default" 0.0;
596                rel1.to: "elm.dragable.hbar";
597                rel2.relative: 1.0 0.5;
598                rel2.to: "elm.dragable.hbar";
599                image {
600                   normal: "bt_sm_hilight.png";
601                   border: 4 4 4 0;
602                }
603             }
604          }
605          part { name: "sb_hbar_over2";
606             clip_to: "sb_hbar_clip";
607             mouse_events: 0;
608             description { state: "default" 0.0;
609                rel1.to: "elm.dragable.hbar";
610                rel2.to: "elm.dragable.hbar";
611                image {
612                   normal: "bt_sm_shine.png";
613                   border: 4 4 4 0;
614                }
615             }
616          }
617           part { name: "disabler";
618             type: RECT;
619             description { state: "default" 0.0;
620                rel1.to: "clipper";
621                rel2.to: "clipper";
622                color: 0 0 0 0;
623                visible: 0;
624             }
625             description { state: "disabled" 0.0;
626                inherit: "default" 0.0;
627                visible: 1;
628                color: 128 128 128 128;
629             }
630          }
631       }
632       programs {
633          program { name: "load";
634             signal: "load";
635             source: "";
636             script {
637                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
638                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
639                set_int(sbvis_h, 0);
640                set_int(sbvis_v, 0);
641                set_int(sbalways_v, 0);
642                set_int(sbalways_h, 0);
643                set_int(sbvis_timer, 0);
644             }
645          }
646
647          program { name: "vbar_show";
648             signal: "elm,action,show,vbar";
649             source: "elm";
650             action:  STATE_SET "default" 0.0;
651             target: "sb_vbar_clip_master";
652          }
653          program { name: "vbar_hide";
654             signal: "elm,action,hide,vbar";
655             source: "elm";
656             action:  STATE_SET "hidden" 0.0;
657             target: "sb_vbar_clip_master";
658          }
659          program { name: "vbar_show_always";
660             signal: "elm,action,show_always,vbar";
661             source: "elm";
662             script {
663                new v;
664                v = get_int(sbvis_v);
665                v |= get_int(sbalways_v);
666                if (!v) {
667                   set_int(sbalways_v, 1);
668                   emit("do-show-vbar", "");
669                   set_int(sbvis_v, 1);
670                }
671             }
672          }
673          program { name: "vbar_show_notalways";
674             signal: "elm,action,show_notalways,vbar";
675             source: "elm";
676             script {
677                new v;
678                v = get_int(sbalways_v);
679                if (v) {
680                   set_int(sbalways_v, 0);
681                   v = get_int(sbvis_v);
682                   if (!v) {
683                      emit("do-hide-vbar", "");
684                      set_int(sbvis_v, 0);
685                   }
686                }
687             }
688          }
689          program { name: "sb_vbar_show";
690             signal: "do-show-vbar";
691             source: "";
692             action:  STATE_SET "default" 0.0;
693             transition: LINEAR 0.5;
694             target: "sb_vbar_clip";
695          }
696          program { name: "sb_vbar_hide";
697             signal: "do-hide-vbar";
698             source: "";
699             action:  STATE_SET "hidden" 0.0;
700             transition: LINEAR 0.5;
701             target: "sb_vbar_clip";
702          }
703
704          program { name: "hbar_show";
705             signal: "elm,action,show,hbar";
706             source: "elm";
707             action:  STATE_SET "default" 0.0;
708             target: "sb_hbar_clip_master";
709          }
710          program { name: "hbar_hide";
711             signal: "elm,action,hide,hbar";
712             source: "elm";
713             action:  STATE_SET "hidden" 0.0;
714             target: "sb_hbar_clip_master";
715          }
716          program { name: "hbar_show_always";
717             signal: "elm,action,show_always,hbar";
718             source: "elm";
719             script {
720                new v;
721                v = get_int(sbvis_h);
722                v |= get_int(sbalways_h);
723                if (!v) {
724                   set_int(sbalways_h, 1);
725                   emit("do-show-hbar", "");
726                   set_int(sbvis_h, 1);
727                }
728             }
729          }
730          program { name: "hbar_show_notalways";
731             signal: "elm,action,show_notalways,hbar";
732             source: "elm";
733             script {
734                new v;
735                v = get_int(sbalways_h);
736                if (v) {
737                   set_int(sbalways_h, 0);
738                   v = get_int(sbvis_h);
739                   if (!v) {
740                      emit("do-hide-hbar", "");
741                      set_int(sbvis_h, 0);
742                   }
743                }
744             }
745          }
746          program { name: "sb_hbar_show";
747             signal: "do-show-hbar";
748             source: "";
749             action:  STATE_SET "default" 0.0;
750             transition: LINEAR 0.5;
751             target: "sb_hbar_clip";
752          }
753          program { name: "sb_hbar_hide";
754             signal: "do-hide-hbar";
755             source: "";
756             action:  STATE_SET "hidden" 0.0;
757             transition: LINEAR 0.5;
758             target: "sb_hbar_clip";
759          }
760
761          program { name: "scroll";
762             signal: "elm,action,scroll";
763             source: "elm";
764             script {
765                new v;
766                v = get_int(sbvis_v);
767                v |= get_int(sbalways_v);
768                if (!v) {
769                   emit("do-show-vbar", "");
770                   set_int(sbvis_v, 1);
771                }
772                v = get_int(sbvis_h);
773                v |= get_int(sbalways_h);
774                if (!v) {
775                   emit("do-show-hbar", "");
776                   set_int(sbvis_h, 1);
777                }
778                v = get_int(sbvis_timer);
779                if (v > 0) cancel_timer(v);
780                v = timer(1.0, "timer0", 0);
781                set_int(sbvis_timer, v);
782             }
783          }
784
785          program { name: "highlight_show";
786             signal: "elm,action,focus_highlight,show";
787             source: "elm";
788             action: STATE_SET "enabled" 0.0;
789             transition: ACCELERATE 0.3;
790             target: "focus_highlight";
791             target: "conf_over";
792          }
793          program { name: "highlight_hide";
794             signal: "elm,action,focus_highlight,hide";
795             source: "elm";
796             action: STATE_SET "default" 0.0;
797             transition: DECELERATE 0.3;
798             target: "focus_highlight";
799             target: "conf_over";
800          }
801          program { name: "disable";
802             signal: "elm,state,disabled";
803             source: "elm";
804             action: STATE_SET "disabled" 0.0;
805             target: "disabler";
806          }
807          program { name: "enable";
808             signal: "elm,state,enabled";
809             source: "elm";
810             action: STATE_SET "default" 0.0;
811             target: "disabler";
812          }
813       }
814    }
815
816 ///////////////////////////////////////////////////////////////////////////////
817    group { name: "elm/scroller/entry/default";
818
819       data {
820          item: "focus_highlight" "on";
821       }
822
823       script {
824          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
825          public timer0(val) {
826             new v;
827             v = get_int(sbvis_v);
828             if (v) {
829                v = get_int(sbalways_v);
830                if (!v) {
831                   emit("do-hide-vbar", "");
832                   set_int(sbvis_v, 0);
833                }
834             }
835             v = get_int(sbvis_h);
836             if (v) {
837                v = get_int(sbalways_h);
838                if (!v) {
839                   emit("do-hide-hbar", "");
840                   set_int(sbvis_h, 0);
841                }
842             }
843             set_int(sbvis_timer, 0);
844             return 0;
845          }
846       }
847       images {
848          image: "shelf_inset.png" COMP;
849          image: "bt_sm_base2.png" COMP;
850          image: "bt_sm_shine.png" COMP;
851          image: "bt_sm_hilight.png" COMP;
852          image: "sl_bt2_2.png" COMP;
853       }
854       parts {
855          part { name: "bg";
856             type: RECT;
857             description { state: "default" 0.0;
858                rel1.offset: 2 2;
859                rel2.offset: -3 -3;
860             }
861          }
862          part { name: "clipper";
863             type: RECT;
864             mouse_events: 0;
865             description { state: "default" 0.0;
866                rel1.to: "bg";
867                rel2.to: "bg";
868                rel1.offset: 2 2;
869                rel2.offset: -3 -3;
870             }
871          }
872          part { name: "contentclipper";
873             type: RECT;
874             mouse_events: 0;
875             clip_to: "clipper";
876             description { state: "default" 0.0;
877                rel1.to: "elm.swallow.icon";
878                rel1.relative: 1.0 0.0;
879                rel2.to: "elm.swallow.end";
880                rel2.relative: 0.0 1.0;
881             }
882          }
883          part { name: "elm.swallow.icon";
884             type: SWALLOW;
885             clip_to: "clipper";
886             description { state: "default" 0.0;
887                fixed: 1 1;
888                rel1 {
889                   to: "bg";
890                   relative: 0.0 0.0;
891                   offset: 0 0;
892                }
893                rel2 {
894                   to: "bg";
895                   relative: 0.0 1.0;
896                   offset: -1 -1;
897                }
898                visible: 0;
899             }
900             description { state: "visible" 0.0;
901                fixed: 1 1;
902                align: 0.0 1.0;
903                rel1 {
904                          to: "bg";
905                          relative: 0.0 0.0;
906                          offset: 0 0;
907                }
908                rel2 {
909                   to: "bg";
910                   relative: 0.0 1.0;
911                   offset: -1 -1;
912                }
913                visible: 1;
914             }
915          }
916          part { name: "elm.swallow.end";
917             type: SWALLOW;
918             clip_to: "clipper";
919             description { state: "default" 0.0;
920                fixed: 1 1;
921                rel1 {
922                   to: "bg";
923                   relative: 1.0 0.0;
924                   offset: 0 0;
925                }
926                rel2 {
927                   to: "bg";
928                   relative: 1.0 1.0;
929                   offset: -1 -1;
930                }
931                visible: 0;
932             }
933             description { state: "visible" 0.0;
934                fixed: 1 1;
935                align: 1.0 1.0;
936                rel1 {
937                   to: "bg";
938                   relative: 1.0 0.0;
939                   offset: 0 0;
940                }
941                rel2 {
942                   to: "bg";
943                   relative: 1.0 1.0;
944                   offset: -1 -1;
945                }
946                visible: 1;
947             }
948          }
949          part { name: "elm.swallow.content";
950             clip_to: "contentclipper";
951             type: SWALLOW;
952             description { state: "default" 0.0;
953                rel1 {
954                        to: "elm.swallow.icon";
955                        relative: 1.0 0.0;
956                        offset: 4 4;
957                }
958                rel2 {
959                 to: "elm.swallow.end";
960                 relative: 0.0 1.0;
961                 offset: -5 -5;
962                }
963             }
964          }
965          part { name: "conf_over";
966             mouse_events:  0;
967             description { state: "default" 0.0;
968                rel1.to: "bg";
969                rel2.to: "bg";
970                image {
971                   normal: "shelf_inset.png";
972                   border: 7 7 7 7;
973                   middle: 0;
974                }
975                fill.smooth : 0;
976             }
977             description { state: "enabled" 0.0;
978                inherit: "default" 0.0;
979                color: 200 155 0 255;
980             }
981          }
982          part { name: "focus_highlight";
983             mouse_events: 0;
984             description { state: "default" 0.0;
985                rel1.offset: -1 -1;
986                rel2.offset: 0 0;
987                image {
988                   normal: "sl_bt2_2.png";
989                   border: 7 7 7 7;
990                   middle: 0;
991                }
992                fill.smooth : 0;
993                color: 200 155 0 0;
994             }
995             description { state: "enabled" 0.0;
996                inherit: "default" 0.0;
997                color: 200 155 0 255;
998             }
999          }
1000          part { name: "sb_vbar_clip_master";
1001             type: RECT;
1002             mouse_events: 0;
1003             description { state: "default" 0.0;
1004             }
1005             description { state: "hidden" 0.0;
1006                visible: 0;
1007                color: 255 255 255 0;
1008             }
1009          }
1010          part { name: "sb_vbar_clip";
1011             clip_to: "sb_vbar_clip_master";
1012             type: RECT;
1013             mouse_events: 0;
1014             description { state: "default" 0.0;
1015             }
1016             description { state: "hidden" 0.0;
1017                visible: 0;
1018                color: 255 255 255 0;
1019             }
1020          }
1021          part { name: "sb_vbar";
1022             type: RECT;
1023             mouse_events: 0;
1024             description { state: "default" 0.0;
1025                fixed: 1 1;
1026                visible: 0;
1027                min: 10 17;
1028                align: 1.0 0.0;
1029                rel1 {
1030                   relative: 0.0 0.0;
1031                   offset:   -2 2;
1032                   to_y:     "elm.swallow.content";
1033                   to_x:     "elm.swallow.end";
1034                }
1035                rel2 {
1036                   relative: 0.0 0.0;
1037                   offset:   -2 -1;
1038                   to_y:     "sb_hbar";
1039                   to_x:     "elm.swallow.end";
1040                }
1041             }
1042          }
1043          part { name: "elm.dragable.vbar";
1044             clip_to: "sb_vbar_clip";
1045             mouse_events: 0;
1046             dragable {
1047                x: 0 0 0;
1048                y: 1 1 0;
1049                confine: "sb_vbar";
1050             }
1051             description { state: "default" 0.0;
1052                fixed: 1 1;
1053                min: 10 17;
1054                max: 10 99999;
1055                rel1 {
1056                   relative: 0.5  0.5;
1057                   offset:   0    0;
1058                   to: "sb_vbar";
1059                }
1060                rel2 {
1061                   relative: 0.5  0.5;
1062                   offset:   0    0;
1063                   to: "sb_vbar";
1064                }
1065                image {
1066                   normal: "bt_sm_base2.png";
1067                   border: 6 6 6 6;
1068                   middle: SOLID;
1069                }
1070             }
1071          }
1072          part { name: "sb_vbar_over1";
1073             clip_to: "sb_vbar_clip";
1074             mouse_events: 0;
1075             description { state: "default" 0.0;
1076                rel1.to: "elm.dragable.vbar";
1077                rel2.relative: 1.0 0.5;
1078                rel2.to: "elm.dragable.vbar";
1079                image {
1080                   normal: "bt_sm_hilight.png";
1081                   border: 6 6 6 0;
1082                }
1083             }
1084          }
1085          part { name: "sb_vbar_over2";
1086             clip_to: "sb_vbar_clip";
1087             mouse_events: 0;
1088             description { state: "default" 0.0;
1089                rel1.to: "elm.dragable.vbar";
1090                rel2.to: "elm.dragable.vbar";
1091                image {
1092                   normal: "bt_sm_shine.png";
1093                   border: 6 6 6 0;
1094                }
1095             }
1096          }
1097
1098          part { name: "sb_hbar_clip_master";
1099             type: RECT;
1100             mouse_events: 0;
1101             description { state: "default" 0.0;
1102             }
1103             description { state: "hidden" 0.0;
1104                visible: 0;
1105                color: 255 255 255 0;
1106             }
1107          }
1108          part { name: "sb_hbar_clip";
1109             clip_to: "sb_hbar_clip_master";
1110             type: RECT;
1111             mouse_events: 0;
1112             description { state: "default" 0.0;
1113             }
1114             description { state: "hidden" 0.0;
1115                visible: 0;
1116                color: 255 255 255 0;
1117             }
1118          }
1119          part { name: "sb_hbar";
1120             type: RECT;
1121             mouse_events: 0;
1122             description { state: "default" 0.0;
1123                fixed: 1 1;
1124                visible: 0;
1125                min: 17 10;
1126                align: 0.0 1.0;
1127                rel1 {
1128                   relative: 0.0 1.0;
1129                   offset:   2 0;
1130                   to_x:     "elm.swallow.content";
1131                   to_y:     "elm.swallow.content";
1132                }
1133                rel2 {
1134                   relative: 0.0 1.0;
1135                   offset:   -1 -1;
1136                   to_x:     "sb_vbar";
1137                   to_y:     "elm.swallow.content";
1138                }
1139             }
1140          }
1141          part { name: "elm.dragable.hbar";
1142             clip_to: "sb_hbar_clip";
1143             mouse_events: 0;
1144             dragable {
1145                x: 1 1 0;
1146                y: 0 0 0;
1147                confine: "sb_hbar";
1148             }
1149             description { state: "default" 0.0;
1150                fixed: 1 1;
1151                min: 17 10;
1152                max: 99999 10;
1153                rel1 {
1154                   relative: 0.5  0.5;
1155                   offset:   0    0;
1156                   to: "sb_hbar";
1157                }
1158                rel2 {
1159                   relative: 0.5  0.5;
1160                   offset:   0    0;
1161                   to: "sb_hbar";
1162                }
1163                image {
1164                   normal: "bt_sm_base2.png";
1165                   border: 4 4 4 4;
1166                   middle: SOLID;
1167                }
1168             }
1169          }
1170          part { name: "sb_hbar_over1";
1171             clip_to: "sb_hbar_clip";
1172             mouse_events: 0;
1173             description { state: "default" 0.0;
1174                rel1.to: "elm.dragable.hbar";
1175                rel2.relative: 1.0 0.5;
1176                rel2.to: "elm.dragable.hbar";
1177                image {
1178                   normal: "bt_sm_hilight.png";
1179                   border: 4 4 4 0;
1180                }
1181             }
1182          }
1183          part { name: "sb_hbar_over2";
1184             clip_to: "sb_hbar_clip";
1185             mouse_events: 0;
1186             description { state: "default" 0.0;
1187                rel1.to: "elm.dragable.hbar";
1188                rel2.to: "elm.dragable.hbar";
1189                image {
1190                   normal: "bt_sm_shine.png";
1191                   border: 4 4 4 0;
1192                }
1193             }
1194          }
1195       }
1196       programs {
1197          program { name: "load";
1198             signal: "load";
1199             source: "";
1200             script {
1201                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1202                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1203                set_int(sbvis_h, 0);
1204                set_int(sbvis_v, 0);
1205                set_int(sbalways_v, 0);
1206                set_int(sbalways_h, 0);
1207                set_int(sbvis_timer, 0);
1208             }
1209          }
1210          program { name: "icon_show";
1211             signal: "elm,action,show,icon";
1212             source: "elm";
1213             action: STATE_SET "visible" 0.0;
1214             target: "elm.swallow.icon";
1215          }
1216          program { name: "icon_hide";
1217             signal: "elm,action,hide,icon";
1218             source: "elm";
1219             action: STATE_SET "default" 0.0;
1220             target: "elm.swallow.icon";
1221          }
1222          program { name: "end_show";
1223             signal: "elm,action,show,end";
1224             source: "elm";
1225             action: STATE_SET "visible" 0.0;
1226             target: "elm.swallow.end";
1227          }
1228          program { name: "end_hide";
1229             signal: "elm,action,hide,end";
1230             source: "elm";
1231             action: STATE_SET "default" 0.0;
1232             target: "elm.swallow.end";
1233          }
1234          program { name: "vbar_show";
1235             signal: "elm,action,show,vbar";
1236             source: "elm";
1237             action:  STATE_SET "default" 0.0;
1238             target: "sb_vbar_clip_master";
1239          }
1240          program { name: "vbar_hide";
1241             signal: "elm,action,hide,vbar";
1242             source: "elm";
1243             action:  STATE_SET "hidden" 0.0;
1244             target: "sb_vbar_clip_master";
1245          }
1246          program { name: "vbar_show_always";
1247             signal: "elm,action,show_always,vbar";
1248             source: "elm";
1249             script {
1250                new v;
1251                v = get_int(sbvis_v);
1252                v |= get_int(sbalways_v);
1253                if (!v) {
1254                   set_int(sbalways_v, 1);
1255                   emit("do-show-vbar", "");
1256                   set_int(sbvis_v, 1);
1257                }
1258             }
1259          }
1260          program { name: "vbar_show_notalways";
1261             signal: "elm,action,show_notalways,vbar";
1262             source: "elm";
1263             script {
1264                new v;
1265                v = get_int(sbalways_v);
1266                if (v) {
1267                   set_int(sbalways_v, 0);
1268                   v = get_int(sbvis_v);
1269                   if (!v) {
1270                      emit("do-hide-vbar", "");
1271                      set_int(sbvis_v, 0);
1272                   }
1273                }
1274             }
1275          }
1276          program { name: "sb_vbar_show";
1277             signal: "do-show-vbar";
1278             source: "";
1279             action:  STATE_SET "default" 0.0;
1280             transition: LINEAR 0.5;
1281             target: "sb_vbar_clip";
1282          }
1283          program { name: "sb_vbar_hide";
1284             signal: "do-hide-vbar";
1285             source: "";
1286             action:  STATE_SET "hidden" 0.0;
1287             transition: LINEAR 0.5;
1288             target: "sb_vbar_clip";
1289          }
1290
1291          program { name: "hbar_show";
1292             signal: "elm,action,show,hbar";
1293             source: "elm";
1294             action:  STATE_SET "default" 0.0;
1295             target: "sb_hbar_clip_master";
1296          }
1297          program { name: "hbar_hide";
1298             signal: "elm,action,hide,hbar";
1299             source: "elm";
1300             action:  STATE_SET "hidden" 0.0;
1301             target: "sb_hbar_clip_master";
1302          }
1303          program { name: "hbar_show_always";
1304             signal: "elm,action,show_always,hbar";
1305             source: "elm";
1306             script {
1307                new v;
1308                v = get_int(sbvis_h);
1309                v |= get_int(sbalways_h);
1310                if (!v) {
1311                   set_int(sbalways_h, 1);
1312                   emit("do-show-hbar", "");
1313                   set_int(sbvis_h, 1);
1314                }
1315             }
1316          }
1317          program { name: "hbar_show_notalways";
1318             signal: "elm,action,show_notalways,hbar";
1319             source: "elm";
1320             script {
1321                new v;
1322                v = get_int(sbalways_h);
1323                if (v) {
1324                   set_int(sbalways_h, 0);
1325                   v = get_int(sbvis_h);
1326                   if (!v) {
1327                      emit("do-hide-hbar", "");
1328                      set_int(sbvis_h, 0);
1329                   }
1330                }
1331             }
1332          }
1333          program { name: "sb_hbar_show";
1334             signal: "do-show-hbar";
1335             source: "";
1336             action:  STATE_SET "default" 0.0;
1337             transition: LINEAR 0.5;
1338             target: "sb_hbar_clip";
1339          }
1340          program { name: "sb_hbar_hide";
1341             signal: "do-hide-hbar";
1342             source: "";
1343             action:  STATE_SET "hidden" 0.0;
1344             transition: LINEAR 0.5;
1345             target: "sb_hbar_clip";
1346          }
1347
1348          program { name: "scroll";
1349             signal: "elm,action,scroll";
1350             source: "elm";
1351             script {
1352                new v;
1353                v = get_int(sbvis_v);
1354                v |= get_int(sbalways_v);
1355                if (!v) {
1356                   emit("do-show-vbar", "");
1357                   set_int(sbvis_v, 1);
1358                }
1359                v = get_int(sbvis_h);
1360                v |= get_int(sbalways_h);
1361                if (!v) {
1362                   emit("do-show-hbar", "");
1363                   set_int(sbvis_h, 1);
1364                }
1365                v = get_int(sbvis_timer);
1366                if (v > 0) cancel_timer(v);
1367                v = timer(1.0, "timer0", 0);
1368                set_int(sbvis_timer, v);
1369             }
1370          }
1371
1372          program { name: "highlight_show";
1373             signal: "elm,action,focus_highlight,show";
1374             source: "elm";
1375             action: STATE_SET "enabled" 0.0;
1376             transition: ACCELERATE 0.3;
1377             target: "focus_highlight";
1378             target: "conf_over";
1379          }
1380          program { name: "highlight_hide";
1381             signal: "elm,action,focus_highlight,hide";
1382             source: "elm";
1383             action: STATE_SET "default" 0.0;
1384             transition: DECELERATE 0.3;
1385             target: "focus_highlight";
1386             target: "conf_over";
1387          }
1388       }
1389    }
1390
1391 ///////////////////////////////////////////////////////////////////////////////
1392 #define TEXT_SLIDE_DURATION     10
1393
1394    group { name: "elm/label/base/default";
1395       data.item: "default_font_size" "10";
1396       data.item: "min_font_size" "6";
1397       data.item: "max_font_size" "60";
1398       styles {
1399          style { name: "textblock_style";
1400             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1401             tag:  "br" "\n";
1402             tag:  "ps" "ps";
1403             tag:  "hilight" "+ font=Sans:style=Bold";
1404             tag:  "b" "+ font=Sans:style=Bold";
1405             tag:  "tab" "\t";
1406            }
1407         }
1408       parts {
1409          part { name: "label.swallow.background";
1410             type: SWALLOW;
1411             description { state: "default" 0.0;
1412                visible: 1;
1413             }
1414          }
1415          part { name: "label.text.clip";
1416             type: RECT;
1417             description { state: "default" 0.0;
1418                rel1 { relative: 0 0; to: "label.swallow.background"; }
1419                rel2 { relative: 1 1; to: "label.swallow.background"; }
1420             }
1421          }
1422          part { name: "elm.text";
1423             type: TEXTBLOCK;
1424             mouse_events: 0;
1425             scale: 1;
1426             clip_to: "label.text.clip";
1427             description { state: "default" 0.0;
1428                rel1.relative: 0.0 0.0;
1429                rel2.relative: 1.0 1.0;
1430                text {
1431                   style: "textblock_style";
1432                   min: 1 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base_wrap/default";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       parts {
1444          part { name: "label.swallow.background";
1445             type: SWALLOW;
1446             description { state: "default" 0.0;
1447                visible: 1;
1448                rel1 { relative: 0 0; to: "elm.text"; }
1449                rel2 { relative: 1 1; to: "elm.text"; }
1450             }
1451          }
1452          part { name: "elm.text";
1453             type: TEXTBLOCK;
1454             mouse_events: 0;
1455             scale: 1;
1456             description { state: "default" 0.0;
1457                text {
1458                   style: "textblock_style";
1459                   min: 0 1;
1460                }
1461             }
1462          }
1463       }
1464    }
1465
1466    group { name: "elm/label/base_wrap_ellipsis/default";
1467       data.item: "default_font_size" "10";
1468       data.item: "min_font_size" "6";
1469       data.item: "max_font_size" "60";
1470       parts {
1471          part { name: "label.swallow.background";
1472             type: SWALLOW;
1473             description { state: "default" 0.0;
1474                visible: 1;
1475                rel1 { relative: 0 0; to: "elm.text"; }
1476                rel2 { relative: 1 1; to: "elm.text"; }
1477             }
1478          }
1479          part { name: "elm.text";
1480             type: TEXTBLOCK;
1481             mouse_events: 0;
1482             scale: 1;
1483             multiline: 1;
1484             description { state: "default" 0.0;
1485                fixed: 0 1;
1486                text {
1487                   style: "textblock_style";
1488                   min: 0 1;
1489                }
1490             }
1491          }
1492       }
1493    }
1494
1495    group { name: "elm/label/base/marker";
1496       data.item: "default_font_size" "10";
1497       data.item: "min_font_size" "6";
1498       data.item: "max_font_size" "60";
1499       styles {
1500          style { name: "textblock_style2";
1501            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1502            tag:  "br" "\n";
1503            tag:  "ps" "ps";
1504            tag:  "hilight" "+ color=#ffff";
1505            tag:  "b" "+ color=#ffff";
1506            tag:  "tab" "\t";
1507          }
1508       }
1509       parts {
1510          part { name: "label.swallow.background";
1511             type: SWALLOW;
1512             description { state: "default" 0.0;
1513                visible: 1;
1514                rel1 { relative: 0 0; to: "elm.text"; }
1515                rel2 { relative: 1 1; to: "elm.text"; }
1516             }
1517          }
1518          part { name: "elm.text";
1519             type: TEXTBLOCK;
1520             mouse_events: 0;
1521             scale: 1;
1522             description { state: "default" 0.0;
1523                text {
1524                   style: "textblock_style2";
1525                   min: 1 1;
1526                }
1527             }
1528          }
1529       }
1530    }
1531
1532    group { name: "elm/label/base_wrap/marker";
1533       data.item: "default_font_size" "10";
1534       data.item: "min_font_size" "6";
1535       data.item: "max_font_size" "60";
1536       parts {
1537          part { name: "label.swallow.background";
1538             type: SWALLOW;
1539             description { state: "default" 0.0;
1540                visible: 1;
1541                rel1 { relative: 0 0; to: "elm.text"; }
1542                rel2 { relative: 1 1; to: "elm.text"; }
1543             }
1544          }
1545          part { name: "elm.text";
1546             type: TEXTBLOCK;
1547             mouse_events: 0;
1548             scale: 1;
1549             description { state: "default" 0.0;
1550                text {
1551                   style: "textblock_style2";
1552                   min: 0 1;
1553                }
1554             }
1555          }
1556       }
1557    }
1558
1559    group { name: "elm/label/base/slide_long";
1560       data.item: "default_font_size" "10";
1561       data.item: "min_font_size" "6";
1562       data.item: "max_font_size" "60";
1563
1564       script {
1565         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1566
1567         public message(Msg_Type:type, id, ...) {
1568            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1569               new Float:duration;
1570               duration = getarg(2);
1571               set_float(g_duration, duration);
1572            }
1573         }
1574         public slide_to_end_anim(val, Float:pos) {
1575            new stopflag;
1576            new id;
1577            stopflag = get_int(g_stopslide);
1578            if (stopflag == 1) return;
1579            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1580            if (pos >= 1.0) {
1581               id = timer(0.5, "slide_to_begin", 1);
1582               set_int(g_timer_id, id);
1583            }
1584         }
1585         public slide_to_end() {
1586            new stopflag;
1587            new id;
1588            new Float:duration;
1589            stopflag = get_int(g_stopslide);
1590            if (stopflag == 1) return;
1591            duration = get_float(g_duration);
1592            id = anim(duration, "slide_to_end_anim", 1);
1593            set_int(g_anim_id, id);
1594         }
1595         public slide_to_begin() {
1596            new stopflag;
1597            new id;
1598            stopflag = get_int(g_stopslide);
1599            if (stopflag == 1) return;
1600            set_state(PART:"elm.text", "slide_begin", 0.0);
1601            id = timer(0.5, "slide_to_end", 1);
1602            set_int(g_timer_id, id);
1603         }
1604         public start_slide() {
1605            set_int(g_stopslide, 0);
1606            set_state(PART:"elm.text", "slide_begin", 0.0);
1607            slide_to_end();
1608         }
1609         public stop_slide() {
1610            new id;
1611            set_int(g_stopslide, 1);
1612            id = get_int(g_anim_id);
1613            cancel_anim(id);
1614            id = get_int(g_timer_id);
1615            cancel_timer(id);
1616            set_state(PART:"elm.text", "default", 0.0);
1617         }
1618       }
1619
1620       parts {
1621          part { name: "label.swallow.background";
1622             type: SWALLOW;
1623             description { state: "default" 0.0;
1624                visible: 1;
1625             }
1626          }
1627          part { name: "label.text.clip";
1628             type: RECT;
1629             description { state: "default" 0.0;
1630                visible: 1;
1631                color: 255 255 255 255;
1632                rel1 { relative: 0 0; to: "label.swallow.background"; }
1633                rel2 { relative: 1 1; to: "label.swallow.background"; }
1634             }
1635          }
1636          part { name: "elm.text";
1637             type: TEXTBLOCK;
1638             mouse_events: 0;
1639             scale: 1;
1640             clip_to: "label.text.clip";
1641             description { state: "default" 0.0;
1642                rel1.relative: 0.0 0.0;
1643                rel2.relative: 1.0 1.0;
1644                align: 0.0 0.0;
1645                text {
1646                   style: "textblock_style";
1647                   min: 1 1;
1648                }
1649             }
1650             description { state: "slide_end" 0.0;
1651                inherit: "default" 0.0;
1652                rel1.relative: 0.0 0.0;
1653                rel2.relative: 0.0 1.0;
1654                align: 1.0 0.0;
1655             }
1656             description { state: "slide_begin" 0.0;
1657                inherit: "default" 0.0;
1658                rel1.relative: 1.0 0.0;
1659                rel2.relative: 1.0 1.0;
1660                align: 0.0 0.0;
1661             }
1662          }
1663        }
1664        programs {
1665           program { name: "start_slide";
1666              source: "elm";
1667              signal: "elm,state,slide,start";
1668              script
1669                {
1670                   start_slide();
1671                }
1672           }
1673           program { name: "stop_slide";
1674              source: "elm";
1675              signal: "elm,state,slide,stop";
1676              script
1677                {
1678                   stop_slide();
1679                }
1680           }
1681        }
1682    }
1683
1684
1685    group { name: "elm/label/base/slide_short";
1686       data.item: "default_font_size" "10";
1687       data.item: "min_font_size" "6";
1688       data.item: "max_font_size" "60";
1689
1690       script {
1691          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1692
1693          public message(Msg_Type:type, id, ...) {
1694             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1695                new Float:duration;
1696                duration = getarg(2);
1697                set_float(g_duration, duration);
1698             }
1699          }
1700          public slide_to_end_anim(val, Float:pos) {
1701             new stopflag;
1702             new id;
1703             stopflag = get_int(g_stopslide);
1704             if (stopflag == 1) return;
1705             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1706             if (pos >= 1.0) {
1707                id = timer(0.5, "slide_to_begin", 1);
1708                set_int(g_timer_id, id);
1709             }
1710          }
1711          public slide_to_end() {
1712             new stopflag;
1713             new id;
1714             new Float:duration;
1715             stopflag = get_int(g_stopslide);
1716             if (stopflag == 1) return;
1717             duration = get_float(g_duration);
1718             id = anim(duration, "slide_to_end_anim", 1);
1719             set_int(g_anim_id, id);
1720          }
1721          public slide_to_begin() {
1722             new stopflag;
1723             new id;
1724             stopflag = get_int(g_stopslide);
1725             if (stopflag == 1) return;
1726             set_state(PART:"elm.text", "slide_begin", 0.0);
1727             id = timer(0.5, "slide_to_end", 1);
1728             set_int(g_timer_id, id);
1729          }
1730          public start_slide() {
1731             set_int(g_stopslide, 0);
1732             set_state(PART:"elm.text", "slide_begin", 0.0);
1733             slide_to_end();
1734          }
1735          public stop_slide() {
1736             new id;
1737             set_int(g_stopslide, 1);
1738             id = get_int(g_anim_id);
1739             cancel_anim(id);
1740             id = get_int(g_timer_id);
1741             cancel_timer(id);
1742             set_state(PART:"elm.text", "default", 0.0);
1743          }
1744       }
1745
1746       parts {
1747          part { name: "label.swallow.background";
1748             type: SWALLOW;
1749             description { state: "default" 0.0;
1750                visible: 1;
1751             }
1752          }
1753          part { name: "label.text.clip";
1754             type: RECT;
1755             description { state: "default" 0.0;
1756                visible: 1;
1757                color: 255 255 255 255;
1758                rel1 { relative: 0 0; to: "label.swallow.background"; }
1759                rel2 { relative: 1 1; to: "label.swallow.background"; }
1760             }
1761          }
1762          part { name: "elm.text";
1763             type: TEXTBLOCK;
1764             mouse_events: 0;
1765             scale: 1;
1766             clip_to: "label.text.clip";
1767             description { state: "default" 0.0;
1768                rel1.relative: 0.0 0.0;
1769                rel2.relative: 1.0 1.0;
1770                align: 0.0 0.0;
1771                text {
1772                   style: "textblock_style";
1773                   min: 1 1;
1774                }
1775             }
1776             description { state: "slide_end" 0.0;
1777                inherit: "default" 0.0;
1778                rel1.relative: 1.0 0.0;
1779                rel2.relative: 1.0 1.0;
1780                align: 1.0 0.0;
1781             }
1782             description { state: "slide_begin" 0.0;
1783                inherit: "default" 0.0;
1784                rel1.relative: 0.0 0.0;
1785                rel2.relative: 0.0 1.0;
1786                align: 0.0 0.0;
1787             }
1788          }
1789       }
1790       programs {
1791          program { name: "start_slide";
1792             source: "elm";
1793             signal: "elm,state,slide,start";
1794             script
1795               {
1796                  start_slide();
1797               }
1798          }
1799          program { name: "stop_slide";
1800             source: "elm";
1801             signal: "elm,state,slide,stop";
1802             script
1803               {
1804                  stop_slide();
1805               }
1806          }
1807       }
1808    }
1809
1810    group { name: "elm/label/base/slide_bounce";
1811       data.item: "default_font_size" "10";
1812       data.item: "min_font_size" "6";
1813       data.item: "max_font_size" "60";
1814
1815       script {
1816          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1817
1818          public message(Msg_Type:type, id, ...) {
1819             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1820                new Float:duration;
1821                duration = getarg(2);
1822                set_float(g_duration, duration);
1823             }
1824          }
1825          public slide_to_end_anim(val, Float:pos) {
1826             new stopflag;
1827             new id;
1828             stopflag = get_int(g_stopslide);
1829             if (stopflag == 1) return;
1830             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1831             if (pos >= 1.0) {
1832                id = timer(0.5, "slide_to_begin", 1);
1833                set_int(g_timer_id, id);
1834             }
1835          }
1836          public slide_to_end() {
1837             new stopflag;
1838             new id;
1839             new Float:duration;
1840             stopflag = get_int(g_stopslide);
1841             if (stopflag == 1) return;
1842             duration = get_float(g_duration);
1843             id = anim(duration, "slide_to_end_anim", 1);
1844             set_int(g_anim_id, id);
1845          }
1846          public slide_to_begin_anim(val, Float:pos) {
1847             new stopflag;
1848             new id;
1849             stopflag = get_int(g_stopslide);
1850             if (stopflag == 1) return;
1851             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1852             if (pos >= 1.0) {
1853                id = timer(0.5, "slide_to_end", 1);
1854                set_int(g_timer_id, id);
1855             }
1856          }
1857          public slide_to_begin() {
1858             new stopflag;
1859             new id;
1860             new Float:duration;
1861             stopflag = get_int(g_stopslide);
1862             if (stopflag == 1) return;
1863             duration = get_float(g_duration);
1864             id = anim(duration, "slide_to_begin_anim", 1);
1865             set_int(g_anim_id, id);
1866          }
1867          public start_slide() {
1868             set_int(g_stopslide, 0);
1869             set_state(PART:"elm.text", "slide_begin", 0.0);
1870             slide_to_end();
1871          }
1872          public stop_slide() {
1873             new id;
1874             set_int(g_stopslide, 1);
1875             id = get_int(g_anim_id);
1876             cancel_anim(id);
1877             id = get_int(g_timer_id);
1878             cancel_timer(id);
1879             set_state(PART:"elm.text", "default", 0.0);
1880          }
1881       }
1882
1883       parts {
1884          part { name: "label.swallow.background";
1885             type: SWALLOW;
1886             description { state: "default" 0.0;
1887                visible: 1;
1888             }
1889          }
1890          part { name: "label.text.clip";
1891             type: RECT;
1892             description { state: "default" 0.0;
1893                visible: 1;
1894                color: 255 255 255 255;
1895                rel1 { relative: 0 0; to: "label.swallow.background"; }
1896                rel2 { relative: 1 1; to: "label.swallow.background"; }
1897             }
1898          }
1899          part { name: "elm.text";
1900             type: TEXTBLOCK;
1901             mouse_events: 0;
1902             scale: 1;
1903             clip_to: "label.text.clip";
1904             description { state: "default" 0.0;
1905                rel1.relative: 0.0 0.0;
1906                rel2.relative: 1.0 1.0;
1907                align: 0.0 0.0;
1908                text {
1909                   style: "textblock_style";
1910                   min: 1 1;
1911                }
1912             }
1913             description { state: "slide_end" 0.0;
1914                inherit: "default" 0.0;
1915                rel1.relative: 1.0 0.0;
1916                rel2.relative: 1.0 1.0;
1917                align: 1.0 0.0;
1918             }
1919             description { state: "slide_begin" 0.0;
1920                inherit: "default" 0.0;
1921                rel1.relative: 0.0 0.0;
1922                rel2.relative: 0.0 1.0;
1923                align: 0.0 0.0;
1924             }
1925          }
1926       }
1927       programs {
1928          program { name: "start_slide";
1929             source: "elm";
1930             signal: "elm,state,slide,start";
1931             script
1932               {
1933                  start_slide();
1934               }
1935          }
1936          program { name: "stop_slide";
1937             source: "elm";
1938             signal: "elm,state,slide,stop";
1939             script
1940               {
1941                  stop_slide();
1942               }
1943          }
1944       }
1945    }
1946
1947
1948 ///////////////////////////////////////////////////////////////////////////////
1949
1950    group { name: "elm/button/base/default";
1951       images {
1952          image: "bt_base1.png" COMP;
1953          image: "bt_base2.png" COMP;
1954          image: "bt_hilight.png" COMP;
1955          image: "bt_shine.png" COMP;
1956          image: "bt_glow.png" COMP;
1957          image: "bt_dis_base.png" COMP;
1958          image: "bt_dis_hilight.png" COMP;
1959       }
1960       parts {
1961          part { name: "button_image";
1962             mouse_events: 1;
1963             description { state: "default" 0.0;
1964                min: 15 15;
1965                image {
1966                   normal: "bt_base2.png";
1967                   border: 7 7 7 7;
1968                }
1969                image.middle: SOLID;
1970             }
1971             description { state: "clicked" 0.0;
1972                inherit: "default" 0.0;
1973                image.normal: "bt_base1.png";
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //               aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //               aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //               aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {          name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100           part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {          name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439           part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {          name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909           part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base_on.png" COMP;
3064          image: "tog_base_off.png" COMP;
3065          image: "tog_dis_base_on.png" COMP;
3066          image: "tog_dis_base_off.png" COMP;
3067       }
3068       script {
3069          public is_rtl;
3070       }
3071       parts {
3072          part { name: "bg";
3073             type: RECT;
3074             mouse_events: 0;
3075             scale: 1;
3076             description { state: "default" 0.0;
3077                rel1.relative: 1.0 0.0;
3078                rel1.offset: -4 3;
3079                rel2.offset: -4 -4;
3080                align: 1.0 0.5;
3081                min: 96 16;
3082                max: 96 16;
3083                aspect: 4.0 4.0;
3084                aspect_preference: VERTICAL;
3085                color: 255 255 255 255;
3086             }
3087          }
3088          part { name: "clipper";
3089             type: RECT;
3090             mouse_events: 0;
3091             description { state: "default" 0.0;
3092                rel1.to: "bg";
3093                rel2.to: "bg";
3094                color: 255 255 255 255;
3095             }
3096          }
3097          part { name: "button";
3098             type: RECT;
3099             scale: 1;
3100             clip_to: "clipper";
3101             mouse_events: 1;
3102              dragable {
3103                x: 1 1 0;
3104                y: 0 0 0;
3105                confine: "bg";
3106             }
3107             description { state: "default" 0.0;
3108                fixed: 1 1;
3109                rel1.to: "bg";
3110                rel2.to: "bg";
3111                min: 16 16;
3112                max: 16 16;
3113                aspect: 1.0 1.0;
3114                aspect_preference: VERTICAL;
3115                color: 0 0 0 0;
3116             }
3117          }
3118          part { name: "button_events";
3119             type: RECT;
3120              dragable {
3121                events: "button";
3122             }
3123             description { state: "default" 0.0;
3124                rel1.to_x: "bg";
3125                rel1.offset: 0 0;
3126                rel1.relative: 0.0 0.0;
3127                rel2.to_x: "bg";
3128                rel2.offset: -1 -1;
3129                rel2.relative: 1.0 1.0;
3130                color: 0 0 0 0;
3131             }
3132          }
3133          part { name: "onrect";
3134             type: IMAGE;
3135             scale: 1;
3136             clip_to: "clipper";
3137             mouse_events: 0;
3138             description { state: "default" 0.0;
3139                rel1.to: "button";
3140                rel1.relative: -5.0 0.0;
3141                rel2.to: "button";
3142                rel2.relative: 0.5 1.0;
3143                image.normal: "tog_base_on.png";
3144             }
3145             description { state: "disabled" 0.0;
3146                inherit: "default" 0.0;
3147                image.normal: "tog_dis_base_on.png";
3148             }
3149          }
3150          part { name: "offrect";
3151             type: IMAGE;
3152             scale: 1;
3153             clip_to: "clipper";
3154             mouse_events: 0;
3155             description { state: "default" 0.0;
3156                rel1.to: "button";
3157                rel1.relative: 0.5 0.0;
3158                rel2.to: "button";
3159                rel2.relative: 6.0 1.0;
3160                image.normal: "tog_base_off.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base_off.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "button";
3175                rel1.relative: 1.0 0.0;
3176                rel2.to_x: "offrect";
3177                color: 0 0 0 255;
3178                text {
3179                   font:     "Sans,Edje-Vera";
3180                   size:     10;
3181                   min:      0 1;
3182                   align:    0.5 0.5;
3183                   text:     "OFF";
3184                }
3185             }
3186             description { state: "disabled" 0.0;
3187                inherit: "default" 0.0;
3188                color: 128 128 128 128;
3189             }
3190          }
3191          part { name: "elm.ontext";
3192             type: TEXT;
3193             effect: SOFT_SHADOW;
3194             mouse_events:  0;
3195             scale: 1;
3196             clip_to: "clipper";
3197             description { state: "default" 0.0;
3198                fixed: 1 1;
3199                rel1.to_x: "onrect";
3200                rel1.offset: 1 1;
3201                rel2.to_x: "button";
3202                rel2.offset: 0 0;
3203                rel2.relative: 0.0 1.0;
3204                color: 224 224 224 255;
3205                color3: 0 0 0 64;
3206                text {
3207                   font:     "Sans,Edje-Vera";
3208                   size:     10;
3209                   min:      0 1;
3210                   align:    0.5 0.5;
3211                   text:     "ON";
3212                }
3213             }
3214             description { state: "disabled" 0.0;
3215                inherit: "default" 0.0;
3216                color: 128 128 128 128;
3217                color3: 0 0 0 24;
3218             }
3219          }
3220          part { name: "conf_over";
3221             mouse_events:  0;
3222             description { state: "default" 0.0;
3223                rel1.offset: -1 -1;
3224                rel1.to: "bg";
3225                rel2.offset: 0 0;
3226                rel2.to: "bg";
3227                image {
3228                   normal: "shelf_inset.png";
3229                   border: 7 7 7 7;
3230                   middle: 0;
3231                }
3232                fill.smooth : 0;
3233             }
3234          }
3235          part { name: "button0";
3236             mouse_events:  0;
3237             clip_to: "clipper";
3238             description { state: "default" 0.0;
3239                rel1.to: "button2";
3240                rel1.offset: -4 -4;
3241                rel2.to: "button2";
3242                rel2.offset: 3 3;
3243                image {
3244                   normal: "bt_bases.png";
3245                   border: 11 11 11 11;
3246                }
3247                image.middle: SOLID;
3248                color: 255 255 255 128;
3249             }
3250          }
3251          part { name: "button2";
3252             mouse_events:  0;
3253             clip_to: "clipper";
3254             description { state: "default" 0.0;
3255                rel1.to: "button";
3256                rel1.offset: -2 -2;
3257                rel2.to: "button";
3258                rel2.offset: 1 1;
3259                image {
3260                   normal: "bt_basew.png";
3261                   border: 7 7 7 7;
3262                }
3263                image.middle: SOLID;
3264             }
3265          }
3266          part { name: "button3";
3267             mouse_events:  0;
3268             clip_to: "clipper";
3269             description { state: "default" 0.0;
3270                rel1.to: "button2";
3271                rel2.to: "button2";
3272                rel2.relative: 1.0 0.5;
3273                image {
3274                   normal: "bt_hilightw.png";
3275                   border: 4 4 4 0;
3276                }
3277             }
3278          }
3279          part { name: "elm.swallow.content";
3280             type: SWALLOW;
3281             description { state: "default" 0.0;
3282                fixed: 1 0;
3283                visible: 0;
3284                align: 0.0 0.5;
3285                rel1.offset: 4 4;
3286                rel2.relative: 0.0 1.0;
3287                rel2.offset: 3 -5;
3288             }
3289             description { state: "visible" 0.0;
3290                inherit: "default" 0.0;
3291                visible: 1;
3292                aspect: 1.0 1.0;
3293                rel2.offset: 4 -5;
3294             }
3295             description { state: "disabled" 0.0;
3296                inherit: "default" 0.0;
3297                color: 128 128 128 128;
3298             }
3299             description { state: "disabled_visible" 0.0;
3300                inherit: "default" 0.0;
3301                color: 128 128 128 128;
3302                visible: 1;
3303                aspect: 1.0 1.0;
3304             }
3305          }
3306          part { name: "elm.text";
3307             type: TEXT;
3308             mouse_events: 0;
3309             scale: 1;
3310             description { state: "default" 0.0;
3311                visible: 0;
3312                rel1.to_x: "elm.swallow.content";
3313                rel1.relative: 1.0 0.0;
3314                rel1.offset: 0 4;
3315                rel2.to_x: "bg";
3316                rel2.relative: 0.0 1.0;
3317                rel2.offset: -5 -5;
3318                color: 0 0 0 255;
3319                text {
3320                   font: "Sans,Edje-Vera";
3321                   size: 10;
3322                   min: 0 0;
3323                   align: 0.0 0.5;
3324                }
3325             }
3326             description { state: "visible" 0.0;
3327                inherit: "default" 0.0;
3328                visible: 1;
3329                text.min: 1 1;
3330             }
3331             description { state: "disabled" 0.0;
3332                inherit: "default" 0.0;
3333                color: 128 128 128 128;
3334             }
3335             description { state: "disabled_visible" 0.0;
3336                inherit: "default" 0.0;
3337                color: 128 128 128 128;
3338                visible: 1;
3339                text.min: 1 1;
3340             }
3341          }
3342           part { name: "disabler";
3343             type: RECT;
3344             description { state: "default" 0.0;
3345                color: 0 0 0 0;
3346                visible: 0;
3347             }
3348             description { state: "disabled" 0.0;
3349                inherit: "default" 0.0;
3350                visible: 1;
3351             }
3352          }
3353       }
3354       programs {
3355          program { name:   "drag_end";
3356             signal: "mouse,up,1";
3357             source: "button";
3358             script {
3359                new Float:dx, Float:dy;
3360                get_drag(PART:"button", dx, dy);
3361                if (dx > 0.5)
3362                  {
3363                     set_drag(PART:"button", 1.0, 0.0);
3364                  }
3365                else
3366                  {
3367                     set_drag(PART:"button", 0.0, 0.0);
3368                  }
3369                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3370                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3371                   emit("elm,action,toggle,on", "");
3372                }
3373                else {
3374                   emit("elm,action,toggle,off", "");
3375                }
3376        
3377             }
3378          }
3379          program { name: "toggle_on";
3380             signal: "elm,state,toggle,on";
3381             source: "elm";
3382             script {
3383                new Float:drag;
3384                if (get_int(is_rtl) == 0) {
3385                   drag = 100.0;
3386                }
3387                else {
3388                   drag = 0.0;
3389                }
3390                set_drag(PART:"button", drag, 0.0);
3391             }
3392          }
3393          program { name: "toggle_off";
3394             signal: "elm,state,toggle,off";
3395             source: "elm";
3396             script {
3397                new Float:drag;
3398                if (get_int(is_rtl) == 0) {
3399                   drag = 0.0;
3400                }
3401                else {
3402                   drag = 100.0;
3403                }
3404                set_drag(PART:"button", drag, 0.0);
3405             }
3406          }
3407          program { name: "text_show";
3408             signal: "elm,state,text,visible";
3409             source: "elm";
3410             action:  STATE_SET "visible" 0.0;
3411             target: "elm.text";
3412          }
3413          program { name: "text_hide";
3414             signal: "elm,state,text,hidden";
3415             source: "elm";
3416             action:  STATE_SET "default" 0.0;
3417             target: "elm.text";
3418          }
3419          program { name: "icon_show";
3420             signal: "elm,state,icon,visible";
3421             source: "elm";
3422             action:  STATE_SET "visible" 0.0;
3423             target: "elm.swallow.content";
3424          }
3425          program { name: "icon_hide";
3426             signal: "elm,state,icon,hidden";
3427             source: "elm";
3428             action:  STATE_SET "default" 0.0;
3429             target: "elm.swallow.content";
3430          }
3431          program { name: "disable";
3432             signal: "elm,state,disabled";
3433             source: "elm";
3434             action: STATE_SET "disabled" 0.0;
3435             target: "elm.offtext";
3436             target: "elm.ontext";
3437             target: "onrect";
3438             target: "offrect";
3439             target: "disabler";
3440             after: "disable_text";
3441          }
3442          program { name: "disable_text";
3443             script {
3444                new st[31];
3445                new Float:vl;
3446                get_state(PART:"elm.text", st, 30, vl);
3447                if (!strcmp(st, "visible"))
3448                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3449                else
3450                  set_state(PART:"elm.text", "disabled", 0.0);
3451
3452                get_state(PART:"elm.swallow.content", st, 30, vl);
3453                if (!strcmp(st, "visible"))
3454                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3455                else
3456                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3457             }
3458          }
3459          program { name: "enable";
3460             signal: "elm,state,enabled";
3461             source: "elm";
3462             action: STATE_SET "default" 0.0;
3463             target: "disabler";
3464             target: "onrect";
3465             target: "offrect";
3466             after: "enable_text";
3467          }
3468          program { name: "enable_text";
3469             script {
3470                new st[31];
3471                new Float:vl;
3472                get_state(PART:"elm.text", st, 30, vl);
3473                if (!strcmp(st, "disabled_visible"))
3474                  set_state(PART:"elm.text", "visible", 0.0);
3475                else
3476                  set_state(PART:"elm.text", "default", 0.0);
3477
3478                get_state(PART:"elm.swallow.content", st, 30, vl);
3479                if (!strcmp(st, "visible"))
3480                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3481                else
3482                  set_state(PART:"elm.swallow.content", "default", 0.0);
3483             }
3484          }
3485          program { name: "to_rtl";
3486             signal: "edje,state,rtl";
3487             source: "edje";
3488             script {
3489                set_int(is_rtl, 1);
3490             }
3491          }
3492          program { name: "to_ltr";
3493             signal: "edje,state,ltr";
3494             source: "edje";
3495             script {
3496                set_int(is_rtl, 0);
3497             }
3498          }
3499       }
3500    }
3501
3502 ///////////////////////////////////////////////////////////////////////////////
3503    group { name: "elm/clock/flipdigit/default";
3504       images {
3505          image: "flip_base.png" COMP;
3506          image: "flip_base_shad.png" COMP;
3507          image: "flip_shad.png" COMP;
3508          image: "flip_0t.png" COMP;
3509          image: "flip_0b.png" COMP;
3510          image: "flip_1t.png" COMP;
3511          image: "flip_1b.png" COMP;
3512          image: "flip_2t.png" COMP;
3513          image: "flip_2b.png" COMP;
3514          image: "flip_3t.png" COMP;
3515          image: "flip_3b.png" COMP;
3516          image: "flip_4t.png" COMP;
3517          image: "flip_4b.png" COMP;
3518          image: "flip_5t.png" COMP;
3519          image: "flip_5b.png" COMP;
3520          image: "flip_6t.png" COMP;
3521          image: "flip_6b.png" COMP;
3522          image: "flip_7t.png" COMP;
3523          image: "flip_7b.png" COMP;
3524          image: "flip_8t.png" COMP;
3525          image: "flip_8b.png" COMP;
3526          image: "flip_9t.png" COMP;
3527          image: "flip_9b.png" COMP;
3528          image: "arrow_up.png" COMP;
3529          image: "arrow_down.png" COMP;
3530       }
3531       script {
3532          public v0_cur, v0_pre, v0_lock, v0_next;
3533
3534        public animator2(val, Float:pos) {
3535           new st1[11], st2[11], v;
3536
3537           v = get_int(v0_cur);
3538           snprintf(st1, 10, "%ih", v);
3539           snprintf(st2, 10, "%i", v);
3540           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3541           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3542           if (pos >= 1.0) {
3543              set_state(PART:"sh", "default", 0.0);
3544              set_int(v0_lock, 0);
3545              v = get_int(v0_next);
3546              if (v >= 0) {
3547                 set_int(v0_next, -1);
3548                 message(MSG_INT, 1, v);
3549              }
3550           }
3551        }
3552        public animator1(val, Float:pos) {
3553           new st1[11], st2[11], v;
3554
3555           v = get_int(v0_pre);
3556           snprintf(st1, 10, "%i", v);
3557           snprintf(st2, 10, "%ih", v);
3558           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3559           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3560           if (pos >= 1.0) anim(0.2, "animator2", val);
3561        }
3562        public message(Msg_Type:type, id, ...) {
3563           if ((type == MSG_INT) && (id == 1)) {
3564              new value, v, buf[11];
3565
3566              value = getarg(2);
3567              if (get_int(v0_lock) == 1) {
3568                 set_int(v0_next, value);
3569                 return;
3570              }
3571              v = get_int(v0_cur);
3572              set_int(v0_pre, v);
3573              set_int(v0_cur, value);
3574              set_int(v0_lock, 1);
3575              snprintf(buf, 10, "%i", get_int(v0_pre));
3576              set_state(PART:"bot0", buf, 0.0);
3577              snprintf(buf, 10, "%ih", get_int(v0_cur));
3578              set_state(PART:"bot", buf, 0.0);
3579              snprintf(buf, 10, "%i", get_int(v0_cur));
3580              set_state(PART:"top0", buf, 0.0);
3581              snprintf(buf, 10, "%i", get_int(v0_pre));
3582              set_state(PART:"top", buf, 0.0);
3583              set_state(PART:"sh", "default", 0.0);
3584              anim(0.2, "animator1", 1);
3585           }
3586        }
3587       }
3588       parts {
3589          part { name: "shad";
3590             mouse_events: 0;
3591             description { state: "default" 0.0;
3592                rel1.offset: -4 -4;
3593                rel1.to: "base";
3594                rel2.offset: 3 3;
3595                rel2.to: "base";
3596                image {
3597                   normal: "flip_base_shad.png";
3598                   border: 8 8 8 8;
3599                }
3600             }
3601          }
3602          part { name: "base";
3603             scale: 1;
3604             description { state: "default" 0.0;
3605                rel1.offset: 4 4;
3606                rel2.offset: -5 -5;
3607                // FIXME 48x96 should be the native pixel design, right now
3608                // its 80x160. fix int he artwork later
3609                min: 24 48;
3610                aspect: 0.5 0.5;
3611 //               max: 24 48;
3612                image.normal: "flip_base.png";
3613             }
3614          }
3615          part { name: "b";
3616             type: RECT;
3617             mouse_events: 1;
3618             description { state: "default" 0.0;
3619                visible: 0;
3620                rel1.to: "base";
3621                rel1.relative: 0.0 0.5;
3622                rel2.to: "base";
3623                color: 0 0 0 0;
3624             }
3625             description { state: "visible" 0.0;
3626                inherit: "default" 0.0;
3627                visible: 1;
3628             }
3629          }
3630          part { name: "t";
3631             type: RECT;
3632             mouse_events: 1;
3633             description { state: "default" 0.0;
3634                visible: 0;
3635                rel1.to: "base";
3636                rel2.to: "base";
3637                rel2.relative: 1.0 0.5;
3638                color: 0 0 0 0;
3639             }
3640             description { state: "visible" 0.0;
3641                inherit: "default" 0.0;
3642                visible: 1;
3643             }
3644          }
3645          part { name: "bot0";
3646             mouse_events: 0;
3647             description { state: "default" 0.0;
3648                rel1.to: "b";
3649                rel2.to: "b";
3650                image.normal: "flip_0b.png";
3651             }
3652             description { state: "0" 0.0;
3653                inherit: "default" 0.0;
3654                image.normal: "flip_0b.png";
3655             }
3656             description { state: "1" 0.0;
3657                inherit: "default" 0.0;
3658                image.normal: "flip_1b.png";
3659             }
3660             description { state: "2" 0.0;
3661                inherit: "default" 0.0;
3662                image.normal: "flip_2b.png";
3663             }
3664             description { state: "3" 0.0;
3665                inherit: "default" 0.0;
3666                image.normal: "flip_3b.png";
3667             }
3668             description { state: "4" 0.0;
3669                inherit: "default" 0.0;
3670                image.normal: "flip_4b.png";
3671             }
3672             description { state: "5" 0.0;
3673                inherit: "default" 0.0;
3674                image.normal: "flip_5b.png";
3675             }
3676             description { state: "6" 0.0;
3677                inherit: "default" 0.0;
3678                image.normal: "flip_6b.png";
3679             }
3680             description { state: "7" 0.0;
3681                inherit: "default" 0.0;
3682                image.normal: "flip_7b.png";
3683             }
3684             description { state: "8" 0.0;
3685                inherit: "default" 0.0;
3686                image.normal: "flip_8b.png";
3687             }
3688             description { state: "9" 0.0;
3689                inherit: "default" 0.0;
3690                image.normal: "flip_9b.png";
3691             }
3692          }
3693          part { name: "sh";
3694             mouse_events: 0;
3695             description { state: "default" 0.0;
3696                rel1.to: "b";
3697                rel2.to: "b";
3698                rel2.relative: 1.0 0.0;
3699                image.normal: "flip_shad.png";
3700             }
3701             description { state: "half" 0.0;
3702                inherit: "default" 0.0;
3703                rel2.relative: 1.0 0.5;
3704             }
3705             description { state: "full" 0.0;
3706                inherit: "default" 0.0;
3707                rel2.relative: 1.0 1.0;
3708             }
3709          }
3710          part { name: "bot";
3711             mouse_events: 0;
3712             description { state: "default" 0.0;
3713                visible: 1;
3714                rel1.to: "b";
3715                rel2.to: "b";
3716                image.normal: "flip_0b.png";
3717             }
3718             description { state: "0" 0.0;
3719                inherit: "default" 0.0;
3720                visible: 1;
3721                rel2.relative: 1.0 1.0;
3722                image.normal: "flip_0b.png";
3723             }
3724             description { state: "0h" 0.0;
3725                inherit: "default" 0.0;
3726                visible: 0;
3727                rel2.relative: 1.0 0.0;
3728                image.normal: "flip_0b.png";
3729             }
3730             description { state: "1" 0.0;
3731                inherit: "default" 0.0;
3732                visible: 1;
3733                rel2.relative: 1.0 1.0;
3734                image.normal: "flip_1b.png";
3735             }
3736             description { state: "1h" 0.0;
3737                inherit: "default" 0.0;
3738                visible: 0;
3739                rel2.relative: 1.0 0.0;
3740                image.normal: "flip_1b.png";
3741             }
3742             description { state: "2" 0.0;
3743                inherit: "default" 0.0;
3744                visible: 1;
3745                rel2.relative: 1.0 1.0;
3746                image.normal: "flip_2b.png";
3747             }
3748             description { state: "2h" 0.0;
3749                inherit: "default" 0.0;
3750                visible: 0;
3751                rel2.relative: 1.0 0.0;
3752                image.normal: "flip_2b.png";
3753             }
3754             description { state: "3" 0.0;
3755                inherit: "default" 0.0;
3756                visible: 1;
3757                rel2.relative: 1.0 1.0;
3758                image.normal: "flip_3b.png";
3759             }
3760             description { state: "3h" 0.0;
3761                inherit: "default" 0.0;
3762                visible: 0;
3763                rel2.relative: 1.0 0.0;
3764                image.normal: "flip_3b.png";
3765             }
3766             description { state: "4" 0.0;
3767                inherit: "default" 0.0;
3768                visible: 1;
3769                rel2.relative: 1.0 1.0;
3770                image.normal: "flip_4b.png";
3771             }
3772             description { state: "4h" 0.0;
3773                inherit: "default" 0.0;
3774                visible: 0;
3775                rel2.relative: 1.0 0.0;
3776                image.normal: "flip_4b.png";
3777             }
3778             description { state: "5" 0.0;
3779                inherit: "default" 0.0;
3780                visible: 1;
3781                rel2.relative: 1.0 1.0;
3782                image.normal: "flip_5b.png";
3783             }
3784             description { state: "5h" 0.0;
3785                inherit: "default" 0.0;
3786                visible: 0;
3787                rel2.relative: 1.0 0.0;
3788                image.normal: "flip_5b.png";
3789             }
3790             description { state: "6" 0.0;
3791                inherit: "default" 0.0;
3792                visible: 1;
3793                rel2.relative: 1.0 1.0;
3794                image.normal: "flip_6b.png";
3795             }
3796             description { state: "6h" 0.0;
3797                inherit: "default" 0.0;
3798                visible: 0;
3799                rel2.relative: 1.0 0.0;
3800                image.normal: "flip_6b.png";
3801             }
3802             description { state: "7" 0.0;
3803                inherit: "default" 0.0;
3804                visible: 1;
3805                rel2.relative: 1.0 1.0;
3806                image.normal: "flip_7b.png";
3807             }
3808             description { state: "7h" 0.0;
3809                inherit: "default" 0.0;
3810                visible: 0;
3811                rel2.relative: 1.0 0.0;
3812                image.normal: "flip_7b.png";
3813             }
3814             description { state: "8" 0.0;
3815                inherit: "default" 0.0;
3816                visible: 1;
3817                rel2.relative: 1.0 1.0;
3818                image.normal: "flip_8b.png";
3819             }
3820             description { state: "8h" 0.0;
3821                inherit: "default" 0.0;
3822                visible: 0;
3823                rel2.relative: 1.0 0.0;
3824                image.normal: "flip_8b.png";
3825             }
3826             description { state: "9" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 1;
3829                rel2.relative: 1.0 1.0;
3830                image.normal: "flip_9b.png";
3831             }
3832             description { state: "9h" 0.0;
3833                inherit: "default" 0.0;
3834                visible: 0;
3835                rel2.relative: 1.0 0.0;
3836                image.normal: "flip_9b.png";
3837             }
3838          }
3839          part { name: "top0";
3840             mouse_events: 0;
3841             description { state: "default" 0.0;
3842                rel1.to: "t";
3843                rel2.to: "t";
3844                image.normal: "flip_0t.png";
3845             }
3846             description { state: "0" 0.0;
3847                inherit: "default" 0.0;
3848                image.normal: "flip_0t.png";
3849             }
3850             description { state: "1" 0.0;
3851                inherit: "default" 0.0;
3852                image.normal: "flip_1t.png";
3853             }
3854             description { state: "2" 0.0;
3855                inherit: "default" 0.0;
3856                image.normal: "flip_2t.png";
3857             }
3858             description { state: "3" 0.0;
3859                inherit: "default" 0.0;
3860                image.normal: "flip_3t.png";
3861             }
3862             description { state: "4" 0.0;
3863                inherit: "default" 0.0;
3864                image.normal: "flip_4t.png";
3865             }
3866             description { state: "5" 0.0;
3867                inherit: "default" 0.0;
3868                image.normal: "flip_5t.png";
3869             }
3870             description { state: "6" 0.0;
3871                inherit: "default" 0.0;
3872                image.normal: "flip_6t.png";
3873             }
3874             description { state: "7" 0.0;
3875                inherit: "default" 0.0;
3876                image.normal: "flip_7t.png";
3877             }
3878             description { state: "8" 0.0;
3879                inherit: "default" 0.0;
3880                image.normal: "flip_8t.png";
3881             }
3882             description { state: "9" 0.0;
3883                inherit: "default" 0.0;
3884                image.normal: "flip_9t.png";
3885             }
3886          }
3887          part { name: "top";
3888             mouse_events: 0;
3889             description { state: "default" 0.0;
3890                visible: 1;
3891                rel1.to: "t";
3892                rel2.to: "t";
3893                image.normal: "flip_0t.png";
3894             }
3895             description { state: "0" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_0t.png";
3900             }
3901             description { state: "0h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_0t.png";
3907             }
3908             description { state: "1" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_1t.png";
3913             }
3914             description { state: "1h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_1t.png";
3920             }
3921             description { state: "2" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_2t.png";
3926             }
3927             description { state: "2h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_2t.png";
3933             }
3934             description { state: "3" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_3t.png";
3939             }
3940             description { state: "3h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_3t.png";
3946             }
3947             description { state: "4" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_4t.png";
3952             }
3953             description { state: "4h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_4t.png";
3959             }
3960             description { state: "5" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_5t.png";
3965             }
3966             description { state: "5h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_5t.png";
3972             }
3973             description { state: "6" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_6t.png";
3978             }
3979             description { state: "6h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_6t.png";
3985             }
3986             description { state: "7" 0.0;
3987                inherit: "default" 0.0;
3988                visible: 1;
3989                rel1.relative: 0.0 0.0;
3990                image.normal: "flip_7t.png";
3991             }
3992             description { state: "7h" 0.0;
3993                inherit: "default" 0.0;
3994                color: 128 128 128 255;
3995                visible: 0;
3996                rel1.relative: 0.0 1.0;
3997                image.normal: "flip_7t.png";
3998             }
3999             description { state: "8" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002                rel1.relative: 0.0 0.0;
4003                image.normal: "flip_8t.png";
4004             }
4005             description { state: "8h" 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_8t.png";
4011             }
4012             description { state: "9" 0.0;
4013                inherit: "default" 0.0;
4014                visible: 1;
4015                rel1.relative: 0.0 0.0;
4016                image.normal: "flip_9t.png";
4017             }
4018             description { state: "9h" 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_9t.png";
4024             }
4025          }
4026          part { name: "atop";
4027             mouse_events: 0;
4028             scale: 1;
4029             description { state: "default" 0.0;
4030                visible: 0;
4031                min: 15 15;
4032                max: 15 15;
4033                align: 0.5 0.0;
4034                rel1.to: "t";
4035                rel2.to: "t";
4036                image.normal: "arrow_up.png";
4037             }
4038             description { state: "visible" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 1;
4041             }
4042          }
4043          part { name: "abot";
4044             mouse_events: 0;
4045             scale: 1;
4046             description { state: "default" 0.0;
4047                visible: 0;
4048                min: 15 15;
4049                max: 15 15;
4050                align: 0.5 1.0;
4051                rel1.to: "b";
4052                rel2.to: "b";
4053                image.normal: "arrow_down.png";
4054             }
4055             description { state: "visible" 0.0;
4056                inherit: "default" 0.0;
4057                visible: 1;
4058             }
4059          }
4060       }
4061       programs {
4062          program { name: "load";
4063             signal: "load";
4064             source: "";
4065             script {
4066                set_int(v0_cur, 0);
4067                set_int(v0_pre, 0);
4068                set_int(v0_lock, 0);
4069                set_int(v0_next, -1);
4070             }
4071          }
4072          program { name: "edit_on";
4073             signal: "elm,state,edit,on";
4074             source: "elm";
4075             action: STATE_SET "visible" 0.0;
4076             target: "atop";
4077             target: "abot";
4078             target: "t";
4079             target: "b";
4080          }
4081          program { name: "edit_off";
4082             signal: "elm,state,edit,off";
4083             source: "elm";
4084             action: STATE_SET "default" 0.0;
4085             target: "atop";
4086             target: "abot";
4087             target: "t";
4088             target: "b";
4089          }
4090          program { name: "up";
4091             signal: "mouse,down,1";
4092             source: "t";
4093             action: SIGNAL_EMIT "elm,action,up,start" "";
4094          }
4095          program { name: "up,stop";
4096             signal: "mouse,up,1";
4097             source: "t";
4098             action: SIGNAL_EMIT "elm,action,up,stop" "";
4099          }
4100          program { name: "down";
4101             signal: "mouse,down,1";
4102             source: "b";
4103             action: SIGNAL_EMIT "elm,action,down,start" "";
4104          }
4105          program { name: "down,stop";
4106             signal: "mouse,up,1";
4107             source: "b";
4108             action: SIGNAL_EMIT "elm,action,down,stop" "";
4109          }
4110       }
4111    }
4112
4113 ///////////////////////////////////////////////////////////////////////////////
4114    group { name: "elm/clock/flipampm/default";
4115       images {
4116          image: "flip_base.png" COMP;
4117          image: "flip_base_shad.png" COMP;
4118          image: "flip_shad.png" COMP;
4119          image: "flip_amt.png" COMP;
4120          image: "flip_amb.png" COMP;
4121          image: "flip_pmt.png" COMP;
4122          image: "flip_pmb.png" COMP;
4123          image: "arrow_up.png" COMP;
4124          image: "arrow_down.png" COMP;
4125       }
4126       script {
4127          public v0_cur, v0_pre, v0_lock, v0_next;
4128
4129        public animator2(val, Float:pos) {
4130           new st1[11], st2[11], v;
4131
4132           v = get_int(v0_cur);
4133           snprintf(st1, 10, "%ih", v);
4134           snprintf(st2, 10, "%i", v);
4135           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4136           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4137           if (pos >= 1.0) {
4138              set_state(PART:"sh", "default", 0.0);
4139              set_int(v0_lock, 0);
4140              v = get_int(v0_next);
4141              if (v >= 0) {
4142                 set_int(v0_next, -1);
4143                 message(MSG_INT, 1, v);
4144              }
4145           }
4146        }
4147        public animator1(val, Float:pos) {
4148           new st1[11], st2[11], v;
4149
4150           v = get_int(v0_pre);
4151           snprintf(st1, 10, "%i", v);
4152           snprintf(st2, 10, "%ih", v);
4153           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4154           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4155           if (pos >= 1.0) anim(0.2, "animator2", val);
4156        }
4157        public message(Msg_Type:type, id, ...) {
4158           if ((type == MSG_INT) && (id == 1)) {
4159              new value, v, buf[11];
4160
4161              value = getarg(2);
4162              if (get_int(v0_lock) == 1) {
4163                 set_int(v0_next, value);
4164                 return;
4165              }
4166              v = get_int(v0_cur);
4167              set_int(v0_pre, v);
4168              set_int(v0_cur, value);
4169              set_int(v0_lock, 1);
4170              snprintf(buf, 10, "%i", get_int(v0_pre));
4171              set_state(PART:"bot0", buf, 0.0);
4172              snprintf(buf, 10, "%ih", get_int(v0_cur));
4173              set_state(PART:"bot", buf, 0.0);
4174              snprintf(buf, 10, "%i", get_int(v0_cur));
4175              set_state(PART:"top0", buf, 0.0);
4176              snprintf(buf, 10, "%i", get_int(v0_pre));
4177              set_state(PART:"top", buf, 0.0);
4178              set_state(PART:"sh", "default", 0.0);
4179              anim(0.2, "animator1", 1);
4180           }
4181        }
4182       }
4183       parts {
4184          part { name: "shad";
4185             mouse_events: 0;
4186             description { state: "default" 0.0;
4187                rel1.offset: -4 -4;
4188                rel1.to: "base";
4189                rel2.offset: 3 3;
4190                rel2.to: "base";
4191                image {
4192                   normal: "flip_base_shad.png";
4193                   border: 8 8 8 8;
4194                }
4195             }
4196          }
4197          part { name: "base";
4198             mouse_events: 0;
4199             scale: 1;
4200             description { state: "default" 0.0;
4201                rel1.offset: 4 4;
4202                rel2.offset: -5 -5;
4203                // FIXME 48x96 should be the native pixel design, right now
4204                // its 80x160. fix int he artwork later
4205                aspect: 0.5 0.5;
4206                min: 24 48;
4207 //               max: 24 48;
4208                image.normal: "flip_base.png";
4209             }
4210          }
4211          part { name: "b";
4212             type: RECT;
4213             mouse_events: 1;
4214             description { state: "default" 0.0;
4215                rel1.to: "base";
4216                rel1.relative: 0.0 0.5;
4217                rel2.to: "base";
4218                color: 0 0 0 0;
4219             }
4220          }
4221          part { name: "t";
4222             type: RECT;
4223             mouse_events: 1;
4224             description { state: "default" 0.0;
4225                rel1.to: "base";
4226                rel2.to: "base";
4227                rel2.relative: 1.0 0.5;
4228                color: 0 0 0 0;
4229             }
4230          }
4231          part { name: "bot0";
4232             mouse_events: 0;
4233             description { state: "default" 0.0;
4234                rel1.to: "b";
4235                rel2.to: "b";
4236                image.normal: "flip_amb.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                image.normal: "flip_amb.png";
4241             }
4242             description { state: "1" 0.0;
4243                inherit: "default" 0.0;
4244                image.normal: "flip_pmb.png";
4245             }
4246          }
4247          part { name: "sh";
4248             mouse_events: 0;
4249             description { state: "default" 0.0;
4250                rel1.to: "b";
4251                rel2.to: "b";
4252                rel2.relative: 1.0 0.0;
4253                image.normal: "flip_shad.png";
4254             }
4255             description { state: "half" 0.0;
4256                inherit: "default" 0.0;
4257                rel2.relative: 1.0 0.5;
4258             }
4259             description { state: "full" 0.0;
4260                inherit: "default" 0.0;
4261                rel2.relative: 1.0 1.0;
4262             }
4263          }
4264          part { name: "bot";
4265             mouse_events: 0;
4266             description { state: "default" 0.0;
4267                visible: 1;
4268                rel1.to: "b";
4269                rel2.to: "b";
4270                image.normal: "flip_amb.png";
4271             }
4272             description { state: "0" 0.0;
4273                inherit: "default" 0.0;
4274                visible: 1;
4275                rel2.relative: 1.0 1.0;
4276                image.normal: "flip_amb.png";
4277             }
4278             description { state: "0h" 0.0;
4279                inherit: "default" 0.0;
4280                visible: 0;
4281                rel2.relative: 1.0 0.0;
4282                image.normal: "flip_amb.png";
4283             }
4284             description { state: "1" 0.0;
4285                inherit: "default" 0.0;
4286                visible: 1;
4287                rel2.relative: 1.0 1.0;
4288                image.normal: "flip_pmb.png";
4289             }
4290             description { state: "1h" 0.0;
4291                inherit: "default" 0.0;
4292                visible: 0;
4293                rel2.relative: 1.0 0.0;
4294                image.normal: "flip_pmb.png";
4295             }
4296          }
4297          part { name: "top0";
4298             mouse_events: 0;
4299             description { state: "default" 0.0;
4300                rel1.to: "t";
4301                rel2.to: "t";
4302                image.normal: "flip_amt.png";
4303             }
4304             description { state: "0" 0.0;
4305                inherit: "default" 0.0;
4306                image.normal: "flip_amt.png";
4307             }
4308             description { state: "1" 0.0;
4309                inherit: "default" 0.0;
4310                image.normal: "flip_pmt.png";
4311             }
4312          }
4313          part { name: "top";
4314             mouse_events: 0;
4315             description { state: "default" 0.0;
4316                visible: 1;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "flip_amt.png";
4320             }
4321             description { state: "0" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324                rel1.relative: 0.0 0.0;
4325                image.normal: "flip_amt.png";
4326             }
4327             description { state: "0h" 0.0;
4328                inherit: "default" 0.0;
4329                color: 128 128 128 255;
4330                visible: 0;
4331                rel1.relative: 0.0 1.0;
4332                image.normal: "flip_amt.png";
4333             }
4334             description { state: "1" 0.0;
4335                inherit: "default" 0.0;
4336                visible: 1;
4337                rel1.relative: 0.0 0.0;
4338                image.normal: "flip_pmt.png";
4339             }
4340             description { state: "1h" 0.0;
4341                inherit: "default" 0.0;
4342                color: 128 128 128 255;
4343                visible: 0;
4344                rel1.relative: 0.0 1.0;
4345                image.normal: "flip_pmt.png";
4346             }
4347          }
4348          part { name: "atop";
4349             mouse_events: 0;
4350             scale: 1;
4351             description { state: "default" 0.0;
4352                visible: 0;
4353                min: 15 15;
4354                max: 15 15;
4355                align: 0.5 0.0;
4356                rel1.to: "t";
4357                rel2.to: "t";
4358                image.normal: "arrow_up.png";
4359             }
4360             description { state: "visible" 0.0;
4361                inherit: "default" 0.0;
4362                visible: 1;
4363             }
4364          }
4365          part { name: "abot";
4366             mouse_events: 0;
4367             scale: 1;
4368             description { state: "default" 0.0;
4369                visible: 0;
4370                min: 15 15;
4371                max: 15 15;
4372                align: 0.5 1.0;
4373                rel1.to: "b";
4374                rel2.to: "b";
4375                image.normal: "arrow_down.png";
4376             }
4377             description { state: "visible" 0.0;
4378                inherit: "default" 0.0;
4379                visible: 1;
4380             }
4381          }
4382       }
4383       programs {
4384          program { name: "load";
4385             signal: "load";
4386             source: "";
4387             script {
4388                set_int(v0_cur, 0);
4389                set_int(v0_pre, 0);
4390                set_int(v0_lock, 0);
4391                set_int(v0_next, -1);
4392             }
4393          }
4394          program { name: "edit_on";
4395             signal: "elm,state,edit,on";
4396             source: "elm";
4397             action: STATE_SET "visible" 0.0;
4398             target: "atop";
4399             target: "abot";
4400          }
4401 /*
4402          program { name: "edit_off";
4403             signal: "elm,state,edit,off";
4404             source: "elm";
4405             action: STATE_SET "default" 0.0;
4406             target: "atop";
4407             target: "abot";
4408          }
4409  */
4410          program { name: "up";
4411             signal: "mouse,down,1";
4412             source: "t";
4413             action: SIGNAL_EMIT "elm,action,up,start" "";
4414          }
4415          program { name: "up,stop";
4416             signal: "mouse,up,1";
4417             source: "t";
4418             action: SIGNAL_EMIT "elm,action,up,stop" "";
4419          }
4420          program { name: "down";
4421             signal: "mouse,down,1";
4422             source: "b";
4423             action: SIGNAL_EMIT "elm,action,down,start" "";
4424          }
4425          program { name: "down,stop";
4426             signal: "mouse,up,1";
4427             source: "b";
4428             action: SIGNAL_EMIT "elm,action,down,stop" "";
4429          }
4430       }
4431    }
4432
4433    ///////////////////////////////////////////////////////////////////////////////
4434    group { name: "elm/menu/item/default";
4435        images {
4436            image: "bt_base1.png" COMP;
4437            image: "bt_base2.png" COMP;
4438            image: "bt_hilight.png" COMP;
4439            image: "bt_shine.png" COMP;
4440            image: "bt_glow.png" COMP;
4441            image: "bt_dis_base.png" COMP;
4442            image: "bt_dis_hilight.png" COMP;
4443        }
4444        script {
4445             public menu_text_visible; //0:hide (default), 1:visible
4446             public menu_disable; //0:enable, 1:disable
4447        }
4448        parts {
4449            part { name: "item_image";
4450                mouse_events: 1;
4451                description { state: "default" 0.0;
4452                    color: 255 255 255 0;
4453                    image {
4454                        normal: "bt_base2.png";
4455                        border: 7 7 7 7;
4456                    }
4457                    image.middle: SOLID;
4458                }
4459                description { state: "visible" 0.0;
4460                    inherit: "default" 0.0;
4461                    color: 255 255 255 255;
4462                }
4463                description { state: "clicked" 0.0;
4464                    inherit: "default" 0.0;
4465                    inherit: "visible" 0.0;
4466                    image.normal: "bt_base1.png";
4467                    image.middle: SOLID;
4468                }
4469                description { state: "disabled" 0.0;
4470                    inherit:  "default" 0.0;
4471                }
4472            }
4473            part { name: "item_image_disabled";
4474                mouse_events: 1;
4475                description { state: "default" 0.0;
4476                    color: 255 255 255 0;
4477                    image {
4478                        normal: "bt_dis_base.png";
4479                        border: 4 4 4 4;
4480                    }
4481                    image.middle: SOLID;
4482                }
4483                description { state: "disabled" 0.0;
4484                    inherit:  "default" 0.0;
4485                    color: 255 255 255 255;
4486                }
4487            }
4488            part { name: "elm.swallow.content";
4489                type: SWALLOW;
4490                description { state: "default" 0.0;
4491                    fixed: 1 0;
4492                    visible: 1;
4493                    align: 0.0 0.5;
4494                    rel1.offset: 4 4;
4495                    rel2.offset: 3 -5;
4496                    rel2.relative: 0.0 1.0;
4497                    aspect: 1.0 1.0;
4498                    aspect_preference: VERTICAL;
4499                    rel2.offset: 4 -5;
4500                }
4501            }
4502            part {
4503                name:          "elm.text";
4504                type:          TEXT;
4505                mouse_events:  0;
4506                scale: 1;
4507                description { state: "default" 0.0;
4508                    visible: 0;
4509                    rel1.to_x: "elm.swallow.content";
4510                    rel1.relative: 1.0 0.0;
4511                    rel1.offset: 5 7;
4512                    rel2.offset: -10 -8;
4513                    color: 0 0 0 255;
4514                    text {
4515                        font:     "Sans,Edje-Vera";
4516                        size:     10;
4517                        min:      1 1;
4518                        align:    0.0 0.5;
4519                        text_class: "menu_item";
4520                    }
4521                }
4522                description { state: "visible" 0.0;
4523                    inherit: "default" 0.0;
4524                    visible: 1;
4525                    text.min: 1 1;
4526                }
4527                description { state: "selected" 0.0;
4528                    inherit: "default" 0.0;
4529                    inherit: "visible" 0.0;
4530                    color: 254 254 254 255;
4531                }
4532                description { state: "disabled" 0.0;
4533                    inherit: "default" 0.0;
4534                    color: 0 0 0 128;
4535                }
4536                description { state: "disabled_visible" 0.0;
4537                    inherit: "default" 0.0;
4538                    inherit: "visible" 0.0;
4539                    color: 0 0 0 128;
4540                }
4541            }
4542            part {          name: "over1";
4543                mouse_events: 0;
4544                description { state: "default" 0.0;
4545                    color: 255 255 255 0;
4546                    rel2.relative: 1.0 0.5;
4547                    image {
4548                        normal: "bt_hilight.png";
4549                        border: 7 7 7 0;
4550                    }
4551                }
4552                description { state: "visible" 0.0;
4553                    inherit:  "default" 0.0;
4554                    color: 255 255 255 255;
4555                }
4556                description { state: "disabled" 0.0;
4557                    inherit:  "default" 0.0;
4558                }
4559            }
4560            part {          name: "over_disabled";
4561                mouse_events: 0;
4562                description { state: "default" 0.0;
4563                    color: 255 255 255 0;
4564                    rel2.relative: 1.0 0.5;
4565                    image {
4566                        normal: "bt_dis_hilight.png";
4567                        border: 4 4 4 0;
4568                    }
4569                }
4570                description { state: "disabled" 0.0;
4571                    inherit:  "default" 0.0;
4572                    color: 255 255 255 255;
4573                }
4574            }
4575            part { name: "over2";
4576                mouse_events: 1;
4577                repeat_events: 1;
4578                ignore_flags: ON_HOLD;
4579                description { state: "default" 0.0;
4580                    image {
4581                        normal: "bt_shine.png";
4582                        border: 7 7 7 7;
4583                    }
4584                }
4585                description { state: "disabled" 0.0;
4586                    inherit:  "default" 0.0;
4587                    visible: 0;
4588                }
4589            }
4590            part { name: "over3";
4591                mouse_events: 1;
4592                repeat_events: 1;
4593                description { state: "default" 0.0;
4594                    color: 255 255 255 0;
4595                    image {
4596                        normal: "bt_glow.png";
4597                        border: 12 12 12 12;
4598                    }
4599                    fill.smooth : 0;
4600                }
4601                description { state: "clicked" 0.0;
4602                    inherit:  "default" 0.0;
4603                    visible: 1;
4604                    color: 255 255 255 255;
4605                }
4606            }
4607            part { name: "disabler";
4608                type: RECT;
4609                description { state: "default" 0.0;
4610                    color: 0 0 0 0;
4611                    visible: 0;
4612                }
4613                description { state: "disabled" 0.0;
4614                    inherit: "default" 0.0;
4615                    visible: 1;
4616                }
4617            }
4618        }
4619        programs {
4620           //
4621            program {
4622                name:   "item_mouse_in";
4623                signal: "mouse,in";
4624                source: "over2";
4625                action: SIGNAL_EMIT "elm,action,activate" "";
4626                after: "item_mouse_in_2";
4627                after: "item_mouse_in_3";
4628            }
4629            program {
4630                name:   "item_mouse_in_2";
4631                transition: DECELERATE 0.5;
4632                script {
4633                    new v, d;
4634                    v = get_int(menu_text_visible);
4635                    d = get_int(menu_disable);
4636
4637                    if (v==1 && d==0)
4638                         run_program(PROGRAM:"selected_text");
4639                }
4640            }
4641            program {
4642                name:   "item_mouse_in_3";
4643                action : STATE_SET "visible" 0.0;
4644                target: "item_image";
4645                target: "over1";
4646                transition: DECELERATE 0.5;
4647            }
4648            program {
4649                name:   "selected_text";
4650                action: STATE_SET "selected" 0.0;
4651                target: "elm.text";
4652                transition: DECELERATE 0.5;
4653            }
4654            //
4655
4656            //
4657            program {
4658                name:   "item_mouse_out";
4659                signal: "mouse,out";
4660                source: "over2";
4661                action: SIGNAL_EMIT "elm,action,inactivate" "";
4662                after: "item_mouse_out_2";
4663                after: "item_mouse_out_3";
4664            }
4665            program {
4666                name:   "item_mouse_out_2";
4667                transition: DECELERATE 0.5;
4668                script {
4669                    new v, d;
4670                    v = get_int(menu_text_visible);
4671                    d = get_int(menu_disable);
4672
4673                    if (v==1 && d==0)
4674                         run_program(PROGRAM:"visible_text");
4675                }
4676            }
4677            program {
4678                name:   "item_mouse_out_3";
4679                action: STATE_SET "default" 0.0;
4680                target: "item_image";
4681                target: "over1";
4682                transition: DECELERATE 0.5;
4683            }
4684            program {
4685                name:   "visible_text";
4686                action: STATE_SET "visible" 0.0;
4687                target: "elm.text";
4688                transition: DECELERATE 0.5;
4689            }
4690            //
4691
4692            program {
4693                name:   "item_unclick";
4694                signal: "mouse,up,1";
4695                source: "over2";
4696                action: STATE_SET "visible" 0.0;
4697                target: "item_image";
4698            }
4699            program {
4700                name:   "item_click2";
4701                signal: "mouse,down,1";
4702                source: "over3";
4703                action: STATE_SET "clicked" 0.0;
4704                target: "over3";
4705            }
4706            program {
4707                name:   "item_unclick2";
4708                signal: "mouse,up,1";
4709                source: "over3";
4710                action: STATE_SET "default" 0.0;
4711                transition: DECELERATE 0.5;
4712                target: "over3";
4713            }
4714            program {
4715                name:   "item_unclick3";
4716                signal: "mouse,up,1";
4717                source: "over2";
4718                action: SIGNAL_EMIT "elm,action,click" "";
4719            }
4720            program { name: "text_show";
4721                signal: "elm,state,text,visible";
4722                source: "elm";
4723                script {
4724                    set_int(menu_text_visible, 1);
4725                    set_state(PART:"elm.text", "visible", 0.0);
4726                }
4727            }
4728            program { name: "text_hide";
4729                signal: "elm,state,text,hidden";
4730                source: "elm";
4731                script {
4732                    set_int(menu_text_visible, 0);
4733                    set_state(PART:"elm.text", "default", 0.0);
4734                }
4735            }
4736            program { name: "disable";
4737                signal: "elm,state,disabled";
4738                source: "elm";
4739                action: STATE_SET "disabled" 0.0;
4740                target: "item_image";
4741                target: "item_image_disabled";
4742                target: "over1";
4743                target: "over2";
4744                target: "over_disabled";
4745                target: "disabler";
4746                after: "disable_text";
4747            }
4748            program { name: "disable_text";
4749                script {
4750                    new v;
4751                    v = get_int(menu_text_visible);
4752                    if (v==1)
4753                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4754                    else if (v==0)
4755                     set_state(PART:"elm.text", "disabled", 0.0);
4756                    set_int(menu_disable, 1);
4757                }
4758            }
4759            program { name: "item_select";
4760                signal: "elm,state,selected";
4761                source: "elm";
4762                after: "item_mouse_in_2";
4763                after: "item_mouse_in_3";
4764            }
4765            program { name: "item_unselect";
4766                signal: "elm,state,unselected";
4767                source: "elm";
4768                after: "item_mouse_out_2";
4769                after: "item_mouse_out_3";
4770            }
4771            program { name: "enable";
4772                signal: "elm,state,enabled";
4773                source: "elm";
4774                action: STATE_SET "default" 0.0;
4775                target: "item_image";
4776                target: "item_image_disabled";
4777                target: "over1";
4778                target: "over2";
4779                target: "over_disabled";
4780                target: "disabler";
4781                after: "enable_text";
4782            }
4783            program { name: "enable_text";
4784                script {
4785                    new v;
4786                    v = get_int(menu_text_visible);
4787                    if (v==1)
4788                     set_state(PART:"elm.text", "visible", 0.0);
4789                    else  if (v==0)
4790                     set_state(PART:"elm.text", "default", 0.0);
4791                    set_int(menu_disable, 0);
4792                }
4793            }
4794        }
4795    }
4796
4797    group { name: "elm/menu/item_with_submenu/default";
4798        images {
4799            image: "bt_base1.png" COMP;
4800            image: "bt_base2.png" COMP;
4801            image: "bt_hilight.png" COMP;
4802            image: "bt_shine.png" COMP;
4803            image: "bt_glow.png" COMP;
4804            image: "bt_dis_base.png" COMP;
4805            image: "bt_dis_hilight.png" COMP;
4806            image: "arrow_right.png" COMP;
4807            image: "arrow_left.png" COMP;
4808        }
4809        script {
4810             public menu_text_visible; //0:hide (default), 1:visible
4811             public menu_disable; //0:enable, 1:disable
4812        }
4813        parts {
4814            part { name: "item_image";
4815                mouse_events: 1;
4816                description { state: "default" 0.0;
4817                    color: 255 255 255 0;
4818                    image {
4819                        normal: "bt_base2.png";
4820                        border: 7 7 7 7;
4821                    }
4822                    image.middle: SOLID;
4823                }
4824                description { state: "visible" 0.0;
4825                    inherit: "default" 0.0;
4826                    color: 255 255 255 255;
4827                }
4828                description { state: "clicked" 0.0;
4829                    inherit: "default" 0.0;
4830                    inherit: "visible" 0.0;
4831                    image.normal: "bt_base1.png";
4832                    image.middle: SOLID;
4833                }
4834                description { state: "disabled" 0.0;
4835                    inherit:  "default" 0.0;
4836                }
4837            }
4838            part { name: "item_image_disabled";
4839                mouse_events: 1;
4840                description { state: "default" 0.0;
4841                    color: 255 255 255 0;
4842                    image {
4843                        normal: "bt_dis_base.png";
4844                        border: 4 4 4 4;
4845                    }
4846                    image.middle: SOLID;
4847                }
4848                description { state: "disabled" 0.0;
4849                    inherit:  "default" 0.0;
4850                    color: 255 255 255 255;
4851                }
4852            }
4853            part { name: "arrow";
4854                mouse_events: 1;
4855                description { state: "default" 0.0;
4856                    color: 255 255 255 255;
4857                    align: 1.0 0.5;
4858                    aspect: 1 1;
4859                    aspect_preference: BOTH;
4860                    image {
4861                        normal: "arrow_right.png";
4862                    }
4863                }
4864                description { state: "rtl" 0.0;
4865                   inherit: "default" 0.0;
4866                   image.normal: "arrow_left.png";
4867                }
4868            }
4869            part { name: "elm.swallow.content";
4870                type: SWALLOW;
4871                description { state: "default" 0.0;
4872                    fixed: 1 0;
4873                    visible: 1;
4874                    align: 0.0 0.5;
4875                    rel1.offset: 4 4;
4876                    rel2.offset: 3 -5;
4877                    rel2.relative: 0.0 1.0;
4878                    aspect: 1.0 1.0;
4879                    aspect_preference: VERTICAL;
4880                    rel2.offset: 4 -5;
4881                }
4882            }
4883            part {
4884                name:          "elm.text";
4885                type:          TEXT;
4886                mouse_events:  0;
4887                scale: 1;
4888                description { state: "default" 0.0;
4889                    visible: 0;
4890                    rel1.to_x: "elm.swallow.content";
4891                    rel1.relative: 1.0 0.0;
4892                    rel1.offset: 5 7;
4893                    rel2.offset: -10 -8;
4894                    color: 0 0 0 255;
4895                    text {
4896                        font:     "Sans,Edje-Vera";
4897                        size:     10;
4898                        min:      1 1;
4899                        align:    0.0 0.5;
4900                        text_class: "menu_item";
4901                    }
4902                }
4903                description { state: "visible" 0.0;
4904                    inherit: "default" 0.0;
4905                    visible: 1;
4906                    text.min: 1 1;
4907                }
4908                description { state: "selected" 0.0;
4909                    inherit: "default" 0.0;
4910                    inherit: "visible" 0.0;
4911                    color: 254 254 254 255;
4912                }
4913                description { state: "disabled" 0.0;
4914                    inherit: "default" 0.0;
4915                    color: 0 0 0 128;
4916                }
4917                description { state: "disabled_visible" 0.0;
4918                    inherit: "default" 0.0;
4919                    inherit: "visible" 0.0;
4920                    color: 0 0 0 128;
4921                }
4922            }
4923            part {          name: "over1";
4924                mouse_events: 0;
4925                description { state: "default" 0.0;
4926                    color: 255 255 255 0;
4927                    rel2.relative: 1.0 0.5;
4928                    image {
4929                        normal: "bt_hilight.png";
4930                        border: 7 7 7 0;
4931                    }
4932                }
4933                description { state: "visible" 0.0;
4934                    inherit:  "default" 0.0;
4935                    color: 255 255 255 255;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit:  "default" 0.0;
4939                }
4940            }
4941            part { name: "over_disabled";
4942                mouse_events: 0;
4943                description { state: "default" 0.0;
4944                    color: 255 255 255 0;
4945                    rel2.relative: 1.0 0.5;
4946                    image {
4947                        normal: "bt_dis_hilight.png";
4948                        border: 4 4 4 0;
4949                    }
4950                }
4951                description { state: "disabled" 0.0;
4952                    inherit:  "default" 0.0;
4953                    color: 255 255 255 255;
4954                }
4955            }
4956            part { name: "over2";
4957                mouse_events: 1;
4958                repeat_events: 1;
4959                ignore_flags: ON_HOLD;
4960                description { state: "default" 0.0;
4961                    image {
4962                        normal: "bt_shine.png";
4963                        border: 7 7 7 7;
4964                    }
4965                }
4966                description { state: "disabled" 0.0;
4967                    inherit:  "default" 0.0;
4968                    visible: 0;
4969                }
4970            }
4971            part { name: "over3";
4972                mouse_events: 1;
4973                repeat_events: 1;
4974                description { state: "default" 0.0;
4975                    color: 255 255 255 0;
4976                    image {
4977                        normal: "bt_glow.png";
4978                        border: 12 12 12 12;
4979                    }
4980                    fill.smooth : 0;
4981                }
4982                description { state: "clicked" 0.0;
4983                    inherit:  "default" 0.0;
4984                    visible: 1;
4985                    color: 255 255 255 255;
4986                }
4987            }
4988            part { name: "disabler";
4989                type: RECT;
4990                description { state: "default" 0.0;
4991                    color: 0 0 0 0;
4992                    visible: 0;
4993                }
4994                description { state: "disabled" 0.0;
4995                    inherit: "default" 0.0;
4996                    visible: 1;
4997                }
4998            }
4999        }
5000        programs {
5001            //
5002            program {
5003                name:   "item_mouse_in";
5004                signal: "mouse,in";
5005                source: "over2";
5006                action: SIGNAL_EMIT "elm,action,activate" "";
5007                after: "item_mouse_in_2";
5008                after: "item_mouse_in_3";
5009            }
5010            program {
5011                name:   "item_mouse_in_2";
5012                transition: DECELERATE 0.5;
5013                script {
5014                    new v, d;
5015                    v = get_int(menu_text_visible);
5016                    d = get_int(menu_disable);
5017
5018                    if (v==1 && d==0)
5019                         run_program(PROGRAM:"selected_text");
5020                }
5021            }
5022            program {
5023                name:   "item_mouse_in_3";
5024                action : STATE_SET "visible" 0.0;
5025                target: "item_image";
5026                target: "over1";
5027                transition: DECELERATE 0.5;
5028            }
5029            program {
5030                name:   "selected_text";
5031                action: STATE_SET "selected" 0.0;
5032                target: "elm.text";
5033                transition: DECELERATE 0.5;
5034            }
5035            //
5036
5037            //
5038            program {
5039                name:   "item_mouse_out";
5040                signal: "mouse,out";
5041                source: "over2";
5042                after: "item_mouse_out_2";
5043                after: "item_mouse_out_3";
5044            }
5045            program {
5046                name:   "item_mouse_out_2";
5047                transition: DECELERATE 0.5;
5048                script {
5049                    new v, d;
5050                    v = get_int(menu_text_visible);
5051                    d = get_int(menu_disable);
5052
5053                    if (v==1 && d==0)
5054                         run_program(PROGRAM:"visible_text");
5055                }
5056            }
5057            program {
5058                name:   "item_mouse_out_3";
5059                action: STATE_SET "default" 0.0;
5060                target: "item_image";
5061                target: "over1";
5062                transition: DECELERATE 0.5;
5063            }
5064            program {
5065                name:   "visible_text";
5066                action: STATE_SET "visible" 0.0;
5067                target: "elm.text";
5068                transition: DECELERATE 0.5;
5069            }
5070            //
5071
5072            program {
5073                name:   "item_unclick";
5074                signal: "mouse,up,1";
5075                source: "over2";
5076                action: STATE_SET "visible" 0.0;
5077                target: "item_image";
5078            }
5079            program {
5080                name:   "item_click2";
5081                signal: "mouse,down,1";
5082                source: "over3";
5083                action: STATE_SET "clicked" 0.0;
5084                target: "over3";
5085            }
5086            program {
5087                name:   "item_unclick2";
5088                signal: "mouse,up,1";
5089                source: "over3";
5090                action: STATE_SET "default" 0.0;
5091                transition: DECELERATE 0.5;
5092                target: "over3";
5093            }
5094            program {
5095                name:   "item_unclick3";
5096                signal: "mouse,up,1";
5097                source: "over2";
5098                action: SIGNAL_EMIT "elm,action,click" "";
5099            }
5100            program {
5101                name:   "menu_open";
5102                signal: "mouse,in";
5103                source: "over2";
5104                action: SIGNAL_EMIT "elm,action,open" "";
5105            }
5106             program { name: "text_show";
5107                signal: "elm,state,text,visible";
5108                source: "elm";
5109                script {
5110                    set_int(menu_text_visible, 1);
5111                    set_state(PART:"elm.text", "visible", 0.0);
5112                }
5113            }
5114            program { name: "text_hide";
5115                signal: "elm,state,text,hidden";
5116                source: "elm";
5117                script {
5118                    set_int(menu_text_visible, 0);
5119                    set_state(PART:"elm.text", "default", 0.0);
5120                }
5121            }
5122            program { name: "disable";
5123                signal: "elm,state,disabled";
5124                source: "elm";
5125                action: STATE_SET "disabled" 0.0;
5126                target: "item_image";
5127                target: "item_image_disabled";
5128                target: "over1";
5129                target: "over2";
5130                target: "over_disabled";
5131                target: "disabler";
5132                after: "disable_text";
5133            }
5134            program { name: "disable_text";
5135                script {
5136                    new st[31];
5137                    new Float:vl;
5138                    get_state(PART:"elm.text", st, 30, vl);
5139                    if (!strcmp(st, "visible"))
5140                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5141                    else if (!strcmp(st, "default"))
5142                    set_state(PART:"elm.text", "disabled", 0.0);
5143                }
5144            }
5145            program { name: "enable";
5146                signal: "elm,state,enabled";
5147                source: "elm";
5148                action: STATE_SET "default" 0.0;
5149                target: "item_image";
5150                target: "item_image_disabled";
5151                target: "over1";
5152                target: "over2";
5153                target: "over_disabled";
5154                target: "disabler";
5155                after: "enable_text";
5156            }
5157            program { name: "enable_text";
5158                script {
5159                    new v;
5160                    v = get_int(menu_text_visible);
5161                    if (v==1)
5162                     set_state(PART:"elm.text", "visible", 0.0);
5163                    else  if (v==0)
5164                     set_state(PART:"elm.text", "default", 0.0);
5165                    set_int(menu_disable, 0);
5166                }
5167            }
5168            program { name: "to_rtl";
5169                signal: "edje,state,rtl";
5170                source: "edje";
5171                action: STATE_SET "rtl" 0.0;
5172                target: "arrow";
5173            }
5174            program { name: "to_ltr";
5175                signal: "edje,state,ltr";
5176                source: "edje";
5177                action: STATE_SET "default" 0.0;
5178                target: "arrow";
5179            }
5180        }
5181    }
5182
5183    group { name: "elm/menu/separator/default";
5184        images {
5185            image: "separator_h.png" COMP;
5186        }
5187        parts {
5188            part { name: "separator"; // separator group
5189                description { state: "default" 0.0;
5190                    min: 2 2;
5191                    rel1.offset: 4 4;
5192                    rel2.offset: -5 -5;
5193                    image {
5194                        normal: "separator_h.png";
5195                    }
5196                    fill {
5197                        smooth: 0;
5198                    }
5199                }
5200            }
5201        }
5202    }
5203 ///////////////////////////////////////////////////////////////////////////////
5204    group { name: "elm/clock/base-all/default";
5205       parts {
5206          part { name: "d0";
5207             type: SWALLOW;
5208             description { state: "default" 0.0;
5209                rel1.relative: 0.0000000 0.0;
5210                rel2.relative: 0.1250000 1.0;
5211             }
5212          }
5213          part { name: "d1";
5214             type: SWALLOW;
5215             description { state: "default" 0.0;
5216                rel1.relative: 0.1250000 0.0;
5217                rel2.relative: 0.2500000 1.0;
5218             }
5219          }
5220          part { name: "c0";
5221             type: SWALLOW;
5222             type: TEXT;
5223             mouse_events:  0;
5224             scale: 1;
5225             description { state: "default" 0.0;
5226                rel1.relative: 0.2500000 0.0;
5227                rel2.relative: 0.3125000 1.0;
5228                color: 0 0 0 255;
5229                text {
5230                   font:     "Sans,Edje-Vera";
5231                   text:     ":";
5232                   size:     10;
5233                   min:      1 1;
5234                   align:    0.5 0.5;
5235                }
5236             }
5237          }
5238          part { name: "d2";
5239             type: SWALLOW;
5240             description { state: "default" 0.0;
5241                rel1.relative: 0.3125000 0.0;
5242                rel2.relative: 0.4375000 1.0;
5243             }
5244          }
5245          part { name: "d3";
5246             type: SWALLOW;
5247             description { state: "default" 0.0;
5248                rel1.relative: 0.4375000 0.0;
5249                rel2.relative: 0.5625000 1.0;
5250             }
5251          }
5252          // (if seconds)
5253          part { name: "c1";
5254             type: SWALLOW;
5255             type: TEXT;
5256             mouse_events:  0;
5257             scale: 1;
5258             description { state: "default" 0.0;
5259                rel1.relative: 0.5625000 0.0;
5260                rel2.relative: 0.6250000 1.0;
5261                color: 0 0 0 255;
5262                text {
5263                   font:     "Sans,Edje-Vera";
5264                   text:     ":";
5265                   size:     10;
5266                   min:      1 1;
5267                   align:    0.5 0.5;
5268                }
5269             }
5270          }
5271          // (if seconds)
5272          part { name: "d4";
5273             type: SWALLOW;
5274             description { state: "default" 0.0;
5275                rel1.relative: 0.6250000 0.0;
5276                rel2.relative: 0.7500000 1.0;
5277             }
5278          }
5279          // (if seconds)
5280          part { name: "d5";
5281             type: SWALLOW;
5282             description { state: "default" 0.0;
5283                rel1.relative: 0.7500000 0.0;
5284                rel2.relative: 0.8750000 1.0;
5285             }
5286          }
5287          // (if am_pm)
5288          part { name: "ampm";
5289             type: SWALLOW;
5290             description { state: "default" 0.0;
5291                rel1.relative: 0.8750000 0.0;
5292                rel2.relative: 1.0 1.0;
5293             }
5294          }
5295       }
5296    }
5297
5298 ///////////////////////////////////////////////////////////////////////////////
5299    group { name: "elm/clock/base-seconds/default";
5300       parts {
5301          part { name: "d0";
5302             type: SWALLOW;
5303             description { state: "default" 0.0;
5304                rel1.relative: 0.000000000 0.0;
5305                rel2.relative: 0.142857143 1.0;
5306             }
5307          }
5308          part { name: "d1";
5309             type: SWALLOW;
5310             description { state: "default" 0.0;
5311                rel1.relative: 0.142857143 0.0;
5312                rel2.relative: 0.285714286 1.0;
5313             }
5314          }
5315          part { name: "c0";
5316             type: SWALLOW;
5317             type: TEXT;
5318             mouse_events:  0;
5319             scale: 1;
5320             description { state: "default" 0.0;
5321                rel1.relative: 0.285714286 0.0;
5322                rel2.relative: 0.357142857 1.0;
5323                color: 0 0 0 255;
5324                text {
5325                   font:     "Sans,Edje-Vera";
5326                   text:     ":";
5327                   size:     10;
5328                   min:      1 1;
5329                   align:    0.5 0.5;
5330                }
5331             }
5332          }
5333          part { name: "d2";
5334             type: SWALLOW;
5335             description { state: "default" 0.0;
5336                rel1.relative: 0.357142857 0.0;
5337                rel2.relative: 0.500000000 1.0;
5338             }
5339          }
5340          part { name: "d3";
5341             type: SWALLOW;
5342             description { state: "default" 0.0;
5343                rel1.relative: 0.500000000 0.0;
5344                rel2.relative: 0.642857143 1.0;
5345             }
5346          }
5347          // (if seconds)
5348          part { name: "c1";
5349             type: SWALLOW;
5350             type: TEXT;
5351             mouse_events:  0;
5352             scale: 1;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.642857143 0.0;
5355                rel2.relative: 0.714285714 1.0;
5356                color: 0 0 0 255;
5357                text {
5358                   font:     "Sans,Edje-Vera";
5359                   text:     ":";
5360                   size:     10;
5361                   min:      1 1;
5362                   align:    0.5 0.5;
5363                }
5364             }
5365          }
5366          // (if seconds)
5367          part { name: "d4";
5368             type: SWALLOW;
5369             description { state: "default" 0.0;
5370                rel1.relative: 0.714285714 0.0;
5371                rel2.relative: 0.857142857 1.0;
5372             }
5373          }
5374          // (if seconds)
5375          part { name: "d5";
5376             type: SWALLOW;
5377             description { state: "default" 0.0;
5378                rel1.relative: 0.857142857 0.0;
5379                rel2.relative: 1.000000000 1.0;
5380             }
5381          }
5382       }
5383    }
5384
5385 ///////////////////////////////////////////////////////////////////////////////
5386    group { name: "elm/clock/base-am_pm/default";
5387       parts {
5388          part { name: "d0";
5389             type: SWALLOW;
5390             description { state: "default" 0.0;
5391                rel1.relative: 0.000000000 0.0;
5392                rel2.relative: 0.181818182 1.0;
5393             }
5394          }
5395          part { name: "d1";
5396             type: SWALLOW;
5397             description { state: "default" 0.0;
5398                rel1.relative: 0.181818182 0.0;
5399                rel2.relative: 0.363636364 1.0;
5400             }
5401          }
5402          part { name: "c0";
5403             type: SWALLOW;
5404             type: TEXT;
5405             mouse_events:  0;
5406             scale: 1;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.363636364 0.0;
5409                rel2.relative: 0.454545455 1.0;
5410                color: 0 0 0 255;
5411                text {
5412                   font:     "Sans,Edje-Vera";
5413                   text:     ":";
5414                   size:     10;
5415                   min:      1 1;
5416                   align:    0.5 0.5;
5417                }
5418             }
5419          }
5420          part { name: "d2";
5421             type: SWALLOW;
5422             description { state: "default" 0.0;
5423                rel1.relative: 0.454545455 0.0;
5424                rel2.relative: 0.636363636 1.0;
5425             }
5426          }
5427          part { name: "d3";
5428             type: SWALLOW;
5429             description { state: "default" 0.0;
5430                rel1.relative: 0.636363636 0.0;
5431                rel2.relative: 0.818181818 1.0;
5432             }
5433          }
5434          // (if am_pm)
5435          part { name: "ampm";
5436             type: SWALLOW;
5437             description { state: "default" 0.0;
5438                rel1.relative: 0.818181818 0.0;
5439                rel2.relative: 1.0 1.0;
5440             }
5441          }
5442       }
5443    }
5444
5445 ///////////////////////////////////////////////////////////////////////////////
5446    group { name: "elm/clock/base/default";
5447       parts {
5448          part { name: "d0";
5449             type: SWALLOW;
5450             description { state: "default" 0.0;
5451                rel1.relative: 0.000000000 0.0;
5452                rel2.relative: 0.222222222 1.0;
5453             }
5454          }
5455          part { name: "d1";
5456             type: SWALLOW;
5457             description { state: "default" 0.0;
5458                rel1.relative: 0.222222222 0.0;
5459                rel2.relative: 0.444444444 1.0;
5460             }
5461          }
5462          part { name: "c0";
5463             type: SWALLOW;
5464             type: TEXT;
5465             mouse_events:  0;
5466             scale: 1;
5467             description { state: "default" 0.0;
5468                rel1.relative: 0.444444444 0.0;
5469                rel2.relative: 0.555555556 1.0;
5470                color: 0 0 0 255;
5471                text {
5472                   font:     "Sans,Edje-Vera";
5473                   text:     ":";
5474                   size:     10;
5475                   min:      1 1;
5476                   align:    0.5 0.5;
5477                }
5478             }
5479          }
5480          part { name: "d2";
5481             type: SWALLOW;
5482             description { state: "default" 0.0;
5483                rel1.relative: 0.555555556 0.0;
5484                rel2.relative: 0.777777778 1.0;
5485             }
5486          }
5487          part { name: "d3";
5488             type: SWALLOW;
5489             description { state: "default" 0.0;
5490                rel1.relative: 0.777777778 0.0;
5491                rel2.relative: 1.000000000 1.0;
5492             }
5493          }
5494       }
5495    }
5496
5497 ///////////////////////////////////////////////////////////////////////////////
5498    group { name: "elm/frame/base/default";
5499        images {
5500            image: "frame_1.png" COMP;
5501            image: "frame_2.png" COMP;
5502            image: "dia_grad.png" COMP;
5503        }
5504        parts {
5505            part { name: "base0";
5506                mouse_events:  0;
5507                description { state: "default" 0.0;
5508                    image.normal: "dia_grad.png";
5509                    rel1.to: "over";
5510                    rel2.to: "over";
5511                    fill {
5512                        smooth: 0;
5513                        size {
5514                            relative: 0.0 1.0;
5515                            offset: 64 0;
5516                        }
5517                    }
5518                }
5519            }
5520            part { name: "base";
5521                mouse_events:  0;
5522                description { state:    "default" 0.0;
5523                    rel2.to: "elm.swallow.content";
5524                    rel2.offset: 9 9;
5525                    image {
5526                        normal: "frame_2.png";
5527                        border: 5 5 32 26;
5528                        middle: 0;
5529                    }
5530                    fill.smooth : 0;
5531                }
5532            }
5533            part { name: "elm.text";
5534                type: TEXT;
5535                mouse_events:   0;
5536                scale: 1;
5537                description { state: "default" 0.0;
5538                    align: 0.0 0.0;
5539                    fixed: 0 1;
5540                    rel1 {
5541                        relative: 0.0 0.0;
5542                        offset: 6 6;
5543                    }
5544                    rel2 {
5545                        relative: 1.0 0.0;
5546                        offset: -7 6;
5547                    }
5548                    color: 0 0 0 64;
5549                    text {
5550                        font: "Sans:style=Bold,Edje-Vera-Bold";
5551                        size: 10;
5552                        min: 1 1;
5553                        max: 1 1;
5554                        align: 0.0 0.0;
5555                    }
5556                }
5557            }
5558            part { name: "over";
5559                mouse_events:  0;
5560                description { state:    "default" 0.0;
5561                    rel1.offset: 4 4;
5562                    rel2.to: "elm.swallow.content";
5563                    rel2.offset: 5 5;
5564                    image {
5565                        normal: "frame_1.png";
5566                        border: 2 2 28 22;
5567                        middle: 0;
5568                    }
5569                    fill.smooth : 0;
5570                }
5571            }
5572            part { name: "elm.swallow.content";
5573                type: SWALLOW;
5574                description { state: "default" 0.0;
5575                    align: 0.0 0.0;
5576                    rel1 {
5577                        to_y: "elm.text";
5578                        relative: 0.0 1.0;
5579                        offset: 8 2;
5580                    }
5581                    rel2.offset: -9 -9;
5582                }
5583            }
5584        }
5585    }
5586
5587    group { name: "elm/frame/base/pad_small";
5588        parts {
5589            part { name: "b0";
5590                mouse_events:  0;
5591                type: RECT;
5592                scale: 1;
5593                description { state: "default" 0.0;
5594                    visible: 0;
5595                    min: 4 4;
5596                    max: 4 4;
5597                    align: 0.0 0.0;
5598                }
5599            }
5600            part { name: "b1";
5601                mouse_events:  0;
5602                type: RECT;
5603                scale: 1;
5604                description { state: "default" 0.0;
5605                    visible: 0;
5606                    min: 4 4;
5607                    max: 4 4;
5608                    align: 1.0 1.0;
5609                }
5610            }
5611            part { name: "elm.swallow.content";
5612                type: SWALLOW;
5613                description { state: "default" 0.0;
5614                    rel1 {
5615                        to: "b0";
5616                        relative: 1.0 1.0;
5617                        offset: 0 0;
5618                    }
5619                    rel2 {
5620                        to: "b1";
5621                        relative: 0.0 0.0;
5622                        offset: -1 -1;
5623                    }
5624                }
5625            }
5626        }
5627    }
5628
5629    group { name: "elm/frame/base/pad_medium";
5630        parts {
5631            part { name: "b0";
5632                mouse_events:  0;
5633                type: RECT;
5634                scale: 1;
5635                description { state: "default" 0.0;
5636                    visible: 0;
5637                    min: 8 8;
5638                    max: 8 8;
5639                    align: 0.0 0.0;
5640                }
5641            }
5642            part { name: "b1";
5643                mouse_events:  0;
5644                type: RECT;
5645                scale: 1;
5646                description { state: "default" 0.0;
5647                    visible: 0;
5648                    min: 8 8;
5649                    max: 8 8;
5650                    align: 1.0 1.0;
5651                }
5652            }
5653            part { name: "elm.swallow.content";
5654                type: SWALLOW;
5655                description { state: "default" 0.0;
5656                    rel1 {
5657                        to: "b0";
5658                        relative: 1.0 1.0;
5659                        offset: 0 0;
5660                    }
5661                    rel2 {
5662                        to: "b1";
5663                        relative: 0.0 0.0;
5664                        offset: -1 -1;
5665                    }
5666                }
5667            }
5668        }
5669    }
5670
5671    group { name: "elm/frame/base/pad_large";
5672        parts {
5673            part { name: "b0";
5674                mouse_events:  0;
5675                type: RECT;
5676                scale: 1;
5677                description { state: "default" 0.0;
5678                    visible: 0;
5679                    min: 16 16;
5680                    max: 16 16;
5681                    align: 0.0 0.0;
5682                }
5683            }
5684            part { name: "b1";
5685                mouse_events:  0;
5686                type: RECT;
5687                scale: 1;
5688                description { state: "default" 0.0;
5689                    visible: 0;
5690                    min: 16 16;
5691                    max: 16 16;
5692                    align: 1.0 1.0;
5693                }
5694            }
5695            part { name: "elm.swallow.content";
5696                type: SWALLOW;
5697                description { state: "default" 0.0;
5698                    rel1 {
5699                        to: "b0";
5700                        relative: 1.0 1.0;
5701                        offset: 0 0;
5702                    }
5703                    rel2 {
5704                        to: "b1";
5705                        relative: 0.0 0.0;
5706                        offset: -1 -1;
5707                    }
5708                }
5709            }
5710        }
5711    }
5712
5713    group { name: "elm/frame/base/pad_huge";
5714        parts {
5715            part { name: "b0";
5716                mouse_events:  0;
5717                type: RECT;
5718                scale: 1;
5719                description { state: "default" 0.0;
5720                    visible: 0;
5721                    min: 32 32;
5722                    max: 32 32;
5723                    align: 0.0 0.0;
5724                }
5725            }
5726            part { name: "b1";
5727                mouse_events:  0;
5728                type: RECT;
5729                scale: 1;
5730                description { state: "default" 0.0;
5731                    visible: 0;
5732                    min: 32 32;
5733                    max: 32 32;
5734                    align: 1.0 1.0;
5735                }
5736            }
5737            part { name: "elm.swallow.content";
5738                type: SWALLOW;
5739                description { state: "default" 0.0;
5740                    rel1 {
5741                        to: "b0";
5742                        relative: 1.0 1.0;
5743                        offset: 0 0;
5744                    }
5745                    rel2 {
5746                        to: "b1";
5747                        relative: 0.0 0.0;
5748                        offset: -1 -1;
5749                    }
5750                }
5751            }
5752        }
5753    }
5754
5755    group { name: "elm/frame/base/outdent_top";
5756        images {
5757            image: "outdent-top.png" COMP;
5758        }
5759        parts {
5760            part { name: "base0";
5761                mouse_events:  0;
5762                description { state: "default" 0.0;
5763                    image.normal: "outdent-top.png";
5764                    image.border: 0 0 0 13;
5765                    fill.smooth: 0;
5766                }
5767            }
5768            part { name: "elm.swallow.content";
5769                type: SWALLOW;
5770                description { state: "default" 0.0;
5771                    rel1.offset: 2 2;
5772                    rel2.offset: -3 -13;
5773                }
5774            }
5775        }
5776    }
5777
5778    group { name: "elm/frame/base/outdent_bottom";
5779        images {
5780            image: "outdent-bottom.png" COMP;
5781        }
5782        parts {
5783            part { name: "base0";
5784                mouse_events:  0;
5785                description { state: "default" 0.0;
5786                    image.normal: "outdent-bottom.png";
5787                    image.border: 0 0 13 0;
5788                    fill.smooth: 0;
5789                }
5790            }
5791            part { name: "elm.swallow.content";
5792                type: SWALLOW;
5793                description { state: "default" 0.0;
5794                    rel1.offset: 2 12;
5795                    rel2.offset: -3 -3;
5796                }
5797            }
5798        }
5799    }
5800
5801 ///////////////////////////////////////////////////////////////////////////////
5802    group { name: "elm/label/base/tooltip";
5803       styles {
5804          style { name: "tooltip_style";
5805             base: "font=Sans font_size=8 color=#666 wrap=word";
5806             tag:  "br" "\n";
5807             tag:  "hilight" "+ font=Sans:style=Bold";
5808             tag:  "b" "+ font=Sans:style=Bold";
5809             tag:  "tab" "\t";
5810          }
5811       }
5812       parts {
5813          part { name: "elm.text";
5814             type: TEXTBLOCK;
5815             mouse_events: 0;
5816             scale: 1;
5817             description { state: "default" 0.0;
5818                text {
5819                   style: "tooltip_style";
5820                   min: 1 1;
5821                }
5822             }
5823          }
5824       }
5825    }
5826
5827    group { name: "elm/tooltip/base/default";
5828        min: 30 30;
5829        data {
5830            item: "pad_x" "20";
5831            item: "pad_y" "20";
5832            item: "pad_border_x" "10";
5833            item: "pad_border_y" "10";
5834            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5835        }
5836        images {
5837            image: "tooltip-base.png" COMP;
5838            image: "tooltip-corner-top-left-tip.png" COMP;
5839            image: "tooltip-corner-top-right-tip.png" COMP;
5840            image: "tooltip-corner-bottom-left-tip.png" COMP;
5841            image: "tooltip-corner-bottom-right-tip.png" COMP;
5842            image: "tooltip-edge-left-tip.png" COMP;
5843            image: "tooltip-edge-right-tip.png" COMP;
5844            image: "tooltip-edge-bottom-tip.png" COMP;
5845            image: "tooltip-edge-top-tip.png" COMP;
5846        }
5847        script {
5848           hide_corners() {
5849              set_state(PART:"corner-top-left", "default", 0.0);
5850              set_state(PART:"corner-top-right", "default", 0.0);
5851              set_state(PART:"corner-bottom-left", "default", 0.0);
5852              set_state(PART:"corner-bottom-right", "default", 0.0);
5853           }
5854           hide_edges() {
5855              set_state(PART:"clipper-edge-left", "default", 0.0);
5856              set_state(PART:"clipper-edge-right", "default", 0.0);
5857              set_state(PART:"clipper-edge-top", "default", 0.0);
5858              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5859           }
5860
5861           show_corner_top_left() {
5862              set_state(PART:"corner-top-left", "visible", 0.0);
5863
5864              set_state(PART:"corner-top-right", "default", 0.0);
5865              set_state(PART:"corner-bottom-left", "default", 0.0);
5866              set_state(PART:"corner-bottom-right", "default", 0.0);
5867              hide_edges();
5868           }
5869           show_corner_top_right() {
5870              set_state(PART:"corner-top-right", "visible", 0.0);
5871
5872              set_state(PART:"corner-top-left", "default", 0.0);
5873              set_state(PART:"corner-bottom-left", "default", 0.0);
5874              set_state(PART:"corner-bottom-right", "default", 0.0);
5875              hide_edges();
5876           }
5877
5878           show_corner_bottom_left() {
5879              set_state(PART:"corner-bottom-left", "visible", 0.0);
5880
5881              set_state(PART:"corner-bottom-right", "default", 0.0);
5882              set_state(PART:"corner-top-left", "default", 0.0);
5883              set_state(PART:"corner-top-right", "default", 0.0);
5884              hide_edges();
5885           }
5886           show_corner_bottom_right() {
5887              set_state(PART:"corner-bottom-right", "visible", 0.0);
5888
5889              set_state(PART:"corner-bottom-left", "default", 0.0);
5890              set_state(PART:"corner-top-left", "default", 0.0);
5891              set_state(PART:"corner-top-right", "default", 0.0);
5892              hide_edges();
5893           }
5894
5895           show_edge_left(Float:val) {
5896              set_state(PART:"clipper-edge-left", "visible", 0.0);
5897              set_drag(PART:"edge-drag-left", 0.0, val);
5898
5899              set_state(PART:"clipper-edge-right", "default", 0.0);
5900              set_state(PART:"clipper-edge-top", "default", 0.0);
5901              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5902              hide_corners();
5903           }
5904           show_edge_right(Float:val) {
5905              set_state(PART:"clipper-edge-right", "visible", 0.0);
5906              set_drag(PART:"edge-drag-right", 0.0, val);
5907
5908              set_state(PART:"clipper-edge-left", "default", 0.0);
5909              set_state(PART:"clipper-edge-top", "default", 0.0);
5910              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5911              hide_corners();
5912           }
5913
5914           show_edge_top(Float:val) {
5915              set_state(PART:"clipper-edge-top", "visible", 0.0);
5916              set_drag(PART:"edge-drag-top", val, 0.0);
5917
5918              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5919              set_state(PART:"clipper-edge-left", "default", 0.0);
5920              set_state(PART:"clipper-edge-right", "default", 0.0);
5921              hide_corners();
5922           }
5923           show_edge_bottom(Float:val) {
5924              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5925              set_drag(PART:"edge-drag-bottom", val, 0.0);
5926
5927              set_state(PART:"clipper-edge-top", "default", 0.0);
5928              set_state(PART:"clipper-edge-left", "default", 0.0);
5929              set_state(PART:"clipper-edge-right", "default", 0.0);
5930              hide_corners();
5931           }
5932
5933           public message(Msg_Type:type, id, ...) {
5934              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5935                 new Float:x, Float:y;
5936
5937                 x = getfarg(2);
5938                 y = getfarg(3);
5939
5940                 if (x < 0.0)
5941                   {
5942                      if (y < 0.0)      show_corner_top_left();
5943                      else if (y > 1.0) show_corner_bottom_left();
5944                      else              show_edge_left(y);
5945                   }
5946                 else if (x > 1.0)
5947                   {
5948                      if (y < 0.0)      show_corner_top_right();
5949                      else if (y > 1.0) show_corner_bottom_right();
5950                      else              show_edge_right(y);
5951                   }
5952                 else
5953                   {
5954                      if (y < 0.0)      show_edge_top(x);
5955                      else if (y > 1.0) show_edge_bottom(x);
5956                      else
5957                        {
5958                           hide_corners();
5959                           hide_edges();
5960                        }
5961                   }
5962              }
5963           }
5964        }
5965        parts {
5966            part { name: "clipper";
5967                type: RECT;
5968                description { state: "default" 0.0;
5969                    color: 255 255 255 0;
5970                    rel1.to: "elm.swallow.content";
5971                    rel1.offset: -64 -64;
5972                    rel2.to: "elm.swallow.content";
5973                    rel2.offset: 63 63;
5974                }
5975                description { state: "visible" 0.0;
5976                    inherit: "default" 0.0;
5977                    color: 255 255 255 255;
5978                }
5979            }
5980            part { name: "pop";
5981                mouse_events: 0;
5982                clip_to: "clipper";
5983                description { state: "default" 0.0;
5984                    min: 30 30;
5985                    rel1 {
5986                        to: "elm.swallow.content";
5987                        offset: -15 -15;
5988                    }
5989                    rel2 {
5990                        to: "elm.swallow.content";
5991                        offset: 14 14;
5992                    }
5993                    image {
5994                        normal: "tooltip-base.png";
5995                        border: 14 14 14 14;
5996                    }
5997                    image.middle: SOLID;
5998                }
5999            }
6000
6001 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6002            part { name: "corner-"name_;                                 \
6003               type: IMAGE;                                              \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper";                                       \
6006               description { state: "default" 0.0;                       \
6007                  color: 255 255 255 0;                                  \
6008                  visible: 0;                                            \
6009                  min: 14 14;                                            \
6010                  max: 14 14;                                            \
6011                  align: ax ay;                                          \
6012                  fixed: 1 1;                                            \
6013                  rel1 {                                                 \
6014                     relative: rx ry;                                    \
6015                     offset: ox oy;                                      \
6016                     to: "elm.swallow.content";                          \
6017                  }                                                      \
6018                  rel2 {                                                 \
6019                     relative: rx ry;                                    \
6020                     offset: ox oy;                                      \
6021                     to: "elm.swallow.content";                          \
6022                  }                                                      \
6023                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6024               }                                                         \
6025               description { state: "visible" 0.0;                       \
6026                  inherit: "default" 0.0;                                \
6027                  color: 255 255 255 255;                                \
6028                  visible: 1;                                            \
6029               }                                                         \
6030            }
6031            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6032            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6033            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6034            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6035 #undef TT_CORNER
6036
6037 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6038            part { name: "clipper-edge-"name_;                           \
6039               type: RECT;                                               \
6040               clip_to: "clipper";                                       \
6041               description { state: "default" 0.0;                       \
6042                  color: 255 255 255 0;                                  \
6043                  visible: 0;                                            \
6044                  min: 14 14;                                            \
6045                  align: ax 0.5;                                         \
6046                  fixed: 1 1;                                            \
6047                  rel1 {                                                 \
6048                     relative: rx 0.0;                                   \
6049                     offset: ox 0;                                       \
6050                     to: "elm.swallow.content";                          \
6051                  }                                                      \
6052                  rel2 {                                                 \
6053                     relative: rx 1.0;                                   \
6054                     offset: ox 0;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057               }                                                         \
6058               description { state: "visible" 0.0;                       \
6059                  inherit: "default" 0.0;                                \
6060                  color: 255 255 255 255;                                \
6061                  visible: 1;                                            \
6062               }                                                         \
6063            }                                                            \
6064            part { name: "edge-area-"name_;                              \
6065               type: RECT;                                               \
6066               mouse_events: 0;                                          \
6067               clip_to: "clipper-edge-"name_;                            \
6068               description { state: "default" 0.0;                       \
6069                  color: 0 0 0 0;                                        \
6070                  min: 14 14;                                            \
6071                  align: ax 0.5;                                         \
6072                  fixed: 1 1;                                            \
6073                  rel1 {                                                 \
6074                     relative: rx 0.0;                                   \
6075                     offset: ox 0;                                       \
6076                     to: "elm.swallow.content";                          \
6077                  }                                                      \
6078                  rel2 {                                                 \
6079                     relative: rx 1.0;                                   \
6080                     offset: ox 0;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083               }                                                         \
6084            }                                                            \
6085            part { name: "edge-drag-"name_;                              \
6086               type: RECT;                                               \
6087               mouse_events: 0;                                          \
6088               clip_to: "clipper-edge-"name_;                            \
6089               dragable {                                                \
6090                   x: 0 0 0;                                             \
6091                   y: 1 1 0;                                             \
6092                   confine: "edge-area-"name_;                           \
6093               }                                                         \
6094               description { state: "default" 0.0;                       \
6095                  color: 0 0 0 0;                                        \
6096                  min: 14 14;                                            \
6097                  rel1.to: "edge-area-"name_;                            \
6098                  rel2.to: "edge-area-"name_;                            \
6099               }                                                         \
6100            }                                                            \
6101            part { name: "edge-img-"name_;                               \
6102               type: IMAGE;                                              \
6103               mouse_events: 0;                                          \
6104               clip_to: "clipper-edge-"name_;                            \
6105               description { state: "default" 0.0;                       \
6106                  min: 14 14;                                            \
6107                  max: 14 14;                                            \
6108                  align: ax 0.5;                                         \
6109                  fixed: 1 1;                                            \
6110                  rel1.to: "edge-drag-"name_;                            \
6111                  rel2.to: "edge-drag-"name_;                            \
6112                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6113               }                                                         \
6114            }
6115            TT_EDGE_VERT("left", 0, 1, -2);
6116            TT_EDGE_VERT("right", 1, 0, 1);
6117 #undef TT_EDGE_VERT
6118
6119 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6120            part { name: "clipper-edge-"name_;                           \
6121               type: RECT;                                               \
6122               clip_to: "clipper";                                       \
6123               description { state: "default" 0.0;                       \
6124                  color: 255 255 255 0;                                  \
6125                  visible: 0;                                            \
6126                  min: 14 14;                                            \
6127                  align: 0.5 ay;                                         \
6128                  fixed: 1 1;                                            \
6129                  rel1 {                                                 \
6130                     relative: 0.0 ry;                                   \
6131                     offset: 0 oy;                                       \
6132                     to: "elm.swallow.content";                          \
6133                  }                                                      \
6134                  rel2 {                                                 \
6135                     relative: 1.0 ry;                                   \
6136                     offset: 0 oy;                                       \
6137                     to: "elm.swallow.content";                          \
6138                  }                                                      \
6139               }                                                         \
6140               description { state: "visible" 0.0;                       \
6141                  inherit: "default" 0.0;                                \
6142                  color: 255 255 255 255;                                \
6143                  visible: 1;                                            \
6144               }                                                         \
6145            }                                                            \
6146            part { name: "edge-area-"name_;                              \
6147               type: RECT;                                               \
6148               mouse_events: 0;                                          \
6149               clip_to: "clipper-edge-"name_;                            \
6150               description { state: "default" 0.0;                       \
6151                  color: 0 0 0 0;                                        \
6152                  min: 14 14;                                            \
6153                  align: 0.5 ay;                                         \
6154                  fixed: 1 1;                                            \
6155                  rel1 {                                                 \
6156                     relative: 0.0 ry;                                   \
6157                     offset: 0 oy;                                       \
6158                     to: "elm.swallow.content";                          \
6159                  }                                                      \
6160                  rel2 {                                                 \
6161                     relative: 1.0 ry;                                   \
6162                     offset: 0 oy;                                       \
6163                     to: "elm.swallow.content";                          \
6164                  }                                                      \
6165               }                                                         \
6166            }                                                            \
6167            part { name: "edge-drag-"name_;                              \
6168               type: RECT;                                               \
6169               mouse_events: 0;                                          \
6170               clip_to: "clipper-edge-"name_;                            \
6171               dragable {                                                \
6172                   x: 1 1 0;                                             \
6173                   y: 0 0 0;                                             \
6174                   confine: "edge-area-"name_;                           \
6175               }                                                         \
6176               description { state: "default" 0.0;                       \
6177                  color: 0 0 0 0;                                        \
6178                  min: 14 14;                                            \
6179                  rel1.to: "edge-area-"name_;                            \
6180                  rel2.to: "edge-area-"name_;                            \
6181               }                                                         \
6182            }                                                            \
6183            part { name: "edge-img-"name_;                               \
6184               type: IMAGE;                                              \
6185               mouse_events: 0;                                          \
6186               clip_to: "clipper-edge-"name_;                            \
6187               description { state: "default" 0.0;                       \
6188                  min: 14 14;                                            \
6189                  max: 14 14;                                            \
6190                  align: 0.5 ay;                                         \
6191                  fixed: 1 1;                                            \
6192                  rel1.to: "edge-drag-"name_;                            \
6193                  rel2.to: "edge-drag-"name_;                            \
6194                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6195               }                                                         \
6196            }
6197            TT_EDGE_HORIZ("top", 0, 1, -2);
6198            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6199 #undef TT_EDGE_HORIZ
6200
6201            part { name: "clipper_content";
6202                type: RECT;
6203                description { state: "default" 0.0;
6204                    color: 255 255 255 0;
6205                    rel1.to: "elm.swallow.content";
6206                    rel1.offset: -64 -64;
6207                    rel2.to: "elm.swallow.content";
6208                    rel2.offset: 63 63;
6209                }
6210                description { state: "visible" 0.0;
6211                    inherit: "default" 0.0;
6212                    color: 255 255 255 255;
6213                }
6214            }
6215            part { name: "elm.swallow.content";
6216                type: SWALLOW;
6217                clip_to: "clipper_content";
6218                description { state: "default" 0.0; }
6219            }
6220            programs {
6221                program {
6222                    name: "show0";
6223                    signal: "elm,action,show";
6224                    source: "elm";
6225                    action: ACTION_STOP;
6226                    target: "hide0";
6227                    target: "hide1";
6228                    target: "hide2";
6229                    target: "hide3";
6230                    after: "show1";
6231                    after: "show2";
6232                }
6233                program {
6234                    name: "show1";
6235                    action: STATE_SET "visible" 0.0;
6236                    transition: LINEAR 0.15;
6237                    target: "clipper";
6238                }
6239                program {
6240                    name: "show2";
6241                    in: 0.1 0.0;
6242                    action: STATE_SET "visible" 0.0;
6243                    transition: LINEAR 0.15;
6244                    target: "clipper_content";
6245                }
6246
6247                program {
6248                    name: "hide0";
6249                    signal: "elm,action,hide";
6250                    source: "elm";
6251                    action: ACTION_STOP;
6252                    target: "show0";
6253                    target: "show1";
6254                    target: "show2";
6255                    after: "hide1";
6256                    after: "hide2";
6257                    after: "hide3";
6258                }
6259                program {
6260                    name: "hide1";
6261                    script {
6262                       hide_corners();
6263                       hide_edges();
6264                    }
6265                }
6266                program {
6267                    name: "hide2";
6268                    action: STATE_SET "default" 0.0;
6269                    transition: LINEAR 0.1;
6270                    target: "clipper_content";
6271                }
6272                program {
6273                    name: "hide3";
6274                    in: 0.1 0.0;
6275                    action: STATE_SET "default" 0.0;
6276                    transition: LINEAR 0.1;
6277                    target: "clipper";
6278                }
6279            }
6280        }
6281    }
6282    group { name: "elm/tooltip/base/transparent";
6283       parts {
6284          part { name: "elm.swallow.content";
6285             type: SWALLOW;
6286             mouse_events:   0;
6287             scale: 1;
6288             description { state: "default" 0.0; }
6289          }
6290       }
6291    }
6292
6293 ///////////////////////////////////////////////////////////////////////////////
6294
6295    /* TODO: replicate diagonal swallow slots to the other hover styles */
6296    group { name: "elm/hover/base/default";
6297       images {
6298          image: "shad_circ.png" COMP;
6299       }
6300       parts {
6301          part { name: "elm.swallow.offset";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 0.0;
6305                rel1.relative: 0.0 0.0;
6306                rel2.relative: 0.0 0.0;
6307             }
6308          }
6309          part { name: "elm.swallow.size";
6310             type: SWALLOW;
6311             description { state: "default" 0.0;
6312                align: 0.0 0.0;
6313                rel1.to: "elm.swallow.offset";
6314                rel1.relative: 1.0 1.0;
6315                rel2.to: "elm.swallow.offset";
6316                rel2.relative: 1.0 1.0;
6317             }
6318          }
6319          part { name: "base";
6320             type: RECT;
6321             mouse_events: 1;
6322             description { state: "default" 0.0;
6323                color: 0 0 0 64;
6324             }
6325          }
6326          part { name: "shad";
6327             mouse_events:  0;
6328             description { state: "default" 0.0;
6329                image.normal: "shad_circ.png";
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -32 -32;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 31 31;
6334                fill.smooth: 0;
6335             }
6336          }
6337          part { name: "box";
6338             type: RECT;
6339             mouse_events: 0;
6340             description { state: "default" 0.0;
6341                color: 0 0 0 0;
6342                rel1.to: "elm.swallow.size";
6343                rel1.offset: -2 -2;
6344                rel2.to: "elm.swallow.size";
6345                rel2.offset: 1 1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 0.5;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: -1 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 1.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top-left";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 1.0 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 0;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 0.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.5 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 0.0 0.0;
6378                rel1.offset: 0 -1;
6379                rel2.to: "elm.swallow.slot.middle";
6380                rel2.relative: 1.0 0.0;
6381                rel2.offset: -1 -1;
6382             }
6383          }
6384          part { name: "elm.swallow.slot.top-right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 1.0;
6388                rel1.to: "elm.swallow.slot.middle";
6389                rel1.relative: 1.0 0.0;
6390                rel1.offset: 0 0;
6391                rel2.to: "elm.swallow.slot.middle";
6392                rel2.relative: 1.0 0.0;
6393                rel2.offset: -1 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.5;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 0.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: 0 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom-right";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.0 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 1.0 1.0;
6414                rel1.offset: 0 0;
6415                rel2.to: "elm.swallow.slot.middle";
6416                rel2.relative: 1.0 1.0;
6417                rel2.offset: -1 -1;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 0.5 0.0;
6424                rel1.to: "elm.swallow.slot.middle";
6425                rel1.relative: 0.0 1.0;
6426                rel1.offset: 0 0;
6427                rel2.to: "elm.swallow.slot.middle";
6428                rel2.relative: 1.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.bottom-left";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                align: 1.0 0.0;
6436                rel1.to: "elm.swallow.slot.middle";
6437                rel1.relative: 0.0 1.0;
6438                rel1.offset: 0 0;
6439                rel2.to: "elm.swallow.slot.middle";
6440                rel2.relative: 0.0 1.0;
6441                rel2.offset: -1 0;
6442             }
6443          }
6444          part { name: "elm.swallow.slot.middle";
6445             type: SWALLOW;
6446             description { state: "default" 0.0;
6447                rel1.to: "elm.swallow.size";
6448                rel2.to: "elm.swallow.size";
6449             }
6450          }
6451       }
6452       programs {
6453          program { name: "end";
6454             signal: "mouse,up,1";
6455             source: "base";
6456             action: SIGNAL_EMIT "elm,action,dismiss" "";
6457          }
6458       }
6459    }
6460
6461    group { name: "elm/hover/base/popout";
6462       images {
6463          image: "shad_circ.png" COMP;
6464          image: "bt_dis_base.png" COMP;
6465          image: "bt_dis_hilight.png" COMP;
6466       }
6467       parts {
6468          part { name: "elm.swallow.offset";
6469             type: SWALLOW;
6470             description { state: "default" 0.0;
6471                align: 0.0 0.0;
6472                rel1.relative: 0.0 0.0;
6473                rel2.relative: 0.0 0.0;
6474             }
6475          }
6476          part { name: "elm.swallow.size";
6477             type: SWALLOW;
6478             description { state: "default" 0.0;
6479                align: 0.0 0.0;
6480                rel1.to: "elm.swallow.offset";
6481                rel1.relative: 1.0 1.0;
6482                rel2.to: "elm.swallow.offset";
6483                rel2.relative: 1.0 1.0;
6484             }
6485          }
6486          part { name: "base";
6487             type: RECT;
6488             mouse_events: 1;
6489             description { state: "default" 0.0;
6490                color: 0 0 0 0;
6491             }
6492             description { state: "visible" 0.0;
6493                inherit: "default" 1.0;
6494                color: 0 0 0 64;
6495             }
6496          }
6497          part { name: "leftclip";
6498             type: RECT;
6499             description { state: "default" 0.0;
6500                rel2.to_x: "pop";
6501                rel2.relative: 0.0 1.0;
6502                rel2.offset: 1 -1;
6503             }
6504          }
6505          part { name: "left";
6506             clip_to: "leftclip";
6507             description { state: "default" 0.0;
6508                visible: 0;
6509                rel1.to: "elm.swallow.slot.left";
6510                rel1.offset: -5 -5;
6511                rel2.to: "elm.swallow.slot.left";
6512                rel2.offset: 4 4;
6513                image {
6514                   normal: "bt_dis_base.png";
6515                   border: 4 4 4 4;
6516                }
6517                image.middle: SOLID;
6518             }
6519             description { state: "visible" 0.0;
6520                inherit: "default" 0.0;
6521                visible: 1;
6522             }
6523          }
6524          part { name: "elm.swallow.slot.left";
6525             type: SWALLOW;
6526             clip_to: "leftclip";
6527             description { state: "default" 0.0;
6528                align: 0.0 0.5;
6529                rel1.to: "elm.swallow.slot.middle";
6530                rel1.relative: 0.0 0.0;
6531                rel1.offset: -1 0;
6532                rel2.to: "elm.swallow.slot.middle";
6533                rel2.relative: 0.0 1.0;
6534                rel2.offset: -1 -1;
6535             }
6536             description { state: "visible" 0.0;
6537                inherit: "default" 0.0;
6538                rel1.offset: -7 0;
6539                rel2.offset: -7 -1;
6540                align: 1.0 0.5;
6541             }
6542          }
6543          part { name: "leftover";
6544             clip_to: "leftclip";
6545             mouse_events: 0;
6546             description { state: "default" 0.0;
6547                rel1.to: "left";
6548                rel2.to: "left";
6549                rel2.relative: 1.0 0.5;
6550                image {
6551                   normal: "bt_dis_hilight.png";
6552                   border: 4 4 4 0;
6553                }
6554             }
6555          }
6556          part { name: "rightclip";
6557             type: RECT;
6558             description { state: "default" 0.0;
6559                rel1.to_x: "pop";
6560                rel1.relative: 1.0 0.0;
6561                rel1.offset: -2 0;
6562             }
6563          }
6564          part { name: "right";
6565             clip_to: "rightclip";
6566             description { state: "default" 0.0;
6567                visible: 0;
6568                rel1.to: "elm.swallow.slot.right";
6569                rel1.offset: -5 -5;
6570                rel2.to: "elm.swallow.slot.right";
6571                rel2.offset: 4 4;
6572                image {
6573                   normal: "bt_dis_base.png";
6574                   border: 4 4 4 4;
6575                }
6576                image.middle: SOLID;
6577             }
6578             description { state: "visible" 0.0;
6579                inherit: "default" 0.0;
6580                visible: 1;
6581             }
6582          }
6583          part { name: "elm.swallow.slot.right";
6584             type: SWALLOW;
6585             clip_to: "rightclip";
6586             description { state: "default" 0.0;
6587                align: 1.0 0.5;
6588                rel1.to: "elm.swallow.slot.middle";
6589                rel1.relative: 1.0 0.0;
6590                rel1.offset: 0 0;
6591                rel2.to: "elm.swallow.slot.middle";
6592                rel2.relative: 1.0 1.0;
6593                rel2.offset: 0 -1;
6594             }
6595             description { state: "visible" 0.0;
6596                inherit: "default" 0.0;
6597                rel1.offset: 6 0;
6598                rel2.offset: 6 -1;
6599                align: 0.0 0.5;
6600             }
6601          }
6602          part { name: "rightover";
6603             clip_to: "rightclip";
6604             mouse_events: 0;
6605             description { state: "default" 0.0;
6606                rel1.to: "right";
6607                rel2.to: "right";
6608                rel2.relative: 1.0 0.5;
6609                image {
6610                   normal: "bt_dis_hilight.png";
6611                   border: 4 4 4 0;
6612                }
6613             }
6614          }
6615          part { name: "topclip";
6616             type: RECT;
6617             description { state: "default" 0.0;
6618                rel2.to_y: "pop";
6619                rel2.relative: 1.0 0.0;
6620                rel2.offset: -1 1;
6621             }
6622          }
6623          part { name: "top";
6624             clip_to: "topclip";
6625             description { state: "default" 0.0;
6626                visible: 0;
6627                rel1.to: "elm.swallow.slot.top";
6628                rel1.offset: -5 -5;
6629                rel2.to: "elm.swallow.slot.top";
6630                rel2.offset: 4 4;
6631                image {
6632                   normal: "bt_dis_base.png";
6633                   border: 4 4 4 4;
6634                }
6635                image.middle: SOLID;
6636             }
6637             description { state: "visible" 0.0;
6638                inherit: "default" 0.0;
6639                visible: 1;
6640             }
6641          }
6642          part { name: "elm.swallow.slot.top";
6643             type: SWALLOW;
6644             clip_to: "topclip";
6645             description { state: "default" 0.0;
6646                visible: 1;
6647                align: 0.5 0.0;
6648                rel1.to: "elm.swallow.slot.middle";
6649                rel1.relative: 0.0 0.0;
6650                rel1.offset: 0 -1;
6651                rel2.to: "elm.swallow.slot.middle";
6652                rel2.relative: 1.0 0.0;
6653                rel2.offset: -1 -1;
6654             }
6655             description { state: "visible" 0.0;
6656                inherit: "default" 0.0;
6657                rel1.offset: 0 -7;
6658                rel2.offset: -1 -7;
6659                align: 0.5 1.0;
6660             }
6661          }
6662          part { name: "topover";
6663             clip_to: "topclip";
6664             mouse_events: 0;
6665             description { state: "default" 0.0;
6666                rel1.to: "top";
6667                rel2.to: "top";
6668                rel2.relative: 1.0 0.5;
6669                image {
6670                   normal: "bt_dis_hilight.png";
6671                   border: 4 4 4 0;
6672                }
6673             }
6674          }
6675          part { name: "bottomclip";
6676             type: RECT;
6677             description { state: "default" 0.0;
6678                rel1.to_y: "pop";
6679                rel1.relative: 0.0 1.0;
6680                rel1.offset: -1 -2;
6681             }
6682          }
6683          part { name: "bottom";
6684             clip_to: "bottomclip";
6685             description { state: "default" 0.0;
6686                visible: 0;
6687                rel1.to: "elm.swallow.slot.bottom";
6688                rel1.offset: -5 -5;
6689                rel2.to: "elm.swallow.slot.bottom";
6690                rel2.offset: 4 4;
6691                image {
6692                   normal: "bt_dis_base.png";
6693                   border: 4 4 4 4;
6694                }
6695                image.middle: SOLID;
6696             }
6697             description { state: "visible" 0.0;
6698                inherit: "default" 0.0;
6699                visible: 1;
6700             }
6701          }
6702          part { name: "elm.swallow.slot.bottom";
6703             type: SWALLOW;
6704             clip_to: "bottomclip";
6705             description { state: "default" 0.0;
6706                align: 0.5 1.0;
6707                rel1.to: "elm.swallow.slot.middle";
6708                rel1.relative: 0.0 1.0;
6709                rel1.offset: 0 0;
6710                rel2.to: "elm.swallow.slot.middle";
6711                rel2.relative: 1.0 1.0;
6712                rel2.offset: -1 0;
6713             }
6714             description { state: "visible" 0.0;
6715                inherit: "default" 0.0;
6716                rel1.offset: 0 6;
6717                rel2.offset: -1 6;
6718                align: 0.5 0.0;
6719             }
6720          }
6721          part { name: "bottomover";
6722             clip_to: "bottomclip";
6723             mouse_events: 0;
6724             description { state: "default" 0.0;
6725                rel1.to: "bottom";
6726                rel2.to: "bottom";
6727                rel2.relative: 1.0 0.5;
6728                image {
6729                   normal: "bt_dis_hilight.png";
6730                   border: 4 4 4 0;
6731                }
6732             }
6733          }
6734          part { name: "shad";
6735             mouse_events:  0;
6736             description { state: "default" 0.0;
6737                image.normal: "shad_circ.png";
6738                rel1.to: "elm.swallow.size";
6739                rel1.offset: -64 -64;
6740                rel2.to: "elm.swallow.size";
6741                rel2.offset: 63 63;
6742                fill.smooth: 0;
6743             }
6744          }
6745          part { name: "pop";
6746             mouse_events: 1;
6747             description { state: "default" 0.0;
6748                rel1.to: "elm.swallow.slot.middle";
6749                rel1.offset: -5 -5;
6750                rel2.to: "elm.swallow.slot.middle";
6751                rel2.offset: 4 4;
6752                image {
6753                   normal: "bt_dis_base.png";
6754                   border: 4 4 4 4;
6755                }
6756                image.middle: SOLID;
6757             }
6758          }
6759          part { name: "elm.swallow.slot.middle";
6760             type: SWALLOW;
6761             description { state: "default" 0.0;
6762                rel1.to: "elm.swallow.size";
6763                rel2.to: "elm.swallow.size";
6764             }
6765          }
6766          part { name: "popover";
6767             mouse_events: 0;
6768             description { state: "default" 0.0;
6769                rel1.to: "pop";
6770                rel2.to: "pop";
6771                rel2.relative: 1.0 0.5;
6772                image {
6773                   normal: "bt_dis_hilight.png";
6774                   border: 4 4 4 0;
6775                }
6776             }
6777          }
6778       }
6779       programs {
6780          program { name: "end";
6781             signal: "mouse,up,1";
6782             source: "base";
6783             action: SIGNAL_EMIT "elm,action,dismiss" "";
6784          }
6785
6786          program { name: "show";
6787             signal: "elm,action,show";
6788             source: "elm";
6789             action: STATE_SET "visible" 0.0;
6790 //            transition: DECELERATE 0.5;
6791             target: "base";
6792          }
6793          program { name: "hide";
6794             signal: "elm,action,hide";
6795             source: "elm";
6796             action: STATE_SET "default" 0.0;
6797 //            transition: DECELERATE 0.5;
6798             target: "base";
6799          }
6800
6801          program { name: "leftshow";
6802             signal: "elm,action,slot,left,show";
6803             source: "elm";
6804             action: STATE_SET "visible" 0.0;
6805             transition: DECELERATE 0.5;
6806             target: "left";
6807             target: "elm.swallow.slot.left";
6808          }
6809          program { name: "lefthide";
6810             signal: "elm,action,slot,left,hide";
6811             source: "elm";
6812             action: STATE_SET "default" 0.0;
6813             transition: DECELERATE 0.5;
6814             target: "left";
6815             target: "elm.swallow.slot.left";
6816          }
6817          program { name: "rightshow";
6818             signal: "elm,action,slot,right,show";
6819             source: "elm";
6820             action: STATE_SET "visible" 0.0;
6821             transition: DECELERATE 0.5;
6822             target: "right";
6823             target: "elm.swallow.slot.right";
6824          }
6825          program { name: "righthide";
6826             signal: "elm,action,slot,right,hide";
6827             source: "elm";
6828             action: STATE_SET "default" 0.0;
6829             transition: DECELERATE 0.5;
6830             target: "right";
6831             target: "elm.swallow.slot.right";
6832          }
6833          program { name: "topshow";
6834             signal: "elm,action,slot,top,show";
6835             source: "elm";
6836             action: STATE_SET "visible" 0.0;
6837             transition: DECELERATE 0.5;
6838             target: "top";
6839             target: "elm.swallow.slot.top";
6840          }
6841          program { name: "tophide";
6842             signal: "elm,action,slot,top,hide";
6843             source: "elm";
6844             action: STATE_SET "default" 0.0;
6845             transition: DECELERATE 0.5;
6846             target: "top";
6847             target: "elm.swallow.slot.top";
6848          }
6849          program { name: "bottomshow";
6850             signal: "elm,action,slot,bottom,show";
6851             source: "elm";
6852             action: STATE_SET "visible" 0.0;
6853             transition: DECELERATE 0.5;
6854             target: "bottom";
6855             target: "elm.swallow.slot.bottom";
6856          }
6857          program { name: "bottomhide";
6858             signal: "elm,action,slot,bottom,hide";
6859             source: "elm";
6860             action: STATE_SET "default" 0.0;
6861             transition: DECELERATE 0.5;
6862             target: "bottom";
6863             target: "elm.swallow.slot.bottom";
6864          }
6865       }
6866    }
6867
6868    //In the hover used by the menu only the bottom part is used.
6869    group { name: "elm/hover/base/menu";
6870        images {
6871            image: "shad_circ.png" COMP;
6872            image: "bt_dis_base.png" COMP;
6873        }
6874        parts {
6875            part { name: "elm.swallow.offset";
6876                type: SWALLOW;
6877                description { state: "default" 0.0;
6878                    align: 0.0 0.0;
6879                    rel1.relative: 0.0 0.0;
6880                    rel2.relative: 0.0 0.0;
6881                }
6882            }
6883            part { name: "elm.swallow.size";
6884                type: SWALLOW;
6885                description { state: "default" 0.0;
6886                    align: 0.0 0.0;
6887                    rel1.to: "elm.swallow.offset";
6888                    rel1.relative: 1.0 1.0;
6889                    rel2.to: "elm.swallow.offset";
6890                    rel2.relative: 1.0 1.0;
6891                }
6892            }
6893            part { name: "base";
6894                type: RECT;
6895                mouse_events: 1;
6896                description { state: "default" 0.0;
6897                    color: 0 0 0 0;
6898                }
6899                description { state: "visible" 0.0;
6900                    inherit: "default" 1.0;
6901                    color: 0 0 0 64;
6902                }
6903            }
6904            part { name: "elm.swallow.slot.left";
6905                type: SWALLOW;
6906                description { state: "default" 0.0;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.right";
6910                type: SWALLOW;
6911                description { state: "default" 0.0;
6912                }
6913            }
6914            part { name: "elm.swallow.slot.top";
6915                type: SWALLOW;
6916                description { state: "default" 0.0;
6917                }
6918                description { state: "visible" 0.0;
6919                    inherit: "default" 0.0;
6920                }
6921            }
6922            part { name: "bottomclip";
6923                type: RECT;
6924                description { state: "default" 0.0;
6925                    rel1.to_y: "pop";
6926                    rel1.relative: 0.0 1.0;
6927                    rel1.offset: -1 -2;
6928                }
6929            }
6930            part { name: "bottom";
6931                clip_to: "bottomclip";
6932                description { state: "default" 0.0;
6933                    visible: 0;
6934                    rel1.to: "elm.swallow.slot.bottom";
6935                    rel1.offset: -5 -5;
6936                    rel2.to: "elm.swallow.slot.bottom";
6937                    rel2.offset: 4 4;
6938                    image {
6939                        normal: "bt_dis_base.png";
6940                        border: 4 4 4 4;
6941                    }
6942                    image.middle: SOLID;
6943                }
6944                description { state: "visible" 0.0;
6945                    inherit: "default" 0.0;
6946                    visible: 1;
6947                }
6948            }
6949            part { name: "elm.swallow.slot.bottom";
6950                type: SWALLOW;
6951                clip_to: "bottomclip";
6952                description { state: "default" 0.0;
6953                    align: 0.5 1.0;
6954                    rel1.to: "elm.swallow.slot.middle";
6955                    rel1.relative: 0.0 1.0;
6956                    rel1.offset: 0 0;
6957                    rel2.to: "elm.swallow.slot.middle";
6958                    rel2.relative: 1.0 1.0;
6959                    rel2.offset: -1 0;
6960                }
6961                description { state: "visible" 0.0;
6962                    inherit: "default" 0.0;
6963                    rel1.offset: 0 6;
6964                    rel2.offset: -1 6;
6965                    align: 0.5 0.0;
6966                }
6967            }
6968            part { name: "pop";
6969                mouse_events: 1;
6970                repeat_events:1;
6971                description { state: "default" 0.0;
6972                    rel1.to: "elm.swallow.slot.middle";
6973                    rel1.offset: -5 -5;
6974                    rel2.to: "elm.swallow.slot.middle";
6975                    rel2.offset: 4 4;
6976                }
6977            }
6978            part { name: "elm.swallow.slot.middle";
6979                type: SWALLOW;
6980                repeat_events:1;
6981                description { state: "default" 0.0;
6982                    rel1.to: "elm.swallow.size";
6983                    rel2.to: "elm.swallow.size";
6984                }
6985            }
6986        }
6987        programs {
6988            program { name: "end";
6989                signal: "mouse,up,1";
6990                source: "base";
6991                action: SIGNAL_EMIT "elm,action,dismiss" "";
6992            }
6993            program { name: "show";
6994                signal: "elm,action,show";
6995                source: "elm";
6996                action: STATE_SET "visible" 0.0;
6997                        //            transition: DECELERATE 0.5;
6998                target: "base";
6999            }
7000            program { name: "hide";
7001                signal: "elm,action,hide";
7002                source: "elm";
7003                action: STATE_SET "default" 0.0;
7004                        //            transition: DECELERATE 0.5;
7005                target: "base";
7006            }
7007            program { name: "bottomshow";
7008                signal: "elm,action,slot,bottom,show";
7009                source: "elm";
7010                action: STATE_SET "visible" 0.0;
7011                transition: DECELERATE 0.3;
7012                target: "bottom";
7013                target: "elm.swallow.slot.bottom";
7014            }
7015            program { name: "bottomhide";
7016                signal: "elm,action,slot,bottom,hide";
7017                source: "elm";
7018                action: STATE_SET "default" 0.0;
7019                transition: DECELERATE 0.5;
7020                target: "bottom";
7021                target: "elm.swallow.slot.bottom";
7022            }
7023        }
7024    }
7025
7026    //In the hover used by the submenu only the bottom part is used
7027    //and no part should interact except the bottom area
7028    group { name: "elm/hover/base/submenu";
7029        images {
7030            image: "shad_circ.png" COMP;
7031            image: "bt_dis_base.png" COMP;
7032        }
7033        parts {
7034            part { name: "elm.swallow.offset";
7035                type: SWALLOW;
7036                repeat_events:1;
7037                description { state: "default" 0.0;
7038                    align: 0.0 0.0;
7039                    rel1.relative: 0.0 0.0;
7040                    rel2.relative: 0.0 0.0;
7041                }
7042            }
7043            part { name: "elm.swallow.size";
7044                type: SWALLOW;
7045                description { state: "default" 0.0;
7046                    align: 0.0 0.0;
7047                    rel1.to: "elm.swallow.offset";
7048                    rel1.relative: 1.0 1.0;
7049                    rel2.to: "elm.swallow.offset";
7050                    rel2.relative: 1.0 1.0;
7051                }
7052            }
7053            //here we do non catch events like the hover hover does
7054            part { name: "base";
7055                type: RECT;
7056                mouse_events: 1;
7057                description { state: "default" 0.0;
7058                    color: 0 0 0 0;
7059                    visible: 0;
7060                }
7061            }
7062            part { name: "elm.swallow.slot.left";
7063                type: SWALLOW;
7064                description { state: "default" 0.0;
7065                }
7066            }
7067            part { name: "elm.swallow.slot.right";
7068                type: SWALLOW;
7069                description { state: "default" 0.0;
7070                }
7071            }
7072            part { name: "elm.swallow.slot.top";
7073                type: SWALLOW;
7074                description { state: "default" 0.0;
7075                }
7076            }
7077            part { name: "bottomclip";
7078                type: RECT;
7079                description { state: "default" 0.0;
7080                    rel1.to_y: "pop";
7081                    rel1.relative: 0.0 1.0;
7082                    rel1.offset: -1 -2;
7083                }
7084            }
7085            part { name: "bottom";
7086                clip_to: "bottomclip";
7087                description { state: "default" 0.0;
7088                    visible: 0;
7089                    rel1.to: "elm.swallow.slot.bottom";
7090                    rel1.offset: -5 -5;
7091                    rel2.to: "elm.swallow.slot.bottom";
7092                    rel2.offset: 4 4;
7093                    image {
7094                        normal: "bt_dis_base.png";
7095                        border: 4 4 4 4;
7096                    }
7097                    image.middle: SOLID;
7098                }
7099                description { state: "visible" 0.0;
7100                    inherit: "default" 0.0;
7101                    visible: 1;
7102                }
7103            }
7104            part { name: "elm.swallow.slot.bottom";
7105                type: SWALLOW;
7106                clip_to: "bottomclip";
7107                description { state: "default" 0.0;
7108                    align: 0.5 1.0;
7109                    rel1.to: "elm.swallow.slot.middle";
7110                    rel1.relative: 0.0 1.0;
7111                    rel1.offset: 0 0;
7112                    rel2.to: "elm.swallow.slot.middle";
7113                    rel2.relative: 1.0 1.0;
7114                    rel2.offset: -1 0;
7115                }
7116                description { state: "visible" 0.0;
7117                    inherit: "default" 0.0;
7118                    rel1.offset: 0 6;
7119                    rel2.offset: -1 6;
7120                    align: 0.5 0.0;
7121                }
7122            }
7123            part { name: "pop";
7124                mouse_events: 1;
7125                repeat_events:1;
7126                description { state: "default" 0.0;
7127                    rel1.to: "elm.swallow.slot.middle";
7128                    rel1.offset: -5 -5;
7129                    rel2.to: "elm.swallow.slot.middle";
7130                    rel2.offset: 4 4;
7131                }
7132            }
7133            part { name: "elm.swallow.slot.middle";
7134                type: SWALLOW;
7135                repeat_events:1;
7136                description { state: "default" 0.0;
7137                    rel1.to: "elm.swallow.size";
7138                    rel2.to: "elm.swallow.size";
7139                }
7140            }
7141        }
7142        programs {
7143            program { name: "end";
7144                signal: "mouse,up,1";
7145                source: "base";
7146                action: SIGNAL_EMIT "elm,action,dismiss" "";
7147            }
7148            program { name: "show";
7149                signal: "elm,action,show";
7150                source: "elm";
7151                action: STATE_SET "visible" 0.0;
7152                        //            transition: DECELERATE 0.5;
7153                target: "base";
7154            }
7155            program { name: "hide";
7156                signal: "elm,action,hide";
7157                source: "elm";
7158                action: STATE_SET "default" 0.0;
7159                        //            transition: DECELERATE 0.5;
7160                target: "base";
7161            }
7162            program { name: "bottomshow";
7163                signal: "elm,action,slot,bottom,show";
7164                source: "elm";
7165                action: STATE_SET "visible" 0.0;
7166                transition: DECELERATE 0.3;
7167                target: "bottom";
7168                target: "elm.swallow.slot.bottom";
7169            }
7170            program { name: "bottomhide";
7171                signal: "elm,action,slot,bottom,hide";
7172                source: "elm";
7173                action: STATE_SET "default" 0.0;
7174                transition: DECELERATE 0.5;
7175                target: "bottom";
7176                target: "elm.swallow.slot.bottom";
7177            }
7178        }
7179    }
7180
7181    group { name: "elm/hover/base/hoversel_vertical/default";
7182       alias: "elm/hover/base/hoversel_vertical/entry";
7183       images {
7184 //         image: "shad_circ.png" COMP;
7185          image: "bt_base2.png" COMP;
7186          image: "bt_hilight.png" COMP;
7187          image: "bt_shine.png" COMP;
7188          image: "outdent-top.png" COMP;
7189          image: "outdent-bottom.png" COMP;
7190       }
7191       parts {
7192          part { name: "elm.swallow.offset";
7193             type: SWALLOW;
7194             description { state: "default" 0.0;
7195                align: 0.0 0.0;
7196                rel1.relative: 0.0 0.0;
7197                rel2.relative: 0.0 0.0;
7198             }
7199          }
7200          part { name: "elm.swallow.size";
7201             type: SWALLOW;
7202             description { state: "default" 0.0;
7203                align: 0.0 0.0;
7204                rel1.to: "elm.swallow.offset";
7205                rel1.relative: 1.0 1.0;
7206                rel2.to: "elm.swallow.offset";
7207                rel2.relative: 1.0 1.0;
7208             }
7209          }
7210 /*
7211         part { name: "shad";
7212             mouse_events:  0;
7213             description { state: "default" 0.0;
7214                image.normal: "shad_circ.png";
7215                rel1.to: "button_image";
7216                rel1.offset: -64 -64;
7217                rel2.to: "button_image";
7218                rel2.offset: 63 63;
7219                fill.smooth: 0;
7220             }
7221          }
7222  */
7223          part { name: "button_image";
7224             mouse_events: 1;
7225             description { state: "default" 0.0;
7226                rel1.to_x: "elm.swallow.slot.top";
7227                rel1.to_y: "elm.swallow.slot.top";
7228                rel1.offset: -2 -6;
7229                rel2.to_x: "elm.swallow.slot.top";
7230                rel2.to_y: "elm.swallow.slot.bottom";
7231                rel2.offset: 1 5;
7232                image {
7233                   normal: "bt_base2.png";
7234                   border: 7 7 7 7;
7235                }
7236                image.middle: SOLID;
7237             }
7238             description { state: "bottom" 0.0;
7239                rel1.to_x: "elm.swallow.slot.bottom";
7240                rel1.to_y: "elm.swallow.slot.top";
7241                rel1.offset: -2 -6;
7242                rel2.to_x: "elm.swallow.slot.bottom";
7243                rel2.to_y: "elm.swallow.slot.bottom";
7244                rel2.offset: 1 5;
7245                image {
7246                   normal: "bt_base2.png";
7247                   border: 7 7 7 7;
7248                }
7249                image.middle: SOLID;
7250             }
7251          }
7252
7253          part { name: "base";
7254             type: RECT;
7255             mouse_events: 1;
7256             description { state: "default" 0.0;
7257                color: 0 0 0 0;
7258             }
7259             description { state: "visible" 0.0;
7260                inherit: "default" 1.0;
7261                color: 0 0 0 64;
7262             }
7263          }
7264
7265          part { name: "topclip";
7266             type: RECT;
7267             description { state: "default" 0.0;
7268                rel2.to_y: "edge_top";
7269                rel2.relative: 1.0 0.0;
7270                rel2.offset: -1 7;
7271             }
7272          }
7273          part { name: "elm.swallow.slot.top";
7274             type: SWALLOW;
7275             clip_to: "topclip";
7276             description { state: "default" 0.0;
7277                visible: 1;
7278                align: 0.5 0.0;
7279                rel1.to: "elm.swallow.slot.middle";
7280                rel1.relative: 0.0 0.0;
7281                rel1.offset: 0 -1;
7282                rel2.to: "elm.swallow.slot.middle";
7283                rel2.relative: 1.0 0.0;
7284                rel2.offset: -1 -1;
7285             }
7286             description { state: "visible" 0.0;
7287                inherit: "default" 0.0;
7288                rel1.offset: 0 -7;
7289                rel2.offset: -1 -7;
7290                align: 0.5 1.0;
7291             }
7292          }
7293
7294          part { name: "bottomclip";
7295             type: RECT;
7296             description { state: "default" 0.0;
7297                rel1.to_y: "edge_bottom";
7298                rel1.relative: 0.0 1.0;
7299                rel1.offset: -1 -8;
7300             }
7301          }
7302          part { name: "elm.swallow.slot.bottom";
7303             type: SWALLOW;
7304             clip_to: "bottomclip";
7305             description { state: "default" 0.0;
7306                align: 0.5 1.0;
7307                rel1.to: "elm.swallow.slot.middle";
7308                rel1.relative: 0.0 1.0;
7309                rel1.offset: 0 0;
7310                rel2.to: "elm.swallow.slot.middle";
7311                rel2.relative: 1.0 1.0;
7312                rel2.offset: -1 0;
7313             }
7314             description { state: "visible" 0.0;
7315                inherit: "default" 0.0;
7316                rel1.offset: 0 6;
7317                rel2.offset: -1 6;
7318                align: 0.5 0.0;
7319             }
7320          }
7321
7322          part {          name: "over1";
7323             mouse_events: 0;
7324             description { state: "default" 0.0;
7325                rel1.to: "button_image";
7326                rel2.to: "button_image";
7327                rel2.relative: 1.0 0.5;
7328                image {
7329                   normal: "bt_hilight.png";
7330                   border: 7 7 7 0;
7331                }
7332             }
7333          }
7334          part { name: "over2";
7335             mouse_events: 1;
7336             repeat_events: 1;
7337             ignore_flags: ON_HOLD;
7338             description { state: "default" 0.0;
7339                rel1.to: "button_image";
7340                rel2.to: "button_image";
7341                image {
7342                   normal: "bt_shine.png";
7343                   border: 7 7 7 7;
7344                }
7345             }
7346          }
7347          part { name: "edge_top";
7348             mouse_events:  0;
7349             description { state: "default" 0.0;
7350                visible: 0;
7351                rel1 {
7352                   to: "elm.swallow.size";
7353                   offset: 0 -10;
7354                }
7355                rel2 {
7356                   to: "elm.swallow.size";
7357                }
7358                image.normal: "outdent-bottom.png";
7359                image.border: 0 0 13 0;
7360                fill.smooth: 0;
7361             }
7362             description { state: "visible" 0.0;
7363                inherit: "default" 0.0;
7364                visible: 1;
7365             }
7366          }
7367          part { name: "edge_bottom";
7368             mouse_events:  0;
7369             description { state: "default" 0.0;
7370                visible: 0;
7371                rel1 {
7372                   to: "elm.swallow.size";
7373                }
7374                rel2 {
7375                   to: "elm.swallow.size";
7376                   offset: -1 9;
7377                }
7378                image.normal: "outdent-top.png";
7379                image.border: 0 0 0 13;
7380                fill.smooth: 0;
7381             }
7382             description { state: "visible" 0.0;
7383                inherit: "default" 0.0;
7384                visible: 1;
7385             }
7386          }
7387          part { name: "elm.swallow.slot.middle";
7388             type: SWALLOW;
7389             description { state: "default" 0.0;
7390                rel1.to: "elm.swallow.size";
7391                rel2.to: "elm.swallow.size";
7392             }
7393          }
7394       }
7395       programs {
7396          program { name: "end";
7397             signal: "mouse,up,1";
7398             source: "base";
7399             action: SIGNAL_EMIT "elm,action,dismiss" "";
7400          }
7401
7402          program { name: "show";
7403             signal: "elm,action,show";
7404             source: "elm";
7405             action: STATE_SET "visible" 0.0;
7406 //            transition: DECELERATE 0.5;
7407             target: "base";
7408          }
7409          program { name: "hide";
7410             signal: "elm,action,hide";
7411             source: "elm";
7412             action: STATE_SET "default" 0.0;
7413 //            transition: DECELERATE 0.5;
7414             target: "base";
7415          }
7416          program { name: "topshow";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "visible" 0.0;
7420             target: "edge_top";
7421             after: "topshow2";
7422          }
7423          program { name: "topshow2";
7424             action: STATE_SET "visible" 0.0;
7425             transition: DECELERATE 0.5;
7426             target: "elm.swallow.slot.top";
7427          }
7428          program { name: "topshow3";
7429             signal: "elm,action,slot,top,show";
7430             source: "elm";
7431             action: STATE_SET "default" 0.0;
7432             target: "button_image";
7433          }
7434          program { name: "tophide";
7435             signal: "elm,action,slot,top,hide";
7436             source: "elm";
7437             action: STATE_SET "default" 0.0;
7438             transition: DECELERATE 0.5;
7439             target: "elm.swallow.slot.top";
7440             after: "tophide2";
7441          }
7442          program { name: "tophide2";
7443             action: STATE_SET "default" 0.0;
7444             target: "edge_top";
7445          }
7446          program { name: "bottomshow";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "visible" 0.0;
7450             target: "edge_bottom";
7451             after: "bottomshow2";
7452          }
7453          program { name: "bottomshow2";
7454             action: STATE_SET "visible" 0.0;
7455             transition: DECELERATE 0.5;
7456             target: "elm.swallow.slot.bottom";
7457          }
7458          program { name: "bottomshow3";
7459             signal: "elm,action,slot,bottom,show";
7460             source: "elm";
7461             action: STATE_SET "bottom" 0.0;
7462             target: "button_image";
7463          }
7464          program { name: "bottomhide";
7465             signal: "elm,action,slot,bottom,hide";
7466             source: "elm";
7467             action: STATE_SET "default" 0.0;
7468             transition: DECELERATE 0.5;
7469             target: "elm.swallow.slot.bottom";
7470             after: "bottomhide2";
7471          }
7472          program { name: "bottomhide2";
7473             action: STATE_SET "default" 0.0;
7474             target: "edge_bottom";
7475          }
7476       }
7477    }
7478 ///////////////////////////////////////////////////////////////////////////////
7479    group { name: "elm/scroller/base/ctxpopup";
7480       data {
7481          item: "focus_highlight" "on";
7482       }
7483       script {
7484          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7485          public timer0(val) {
7486             new v;
7487             v = get_int(sbvis_v);
7488             if (v) {
7489                v = get_int(sbalways_v);
7490                if(!v) {
7491                   emit("do-hide-vbar", "");
7492                   set_int(sbvis_v, 0);
7493                }
7494             }
7495             v = get_int(sbvis_h);
7496             if (v) {
7497                v = get_int(sbalways_h);
7498                if(!v) {
7499                   emit("do-hide-hbar", "");
7500                   set_int(sbvis_h, 0);
7501                }
7502             }
7503             set_int(sbvis_timer, 0);
7504             return 0;
7505          }
7506       }
7507       images {
7508          image: "bt_sm_base2.png" COMP;
7509          image: "bt_sm_shine.png" COMP;
7510          image: "bt_sm_hilight.png" COMP;
7511          image: "sl_bt2_2.png" COMP;
7512       }
7513       parts {
7514          part { name: "clipper";
7515             type: RECT;
7516             mouse_events: 0;
7517             scale: 1;
7518             description { state: "default" 0.0;
7519             }
7520          }
7521          part { name: "elm.swallow.content";
7522             clip_to: "clipper";
7523             type: SWALLOW;
7524             scale: 1;
7525             description { state: "default" 0.0;
7526                align: 0.5 0.5;
7527             }
7528          }
7529          part { name: "focus_highlight";
7530             mouse_events: 0;
7531             description { state: "default" 0.0;
7532                rel1.offset: -1 -1;
7533                rel2.offset: 0 0;
7534                image { normal: "sl_bt2_2.png";
7535                   border: 7 7 7 7;
7536                   middle: 0;
7537                }
7538                fill.smooth : 0;
7539                color: 200 155 0 0;
7540             }
7541             description { state: "enabled" 0.0;
7542                inherit: "default" 0.0;
7543                color: 200 155 0 255;
7544             }
7545          }
7546          part { name: "sb_vbar_clip_master";
7547             type: RECT;
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550             }
7551             description { state: "hidden" 0.0;
7552                visible: 0;
7553                color: 255 255 255 0;
7554             }
7555          }
7556          part { name: "sb_vbar_clip";
7557             clip_to:"sb_vbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             scale: 1;
7561             description { state: "default" 0.0;
7562                align: 0.0 0.0;
7563                rel2{ to:"clipper"; relative: 1.0 1.0;}
7564             }
7565             description { state: "hidden" 0.0;
7566                visible: 0;
7567                color: 255 255 255 0;
7568             }
7569          }
7570          part { name: "sb_vbar";
7571             type: RECT;
7572             mouse_events: 0;
7573             scale: 1;
7574             description { state: "default" 0.0;
7575                fixed: 1 1;
7576                visible: 0;
7577                align: 1.0 0.0;
7578                rel1{ to:"clipper"; relative: 1.0 0.0; }
7579                rel2{ to:"clipper"; relative: 1.0 1.0; }
7580             }
7581          }
7582          part { name: "elm.dragable.vbar";
7583             clip_to: "sb_vbar_clip";
7584             mouse_events: 0;
7585             scale: 1;
7586             dragable {
7587                x: 0 0 0;
7588                y: 1 1 0;
7589                confine: "sb_vbar";
7590             }
7591             description { state: "default" 0.0;
7592                fixed: 1 1;
7593                min: 10 17;
7594                max: 10 99999;
7595                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7596                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7597                image { normal: "bt_sm_base2.png";
7598                   border: 6 6 6 6;
7599                   middle: SOLID;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over1";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.relative: 1.0 0.5;
7609                rel2.to: "elm.dragable.vbar";
7610                image { normal: "bt_sm_hilight.png";
7611                   border: 6 6 6 0;
7612                }
7613             }
7614          }
7615          part { name: "sb_vbar_over2";
7616             clip_to: "sb_vbar_clip";
7617             mouse_events: 0;
7618             description { state: "default" 0.0;
7619                rel1.to: "elm.dragable.vbar";
7620                rel2.to: "elm.dragable.vbar";
7621                image { normal: "bt_sm_shine.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_clip_master";
7627             type: RECT;
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630             }
7631             description { state: "hidden" 0.0;
7632                visible: 0;
7633                color: 255 255 255 0;
7634             }
7635          }
7636          part { name: "sb_hbar_clip";
7637             clip_to: "sb_hbar_clip_master";
7638             type: RECT;
7639             mouse_events: 0;
7640             scale: 1;
7641             description { state: "default" 0.0;
7642                align: 0.0 0.0;
7643                rel2{ to:"clipper"; relative: 1.0 1.0;}
7644             }
7645             description { state: "hidden" 0.0;
7646                visible: 0;
7647                color: 255 255 255 0;
7648             }
7649          }
7650          part { name: "sb_hbar";
7651             type: RECT;
7652             mouse_events: 0;
7653             scale: 1;
7654             description { state: "default" 0.0;
7655                fixed: 1 1;
7656                visible: 0;
7657                align: 0.0 1.0;
7658                rel1 { to:"clipper"; relative: 0.0 1.0; }
7659                rel2 { to:"clipper"; relative: 1.0 1.0; }
7660             }
7661          }
7662          part { name: "elm.dragable.hbar";
7663             clip_to: "sb_hbar_clip";
7664             mouse_events: 0;
7665             scale: 1;
7666             dragable {
7667                x: 1 1 0;
7668                y: 0 0 0;
7669                confine: "sb_hbar";
7670             }
7671             description { state: "default" 0.0;
7672                min: 17 10;
7673                max: 99999 10;
7674                fixed: 1 1;
7675                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7676                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7677                image { normal: "bt_sm_base2.png";
7678                   border: 4 4 4 4;
7679                   middle: SOLID;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over1";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.relative: 1.0 0.5;
7689                rel2.to: "elm.dragable.hbar";
7690                image { normal: "bt_sm_hilight.png";
7691                   border: 6 6 6 0;
7692                }
7693             }
7694          }
7695          part { name: "sb_hbar_over2";
7696             clip_to: "sb_hbar_clip";
7697             mouse_events: 0;
7698             description { state: "default" 0.0;
7699                rel1.to: "elm.dragable.hbar";
7700                rel2.to: "elm.dragable.hbar";
7701                image { normal: "bt_sm_shine.png";
7702                   border: 6 6 6 0;
7703                }
7704             }
7705          }
7706       }
7707       programs {
7708          program { name: "load";
7709             signal: "load";
7710             source: "";
7711             script {
7712                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7713                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7714                set_int(sbvis_v, 0);
7715                set_int(sbvis_h, 0);
7716                set_int(sbalways_v, 0);
7717                                    set_int(sbalways_h, 0);
7718                set_int(sbvis_timer, 0);
7719             }
7720          }
7721          program { name: "vbar_show";
7722             signal: "elm,action,show,vbar";
7723             source: "elm";
7724             action: STATE_SET "default" 0.0;
7725             target: "sb_vbar_clip_master";
7726          }
7727          program { name: "vbar_hide";
7728             signal: "elm,action,hide,vbar";
7729             source: "elm";
7730             action:  STATE_SET "hidden" 0.0;
7731             target: "sb_vbar_clip_master";
7732          }
7733          program { name: "vbar_show_always";
7734             signal: "elm,action,show_always,vbar";
7735             source: "elm";
7736             script {
7737                new v;
7738                v = get_int(sbvis_v);
7739                v |= get_int(sbalways_v);
7740                if (!v) {
7741                   set_int(sbalways_v, 1);
7742                   emit("do-show-vbar", "");
7743                   set_int(sbvis_v, 1);
7744                }
7745             }
7746          }
7747          program { name: "vbar_show_notalways";
7748             signal: "elm,action,show_notalways,vbar";
7749             source: "elm";
7750             script {
7751                new v;
7752                v = get_int(sbalways_v);
7753                if (v) {
7754                   set_int(sbalways_v, 0);
7755                   v = get_int(sbvis_v);
7756                   if (!v) {
7757                      emit("do-hide-vbar", "");
7758                      set_int(sbvis_v, 0);
7759                   }
7760                }
7761             }
7762          }
7763          program { name: "sb_vbar_show";
7764             signal: "do-show-vbar";
7765             source: "";
7766             action:  STATE_SET "default" 0.0;
7767             transition: LINEAR 1.0;
7768             target: "sb_vbar_clip";
7769          }
7770          program { name: "sb_vbar_hide";
7771             signal: "do-hide-vbar";
7772             source: "";
7773             action:  STATE_SET "hidden" 0.0;
7774             transition: LINEAR 1.0;
7775             target: "sb_vbar_clip";
7776          }
7777          program { name: "hbar_show";
7778             signal: "elm,action,show,hbar";
7779             source: "elm";
7780             action:  STATE_SET "default" 0.0;
7781             target: "sb_hbar_clip_master";
7782          }
7783          program { name: "hbar_hide";
7784             signal: "elm,action,hide,hbar";
7785             source: "elm";
7786             action:  STATE_SET "hidden" 0.0;
7787             target: "sb_hbar_clip_master";
7788          }
7789          program { name: "hbar_show_always";
7790             signal: "elm,action,show_always,hbar";
7791             source: "elm";
7792             script {
7793                new v;
7794                v = get_int(sbvis_h);
7795                v |= get_int(sbalways_h);
7796                if (!v) {
7797                   set_int(sbalways_h, 1);
7798                   emit("do-show-hbar", "");
7799                   set_int(sbvis_h, 1);
7800                }
7801             }
7802          }
7803          program { name: "hbar_show_notalways";
7804             signal: "elm,action,show_notalways,hbar";
7805             source: "elm";
7806             script {
7807                new v;
7808                v = get_int(sbalways_h);
7809                if (v) {
7810                   set_int(sbalways_h, 0);
7811                   v = get_int(sbvis_h);
7812                   if (!v) {
7813                      emit("do-hide-hbar", "");
7814                      set_int(sbvis_h, 0);
7815                   }
7816                }
7817             }
7818          }
7819          program { name: "sb_hbar_show";
7820             signal: "do-show-hbar";
7821             source: "";
7822             action:  STATE_SET "default" 0.0;
7823             transition: LINEAR 1.0;
7824             target: "sb_hbar_clip";
7825          }
7826          program { name: "sb_hbar_hide";
7827             signal: "do-hide-hbar";
7828             source: "";
7829             action:  STATE_SET "hidden" 0.0;
7830             transition: LINEAR 1.0;
7831             target: "sb_hbar_clip";
7832          }
7833          program { name: "scroll";
7834             signal: "elm,action,scroll";
7835             source: "elm";
7836             script {
7837                new v;
7838                v = get_int(sbvis_v);
7839                v |= get_int(sbalways_v);
7840                if (!v) {
7841                   emit("do-show-vbar", "")
7842                   set_int(sbvis_v, 1);
7843                }
7844                v = get_int(sbvis_h);
7845                v |= get_int(sbalways_h);
7846                if (!v) {
7847                   emit("do-show-hbar", "");
7848                   set_int(sbvis_h, 1);
7849                }
7850                v = get_int(sbvis_timer);
7851                if (v > 0) cancel_timer(v);
7852                v = timer(1.0, "timer0", 0);
7853                set_int(sbvis_timer, v);
7854             }
7855          }
7856          program { name: "highlight_show";
7857             signal: "elm,action,focus_highlight,show";
7858             source: "elm";
7859             action: STATE_SET "enabled" 0.0;
7860             transition: ACCELERATE 0.3;
7861             target: "focus_highlight";
7862           }
7863          program { name: "highlight_hide";
7864             signal: "elm,action,focus_highlight,hide";
7865             source: "elm";
7866             action: STATE_SET "default" 0.0;
7867             transition: DECELERATE 0.3;
7868             target: "focus_highlight";
7869          }
7870       }
7871    }
7872 ///////////////////////////////////////////////////////////////////////////////
7873    group { name: "elm/ctxpopup/bg/default";
7874       parts {
7875          part { name: "ctxpopup_bg";
7876             type: RECT;
7877             mouse_events: 1;
7878             description { state: "default" 0.0;
7879                color: 0 0 0 0;
7880             }
7881             description { state: "visible" 0.0;
7882                inherit: "default" 0.0;
7883                color: 0 0 0 64;
7884             }
7885          }
7886       }
7887       programs {
7888          program { name: "clicked_event";
7889             signal: "mouse,clicked,1";
7890             source: "ctxpopup_bg";
7891             action: SIGNAL_EMIT "elm,action,click" "";
7892          }
7893          program { name: "show";
7894             signal: "elm,state,show";
7895             source: "elm";
7896             action: STATE_SET "visible" 0.0;
7897             target: "ctxpopup_bg";
7898          }
7899          program { name: "hide";
7900             signal: "elm,state,hide";
7901             source: "elm";
7902             action: STATE_SET "default" 0.0;
7903             target: "ctxpopup_bg";
7904          }
7905       }
7906    }
7907 ///////////////////////////////////////////////////////////////////////////////
7908    group { name: "elm/ctxpopup/base/default";
7909       images {
7910          image: "bt_base2.png" COMP;
7911          image: "bt_hilight.png" COMP;
7912          image: "bt_shine.png" COMP;
7913       }
7914       parts {
7915          part { name: "base";
7916             scale: 1;
7917             description { state: "default" 0.0;
7918                rel1.offset: -3 -3;
7919                rel2.offset: 3 3;
7920                image { normal: "bt_base2.png";
7921                   border: 7 7 7 7;
7922                }
7923             }
7924          }
7925          part { name: "over1";
7926             scale: 1;
7927             description { state: "default" 0.0;
7928                rel1.to: "base";
7929                rel2.to: "base";
7930                rel2.relative: 1.0 0.5;
7931                image { normal: "bt_hilight.png";
7932                   border: 7 7 7 0;
7933                }
7934             }
7935          }
7936          part { name: "over2";
7937             scale: 1;
7938             description { state: "default" 0.0;
7939                rel1.to: "base";
7940                rel2.to: "base";
7941                image { normal: "bt_shine.png";
7942                   border: 7 7 7 7;
7943                }
7944             }
7945          }
7946          part { name: "elm.swallow.content";
7947             type: SWALLOW;
7948             description { state: "default" 0.0;
7949                rel1 { to:"base"; offset: 4 4; };
7950                rel2 { to:"base"; offset: -5 -5; };
7951             }
7952          }
7953       }
7954    }
7955 ///////////////////////////////////////////////////////////////////////////////
7956    group { name: "elm/ctxpopup/arrow/default";
7957       images {
7958          image: "icon_arrow_left.png" COMP;
7959          image: "icon_arrow_right.png" COMP;
7960          image: "icon_arrow_up.png" COMP;
7961          image: "icon_arrow_down.png" COMP;
7962       }
7963       parts {
7964          part { name: "ctxpopup_arrow";
7965             type: IMAGE;
7966             scale: 1;
7967             description {
7968                state: "default" 0.0;
7969                min: 40 40;
7970                fixed: 1 1;
7971                visible: 0;
7972                align: 0.5 0.5;
7973             }
7974             description {
7975                state: "left" 0.0;
7976                min: 40 40;
7977                fixed: 1 1;
7978                align: 0.0 0.5;
7979                rel1 { offset: 7 0; }
7980                rel2 { offset: 6 -1; }
7981                image { normal: "icon_arrow_left.png"; }
7982             }
7983             description { state: "right" 0.0;
7984                min: 40 40;
7985                fixed: 1 1;
7986                align: 1.0 0.5;
7987                rel1 { offset: -7 0; }
7988                rel2 { offset: -8 -1; }
7989                image { normal: "icon_arrow_right.png"; }
7990             }
7991             description { state: "top" 0.0;
7992                min: 40 40;
7993                fixed: 1 1;
7994                align: 0.5 0.0;
7995                rel1 { offset: 0 7; }
7996                rel2 { offset: -1 6; }
7997                image { normal: "icon_arrow_up.png"; }
7998             }
7999             description { state: "bottom" 0.0;
8000                min: 40 40;
8001                fixed: 1 1;
8002                align: 0.5 1.0;
8003                rel1 { offset: 0 -7; }
8004                rel2 { offset: -1 -8; }
8005                image { normal: "icon_arrow_down.png"; }
8006             }
8007          }
8008       }
8009       programs {
8010          program { name: "enable_left_arrow";
8011             signal: "elm,state,left";
8012             source: "elm";
8013             action: STATE_SET "left" 0.0;
8014             target: "ctxpopup_arrow";
8015          }
8016          program { name: "enable_right_arrow";
8017             signal: "elm,state,right";
8018             source: "elm";
8019             action: STATE_SET "right" 0.0;
8020             target: "ctxpopup_arrow";
8021          }
8022          program { name: "enable_top_arrow";
8023             signal: "elm,state,top";
8024             source: "elm";
8025             action: STATE_SET "top" 0.0;
8026             target: "ctxpopup_arrow";
8027          }
8028          program { name: "enable_bottom_arrow";
8029             signal: "elm,state,bottom";
8030             source: "elm";
8031             action: STATE_SET "bottom" 0.0;
8032             target: "ctxpopup_arrow";
8033          }
8034       }
8035    }
8036 ///////////////////////////////////////////////////////////////////////////////
8037    group {
8038       name: "elm/ctxpopup/icon_text_style_item/default";
8039            alias: "elm/ctxpopup/text_style_item/default";
8040            alias: "elm/ctxpopup/icon_style_item/default";
8041       images {
8042          image: "hoversel_entry_bg.png" COMP;
8043       }
8044       parts {
8045          part { name: "event";
8046             mouse_events: 1;
8047             description { state: "default" 0.0;
8048             }
8049          }
8050          part { name: "bg";
8051             mouse_events: 0;
8052             description { state: "default" 0.0;
8053                rel1.offset: 2 2;
8054                rel2.offset: -3 -3;
8055                image { normal:"hoversel_entry_bg.png";
8056                   border: 0 0 2 2;
8057                }
8058                fill.smooth: 0;
8059                color: 255 255 255 0;
8060             }
8061             description { state: "clicked" 0.0;
8062                inherit: "default" 0.0;
8063                color: 255 255 255 255;
8064             }
8065          }
8066          part { name: "elm.swallow.icon";
8067             type: SWALLOW;
8068             clip_to: "disclip";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                min: 25 25;
8072                max: 25 25;
8073                align: 0 0.5;
8074                aspect: 1.0 1.0;
8075                rel1 { offset: 10 10; }
8076                                         rel2 { offset: 0 -10; }
8077             }
8078          }
8079          part { name: "elm.text";
8080             type: TEXT;
8081             mouse_events: 0;
8082             clip_to: "disclip";
8083             scale: 1;
8084             description { state: "default" 0.0;
8085                min: 1 40;
8086                fixed: 0 1;
8087                align: 0.5 0.5;
8088                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8089                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8090                color: 255 255 255 255;
8091                text {
8092                   font: "Sans";
8093                   size: 10;
8094                   align: 0.0 0.5;
8095                   min: 1 1;
8096                }
8097             }
8098             description { state: "clicked" 0.0;
8099                inherit: "default" 0.0;
8100                color: 0 0 0 255;
8101             }
8102          }
8103          part { name: "over1";
8104             mouse_events: 1;
8105             repeat_events: 1;
8106             ignore_flags: ON_HOLD;
8107             description { state: "default" 0.0;
8108                color: 255 255 255 0;
8109             }
8110             description { state: "clicked" 0.0;
8111                inherit: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114          }
8115          part { name: "over2";
8116             mouse_events: 1;
8117             repeat_events: 1;
8118             description { state: "default" 0.0;
8119                color: 255 255 255 0;
8120             }
8121             description { state: "clicked" 0.0;
8122                inherit: "default" 0.0;
8123                color: 255 255 255 255;
8124             }
8125          }
8126          part { name: "disclip";
8127             type: RECT;
8128             description { state: "default" 0.0;
8129                color: 255 255 255 255;
8130             }
8131             description { state: "enabled" 0.0;
8132                color: 127 127 127 127;
8133             }
8134          }
8135          part { name: "blocker";
8136             description { state: "default" 0.0;
8137                visible: 0;
8138             }
8139             description { state: "enabled" 0.0;
8140                visible: 1;
8141                color: 0 0 0 0;
8142             }
8143          }
8144       }
8145       programs {
8146          program {
8147             name: "item_unclick";
8148             signal: "mouse,up,1";
8149             source: "over1";
8150             action: SIGNAL_EMIT "elm,action,click" "";
8151          }
8152          program { name: "disable";
8153             signal: "elm,state,disabled";
8154             source: "elm";
8155             action: STATE_SET "enabled" 0.0;
8156             target: "disclip";
8157             target: "blocker";
8158          }
8159          program { name: "enable";
8160             signal: "elm,state,enabled";
8161             source: "elm";
8162             action: STATE_SET "default" 0.0;
8163             target: "disclip";
8164             target: "blocker";
8165          }
8166          program { name: "item_click2";
8167             signal: "mouse,down,1";
8168             source: "over2";
8169             script {
8170                set_state(PART:"elm.text", "clicked", 0.0);
8171                set_state(PART:"bg", "clicked", 0.0);
8172             }
8173          }
8174          program { name: "item_unclick2";
8175             signal: "mouse,up,1";
8176             source: "over2";
8177             script {
8178                                         set_state(PART:"elm.text", "default", 0.0);
8179                set_state(PART:"bg", "default", 0.0);
8180             }
8181          }
8182       }
8183    }
8184 ///////////////////////////////////////////////////////////////////////////////
8185 // emoticon images from:
8186 // Tanya - Latvia
8187 // http://lazycrazy.deviantart.com/
8188 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8189   group { name: "elm/entry/emoticon/angry/default"; images.image:
8190      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8191         "emo-angry.png"; } } } }
8192   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8193      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8194         "emo-angry-shout.png"; } } } }
8195   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8196      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8197         "emo-crazy-laugh.png"; } } } }
8198   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8199      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8200         "emo-evil-laugh.png"; } } } }
8201   group { name: "elm/entry/emoticon/evil/default"; images.image:
8202      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8203         "emo-evil.png"; } } } }
8204   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8205      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8206         "emo-goggle-smile.png"; } } } }
8207   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8208      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8209         "emo-grumpy.png"; } } } }
8210   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8211      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8212         "emo-grumpy-smile.png"; } } } }
8213   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8214      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8215         "emo-guilty.png"; } } } }
8216   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8217      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8218         "emo-guilty-smile.png"; } } } }
8219   group { name: "elm/entry/emoticon/haha/default"; images.image:
8220      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8221         "emo-haha.png"; } } } }
8222   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8223      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8224         "emo-half-smile.png"; } } } }
8225   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8226      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8227         "emo-happy-panting.png"; } } } }
8228   group { name: "elm/entry/emoticon/happy/default"; images.image:
8229      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8230         "emo-happy.png"; } } } }
8231   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8232      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8233         "emo-indifferent.png"; } } } }
8234   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8235      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8236         "emo-kiss.png"; } } } }
8237   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8238      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8239         "emo-knowing-grin.png"; } } } }
8240   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8241      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8242         "emo-laugh.png"; } } } }
8243   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8244      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8245         "emo-little-bit-sorry.png"; } } } }
8246   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8247      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8248         "emo-love-lots.png"; } } } }
8249   group { name: "elm/entry/emoticon/love/default"; images.image:
8250      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8251         "emo-love.png"; } } } }
8252   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8253      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8254         "emo-minimal-smile.png"; } } } }
8255   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8256      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8257         "emo-not-happy.png"; } } } }
8258   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8259      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8260         "emo-not-impressed.png"; } } } }
8261   group { name: "elm/entry/emoticon/omg/default"; images.image:
8262      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8263         "emo-omg.png"; } } } }
8264   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8265      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8266         "emo-opensmile.png"; } } } }
8267   group { name: "elm/entry/emoticon/smile/default"; images.image:
8268      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8269         "emo-smile.png"; } } } }
8270   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8271      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8272         "emo-sorry.png"; } } } }
8273   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8274      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8275         "emo-squint-laugh.png"; } } } }
8276   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8277      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8278         "emo-surprised.png"; } } } }
8279   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8280      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8281         "emo-suspicious.png"; } } } }
8282   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8283      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8284         "emo-tongue-dangling.png"; } } } }
8285   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8286      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8287         "emo-tongue-poke.png"; } } } }
8288   group { name: "elm/entry/emoticon/uh/default"; images.image:
8289      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8290         "emo-uh.png"; } } } }
8291   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8292      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8293         "emo-unhappy.png"; } } } }
8294   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8295      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8296         "emo-very-sorry.png"; } } } }
8297   group { name: "elm/entry/emoticon/what/default"; images.image:
8298      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8299         "emo-what.png"; } } } }
8300   group { name: "elm/entry/emoticon/wink/default"; images.image:
8301      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8302         "emo-wink.png"; } } } }
8303   group { name: "elm/entry/emoticon/worried/default"; images.image:
8304      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8305         "emo-worried.png"; } } } }
8306   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8307      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8308         "emo-wtf.png"; } } } }
8309 //------------------------------------------------------------
8310    group { name: "elm/entry/base/default";
8311       styles
8312       {
8313          style { name: "entry_textblock_style";
8314             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8315             tag:  "br" "\n";
8316             tag:  "ps" "ps";
8317             tag:  "tab" "\t";
8318             tag:  "em" "+ font=Sans:style=Oblique";
8319             tag:  "b" "+ font=Sans:style=Bold";
8320             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8321             tag:  "hilight" "+ font=Sans:style=Bold";
8322          }
8323          style { name: "entry_textblock_disabled_style";
8324             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8325             tag:  "br" "\n";
8326             tag:  "ps" "ps";
8327             tag:  "tab" "\t";
8328             tag:  "em" "+ font=Sans:style=Oblique";
8329             tag:  "b" "+ font=Sans:style=Bold";
8330             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8331             tag:  "hilight" "+ font=Sans:style=Bold";
8332          }
8333       }
8334       data {
8335 //         item: context_menu_orientation "horizontal";
8336       }
8337       parts {
8338          part { name: "elm.text";
8339             type: TEXTBLOCK;
8340             mouse_events: 1;
8341             scale: 1;
8342             entry_mode: EDITABLE;
8343             select_mode: EXPLICIT;
8344             multiline: 1;
8345             source: "elm/entry/selection/default"; // selection under
8346    //       source2: "X"; // selection over
8347    //       source3: "X"; // cursor under
8348             source4: "elm/entry/cursor/default"; // cursorover
8349             source5: "elm/entry/anchor/default"; // anchor under
8350    //       source6: "X"; // anchor over
8351             description { state: "default" 0.0;
8352                /* we gotta use 0 0 here, because of scrolled entries */
8353                fixed: 0 0;
8354                text {
8355                   style: "entry_textblock_style";
8356                   min: 0 1;
8357                   align: 0.0 0.0;
8358                }
8359             }
8360             description { state: "disabled" 0.0;
8361                inherit: "default" 0.0;
8362                text {
8363                   style: "entry_textblock_disabled_style";
8364                   min: 0 1;
8365                }
8366             }
8367          }
8368       }
8369       programs {
8370          program { name: "focus";
8371             signal: "load";
8372             source: "";
8373             action: FOCUS_SET;
8374             target: "elm.text";
8375          }
8376          program { name: "disable";
8377             signal: "elm,state,disabled";
8378             source: "elm";
8379             action: STATE_SET "disabled" 0.0;
8380             target: "elm.text";
8381          }
8382          program { name: "enable";
8383             signal: "elm,state,enabled";
8384             source: "elm";
8385             action: STATE_SET "default" 0.0;
8386             target: "elm.text";
8387          }
8388       }
8389    }
8390
8391    group { name: "elm/entry/base-charwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_charwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8396             tag:  "br" "\n";
8397             tag:  "ps" "ps";
8398             tag:  "tab" "\t";
8399             tag:  "em" "+ font=Sans:style=Oblique";
8400             tag:  "b" "+ font=Sans:style=Bold";
8401             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8402             tag:  "hilight" "+ font=Sans:style=Bold";
8403          }
8404          style { name: "entry_textblock_disabled_style_charwrap";
8405             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8406             tag:  "br" "\n";
8407             tag:  "ps" "ps";
8408             tag:  "tab" "\t";
8409             tag:  "em" "+ font=Sans:style=Oblique";
8410             tag:  "b" "+ font=Sans:style=Bold";
8411             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8412             tag:  "hilight" "+ font=Sans:style=Bold";
8413          }
8414       }
8415       parts {
8416          part { name: "elm.text";
8417             type: TEXTBLOCK;
8418             mouse_events: 1;
8419             scale: 1;
8420             entry_mode: EDITABLE;
8421             select_mode: EXPLICIT;
8422             multiline: 1;
8423             source: "elm/entry/selection/default"; // selection under
8424 //          source2: "X"; // selection over
8425 //          source3: "X"; // cursor under
8426             source4: "elm/entry/cursor/default"; // cursorover
8427             source5: "elm/entry/anchor/default"; // anchor under
8428 //          source6: "X"; // anchor over
8429             description { state: "default" 0.0;
8430                fixed: 1 0;
8431                text {
8432                   style: "entry_textblock_style_charwrap";
8433                   min: 0 1;
8434                   align: 0.0 0.0;
8435                }
8436             }
8437             description { state: "disabled" 0.0;
8438                inherit: "default" 0.0;
8439                text {
8440                   style: "entry_textblock_disabled_style_charwrap";
8441                   min: 0 1;
8442                }
8443             }
8444          }
8445       }
8446       programs {
8447          program { name: "focus";
8448             signal: "load";
8449             source: "";
8450             action: FOCUS_SET;
8451             target: "elm.text";
8452          }
8453          program { name: "disable";
8454             signal: "elm,state,disabled";
8455             source: "elm";
8456             action: STATE_SET "disabled" 0.0;
8457             target: "elm.text";
8458          }
8459          program { name: "enable";
8460             signal: "elm,state,enabled";
8461             source: "elm";
8462             action: STATE_SET "default" 0.0;
8463             target: "elm.text";
8464          }
8465       }
8466    }
8467
8468    group { name: "elm/entry/base-nowrap/default";
8469       parts {
8470          part { name: "elm.text";
8471             type: TEXTBLOCK;
8472             mouse_events: 1;
8473             scale: 1;
8474             entry_mode: EDITABLE;
8475             select_mode: EXPLICIT;
8476             multiline: 1;
8477             source: "elm/entry/selection/default"; // selection under
8478             source4: "elm/entry/cursor/default"; // cursorover
8479             source5: "elm/entry/anchor/default"; // anchor under
8480             description { state: "default" 0.0;
8481                text {
8482                   style: "entry_textblock_style";
8483                   min: 1 1;
8484                   align: 0.0 0.0;
8485                }
8486             }
8487             description { state: "disabled" 0.0;
8488                inherit: "default" 0.0;
8489                text {
8490                   style: "entry_textblock_disabled_style";
8491                   min: 0 1;
8492                }
8493             }
8494          }
8495 /*
8496          part { name: "sel";
8497             type: RECT;
8498             mouse_events: 0;
8499             description { state: "default" 0.0;
8500                align: 1.0 1.0;
8501                max: 16 16;
8502                aspect: 1.0 1.0;
8503                color: 255 0 0 0;
8504             }
8505             description { state: "visible" 0.0;
8506                inherit: "default" 0.0;
8507                color: 255 0 0 50;
8508             }
8509          }
8510  */
8511       }
8512       programs {
8513          program { name: "focus";
8514             signal: "load";
8515             source: "";
8516             action: FOCUS_SET;
8517             target: "elm.text";
8518          }
8519          program { name: "disable";
8520             signal: "elm,state,disabled";
8521             source: "elm";
8522             action: STATE_SET "disabled" 0.0;
8523             target: "elm.text";
8524          }
8525          program { name: "enable";
8526             signal: "elm,state,enabled";
8527             source: "elm";
8528             action: STATE_SET "default" 0.0;
8529             target: "elm.text";
8530          }
8531 /*
8532          program { name: "selmode0";
8533             signal: "elm,state,select,on";
8534             source: "elm";
8535             action: STATE_SET "visible" 0.0;
8536             target: "sel";
8537          }
8538          program { name: "selmode1";
8539             signal: "elm,state,select,off";
8540             source: "elm";
8541             action: STATE_SET "default" 0.0;
8542             target: "sel";
8543          }
8544  */
8545       }
8546    }
8547
8548    group { name: "elm/entry/base-single/default";
8549       styles
8550       {
8551          style { name: "entry_single_textblock_style";
8552             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8553             tag:  "br" "\n";
8554             tag:  "ps" "ps";
8555             tag:  "tab" "\t";
8556             tag:  "em" "+ font=Sans:style=Oblique";
8557             tag:  "b" "+ font=Sans:style=Bold";
8558             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8559             tag:  "hilight" "+ font=Sans:style=Bold";
8560          }
8561          style { name: "entry_single_textblock_disabled_style";
8562             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8563             tag:  "br" "\n";
8564             tag:  "ps" "ps";
8565             tag:  "tab" "\t";
8566             tag:  "em" "+ font=Sans:style=Oblique";
8567             tag:  "b" "+ font=Sans:style=Bold";
8568             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8569             tag:  "hilight" "+ font=Sans:style=Bold";
8570          }
8571       }
8572       parts {
8573          part { name: "elm.text";
8574             type: TEXTBLOCK;
8575             mouse_events: 1;
8576             scale: 1;
8577             entry_mode: EDITABLE;
8578             select_mode: EXPLICIT;
8579             multiline: 0;
8580             source: "elm/entry/selection/default"; // selection under
8581             source4: "elm/entry/cursor/default"; // cursorover
8582             source5: "elm/entry/anchor/default"; // anchor under
8583             description { state: "default" 0.0;
8584                text {
8585                   style: "entry_single_textblock_style";
8586                   min: 1 1;
8587                   max: 0 0;
8588                   align: 0.0 0.5;
8589                }
8590             }
8591             description { state: "disabled" 0.0;
8592                inherit: "default" 0.0;
8593                text {
8594                   style: "entry_single_textblock_disabled_style";
8595                }
8596             }
8597          }
8598       }
8599       programs {
8600          program { name: "focus";
8601             signal: "load";
8602             source: "";
8603             action: FOCUS_SET;
8604             target: "elm.text";
8605          }
8606          program { name: "disable";
8607             signal: "elm,state,disabled";
8608             source: "elm";
8609             action: STATE_SET "disabled" 0.0;
8610             target: "elm.text";
8611          }
8612          program { name: "enable";
8613             signal: "elm,state,enabled";
8614             source: "elm";
8615             action: STATE_SET "default" 0.0;
8616             target: "elm.text";
8617          }
8618       }
8619    }
8620
8621    group { name: "elm/entry/base-single-noedit/default";
8622       parts {
8623          part { name: "elm.text";
8624             type: TEXTBLOCK;
8625             mouse_events: 1;
8626             scale: 1;
8627             entry_mode: PLAIN;
8628             select_mode: EXPLICIT;
8629             multiline: 0;
8630             source: "elm/entry/selection/default"; // selection under
8631             source5: "elm/entry/anchor/default"; // anchor under
8632             description { state: "default" 0.0;
8633                text {
8634                   style: "entry_single_textblock_style";
8635                   min: 1 1;
8636                   max: 0 0;
8637                   align: 0.0 0.5;
8638                }
8639             }
8640             description { state: "disabled" 0.0;
8641                inherit: "default" 0.0;
8642                text {
8643                style: "entry_single_textblock_disabled_style";
8644                }
8645             }
8646          }
8647       }
8648       programs {
8649          program { name: "focus";
8650             signal: "load";
8651             source: "";
8652             action: FOCUS_SET;
8653             target: "elm.text";
8654          }
8655          program { name: "disable";
8656             signal: "elm,state,disabled";
8657             source: "elm";
8658             action: STATE_SET "disabled" 0.0;
8659             target: "elm.text";
8660          }
8661          program { name: "enable";
8662             signal: "elm,state,enabled";
8663             source: "elm";
8664             action: STATE_SET "default" 0.0;
8665             target: "elm.text";
8666          }
8667       }
8668    }
8669
8670    group { name: "elm/entry/base-noedit/default";
8671       parts {
8672          part { name: "elm.text";
8673             type: TEXTBLOCK;
8674             mouse_events: 1;
8675             scale: 1;
8676             entry_mode: PLAIN;
8677             select_mode: EXPLICIT;
8678             multiline: 1;
8679             source: "elm/entry/selection/default"; // selection under
8680             source5: "elm/entry/anchor/default"; // anchor under
8681             description { state: "default" 0.0;
8682                fixed: 1 0;
8683                text {
8684                   style: "entry_textblock_style";
8685                   min: 0 1;
8686                   align: 0.0 0.0;
8687                }
8688             }
8689             description { state: "disabled" 0.0;
8690                inherit: "default" 0.0;
8691                text {
8692                   style: "entry_textblock_disabled_style";
8693                }
8694             }
8695          }
8696       }
8697       programs {
8698          program { name: "focus";
8699             signal: "load";
8700             source: "";
8701             action: FOCUS_SET;
8702             target: "elm.text";
8703          }
8704          program { name: "disable";
8705             signal: "elm,state,disabled";
8706             source: "elm";
8707             action: STATE_SET "disabled" 0.0;
8708             target: "elm.text";
8709          }
8710          program { name: "enable";
8711             signal: "elm,state,enabled";
8712             source: "elm";
8713             action: STATE_SET "default" 0.0;
8714             target: "elm.text";
8715          }
8716       }
8717    }
8718
8719    group { name: "elm/entry/base-noedit-charwrap/default";
8720       parts {
8721          part { name: "elm.text";
8722             type: TEXTBLOCK;
8723             mouse_events: 1;
8724             scale: 1;
8725             entry_mode: PLAIN;
8726             select_mode: EXPLICIT;
8727             multiline: 1;
8728             source: "elm/entry/selection/default"; // selection under
8729             source5: "elm/entry/anchor/default"; // anchor under
8730             description { state: "default" 0.0;
8731                fixed: 1 0;
8732                text {
8733                   style: "entry_textblock_style_charwrap";
8734                   min: 0 1;
8735                   align: 0.0 0.0;
8736                }
8737             }
8738             description { state: "disabled" 0.0;
8739                inherit: "default" 0.0;
8740                text {
8741                   style: "entry_textblock_disabled_style_charwrap";
8742                }
8743             }
8744          }
8745       }
8746       programs {
8747          program { name: "focus";
8748             signal: "load";
8749             source: "";
8750             action: FOCUS_SET;
8751             target: "elm.text";
8752          }
8753          program { name: "disable";
8754             signal: "elm,state,disabled";
8755             source: "elm";
8756             action: STATE_SET "disabled" 0.0;
8757             target: "elm.text";
8758          }
8759          program { name: "enable";
8760             signal: "elm,state,enabled";
8761             source: "elm";
8762             action: STATE_SET "default" 0.0;
8763             target: "elm.text";
8764          }
8765       }
8766    }
8767
8768    group { name: "elm/entry/base-nowrap-noedit/default";
8769       parts {
8770          part { name: "elm.text";
8771             type: TEXTBLOCK;
8772             mouse_events: 1;
8773             scale: 1;
8774             entry_mode: PLAIN;
8775             select_mode: EXPLICIT;
8776             multiline: 1;
8777             source: "elm/entry/selection/default"; // selection under
8778             source5: "elm/entry/anchor/default"; // anchor under
8779             description { state: "default" 0.0;
8780                text {
8781                   style: "entry_textblock_style";
8782                   min: 1 1;
8783                   align: 0.0 0.0;
8784                }
8785             }
8786             description { state: "disabled" 0.0;
8787                inherit: "default" 0.0;
8788                text {
8789                   style: "entry_textblock_disabled_style";
8790                }
8791             }
8792          }
8793       }
8794       programs {
8795          program { name: "focus";
8796             signal: "load";
8797             source: "";
8798             action: FOCUS_SET;
8799             target: "elm.text";
8800          }
8801          program { name: "disable";
8802             signal: "elm,state,disabled";
8803             source: "elm";
8804             action: STATE_SET "disabled" 0.0;
8805             target: "elm.text";
8806          }
8807          program { name: "enable";
8808             signal: "elm,state,enabled";
8809             source: "elm";
8810             action: STATE_SET "default" 0.0;
8811             target: "elm.text";
8812          }
8813       }
8814    }
8815
8816    group { name: "elm/entry/base-password/default";
8817       parts {
8818          part { name: "elm.text";
8819             type: TEXTBLOCK;
8820             mouse_events: 1;
8821             scale: 1;
8822             entry_mode: PASSWORD;
8823             select_mode: EXPLICIT;
8824             multiline: 0;
8825             source: "elm/entry/selection/default"; // selection under
8826             source4: "elm/entry/cursor/default"; // cursorover
8827             source5: "elm/entry/anchor/default"; // anchor under
8828             description { state: "default" 0.0;
8829                text {
8830                   style: "entry_single_textblock_style";
8831                   repch: "*";
8832                   min: 1 1;
8833                   max: 0 0;
8834                   align: 0.0 0.5;
8835                }
8836             }
8837             description { state: "disabled" 0.0;
8838                inherit: "default" 0.0;
8839                text {
8840                   style: "entry_single_textblock_disabled_style";
8841                }
8842             }
8843          }
8844       }
8845       programs {
8846          program { name: "focus";
8847             signal: "load";
8848             source: "";
8849             action: FOCUS_SET;
8850             target: "elm.text";
8851          }
8852          program { name: "disable";
8853             signal: "elm,state,disabled";
8854             source: "elm";
8855             action: STATE_SET "disabled" 0.0;
8856             target: "elm.text";
8857          }
8858          program { name: "enable";
8859             signal: "elm,state,enabled";
8860             source: "elm";
8861             action: STATE_SET "default" 0.0;
8862             target: "elm.text";
8863          }
8864       }
8865    }
8866
8867    group { name: "elm/entry/cursor/default";
8868       images {
8869          image: "cur_box.png" COMP;
8870          image: "cur_hi.png" COMP;
8871          image: "cur_shad.png" COMP;
8872          image: "cur_shine.png" COMP;
8873          image: "cur_glow.png" COMP;
8874       }
8875       parts {
8876          part { name: "clip2";
8877             type: RECT;
8878             mouse_events: 0;
8879             description { state: "default" 0.0;
8880                rel1.to: "clip";
8881                rel2.to: "clip";
8882                visible: 0;
8883             }
8884             description { state: "focused" 0.0;
8885                inherit: "default" 0.0;
8886                visible: 1;
8887             }
8888          }
8889          part { name: "clip";
8890             type: RECT;
8891             mouse_events: 0;
8892             clip_to: "clip2";
8893             description { state: "default" 0.0;
8894                rel1.offset: -10 0;
8895                rel2.offset: 9 9;
8896             }
8897             description { state: "hidden" 0.0;
8898                inherit: "default" 0.0;
8899                visible: 0;
8900             }
8901          }
8902          part { name: "bg";
8903             mouse_events: 0;
8904             clip_to: "clip";
8905             description { state: "default" 0.0;
8906                rel1.to: "base";
8907                rel1.offset: -2 0;
8908                rel2.to: "base";
8909                rel2.offset: 1 1;
8910                image.border: 2 2 2 2;
8911                image.normal: "cur_shad.png";
8912             }
8913          }
8914          part { name: "base";
8915             mouse_events: 0;
8916             scale: 1;
8917             clip_to: "clip";
8918             description { state: "default" 0.0;
8919                min: 2 2;
8920                align: 0.5 1.0;
8921                rel1.relative: 0.0 1.0;
8922                rel1.offset: 0 -1;
8923                rel2.relative: 1.0 1.0;
8924                rel2.offset: -1 -1;
8925                image.normal: "cur_box.png";
8926             }
8927          }
8928          part { name: "hi";
8929             mouse_events: 0;
8930             clip_to: "clip";
8931             description { state: "default" 0.0;
8932                rel1.to: "base";
8933                rel2.to: "base";
8934                rel2.relative: 1.0 0.5;
8935                image.normal: "cur_hi.png";
8936             }
8937          }
8938          part { name: "shine";
8939             mouse_events: 0;
8940             clip_to: "clip";
8941             clip_to: "clip2";
8942             description { state: "default" 0.0;
8943                rel1.to: "base";
8944                rel2.to: "base";
8945                rel2.relative: 1.0 0.75;
8946                image.border: 2 2 1 0;
8947                image.normal: "cur_shine.png";
8948                fill.smooth: 0;
8949             }
8950          }
8951          part { name: "glow";
8952             mouse_events: 0;
8953             clip_to: "clip2";
8954             description { state: "default" 0.0;
8955                rel1.to: "base";
8956                rel1.relative: 0.0 -2.0;
8957                rel1.offset: -2 0;
8958                rel2.to: "base";
8959                rel2.relative: 1.0 0.0;
8960                rel2.offset: 1 1;
8961                image.border: 2 2 0 4;
8962                image.normal: "cur_glow.png";
8963                fill.smooth: 0;
8964             }
8965             description { state: "hidden" 0.0;
8966                inherit: "default" 0.0;
8967                color: 255 255 255 0;
8968             }
8969          }
8970       }
8971       programs {
8972          program { name: "show";
8973             signal: "show";
8974             source: "";
8975             action: STATE_SET "hidden" 0.0;
8976             in: 1.0 0.0;
8977             transition: DECELERATE 2.0;
8978             target: "glow";
8979             after: "show2";
8980          }
8981          program { name: "show2";
8982             action: STATE_SET "hidden" 0.0;
8983             in: 0.2 0.0;
8984             target: "clip";
8985             after: "show3";
8986          }
8987          program { name: "show3";
8988             action: STATE_SET "default" 0.0;
8989             in: 0.5 0.0;
8990             target: "clip";
8991             after: "show4";
8992          }
8993          program { name: "show4";
8994             action: STATE_SET "default" 0.0;
8995             in: 0.5 0.0;
8996             transition: DECELERATE 0.5;
8997             target: "glow";
8998             after: "show";
8999          }
9000          program { name: "focused";
9001             signal: "elm,action,focus";
9002             source: "elm";
9003             action: STATE_SET "focused" 0.0;
9004             target: "clip2";
9005          }
9006          program { name: "unfocused";
9007             signal: "elm,action,unfocus";
9008             source: "elm";
9009             action: STATE_SET "default" 0.0;
9010             target: "clip2";
9011          }
9012       }
9013    }
9014
9015    group { name: "elm/entry/selection/default";
9016       parts {
9017          part { name: "bg";
9018             type: RECT;
9019             mouse_events: 0;
9020             description { state: "default" 0.0;
9021                color: 128 128 128 128;
9022             }
9023          }
9024       }
9025    }
9026
9027    group { name: "elm/entry/anchor/default";
9028       parts {
9029          part { name: "bg";
9030             type: RECT;
9031             mouse_events: 0;
9032             description { state: "default" 0.0;
9033                color: 128 0 0 64;
9034             }
9035          }
9036       }
9037    }
9038
9039 ///////////////////////////////////////////////////////////////////////////////
9040   group { name: "elm/bubble/top_left/default";
9041     alias: "elm/bubble/base/default";
9042     images {
9043       image: "bubble_3.png" COMP;
9044       image: "bubble_4.png" COMP;
9045       image: "bubble_shine3.png" COMP;
9046       image: "bubble_shine4.png" COMP;
9047     }
9048     parts {
9049       part { name: "event";
9050          type: RECT;
9051          description {
9052             state: "default" 0.0;
9053             color: 0 0 0 0;
9054          }
9055       }
9056       part { name: "elm.swallow.icon";
9057         type: SWALLOW;
9058         description { state: "default" 0.0;
9059           fixed: 1 1;
9060           visible: 0;
9061           align: 0.0 0.0;
9062           aspect: 1.0 1.0;
9063           aspect_preference: VERTICAL;
9064           rel1 {
9065             relative: 0.0 0.0;
9066             offset: 4 4;
9067           }
9068           rel2 {
9069             to_y: "elm.text";
9070             relative: 0.0 1.0;
9071             offset: 4 -1;
9072           }
9073         }
9074         description { state: "visible" 0.0;
9075           inherit: "default" 0.0;
9076           visible: 1;
9077         }
9078       }
9079       part { name: "elm.text";
9080         type: TEXT;
9081         mouse_events:   0;
9082         scale: 1;
9083         description { state: "default" 0.0;
9084           align: 0.0 0.0;
9085           fixed: 0 1;
9086           rel1 {
9087             to_x: "elm.swallow.icon";
9088             relative: 1.0 0.0;
9089             offset: 4 4;
9090           }
9091           rel2 {
9092             to_x: "elm.info";
9093             relative: 0.0 0.0;
9094             offset: -5 4;
9095           }
9096           color: 0 0 0 255;
9097           text {
9098             font: "Sans:style=Bold,Edje-Vera-Bold";
9099             size: 10;
9100             min: 0 1;
9101             max: 0 1;
9102             align: 0.0 0.0;
9103           }
9104         }
9105       }
9106       part { name: "elm.info";
9107         type: TEXT;
9108         mouse_events:   0;
9109         scale: 1;
9110         description { state: "default" 0.0;
9111           align: 1.0 0.0;
9112           fixed: 1 1;
9113           rel1 {
9114             relative: 1.0 0.0;
9115             offset: -5 4;
9116           }
9117           rel2 {
9118             relative: 1.0 0.0;
9119             offset: -5 4;
9120           }
9121           color: 0 0 0 64;
9122           text {
9123             font: "Sans:style=Bold,Edje-Vera-Bold";
9124             size: 10;
9125             min: 1 1;
9126             max: 1 1;
9127             align: 1.0 0.0;
9128           }
9129         }
9130       }
9131       part { name: "base0";
9132         mouse_events:  0;
9133         description { state: "default" 0.0;
9134           rel1 {
9135             to_y: "elm.swallow.icon";
9136             relative: 0.0 1.0;
9137             offset: 0 0;
9138           }
9139           image {
9140             normal: "bubble_3.png";
9141             border: 36 11 18 9;
9142           }
9143           image.middle: SOLID;
9144           fill.smooth: 0;
9145         }
9146         description { state: "rtl" 0.0;
9147            inherit: "default" 0.0;
9148            image {
9149               normal: "bubble_4.png";
9150               border: 11 36 18 9;
9151            }
9152         }
9153       }
9154       part { name: "elm.swallow.content";
9155         type: SWALLOW;
9156         description { state: "default" 0.0;
9157           rel1 {
9158             to: "base0";
9159             offset: 9 16;
9160           }
9161           rel2 {
9162             to: "base0";
9163             offset: -10 -9;
9164           }
9165         }
9166       }
9167       part { name: "shine";
9168         mouse_events:  0;
9169         description { state:    "default" 0.0;
9170           rel1 {
9171             to: "base0";
9172             offset: 5 4;
9173           }
9174           rel2 {
9175             to: "base0";
9176             relative: 1.0 0.5;
9177             offset: -6 7;
9178           }
9179           image {
9180             normal: "bubble_shine3.png";
9181             border: 36 5 14 0;
9182           }
9183           fill.smooth: 0;
9184         }
9185         description { state: "rtl" 0.0;
9186            inherit: "default" 0.0;
9187            image {
9188               normal: "bubble_shine4.png";
9189               border: 5 36 14 0;
9190            }
9191         }
9192       }
9193     }
9194     programs {
9195       program {
9196         name: "icon_show";
9197         signal: "elm,state,icon,visible";
9198         source: "elm";
9199         action: STATE_SET "visible" 0.0;
9200         target: "elm.swallow.icon";
9201       }
9202       program {
9203         name: "icon_hide";
9204         signal: "elm,state,icon,hidden";
9205         source: "elm";
9206         action: STATE_SET "default" 0.0;
9207         target: "elm.swallow.icon";
9208       }
9209       program { name: "to_rtl";
9210          signal: "edje,state,rtl";
9211          source: "edje";
9212          action: STATE_SET "rtl" 0.0;
9213          target: "base0";
9214          target: "shine";
9215       }
9216       program { name: "to_ltr";
9217          signal: "edje,state,ltr";
9218          source: "edje";
9219          action: STATE_SET "default" 0.0;
9220          target: "base0";
9221          target: "shine";
9222       }
9223     }
9224   }
9225
9226   group { name: "elm/bubble/top_right/default";
9227     images {
9228       image: "bubble_3.png" COMP;
9229       image: "bubble_4.png" COMP;
9230       image: "bubble_shine3.png" COMP;
9231       image: "bubble_shine4.png" COMP;
9232     }
9233     parts {
9234       part { name: "event";
9235          type: RECT;
9236          description {
9237             state: "default" 0.0;
9238             color: 0 0 0 0;
9239          }
9240       }
9241       part { name: "elm.swallow.icon";
9242         type: SWALLOW;
9243         description { state: "default" 0.0;
9244           fixed: 1 1;
9245           visible: 0;
9246           align: 1.0 0.0;
9247           aspect: 1.0 1.0;
9248           aspect_preference: VERTICAL;
9249           rel1 {
9250             relative: 1.0 0.0;
9251             offset: -5 4;
9252           }
9253           rel2 {
9254             to_y: "elm.text";
9255             relative: 1.0 1.0;
9256             offset: -5 -1;
9257           }
9258         }
9259         description { state: "visible" 0.0;
9260           inherit: "default" 0.0;
9261           visible: 1;
9262         }
9263       }
9264       part { name: "elm.text";
9265         type: TEXT;
9266         mouse_events:   0;
9267         scale: 1;
9268         description { state: "default" 0.0;
9269           align: 0.0 0.0;
9270           fixed: 0 1;
9271           rel1 {
9272             relative: 0.0 0.0;
9273             offset: 4 4;
9274           }
9275           rel2 {
9276             to_x: "elm.info";
9277             relative: 0.0 0.0;
9278             offset: -5 4;
9279           }
9280           color: 0 0 0 255;
9281           text {
9282             font: "Sans:style=Bold,Edje-Vera-Bold";
9283             size: 10;
9284             min: 0 1;
9285             max: 0 1;
9286             align: 0.0 0.0;
9287           }
9288         }
9289       }
9290       part { name: "elm.info";
9291         type: TEXT;
9292         mouse_events:   0;
9293         scale: 1;
9294         description { state: "default" 0.0;
9295           align: 1.0 0.0;
9296           fixed: 1 1;
9297           rel1 {
9298             relative: 1.0 0.0;
9299             offset: -5 4;
9300           }
9301           rel2 {
9302             to_x: "elm.swallow.icon";
9303             relative: 0.0 0.0;
9304             offset: -5 4;
9305           }
9306           color: 0 0 0 64;
9307           text {
9308             font: "Sans:style=Bold,Edje-Vera-Bold";
9309             size: 10;
9310             min: 1 1;
9311             max: 1 1;
9312             align: 1.0 0.0;
9313           }
9314         }
9315       }
9316       part { name: "base0";
9317         mouse_events:  0;
9318         description { state: "default" 0.0;
9319           rel1 {
9320             to_y: "elm.swallow.icon";
9321             relative: 0.0 1.0;
9322             offset: 0 0;
9323           }
9324           image {
9325             normal: "bubble_4.png";
9326             border: 11 36 18 9;
9327           }
9328           image.middle: SOLID;
9329           fill.smooth: 0;
9330         }
9331         description { state: "rtl" 0.0;
9332            inherit: "default" 0.0;
9333            image {
9334               normal: "bubble_3.png";
9335               border: 36 11 18 9;
9336            }
9337         }
9338       }
9339       part { name: "elm.swallow.content";
9340         type: SWALLOW;
9341         description { state: "default" 0.0;
9342           rel1 {
9343             to: "base0";
9344             offset: 9 16;
9345           }
9346           rel2 {
9347             to: "base0";
9348             offset: -10 -9;
9349           }
9350         }
9351       }
9352       part { name: "shine";
9353         mouse_events:  0;
9354         description { state:    "default" 0.0;
9355           rel1 {
9356             to: "base0";
9357             offset: 5 4;
9358           }
9359           rel2 {
9360             to: "base0";
9361             relative: 1.0 0.5;
9362             offset: -6 7;
9363           }
9364           image {
9365             normal: "bubble_shine4.png";
9366             border: 5 36 14 0;
9367           }
9368           fill.smooth: 0;
9369         }
9370         description { state: "rtl" 0.0;
9371            inherit: "default" 0.0;
9372            image {
9373               normal: "bubble_shine3.png";
9374               border: 36 5 14 0;
9375            }
9376         }
9377       }
9378     }
9379     programs {
9380       program {
9381         name: "icon_show";
9382         signal: "elm,state,icon,visible";
9383         source: "elm";
9384         action: STATE_SET "visible" 0.0;
9385         target: "elm.swallow.icon";
9386       }
9387       program {
9388         name: "icon_hide";
9389         signal: "elm,state,icon,hidden";
9390         source: "elm";
9391         action: STATE_SET "default" 0.0;
9392         target: "elm.swallow.icon";
9393       }
9394       program { name: "to_rtl";
9395          signal: "edje,state,rtl";
9396          source: "edje";
9397          action: STATE_SET "rtl" 0.0;
9398          target: "base0";
9399          target: "shine";
9400       }
9401       program { name: "to_ltr";
9402          signal: "edje,state,ltr";
9403          source: "edje";
9404          action: STATE_SET "default" 0.0;
9405          target: "base0";
9406          target: "shine";
9407       }
9408     }
9409   }
9410
9411   group { name: "elm/bubble/bottom_left/default";
9412     images {
9413       image: "bubble_1.png" COMP;
9414       image: "bubble_2.png" COMP;
9415       image: "bubble_shine.png" COMP;
9416     }
9417     parts {
9418       part { name: "event";
9419          type: RECT;
9420          description {
9421             state: "default" 0.0;
9422             color: 0 0 0 0;
9423          }
9424       }
9425       part { name: "elm.swallow.icon";
9426         type: SWALLOW;
9427         description { state: "default" 0.0;
9428           fixed: 1 1;
9429           visible: 0;
9430           align: 0.0 1.0;
9431           aspect: 1.0 1.0;
9432           aspect_preference: VERTICAL;
9433           rel1 {
9434             to_y: "elm.text";
9435             relative: 0.0 0.0;
9436             offset: 4 0;
9437           }
9438           rel2 {
9439             relative: 0.0 1.0;
9440             offset: 4 -5;
9441           }
9442         }
9443         description { state: "visible" 0.0;
9444           inherit: "default" 0.0;
9445           visible: 1;
9446         }
9447       }
9448       part { name: "elm.text";
9449         type: TEXT;
9450         mouse_events:   0;
9451         scale: 1;
9452         description { state: "default" 0.0;
9453           align: 0.0 1.0;
9454           fixed: 0 1;
9455           rel1 {
9456             to_x: "elm.swallow.icon";
9457             relative: 1.0 1.0;
9458             offset: 4 -5;
9459           }
9460           rel2 {
9461             to_x: "elm.info";
9462             relative: 0.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 255;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 0 1;
9470             max: 0 1;
9471             align: 0.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "elm.info";
9476         type: TEXT;
9477         mouse_events:   0;
9478         scale: 1;
9479         description { state: "default" 0.0;
9480           align: 1.0 1.0;
9481           fixed: 1 1;
9482           rel1 {
9483             relative: 1.0 1.0;
9484             offset: -5 -5;
9485           }
9486           rel2 {
9487             relative: 1.0 1.0;
9488             offset: -5 -5;
9489           }
9490           color: 0 0 0 64;
9491           text {
9492             font: "Sans:style=Bold,Edje-Vera-Bold";
9493             size: 10;
9494             min: 1 1;
9495             max: 1 1;
9496             align: 1.0 1.0;
9497           }
9498         }
9499       }
9500       part { name: "base0";
9501         mouse_events:  0;
9502         description { state: "default" 0.0;
9503           rel2 {
9504             to_y: "elm.swallow.icon";
9505             relative: 1.0 0.0;
9506             offset: -1 -1;
9507           }
9508           image {
9509             normal: "bubble_1.png";
9510             border: 36 11 10 19;
9511           }
9512           image.middle: SOLID;
9513           fill.smooth: 0;
9514         }
9515         description { state: "rtl" 0.0;
9516            inherit: "default" 0.0;
9517            image {
9518               normal: "bubble_2.png";
9519               border: 11 36 10 19;
9520            }
9521         }
9522       }
9523       part { name: "elm.swallow.content";
9524         type: SWALLOW;
9525         description { state: "default" 0.0;
9526           rel1 {
9527             to: "base0";
9528             offset: 9 8;
9529           }
9530           rel2 {
9531             to: "base0";
9532             offset: -10 -17;
9533           }
9534         }
9535       }
9536       part { name: "shine";
9537         mouse_events:  0;
9538         description { state:    "default" 0.0;
9539           rel1 {
9540             to: "base0";
9541             offset: 5 4;
9542           }
9543           rel2 {
9544             to: "base0";
9545             relative: 1.0 0.5;
9546             offset: -6 -16;
9547           }
9548           image {
9549             normal: "bubble_shine.png";
9550             border: 5 5 5 0;
9551           }
9552           fill.smooth: 0;
9553         }
9554         description { state: "rtl" 0.0;
9555            inherit: "default" 0.0;
9556            image {
9557               normal: "bubble_shine4.png";
9558               border: 5 36 14 0;
9559            }
9560         }
9561       }
9562     }
9563     programs {
9564       program {
9565         name: "icon_show";
9566         signal: "elm,state,icon,visible";
9567         source: "elm";
9568         action: STATE_SET "visible" 0.0;
9569         target: "elm.swallow.icon";
9570       }
9571       program {
9572         name: "icon_hide";
9573         signal: "elm,state,icon,hidden";
9574         source: "elm";
9575         action: STATE_SET "default" 0.0;
9576         target: "elm.swallow.icon";
9577       }
9578       program { name: "to_rtl";
9579          signal: "edje,state,rtl";
9580          source: "edje";
9581          action: STATE_SET "rtl" 0.0;
9582          target: "base0";
9583       }
9584       program { name: "to_ltr";
9585          signal: "edje,state,ltr";
9586          source: "edje";
9587          action: STATE_SET "default" 0.0;
9588          target: "base0";
9589       }
9590     }
9591   }
9592
9593   group { name: "elm/bubble/bottom_right/default";
9594     images {
9595       image: "bubble_1.png" COMP;
9596       image: "bubble_2.png" COMP;
9597       image: "bubble_shine.png" COMP;
9598     }
9599     parts {
9600       part { name: "event";
9601          type: RECT;
9602          description {
9603             state: "default" 0.0;
9604             color: 0 0 0 0;
9605          }
9606       }
9607       part { name: "elm.swallow.icon";
9608         type: SWALLOW;
9609         description { state: "default" 0.0;
9610           fixed: 1 1;
9611           visible: 0.0;
9612           align: 1.0 1.0;
9613           aspect: 1.0 1.0;
9614           aspect_preference: VERTICAL;
9615           rel1 {
9616             to_y: "elm.text";
9617             relative: 1.0 0.0;
9618             offset: -5 0;
9619           }
9620           rel2 {
9621             relative: 1.0 1.0;
9622             offset: -5 -5;
9623           }
9624         }
9625         description { state: "visible" 0.0;
9626           inherit: "default" 0.0;
9627           visible: 1;
9628         }
9629       }
9630       part { name: "elm.text";
9631         type: TEXT;
9632         mouse_events:   0;
9633         scale: 1;
9634         description { state: "default" 0.0;
9635           align: 0.0 1.0;
9636           fixed: 0 1;
9637           rel1 {
9638             relative: 0.0 1.0;
9639             offset: 4 -5;
9640           }
9641           rel2 {
9642             to_x: "elm.info";
9643             relative: 0.0 1.0;
9644             offset: -5 -5;
9645           }
9646           color: 0 0 0 255;
9647           text {
9648             font: "Sans:style=Bold,Edje-Vera-Bold";
9649             size: 10;
9650             min: 0 1;
9651             max: 0 1;
9652             align: 0.0 1.0;
9653           }
9654         }
9655       }
9656       part { name: "elm.info";
9657         type: TEXT;
9658         mouse_events:   0;
9659         scale: 1;
9660         description { state: "default" 0.0;
9661           align: 1.0 1.0;
9662           fixed: 1 1;
9663           rel1 {
9664             relative: 1.0 1.0;
9665             offset: -5 -5;
9666           }
9667           rel2 {
9668             to_x: "elm.swallow.icon";
9669             relative: 0.0 1.0;
9670             offset: -5 -5;
9671           }
9672           color: 0 0 0 64;
9673           text {
9674             font: "Sans:style=Bold,Edje-Vera-Bold";
9675             size: 10;
9676             min: 1 1;
9677             max: 1 1;
9678             align: 1.0 1.0;
9679           }
9680         }
9681       }
9682       part { name: "base0";
9683         mouse_events:  0;
9684         description { state: "default" 0.0;
9685           rel2 {
9686             to_y: "elm.swallow.icon";
9687             relative: 1.0 0.0;
9688             offset: -1 -1;
9689           }
9690           image {
9691             normal: "bubble_2.png";
9692             border: 11 36 10 19;
9693           }
9694           image.middle: SOLID;
9695           fill.smooth: 0;
9696         }
9697         description { state: "rtl" 0.0;
9698            inherit: "default" 0.0;
9699            image {
9700               normal: "bubble_1.png";
9701               border: 36 11 10 19;
9702            }
9703         }
9704       }
9705       part { name: "elm.swallow.content";
9706         type: SWALLOW;
9707         description { state: "default" 0.0;
9708           rel1 {
9709             to: "base0";
9710             offset: 9 8;
9711           }
9712           rel2 {
9713             to: "base0";
9714             offset: -10 -17;
9715           }
9716         }
9717       }
9718       part { name: "shine";
9719         mouse_events:  0;
9720         description { state:    "default" 0.0;
9721           rel1 {
9722             to: "base0";
9723             offset: 5 4;
9724           }
9725           rel2 {
9726             to: "base0";
9727             relative: 1.0 0.5;
9728             offset: -6 -16;
9729           }
9730           image {
9731             normal: "bubble_shine.png";
9732             border: 5 5 5 0;
9733           }
9734           fill.smooth: 0;
9735         }
9736         description { state: "rtl" 0.0;
9737            inherit: "default" 0.0;
9738            image {
9739               normal: "bubble_shine3.png";
9740               border: 36 5 14 0;
9741            }
9742         }
9743       }
9744     }
9745     programs {
9746       program {
9747         name: "icon_show";
9748         signal: "elm,state,icon,visible";
9749         source: "elm";
9750         action: STATE_SET "visible" 0.0;
9751         target: "elm.swallow.icon";
9752       }
9753       program {
9754         name: "icon_hide";
9755         signal: "elm,state,icon,hidden";
9756         source: "elm";
9757         action: STATE_SET "default" 0.0;
9758         target: "elm.swallow.icon";
9759       }
9760       program { name: "to_rtl";
9761          signal: "edje,state,rtl";
9762          source: "edje";
9763          action: STATE_SET "rtl" 0.0;
9764          target: "base0";
9765       }
9766       program { name: "to_ltr";
9767          signal: "edje,state,ltr";
9768          source: "edje";
9769          action: STATE_SET "default" 0.0;
9770          target: "base0";
9771       }
9772     }
9773   }
9774
9775 ///////////////////////////////////////////////////////////////////////////////
9776    group { name: "elm/photo/base/default";
9777       images {
9778          image: "frame_1.png" COMP;
9779          image: "frame_2.png" COMP;
9780          image: "dia_grad.png" COMP;
9781          image: "head.png" COMP;
9782       }
9783       parts {
9784          part { name: "base0";
9785             mouse_events:  0;
9786             description { state: "default" 0.0;
9787                image.normal: "dia_grad.png";
9788                rel1.to: "over";
9789                rel2.to: "over";
9790                fill {
9791                   smooth: 0;
9792                   size {
9793                      relative: 0.0 1.0;
9794                      offset: 64 0;
9795                   }
9796                }
9797             }
9798          }
9799          part { name: "base";
9800             mouse_events:  0;
9801             description { state:    "default" 0.0;
9802                image {
9803                   normal: "frame_2.png";
9804                   border: 5 5 32 26;
9805                   middle: 0;
9806                }
9807                fill.smooth : 0;
9808             }
9809          }
9810          part { name: "head";
9811             mouse_events:  0;
9812             description { state:    "default" 0.0;
9813                rel1.offset: 4 4;
9814                rel2.offset: -5 -5;
9815                aspect: 1.0 1.0;
9816                aspect_preference: BOTH;
9817                image.normal: "head.png";
9818             }
9819          }
9820          part { name: "clip";
9821             mouse_events:  0;
9822             type: RECT;
9823             description { state:    "default" 0.0;
9824                rel1.offset: 4 4;
9825                rel2.offset: -5 -5;
9826                color: 255 255 255 255;
9827             }
9828          }
9829          part { name: "elm.swallow.content";
9830             type: SWALLOW;
9831             clip_to: "clip";
9832             description { state: "default" 0.0;
9833                rel1.offset: 4 4;
9834                rel2.offset: -5 -5;
9835             }
9836          }
9837          part { name: "over";
9838             mouse_events:  0;
9839             description { state:    "default" 0.0;
9840                rel1.offset: 4 4;
9841                rel2.offset: -5 -5;
9842                image {
9843                   normal: "frame_1.png";
9844                   border: 2 2 28 22;
9845                   middle: 0;
9846                }
9847                fill.smooth: 0;
9848             }
9849          }
9850      }
9851    }
9852
9853    group { name: "elm/photo/base/shadow";
9854               images {
9855                         image: "shadow.png" COMP;
9856                         image: "black.png" COMP;
9857               }
9858               script {
9859               public message(Msg_Type:type, id, ...) {
9860                 if( (type==MSG_INT_SET) && (id==0) )
9861                 {
9862                     new w;
9863                     new h;
9864
9865                     custom_state(PART:"size", "default", 0.0);
9866
9867                     w = getarg(2);
9868                     h = getarg(3);
9869                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9870                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9871                     set_state(PART:"size", "custom", 0.0);
9872                 }
9873             }
9874             }
9875               parts {
9876               part { name: "size";
9877                     type: SWALLOW;
9878                     description { state: "default" 0.0;
9879                             rel1.relative: 0.5 0.5;
9880                             rel2.relative: 0.5 0.5;
9881                     }
9882                  }
9883               part {
9884                 name: "shadow";
9885                 type: IMAGE;
9886                 repeat_events: 1;
9887                 description {
9888                     state: "default" 0.0;
9889                     rel1.to: "size";
9890                     rel2.to: "size";
9891                     rel1.relative: -0.06 -0.06;
9892                     rel2.relative: 1.07 1.07;
9893                     image.normal: "shadow.png";
9894                 }
9895             }
9896   
9897
9898                  part { name: "elm.swallow.content";
9899                     type: SWALLOW;
9900                     description { state: "default" 0.0;
9901                     rel1.offset: 3 3;
9902                     rel2.offset: -3 -3;
9903                             fixed: 1 1;
9904                     }
9905                  }
9906      
9907                  part {
9908                 name: "border";
9909                 type: IMAGE;
9910                 repeat_events: 1;
9911                 description {
9912                     state: "default" 0.0;
9913                     visible: 1;
9914                     color: 0 0 0 255;
9915                     rel1.to: "size";
9916                     rel2.to: "size";
9917                     image.normal: "black.png";
9918                     image.border: 1 1 1 1;
9919                     image.middle: 0;
9920                 }
9921             }
9922                  }
9923    }
9924
9925 ///////////////////////////////////////////////////////////////////////////////
9926    group { name: "elm/thumb/base/default";
9927       images {
9928          image: "frame_1.png" COMP;
9929          image: "frame_2.png" COMP;
9930          image: "dia_grad.png" COMP;
9931          image: "busy-1.png" COMP;
9932          image: "busy-2.png" COMP;
9933          image: "busy-3.png" COMP;
9934          image: "busy-4.png" COMP;
9935          image: "busy-5.png" COMP;
9936          image: "busy-6.png" COMP;
9937          image: "busy-7.png" COMP;
9938          image: "busy-8.png" COMP;
9939          image: "busy-9.png" COMP;
9940       }
9941       parts {
9942          part { name: "base0";
9943             mouse_events:  0;
9944             description { state:        "default" 0.0;
9945                image.normal: "dia_grad.png";
9946                rel1.to: "over";
9947                rel2.to: "over";
9948                fill {
9949                   smooth: 0;
9950                   size {
9951                      relative: 0.0 1.0;
9952                      offset: 64 0;
9953                   }
9954                }
9955             }
9956          }
9957          part { name: "base";
9958             mouse_events:  0;
9959             description { state:        "default" 0.0;
9960                image {
9961                   normal: "frame_2.png";
9962                   border: 5 5 32 26;
9963                   middle: 0;
9964                }
9965                fill.smooth : 0;
9966             }
9967          }
9968          part { name: "clip";
9969             mouse_events:  0;
9970             type: RECT;
9971             description { state:        "default" 0.0;
9972                rel1.offset: 4 4;
9973                rel2.offset: -5 -5;
9974                color: 255 255 255 255;
9975             }
9976          }
9977          part { name: "elm.swallow.content";
9978             type: SWALLOW;
9979             clip_to: "clip";
9980             description { state:        "default" 0.0;
9981                rel1.offset: 4 4;
9982                rel2.offset: -5 -5;
9983             }
9984          }
9985          part { name: "progress";
9986             mouse_events: 0;
9987
9988             clip_to: "clip";
9989             description { state:        "default" 0.0;
9990                min: 32 32;
9991                max: 32 32;
9992                visible: 0;
9993                aspect: 1.0 1.0;
9994                aspect_preference: BOTH;
9995             }
9996             description { state:        "pulse" 0.0;
9997                inherit: "default" 0.0;
9998                visible: 1;
9999                image {
10000                   normal: "busy-9.png";
10001                   tween:  "busy-1.png";
10002                   tween:  "busy-2.png";
10003                   tween:  "busy-3.png";
10004                   tween:  "busy-4.png";
10005                   tween:  "busy-5.png";
10006                   tween:  "busy-6.png";
10007                   tween:  "busy-7.png";
10008                   tween:  "busy-8.png";
10009                   border: 7 7 7 7;
10010                }
10011             }
10012          }
10013          part { name: "over";
10014             mouse_events:  0;
10015             description { state:        "default" 0.0;
10016                rel1.offset: 4 4;
10017                rel2.offset: -5 -5;
10018                image {
10019                   normal: "frame_1.png";
10020                   border: 2 2 28 22;
10021                   middle: 0;
10022                }
10023                fill.smooth: 0;
10024             }
10025          }
10026          programs {
10027             program { name: "start_pulse";
10028                signal: "elm,state,pulse,start";
10029                source: "elm";
10030                action: STATE_SET "pulse" 0.0;
10031                target: "progress";
10032                transition: LINEAR 0.5;
10033                after: "start_pulse";
10034             }
10035             program { name: "stop_pulse";
10036                signal: "elm,state,pulse,stop";
10037                source: "elm";
10038                action: STATE_SET "default" 0.0;
10039                target: "progress";
10040             }
10041          }
10042       }
10043    }
10044
10045    group { name: "elm/thumb/base/noframe";
10046       images {
10047          image: "busy-1.png" COMP;
10048          image: "busy-2.png" COMP;
10049          image: "busy-3.png" COMP;
10050          image: "busy-4.png" COMP;
10051          image: "busy-5.png" COMP;
10052          image: "busy-6.png" COMP;
10053          image: "busy-7.png" COMP;
10054          image: "busy-8.png" COMP;
10055          image: "busy-9.png" COMP;
10056       }
10057       parts {
10058          part { name: "elm.swallow.content";
10059             type: SWALLOW;
10060             description { state: "default" 0.0;
10061                rel1.offset: 4 4;
10062                rel2.offset: -5 -5;
10063             }
10064          }
10065          part { name: "progress";
10066             mouse_events: 0;
10067             description { state:        "default" 0.0;
10068                min: 32 32;
10069                max: 32 32;
10070                visible: 0;
10071                aspect: 1.0 1.0;
10072                aspect_preference: BOTH;
10073             }
10074             description { state:        "pulse" 0.0;
10075                inherit: "default" 0.0;
10076                visible: 1;
10077                image {
10078                   normal: "busy-9.png";
10079                   tween:  "busy-1.png";
10080                   tween:  "busy-2.png";
10081                   tween:  "busy-3.png";
10082                   tween:  "busy-4.png";
10083                   tween:  "busy-5.png";
10084                   tween:  "busy-6.png";
10085                   tween:  "busy-7.png";
10086                   tween:  "busy-8.png";
10087                   border: 7 7 7 7;
10088                }
10089             }
10090          }
10091          programs {
10092             program { name: "start_pulse";
10093                signal: "elm,state,pulse,start";
10094                source: "elm";
10095                action: STATE_SET "pulse" 0.0;
10096                target: "progress";
10097                transition: LINEAR 0.5;
10098                after: "start_pulse";
10099             }
10100             program { name: "stop_pulse";
10101                signal: "elm,state,pulse,stop";
10102                source: "elm";
10103                action: STATE_SET "default" 0.0;
10104                target: "progress";
10105             }
10106          }
10107       }
10108    }
10109
10110
10111 ///////////////////////////////////////////////////////////////////////////////
10112    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10113       images.image: "icon_home.png" COMP; parts { part { name: "base";
10114          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10115             image.normal: "icon_home.png"; } } } }
10116    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10117       images.image: "icon_close.png" COMP; parts { part { name: "base";
10118          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10119             image.normal: "icon_close.png"; } } } }
10120    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10121       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10122          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10123             image.normal: "icon_apps.png"; } } } }
10124    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10125       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10126          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10127             image.normal: "icon_arrow_up.png"; } } } }
10128    group { name: "elm/icon/arrow_down/default";
10129            alias: "elm/icon/toolbar/arrow_down/default";
10130            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10131       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10132          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10133             image.normal: "icon_arrow_down.png"; } } } }
10134    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10135       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10136          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10137             image.normal: "icon_arrow_left.png"; } } } }
10138    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10139       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10140          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10141             image.normal: "icon_arrow_right.png"; } } } }
10142    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10143       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10144          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10145             image.normal: "icon_chat.png"; } } } }
10146    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10147       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10148          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10149             image.normal: "icon_clock.png"; } } } }
10150    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10151       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10152          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10153             image.normal: "icon_delete.png"; } } } }
10154    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10155       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10156          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10157             image.normal: "icon_edit.png"; } } } }
10158    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10159       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10160          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10161             image.normal: "icon_refresh.png"; } } } }
10162    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10163       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_folder.png"; } } } }
10166    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10167       images.image: "icon_file.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_file.png"; } } } }
10170 ///////////////////////////////////////////////////////////////////////////////
10171    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10172       images.image: "icon_home.png" COMP; parts { part { name: "base";
10173          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10174             image.normal: "icon_home.png"; } } } }
10175    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10176       images.image: "icon_close.png" COMP; parts { part { name: "base";
10177          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10178             image.normal: "icon_close.png"; } } } }
10179    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10180       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10181          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10182             image.normal: "icon_apps.png"; } } } }
10183    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10184       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10185          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10186             image.normal: "icon_arrow_up.png"; } } } }
10187    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10188       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10189          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10190             image.normal: "icon_arrow_down.png"; } } } }
10191    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10192       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10193          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10194             image.normal: "icon_arrow_left.png"; } } } }
10195    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10196       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10197          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10198             image.normal: "icon_arrow_right.png"; } } } }
10199    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10200       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10201          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10202             image.normal: "icon_chat.png"; } } } }
10203    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10204       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10205          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10206             image.normal: "icon_clock.png"; } } } }
10207    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10208       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10209          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10210             image.normal: "icon_delete.png"; } } } }
10211    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10212       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10213          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10214             image.normal: "icon_edit.png"; } } } }
10215    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10216       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10217          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10218             image.normal: "icon_refresh.png"; } } } }
10219    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10220       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10221          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10222             image.normal: "icon_folder.png"; } } } }
10223    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10224       images.image: "icon_file.png" COMP; parts { part { name: "base";
10225          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10226             image.normal: "icon_file.png"; } } } }
10227
10228 ///////////////////////////////////////////////////////////////////////////////
10229    group { name: "elm/toolbar/base/default";
10230       images {
10231          image: "bt_dis_base.png" COMP;
10232          image: "bt_dis_hilight.png" COMP;
10233          image: "bt_dis_shine.png" COMP;
10234          image: "icon_left_arrow.png" COMP;
10235          image: "icon_right_arrow.png" COMP;
10236       }
10237       parts {
10238          part { name: "base";
10239             mouse_events: 1;
10240             description { state: "default" 0.0;
10241                rel1 {
10242                   relative: 0.0 0.0;
10243                   offset: 2 2;
10244                }
10245                rel2.offset: -3 -3;
10246                image {
10247                   normal: "bt_dis_base.png";
10248                   border: 4 4 4 4;
10249                }
10250                image.middle: SOLID;
10251             }
10252          }
10253          part { name: "clipper";
10254             type: RECT;
10255             mouse_events: 0;
10256             description {
10257                state: "default" 0.0;
10258                rel1 {
10259                   to: "base";
10260                   offset: 2 2;
10261                }
10262                rel2 {
10263                   to: "base";
10264                   offset: -3 -3;
10265                }
10266             }
10267          }
10268          part { name: "elm.swallow.content";
10269             clip_to: "clipper";
10270             type: SWALLOW;
10271             description {
10272                state: "default" 0.0;
10273                rel1.to: "clipper";
10274                rel2.to: "clipper";
10275             }
10276          }
10277          part { name: "over2";
10278             mouse_events: 0;
10279             description { state: "default" 0.0;
10280                rel1.to: "base";
10281                rel2.to: "base";
10282                image {
10283                   normal: "bt_dis_shine.png";
10284                   border: 4 4 4 4;
10285                }
10286             }
10287          }
10288          part { name: "over1";
10289             mouse_events: 0;
10290             description { state: "default" 0.0;
10291                rel1.to: "base";
10292                rel2.to: "base";
10293                rel2.relative: 1.0 0.5;
10294                image {
10295                   normal: "bt_dis_hilight.png";
10296                   border: 4 4 4 0;
10297                }
10298                color: 255 255 255 128;
10299             }
10300          }
10301          part { name: "left_arrow";
10302             mouse_events: 0;
10303             description { state: "default" 0.0;
10304                image.normal: "icon_left_arrow.png";
10305                aspect: 1.0 1.0;
10306                aspect_preference: VERTICAL;
10307                align: 0.0 0.5;
10308                min: 32 32;
10309                max: 32 32;
10310             }
10311             description { state: "hidden" 0.0;
10312                inherit: "default" 0.0;
10313                visible: 0;
10314                color: 255 255 255 0;
10315             }
10316          }
10317          part { name: "right_arrow";
10318             mouse_events: 0;
10319             description { state: "default" 0.0;
10320                image.normal: "icon_right_arrow.png";
10321                aspect: 1.0 1.0;
10322                aspect_preference: VERTICAL;
10323                align: 1.0 0.5;
10324                min: 32 32;
10325                max: 32 32;
10326             }
10327             description { state: "hidden" 0.0;
10328                inherit: "default" 0.0;
10329                visible: 0;
10330                color: 255 255 255 0;
10331             }
10332          }
10333          part { name: "event";
10334             type: RECT;
10335             mouse_events: 1;
10336             repeat_events: 1;
10337             description { state: "default" 0.0;
10338                color: 0 0 0 0;
10339             }
10340          }
10341       }
10342       programs {
10343          program { name: "sb_hbar_show";
10344             signal: "elm,action,show,hbar";
10345             source: "elm";
10346             action:  STATE_SET "default" 0.0;
10347             transition: LINEAR 0.5;
10348             target: "left_arrow";
10349             target: "right_arrow";
10350          }
10351          program { name: "sb_hbar_hide";
10352             signal: "elm,action,hide,hbar";
10353             source: "elm";
10354             action:  STATE_SET "hidden" 0.0;
10355             target: "left_arrow";
10356             target: "right_arrow";
10357             transition: LINEAR 0.5;
10358          }
10359       }
10360    }
10361
10362    group { name: "elm/toolbar/item/default";
10363        images {
10364            image: "toolbar_sel.png" COMP;
10365        }
10366        data.item: "transition_animation_on" "1";
10367        parts {
10368            part { name: "label2";
10369                type: TEXT;
10370                mouse_events:  0;
10371                scale: 1;
10372                clip_to: "elm.text.clipper";
10373                description { state: "default" 0.0;
10374                    align: 0.5 1.0;
10375                    fixed: 0 1;
10376                    rel1.to: "elm.text";
10377                    rel2.to: "elm.text";
10378                    color: 0 0 0 255;
10379                    text {
10380                        font: "Sans";
10381                        text_source: "elm.text";
10382                        size: 10;
10383                        min: 1 1;
10384                        align: 0.5 0.5;
10385                        text_class: "toolbar_item";
10386                    }
10387                }
10388                description { state: "selected" 0.0;
10389                    inherit: "default" 0.0;
10390                    visible: 0;
10391                }
10392                description { state: "disabled" 0.0;
10393                    inherit: "default" 0.0;
10394                    color: 0 0 0 128;
10395                    color3: 0 0 0 0;
10396                }
10397                description { state: "disabled_visible" 0.0;
10398                    inherit: "default" 0.0;
10399                    color: 0 0 0 128;
10400                    color3: 0 0 0 0;
10401                    visible: 1;
10402                    text.min: 1 1;
10403                }
10404            }
10405            part { name: "label2_new";
10406                type: TEXT;
10407                mouse_events:  0;
10408                scale: 1;
10409                clip_to: "elm.text_new.clipper";
10410                description { state: "default" 0.0;
10411                    align: 0.5 1.0;
10412                    fixed: 0 1;
10413                    rel1.to: "elm.text_new";
10414                    rel2.to: "elm.text_new";
10415                    color: 0 0 0 255;
10416                    text {
10417                        font: "Sans";
10418                        text_source: "elm.text_new";
10419                        size: 10;
10420                        min: 1 1;
10421                        align: 0.5 0.5;
10422                        text_class: "toolbar_item";
10423                    }
10424                }
10425                description { state: "selected" 0.0;
10426                    inherit: "default" 0.0;
10427                    visible: 0;
10428                }
10429                description { state: "disabled" 0.0;
10430                    inherit: "default" 0.0;
10431                    color: 0 0 0 128;
10432                    color3: 0 0 0 0;
10433                }
10434                description { state: "disabled_visible" 0.0;
10435                    inherit: "default" 0.0;
10436                    color: 0 0 0 128;
10437                    color3: 0 0 0 0;
10438                    visible: 1;
10439                    text.min: 1 1;
10440                }
10441            }
10442            part { name: "bg";
10443                mouse_events: 0;
10444                description { state: "default" 0.0;
10445                    visible: 0;
10446                    color: 255 255 255 0;
10447                    image {
10448                        normal: "toolbar_sel.png";
10449                        border: 3 3 0 0;
10450                    }
10451                    image.middle: SOLID;
10452                    fill.smooth: 0;
10453                }
10454                description { state: "selected" 0.0;
10455                    inherit: "default" 0.0;
10456                    visible: 1;
10457                    color: 255 255 255 255;
10458                }
10459                description { state: "disabled" 0.0;
10460                    inherit: "default" 0.0;
10461                    visible: 0;
10462                    color: 255 255 255 0;
10463                }
10464            }
10465            part { name: "elm.swallow.icon";
10466                type: SWALLOW;
10467                clip_to: "elm.icon.clipper";
10468                description { state: "default" 0.0;
10469                    align: 0.5 0.5;
10470                    fixed: 0 0;
10471                    rel1 {
10472                        relative: 0.0 0.0;
10473                        offset: 2 2;
10474                    }
10475                    rel2 {
10476                        to_y: "elm.text";
10477                        relative: 1.0 0.0;
10478                        offset: -3 -1;
10479                    }
10480                    color: 0 0 0 0;
10481                }
10482            }
10483            part { name: "elm.swallow.icon_new";
10484                type: SWALLOW;
10485                clip_to: "elm.icon_new.clipper";
10486                description { state: "default" 0.0;
10487                    align: 0.5 0.5;
10488                    fixed: 0 0;
10489                    rel1 {
10490                        relative: 0.0 0.0;
10491                        offset: 2 2;
10492                    }
10493                    rel2 {
10494                        to_y: "elm.text_new";
10495                        relative: 1.0 0.0;
10496                        offset: -3 -1;
10497                    }
10498                    color: 0 0 0 0;
10499                }
10500            }
10501            part { name: "elm.text";
10502                type: TEXT;
10503                effect: SOFT_SHADOW;
10504                mouse_events:  0;
10505                scale: 1;
10506                clip_to: "elm.text.clipper";
10507                description { state: "default" 0.0;
10508                    align: 0.5 1.0;
10509                    fixed: 0 1;
10510                    rel1 {
10511                        relative: 0.0 1.0;
10512                        offset:   0 -1;
10513                    }
10514                    rel2 {
10515                        relative: 1.0 1.0;
10516                        offset:   -1 -1;
10517                    }
10518                    visible: 0;
10519                    color: 224 224 224 255;
10520                    color3: 0 0 0 32;
10521                    text {
10522                        font: "Sans:style=Bold";
10523                        size: 10;
10524                        min: 1 1;
10525                        align: 0.5 0.5;
10526                        text_class: "toolbar_item";
10527                    }
10528                }
10529                description { state: "selected" 0.0;
10530                    inherit: "default" 0.0;
10531                    visible: 1;
10532                }
10533                description { state: "visible" 0.0;
10534                    inherit: "default" 0.0;
10535                    visible: 1;
10536                    text.min: 1 1;
10537                }
10538                description { state: "disabled" 0.0;
10539                    inherit: "default" 0.0;
10540                    color: 0 0 0 128;
10541                    color3: 0 0 0 0;
10542                }
10543                description { state: "disabled_visible" 0.0;
10544                    inherit: "default" 0.0;
10545                    color: 0 0 0 128;
10546                    color3: 0 0 0 0;
10547                    visible: 1;
10548                    text.min: 1 1;
10549                }
10550            }
10551            part { name: "elm.text_new";
10552                type: TEXT;
10553                effect: SOFT_SHADOW;
10554                mouse_events:  0;
10555                clip_to: "elm.text_new.clipper";
10556                scale: 1;
10557                description { state: "default" 0.0;
10558                    align: 0.5 1.0;
10559                    fixed: 0 1;
10560                    rel1 {
10561                        relative: 0.0 1.0;
10562                        offset:   0 -1;
10563                    }
10564                    rel2 {
10565                        relative: 1.0 1.0;
10566                        offset:   -1 -1;
10567                    }
10568                    visible: 0;
10569                    color: 224 224 224 255;
10570                    color3: 0 0 0 32;
10571                    text {
10572                        font: "Sans:style=Bold";
10573                        size: 10;
10574                        min: 1 1;
10575                        align: 0.5 0.5;
10576                        text_class: "toolbar_item";
10577                    }
10578                }
10579                description { state: "selected" 0.0;
10580                    inherit: "default" 0.0;
10581                    visible: 1;
10582                }
10583                description { state: "visible" 0.0;
10584                    inherit: "default" 0.0;
10585                    visible: 1;
10586                    text.min: 1 1;
10587                }
10588                description { state: "disabled" 0.0;
10589                    inherit: "default" 0.0;
10590                    color: 0 0 0 128;
10591                    color3: 0 0 0 0;
10592                }
10593                description { state: "disabled_visible" 0.0;
10594                    inherit: "default" 0.0;
10595                    color: 0 0 0 128;
10596                    color3: 0 0 0 0;
10597                    visible: 1;
10598                    text.min: 1 1;
10599                }
10600            }
10601            part { name: "elm.text.clipper";
10602                type: RECT;
10603                description { state: "default" 0.0;
10604                    color: 255 255 255 255;
10605                }
10606                description { state: "animation" 0.0;
10607                    color: 255 255 255 0;
10608                }
10609            }
10610            part { name: "elm.text_new.clipper";
10611                type: RECT;
10612                description { state: "default" 0.0;
10613                    color: 255 255 255 0;
10614                }
10615                description { state: "animation" 0.0;
10616                    color: 255 255 255 255;
10617                }
10618            }
10619            part { name: "elm.icon.clipper";
10620                type: RECT;
10621                description { state: "default" 0.0;
10622                    color: 255 255 255 255;
10623                }
10624                description { state: "animation" 0.0;
10625                    color: 255 255 255 0;
10626                }
10627            }
10628            part { name: "elm.icon_new.clipper";
10629                type: RECT;
10630                description { state: "default" 0.0;
10631                    color: 255 255 255 0;
10632                }
10633                description { state: "animation" 0.0;
10634                    color: 255 255 255 255;
10635                }
10636            }
10637            part { name: "event";
10638                type: RECT;
10639                mouse_events: 1;
10640                ignore_flags: ON_HOLD;
10641                description { state: "default" 0.0;
10642                    color: 0 0 0 0;
10643                }
10644            }
10645        }
10646        programs {
10647            program { name: "go_active";
10648                signal:  "elm,state,selected";
10649                source:  "elm";
10650                action:  STATE_SET "selected" 0.0;
10651                target:  "bg";
10652                target:  "elm.text";
10653                target:  "label2";
10654                target:  "elm.text_new";
10655                target:  "label2_new";
10656                transition: LINEAR 0.2;
10657            }
10658            program { name: "go_passive";
10659                signal:  "elm,state,unselected";
10660                source:  "elm";
10661                action:  STATE_SET "default" 0.0;
10662                target:  "bg";
10663                target:  "elm.text";
10664                target:  "label2";
10665                target:  "elm.text_new";
10666                target:  "label2_new";
10667                transition: LINEAR 0.1;
10668            }
10669            program { name: "go";
10670                signal:  "mouse,up,1";
10671                source:  "event";
10672                action:  SIGNAL_EMIT "elm,action,click" "elm";
10673            }
10674            program { name: "mouse,in";
10675               signal:  "mouse,in";
10676               source:  "event";
10677               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10678            }
10679            program { name: "mouse,out";
10680               signal:  "mouse,out";
10681               source:  "event";
10682               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10683            }
10684            program { name: "disable";
10685                signal: "elm,state,disabled";
10686                source: "elm";
10687                action: STATE_SET "disabled" 0.0;
10688                target: "label2";
10689                target: "label2_new";
10690                target: "bg";
10691                after: "disable_text";
10692            }
10693            program { name: "disable_text";
10694                script {
10695                    new st[31];
10696                    new Float:vl;
10697                    get_state(PART:"elm.text", st, 30, vl);
10698                    if (!strcmp(st, "visible"))
10699                    {
10700                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10701                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10702                    }
10703                    else
10704                    {
10705                       set_state(PART:"elm.text", "disabled", 0.0);
10706                       set_state(PART:"elm.text_new", "disabled", 0.0);
10707                    }
10708                }
10709            }
10710            program { name: "enable";
10711                signal: "elm,state,enabled";
10712                source: "elm";
10713                action: STATE_SET "default" 0.0;
10714                target: "label2";
10715                target: "label2_new";
10716                target: "bg";
10717                after: "enable_text";
10718            }
10719            program { name: "enable_text";
10720                script {
10721                    new st[31];
10722                    new Float:vl;
10723                    get_state(PART:"elm.text", st, 30, vl);
10724                    if (!strcmp(st, "disabled_visible"))
10725                    {
10726                       set_state(PART:"elm.text", "visible", 0.0);
10727                       set_state(PART:"elm.text_new", "visible", 0.0);
10728                    }
10729                    else
10730                    {
10731                       set_state(PART:"elm.text", "default", 0.0);
10732                       set_state(PART:"elm.text_new", "default", 0.0);
10733                    }
10734                }
10735            }
10736            program { name: "label_set,animation,forward";
10737               signal: "elm,state,label_set,forward";
10738               source: "elm";
10739               after: "label_set,animation";
10740            }
10741            program { name: "label_set,animation,backward";
10742               signal: "elm,state,label_set,backward";
10743               source: "elm";
10744               after: "label_set,animation";
10745            }
10746            program { name: "label_set,animation";
10747               signal: "elm,state,label_set";
10748               source: "elm";
10749               action: STATE_SET "animation" 0.0;
10750               target: "elm.text.clipper";
10751               target: "elm.text_new.clipper";
10752               transition: LINEAR 0.2;
10753               after: "label_set,animation,done";
10754            }
10755            program { name: "label_set,animation,done";
10756               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10757            }
10758            program { name: "label,reset";
10759               signal: "elm,state,label,reset";
10760               source: "elm";
10761               action: STATE_SET "default" 0.0;
10762               target: "elm.text.clipper";
10763               target: "elm.text_new.clipper";
10764            }
10765            program { name: "icon_set,animation,forward";
10766               signal: "elm,state,icon_set,forward";
10767               source: "elm";
10768               after: "icon_set,animation";
10769            }
10770            program { name: "icon_set,animation,backward";
10771               signal: "elm,state,icon_set,backward";
10772               source: "elm";
10773               after: "icon_set,animation";
10774            }
10775            program { name: "icon_set,animation";
10776               signal: "elm,state,icon_set";
10777               source: "elm";
10778               action: STATE_SET "animation" 0.0;
10779               target: "elm.icon.clipper";
10780               target: "elm.icon_new.clipper";
10781               transition: LINEAR 0.2;
10782               after: "icon_set,animation,done";
10783            }
10784            program { name: "icon_set,animation,done";
10785               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10786            }
10787            program { name: "icon,reset";
10788               signal: "elm,state,icon,reset";
10789               source: "elm";
10790               action: STATE_SET "default" 0.0;
10791               target: "elm.icon.clipper";
10792               target: "elm.icon_new.clipper";
10793            }
10794        }
10795    }
10796
10797    group { name: "elm/toolbar/separator/default";
10798       images {
10799          image: "toolbar_separator_v.png" COMP;
10800       }
10801       parts {
10802          part { name: "separator"; // separator group
10803             description { state: "default" 0.0;
10804                min: 2 2;
10805                max: 2 9999;
10806                rel1.offset: 4 4;
10807                rel2.offset: -5 -5;
10808                image {
10809                   normal: "toolbar_separator_v.png";
10810                }
10811                fill {
10812                   smooth: 0;
10813                }
10814             }
10815          }
10816       }
10817    }
10818
10819    ///////////////////////////////////////////////////////////////////////////////
10820    group { name: "elm/notify/block_events/default";
10821        parts {
10822            part { name: "block_events";
10823                type: RECT;
10824                description { state: "default" 0.0;
10825                    color: 0 0 0 64;
10826                    visible: 1;
10827                }
10828            }
10829        }
10830            programs {
10831                    program {
10832                                 name: "block_clicked";
10833                                 signal: "mouse,clicked,1";
10834                                 source: "block_events";
10835                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10836                    }
10837            }
10838    }
10839    group { name: "elm/notify/top/default";
10840        //this group is a design similar to the inwin group
10841        images {
10842            image: "shad_circ.png" COMP;
10843            image: "bt_dis_base.png" COMP;
10844            image: "bt_dis_hilight.png" COMP;
10845        }
10846        parts {
10847            part { name: "base";
10848                type: RECT;
10849                mouse_events: 0;
10850                repeat_events: 1;
10851                description { state: "default" 0.0;
10852                    color: 0 0 0 0;
10853                    rel1.offset: 10 10;
10854                    rel2.offset: -10 -10;
10855                    rel1.relative: 0.0 -1.0;
10856                    rel2.relative: 1.0 0.0;
10857                }
10858                description { state: "visible" 0.0;
10859                    inherit: "default" 0.0;
10860                    color: 0 0 0 64;
10861                    rel1.relative: 0.0 0.0;
10862                    rel2.relative: 1.0 1.0;
10863                }
10864            }
10865            part { name: "shad";
10866                mouse_events:  0;
10867                description { state: "default" 0.0;
10868                    image.normal: "shad_circ.png";
10869                    rel1.to: "elm.swallow.content";
10870                    rel1.offset: -64 -64;
10871                    rel2.to: "elm.swallow.content";
10872                    rel2.offset: 63 63;
10873                    fill.smooth: 0;
10874                }
10875            }
10876            part { name: "pop";
10877                mouse_events: 1;
10878                description { state: "default" 0.0;
10879                    rel1.to: "elm.swallow.content";
10880                    rel1.offset: -5 -5;
10881                    rel2.to: "elm.swallow.content";
10882                    rel2.offset: 4 4;
10883                    image {
10884                        normal: "bt_dis_base.png";
10885                        border: 4 4 4 4;
10886                    }
10887                    image.middle: SOLID;
10888                }
10889            }
10890            part { name: "popover";
10891                mouse_events: 0;
10892                description { state: "default" 0.0;
10893                    rel1.to: "pop";
10894                    rel2.to: "pop";
10895                    rel2.relative: 1.0 0.5;
10896                    image {
10897                        normal: "bt_dis_hilight.png";
10898                        border: 4 4 4 0;
10899                    }
10900                }
10901            }
10902            part { name: "elm.swallow.content";
10903                type: SWALLOW;
10904                description { state: "default" 0.0;
10905                    rel1.to: "base";
10906                    rel2.to: "base";
10907                }
10908            }
10909        }
10910        programs {
10911            program { name: "show";
10912                signal: "elm,action,show";
10913                source: "elm";
10914                action: STATE_SET "visible" 0.0;
10915                target: "base";
10916            }
10917            program { name: "show_2";
10918                 signal: "show";
10919                 action: STATE_SET "default" 0.0;
10920                 target: "base";
10921                 after: "show_3";
10922            }
10923            program { name: "show_3";
10924                 signal: "show";
10925                 action: STATE_SET "visible" 0.0;
10926                 target: "base";
10927                 transition: LINEAR 0.5;
10928            }
10929            program { name: "hide";
10930                signal: "elm,action,hide";
10931                source: "elm";
10932                action: STATE_SET "default" 0.0;
10933                target: "base";
10934            }
10935        }
10936    }
10937    group { name: "elm/notify/center/default";
10938        //this group is a design similar to the inwin group
10939        images {
10940            image: "bt_dis_base.png" COMP;
10941        }
10942        parts {
10943            part { name: "base";
10944                type: RECT;
10945                mouse_events: 0;
10946                repeat_events: 1;
10947                description { state: "default" 0.0;
10948                    color: 0 0 0 0;
10949                    rel1.relative: 0.0 0.0;
10950                    rel2.relative: 1.0 1.0;
10951                }
10952            }
10953            part { name: "pop";
10954                mouse_events: 1;
10955                description { state: "default" 0.0;
10956                    rel1.to: "elm.swallow.content";
10957                    rel1.offset: -5 -5;
10958                    rel2.to: "elm.swallow.content";
10959                    rel2.offset: 4 4;
10960                    image {
10961                        normal: "bt_dis_base.png";
10962                        border: 4 4 4 4;
10963                    }
10964                }
10965            }
10966            part { name: "elm.swallow.content";
10967                type: SWALLOW;
10968                description { state: "default" 0.0;
10969                    rel1.to: "base";
10970                    rel2.to: "base";
10971                }
10972            }
10973        }
10974        programs {
10975            program { name: "show";
10976                signal: "elm,action,show";
10977                source: "elm";
10978                action: STATE_SET "default" 0.0;
10979                target: "base";
10980            }
10981            program { name: "show_2";
10982                 signal: "show";
10983                 action: STATE_SET "default" 0.0;
10984                 target: "base";
10985            }
10986            program { name: "hide";
10987                signal: "elm,action,hide";
10988                source: "elm";
10989                action: STATE_SET "default" 0.0;
10990                target: "base";
10991            }
10992        }
10993    }
10994    group { name: "elm/notify/bottom/default";
10995        //this group is a design similar to the inwin group
10996        images {
10997            image: "shad_circ.png" COMP;
10998            image: "bt_dis_base.png" COMP;
10999            image: "bt_dis_hilight.png" COMP;
11000        }
11001        parts {
11002            part { name: "base";
11003                type: RECT;
11004                mouse_events: 0;
11005                repeat_events: 1;
11006                description { state: "default" 0.0;
11007                    color: 0 0 0 0;
11008                    rel1.offset: 10 10;
11009                    rel2.offset: -10 -10;
11010                    rel1.relative: 0.0 1.0;
11011                    rel2.relative: 1.0 2.0;
11012                }
11013                description { state: "visible" 0.0;
11014                    inherit: "default" 0.0;
11015                    color: 0 0 0 64;
11016                    rel1.relative: 0.0 0.0;
11017                    rel2.relative: 1.0 1.0;
11018                }
11019            }
11020            part { name: "shad";
11021                mouse_events:  0;
11022                description { state: "default" 0.0;
11023                    image.normal: "shad_circ.png";
11024                    rel1.to: "elm.swallow.content";
11025                    rel1.offset: -64 -64;
11026                    rel2.to: "elm.swallow.content";
11027                    rel2.offset: 63 63;
11028                    fill.smooth: 0;
11029                }
11030            }
11031            part { name: "pop";
11032                mouse_events: 1;
11033                description { state: "default" 0.0;
11034                    rel1.to: "elm.swallow.content";
11035                    rel1.offset: -5 -5;
11036                    rel2.to: "elm.swallow.content";
11037                    rel2.offset: 4 4;
11038                    image {
11039                        normal: "bt_dis_base.png";
11040                        border: 4 4 4 4;
11041                    }
11042                    image.middle: SOLID;
11043                }
11044            }
11045            part { name: "popover";
11046                mouse_events: 0;
11047                description { state: "default" 0.0;
11048                    rel1.to: "pop";
11049                    rel2.to: "pop";
11050                    rel2.relative: 1.0 0.5;
11051                    image {
11052                        normal: "bt_dis_hilight.png";
11053                        border: 4 4 4 0;
11054                    }
11055                }
11056            }
11057            part { name: "elm.swallow.content";
11058                type: SWALLOW;
11059                description { state: "default" 0.0;
11060                    rel1.to: "base";
11061                    rel2.to: "base";
11062                }
11063            }
11064        }
11065        programs {
11066            program { name: "show";
11067                signal: "elm,action,show";
11068                source: "elm";
11069                action: STATE_SET "visible" 0.0;
11070                target: "base";
11071            }
11072            program { name: "show_2";
11073                 signal: "show";
11074                 action: STATE_SET "default" 0.0;
11075                 target: "base";
11076                 after: "show_3";
11077            }
11078            program { name: "show_3";
11079                 signal: "show";
11080                 action: STATE_SET "visible" 0.0;
11081                 target: "base";
11082                 transition: LINEAR 0.5;
11083            }
11084            program { name: "hide";
11085                signal: "elm,action,hide";
11086                source: "elm";
11087                action: STATE_SET "default" 0.0;
11088                target: "base";
11089            }
11090        }
11091    }
11092    group { name: "elm/notify/left/default";
11093        //this group is a design similar to the inwin group
11094        images {
11095            image: "shad_circ.png" COMP;
11096            image: "bt_dis_base.png" COMP;
11097            image: "bt_dis_hilight.png" COMP;
11098        }
11099        parts {
11100            part { name: "base";
11101                type: RECT;
11102                mouse_events: 0;
11103                repeat_events: 1;
11104                description { state: "default" 0.0;
11105                    color: 0 0 0 0;
11106                    rel1.offset: 10 10;
11107                    rel2.offset: -10 -10;
11108                    rel1.relative: -1.0 0.0;
11109                    rel2.relative: 0.0 1.0;
11110                }
11111                description { state: "visible" 0.0;
11112                    inherit: "default" 0.0;
11113                    color: 0 0 0 64;
11114                    rel1.relative: 0.0 0.0;
11115                    rel2.relative: 1.0 1.0;
11116                }
11117            }
11118            part { name: "shad";
11119                mouse_events:  0;
11120                description { state: "default" 0.0;
11121                    image.normal: "shad_circ.png";
11122                    rel1.to: "elm.swallow.content";
11123                    rel1.offset: -64 -64;
11124                    rel2.to: "elm.swallow.content";
11125                    rel2.offset: 63 63;
11126                    fill.smooth: 0;
11127                }
11128            }
11129            part { name: "pop";
11130                mouse_events: 1;
11131                description { state: "default" 0.0;
11132                    rel1.to: "elm.swallow.content";
11133                    rel1.offset: -5 -5;
11134                    rel2.to: "elm.swallow.content";
11135                    rel2.offset: 4 4;
11136                    image {
11137                        normal: "bt_dis_base.png";
11138                        border: 4 4 4 4;
11139                    }
11140                    image.middle: SOLID;
11141                }
11142            }
11143            part { name: "popover";
11144                mouse_events: 0;
11145                description { state: "default" 0.0;
11146                    rel1.to: "pop";
11147                    rel2.to: "pop";
11148                    rel2.relative: 1.0 0.5;
11149                    image {
11150                        normal: "bt_dis_hilight.png";
11151                        border: 4 4 4 0;
11152                    }
11153                }
11154            }
11155            part { name: "elm.swallow.content";
11156                type: SWALLOW;
11157                description { state: "default" 0.0;
11158                    rel1.to: "base";
11159                    rel2.to: "base";
11160                }
11161            }
11162        }
11163        programs {
11164            program { name: "show";
11165                signal: "elm,action,show";
11166                source: "elm";
11167                action: STATE_SET "visible" 0.0;
11168                target: "base";
11169            }
11170            program { name: "show_2";
11171                signal: "show";
11172                action: STATE_SET "default" 0.0;
11173                target: "base";
11174                after: "show_3";
11175            }
11176            program { name: "show_3";
11177                signal: "show";
11178                action: STATE_SET "visible" 0.0;
11179                target: "base";
11180                transition: LINEAR 0.5;
11181            }
11182            program { name: "hide";
11183                signal: "elm,action,hide";
11184                source: "elm";
11185                action: STATE_SET "default" 0.0;
11186                target: "base";
11187            }
11188        }
11189    }
11190    group { name: "elm/notify/right/default";
11191        //this group is a design similar to the inwin group
11192        images {
11193            image: "shad_circ.png" COMP;
11194            image: "bt_dis_base.png" COMP;
11195            image: "bt_dis_hilight.png" COMP;
11196        }
11197        parts {
11198            part { name: "base";
11199                type: RECT;
11200                mouse_events: 0;
11201                repeat_events: 1;
11202                 description { state: "default" 0.0;
11203                    color: 0 0 0 0;
11204                    rel1.offset: 10 10;
11205                    rel2.offset: -10 -10;
11206                    rel1.relative: 1.0 0.0;
11207                    rel2.relative: 2.0 1.0;
11208                }
11209                description { state: "visible" 0.0;
11210                    inherit: "default" 0.0;
11211                    color: 0 0 0 64;
11212                    rel1.relative: 0.0 0.0;
11213                    rel2.relative: 1.0 1.0;
11214                }
11215            }
11216            part { name: "shad";
11217                mouse_events:  0;
11218                description { state: "default" 0.0;
11219                    image.normal: "shad_circ.png";
11220                    rel1.to: "elm.swallow.content";
11221                    rel1.offset: -64 -64;
11222                    rel2.to: "elm.swallow.content";
11223                    rel2.offset: 63 63;
11224                    fill.smooth: 0;
11225                }
11226            }
11227            part { name: "pop";
11228                mouse_events: 1;
11229                description { state: "default" 0.0;
11230                    rel1.to: "elm.swallow.content";
11231                    rel1.offset: -5 -5;
11232                    rel2.to: "elm.swallow.content";
11233                    rel2.offset: 4 4;
11234                    image {
11235                        normal: "bt_dis_base.png";
11236                        border: 4 4 4 4;
11237                    }
11238                    image.middle: SOLID;
11239                }
11240            }
11241            part { name: "popover";
11242                mouse_events: 0;
11243                description { state: "default" 0.0;
11244                    rel1.to: "pop";
11245                    rel2.to: "pop";
11246                    rel2.relative: 1.0 0.5;
11247                    image {
11248                        normal: "bt_dis_hilight.png";
11249                        border: 4 4 4 0;
11250                    }
11251                }
11252            }
11253            part { name: "elm.swallow.content";
11254                type: SWALLOW;
11255                description { state: "default" 0.0;
11256                    rel1.to: "base";
11257                    rel2.to: "base";
11258                }
11259            }
11260        }
11261        programs {
11262            program { name: "show";
11263                signal: "elm,action,show";
11264                source: "elm";
11265                action: STATE_SET "visible" 0.0;
11266                target: "base";
11267            }
11268            program { name: "show_2";
11269                signal: "show";
11270                action: STATE_SET "default" 0.0;
11271                target: "base";
11272                after: "show_3";
11273            }
11274            program { name: "show_3";
11275                signal: "show";
11276                action: STATE_SET "visible" 0.0;
11277                target: "base";
11278                transition: LINEAR 0.5;
11279            }
11280            program { name: "hide";
11281                signal: "elm,action,hide";
11282                source: "elm";
11283                action: STATE_SET "default" 0.0;
11284                target: "base";
11285            }
11286        }
11287    }
11288    group { name: "elm/notify/top_left/default";
11289        //this group is a design similar to the inwin group
11290        images {
11291            image: "shad_circ.png" COMP;
11292            image: "bt_dis_base.png" COMP;
11293            image: "bt_dis_hilight.png" COMP;
11294        }
11295        parts {
11296            part { name: "base";
11297                type: RECT;
11298                mouse_events: 0;
11299                repeat_events: 1;
11300                 description { state: "default" 0.0;
11301                    color: 0 0 0 0;
11302                    rel1.offset: 10 10;
11303                    rel2.offset: -10 -10;
11304                    rel1.relative: 0.0 -1.0;
11305                    rel2.relative: 1.0 0.0;
11306                }
11307                description { state: "visible" 0.0;
11308                    inherit: "default" 0.0;
11309                    color: 0 0 0 64;
11310                    rel1.relative: 0.0 0.0;
11311                    rel2.relative: 1.0 1.0;
11312                }
11313            }
11314            part { name: "shad";
11315                mouse_events:  0;
11316                description { state: "default" 0.0;
11317                    image.normal: "shad_circ.png";
11318                    rel1.to: "elm.swallow.content";
11319                    rel1.offset: -64 -64;
11320                    rel2.to: "elm.swallow.content";
11321                    rel2.offset: 63 63;
11322                    fill.smooth: 0;
11323                }
11324            }
11325            part { name: "pop";
11326                mouse_events: 1;
11327                description { state: "default" 0.0;
11328                    rel1.to: "elm.swallow.content";
11329                    rel1.offset: -5 -5;
11330                    rel2.to: "elm.swallow.content";
11331                    rel2.offset: 4 4;
11332                    image {
11333                        normal: "bt_dis_base.png";
11334                        border: 4 4 4 4;
11335                    }
11336                    image.middle: SOLID;
11337                }
11338            }
11339            part { name: "popover";
11340                mouse_events: 0;
11341                description { state: "default" 0.0;
11342                    rel1.to: "pop";
11343                    rel2.to: "pop";
11344                    rel2.relative: 1.0 0.5;
11345                    image {
11346                        normal: "bt_dis_hilight.png";
11347                        border: 4 4 4 0;
11348                    }
11349                }
11350            }
11351            part { name: "elm.swallow.content";
11352                type: SWALLOW;
11353                description { state: "default" 0.0;
11354                    rel1.to: "base";
11355                    rel2.to: "base";
11356                }
11357            }
11358        }
11359        programs {
11360            program { name: "show";
11361                signal: "elm,action,show";
11362                source: "elm";
11363                action: STATE_SET "visible" 0.0;
11364                target: "base";
11365            }
11366            program { name: "show_2";
11367                signal: "show";
11368                action: STATE_SET "default" 0.0;
11369                target: "base";
11370                after: "show_3";
11371            }
11372            program { name: "show_3";
11373                signal: "show";
11374                action: STATE_SET "visible" 0.0;
11375                target: "base";
11376                transition: LINEAR 0.5;
11377            }
11378            program { name: "hide";
11379                signal: "elm,action,hide";
11380                source: "elm";
11381                action: STATE_SET "default" 0.0;
11382                target: "base";
11383            }
11384        }
11385    }
11386    group { name: "elm/notify/top_right/default";
11387        //this group is a design similar to the inwin group
11388        images {
11389            image: "shad_circ.png" COMP;
11390            image: "bt_dis_base.png" COMP;
11391            image: "bt_dis_hilight.png" COMP;
11392        }
11393        parts {
11394            part { name: "base";
11395                type: RECT;
11396                mouse_events: 0;
11397                repeat_events: 1;
11398                description { state: "default" 0.0;
11399                    color: 0 0 0 0;
11400                    rel1.offset: 10 10;
11401                    rel2.offset: -10 -10;
11402                    rel1.relative: 0.0 -1.0;
11403                    rel2.relative: 1.0 0.0;
11404                }
11405                description { state: "visible" 0.0;
11406                    inherit: "default" 0.0;
11407                    color: 0 0 0 64;
11408                    rel1.relative: 0.0 0.0;
11409                    rel2.relative: 1.0 1.0;
11410                }
11411            }
11412            part { name: "shad";
11413                mouse_events:  0;
11414                description { state: "default" 0.0;
11415                    image.normal: "shad_circ.png";
11416                    rel1.to: "elm.swallow.content";
11417                    rel1.offset: -64 -64;
11418                    rel2.to: "elm.swallow.content";
11419                    rel2.offset: 63 63;
11420                    fill.smooth: 0;
11421                }
11422            }
11423            part { name: "pop";
11424                mouse_events: 1;
11425                description { state: "default" 0.0;
11426                    rel1.to: "elm.swallow.content";
11427                    rel1.offset: -5 -5;
11428                    rel2.to: "elm.swallow.content";
11429                    rel2.offset: 4 4;
11430                    image {
11431                        normal: "bt_dis_base.png";
11432                        border: 4 4 4 4;
11433                    }
11434                    image.middle: SOLID;
11435                }
11436            }
11437            part { name: "popover";
11438                mouse_events: 0;
11439                description { state: "default" 0.0;
11440                    rel1.to: "pop";
11441                    rel2.to: "pop";
11442                    rel2.relative: 1.0 0.5;
11443                    image {
11444                        normal: "bt_dis_hilight.png";
11445                        border: 4 4 4 0;
11446                    }
11447                }
11448            }
11449            part { name: "elm.swallow.content";
11450                type: SWALLOW;
11451                description { state: "default" 0.0;
11452                    rel1.to: "base";
11453                    rel2.to: "base";
11454                }
11455            }
11456        }
11457        programs {
11458            program { name: "show";
11459                signal: "elm,action,show";
11460                source: "elm";
11461                action: STATE_SET "visible" 0.0;
11462                target: "base";
11463            }
11464            program { name: "show_2";
11465                signal: "show";
11466                action: STATE_SET "default" 0.0;
11467                target: "base";
11468                after: "show_3";
11469            }
11470            program { name: "show_3";
11471                signal: "show";
11472                action: STATE_SET "visible" 0.0;
11473                target: "base";
11474                transition: LINEAR 0.5;
11475            }
11476            program { name: "hide";
11477                signal: "elm,action,hide";
11478                source: "elm";
11479                action: STATE_SET "default" 0.0;
11480                target: "base";
11481            }
11482        }
11483    }
11484    group { name: "elm/notify/bottom_left/default";
11485        //this group is a design similar to the inwin group
11486        images {
11487            image: "shad_circ.png" COMP;
11488            image: "bt_dis_base.png" COMP;
11489            image: "bt_dis_hilight.png" COMP;
11490        }
11491        parts {
11492            part { name: "base";
11493                type: RECT;
11494                mouse_events: 0;
11495                repeat_events: 1;
11496                description { state: "default" 0.0;
11497                    color: 0 0 0 0;
11498                    rel1.offset: 10 10;
11499                    rel2.offset: -10 -10;
11500                    rel1.relative: 0.0 1.0;
11501                    rel2.relative: 1.0 2.0;
11502                }
11503                description { state: "visible" 0.0;
11504                    inherit: "default" 0.0;
11505                    color: 0 0 0 64;
11506                    rel1.relative: 0.0 0.0;
11507                    rel2.relative: 1.0 1.0;
11508                }
11509            }
11510            part { name: "shad";
11511                mouse_events:  0;
11512                description { state: "default" 0.0;
11513                    image.normal: "shad_circ.png";
11514                    rel1.to: "elm.swallow.content";
11515                    rel1.offset: -64 -64;
11516                    rel2.to: "elm.swallow.content";
11517                    rel2.offset: 63 63;
11518                    fill.smooth: 0;
11519                }
11520            }
11521            part { name: "pop";
11522                mouse_events: 1;
11523                description { state: "default" 0.0;
11524                    rel1.to: "elm.swallow.content";
11525                    rel1.offset: -5 -5;
11526                    rel2.to: "elm.swallow.content";
11527                    rel2.offset: 4 4;
11528                    image {
11529                        normal: "bt_dis_base.png";
11530                        border: 4 4 4 4;
11531                    }
11532                    image.middle: SOLID;
11533                }
11534            }
11535            part { name: "popover";
11536                mouse_events: 0;
11537                description { state: "default" 0.0;
11538                    rel1.to: "pop";
11539                    rel2.to: "pop";
11540                    rel2.relative: 1.0 0.5;
11541                    image {
11542                        normal: "bt_dis_hilight.png";
11543                        border: 4 4 4 0;
11544                    }
11545                }
11546            }
11547            part { name: "elm.swallow.content";
11548                type: SWALLOW;
11549                description { state: "default" 0.0;
11550                    rel1.to: "base";
11551                    rel2.to: "base";
11552                }
11553            }
11554        }
11555        programs {
11556            program { name: "show";
11557                signal: "elm,action,show";
11558                source: "elm";
11559                action: STATE_SET "visible" 0.0;
11560                target: "base";
11561            }
11562            program { name: "show_2";
11563                signal: "show";
11564                action: STATE_SET "default" 0.0;
11565                target: "base";
11566                after: "show_3";
11567            }
11568            program { name: "show_3";
11569                signal: "show";
11570                action: STATE_SET "visible" 0.0;
11571                target: "base";
11572                transition: LINEAR 0.5;
11573            }
11574            program { name: "hide";
11575                signal: "elm,action,hide";
11576                source: "elm";
11577                action: STATE_SET "default" 0.0;
11578                target: "base";
11579            }
11580        }
11581    }
11582    group { name: "elm/notify/bottom_right/default";
11583        //this group is a design similar to the inwin group
11584        images {
11585            image: "shad_circ.png" COMP;
11586            image: "bt_dis_base.png" COMP;
11587            image: "bt_dis_hilight.png" COMP;
11588        }
11589        parts {
11590            part { name: "base";
11591                type: RECT;
11592                mouse_events: 0;
11593                repeat_events: 1;
11594               description { state: "default" 0.0;
11595                    color: 0 0 0 0;
11596                    rel1.offset: 10 10;
11597                    rel2.offset: -10 -10;
11598                    rel1.relative: 0.0 1.0;
11599                    rel2.relative: 1.0 2.0;
11600                }
11601                description { state: "visible" 0.0;
11602                    inherit: "default" 0.0;
11603                    color: 0 0 0 64;
11604                    rel1.relative: 0.0 0.0;
11605                    rel2.relative: 1.0 1.0;
11606                }
11607            }
11608            part { name: "shad";
11609                mouse_events:  0;
11610                description { state: "default" 0.0;
11611                    image.normal: "shad_circ.png";
11612                    rel1.to: "elm.swallow.content";
11613                    rel1.offset: -64 -64;
11614                    rel2.to: "elm.swallow.content";
11615                    rel2.offset: 63 63;
11616                    fill.smooth: 0;
11617                }
11618            }
11619            part { name: "pop";
11620                mouse_events: 1;
11621                description { state: "default" 0.0;
11622                    rel1.to: "elm.swallow.content";
11623                    rel1.offset: -5 -5;
11624                    rel2.to: "elm.swallow.content";
11625                    rel2.offset: 4 4;
11626                    image {
11627                        normal: "bt_dis_base.png";
11628                        border: 4 4 4 4;
11629                    }
11630                    image.middle: SOLID;
11631                }
11632            }
11633            part { name: "popover";
11634                mouse_events: 0;
11635                description { state: "default" 0.0;
11636                    rel1.to: "pop";
11637                    rel2.to: "pop";
11638                    rel2.relative: 1.0 0.5;
11639                    image {
11640                        normal: "bt_dis_hilight.png";
11641                        border: 4 4 4 0;
11642                    }
11643                }
11644            }
11645            part { name: "elm.swallow.content";
11646                type: SWALLOW;
11647                description { state: "default" 0.0;
11648                    rel1.to: "base";
11649                    rel2.to: "base";
11650                }
11651            }
11652        }
11653        programs {
11654            program { name: "show";
11655                signal: "elm,action,show";
11656                source: "elm";
11657                action: STATE_SET "visible" 0.0;
11658                target: "base";
11659            }
11660            program { name: "show_2";
11661                signal: "show";
11662                action: STATE_SET "default" 0.0;
11663                target: "base";
11664                after: "show_3";
11665            }
11666            program { name: "show_3";
11667                signal: "show";
11668                action: STATE_SET "visible" 0.0;
11669                target: "base";
11670                transition: LINEAR 0.5;
11671            }
11672            program { name: "hide";
11673                signal: "elm,action,hide";
11674                source: "elm";
11675                action: STATE_SET "default" 0.0;
11676                target: "base";
11677            }
11678        }
11679    }
11680
11681 ///////////////////////////////////////////////////////////////////////////////
11682    group { name: "elm/slideshow/base/default";
11683       data {
11684          item: transitions "fade black_fade horizontal vertical square";
11685          item: layouts "fullscreen not_fullscreen";
11686       }
11687       parts {
11688          part { name: "whole";
11689                  type: RECT;
11690             description {
11691                state: "default" 0.0;
11692                visible: 1;
11693                color: 20 20 20 255;
11694             }
11695          }
11696          part { name: "image_1_whole";
11697             description {
11698                state: "default" 0.0;
11699                color: 255 255 255 255;
11700             }
11701             description {
11702                state: "fade_prev_next" 0.0;
11703                inherit: "default" 0.0;
11704                color: 255 255 255 0;
11705             }
11706             description {
11707                state: "black_fade_prev_next_init" 0.0;
11708                inherit: "default" 0.0;
11709                color: 255 255 255 255;
11710             }
11711             description {
11712                state: "black_fade_prev_next" 0.0;
11713                inherit: "default" 0.0;
11714                color: 0 0 0 255;
11715             }
11716             description {
11717                state: "horizontal_next_init" 0.0;
11718                inherit: "default" 0.0;
11719             }
11720             description {
11721                state: "horizontal_next" 0.0;
11722                inherit: "default" 0.0;
11723                rel1.relative: -1.0 0.0;
11724                rel2.relative: 0.0 1.0;
11725             }
11726             description {
11727                state: "horizontal_prev_init" 0.0;
11728                inherit: "default" 0.0;
11729             }
11730             description {
11731                state: "horizontal_prev" 0.0;
11732                inherit: "default" 0.0;
11733                rel1.relative: 1.0 0.0;
11734                rel2.relative: 2.0 1.0;
11735             }
11736             description {
11737                state: "vertical_next_init" 0.0;
11738                inherit: "default" 0.0;
11739             }
11740             description {
11741                state: "vertical_next" 0.0;
11742                inherit: "default" 0.0;
11743                rel1.relative: 0.0 -1.0;
11744                rel2.relative: 1.0 0.0;
11745             }
11746             description {
11747                state: "vertical_prev_init" 0.0;
11748                inherit: "default" 0.0;
11749             }
11750             description {
11751                state: "vertical_prev" 0.0;
11752                inherit: "default" 0.0;
11753                rel1.relative: 0.0 1.0;
11754                rel2.relative: 1.0 2.0;
11755             }
11756             description {
11757                state: "square_prev_next" 0.0;
11758                inherit: "default" 0.0;
11759                color: 255 255 255 0;
11760             }
11761          }
11762          part { name: "image_2_whole";
11763             description {
11764                state: "default" 0.0;
11765                visible: 1;
11766                color: 255 255 255 0;
11767             }
11768             description {
11769                state: "fade_prev_next" 0.0;
11770                inherit: "default" 0.0;
11771                color: 255 255 255 255;
11772             }
11773             description {
11774                state: "black_fade_prev_next_init" 0.0;
11775                inherit: "default" 0.0;
11776                color: 0 0 0 0;
11777             }
11778             description {
11779                state: "black_fade_prev_next" 0.0;
11780                inherit: "default" 0.0;
11781                color: 255 255 255 255;
11782             }
11783             description {
11784                state: "horizontal_next_init" 0.0;
11785                inherit: "default" 0.0;
11786                rel1.relative: 1.0 0.0;
11787                rel2.relative: 2.0 1.0;
11788                color: 255 255 255 255;
11789             }
11790             description {
11791                state: "horizontal_next" 0.0;
11792                inherit: "default" 0.0;
11793                color: 255 255 255 255;
11794             }
11795             description {
11796                state: "horizontal_prev_init" 0.0;
11797                inherit: "default" 0.0;
11798                rel1.relative: -1.0 0.0;
11799                rel2.relative: 0.0 1.0;
11800                color: 255 255 255 255;
11801             }
11802             description {
11803                state: "horizontal_prev" 0.0;
11804                inherit: "default" 0.0;
11805                color: 255 255 255 255;
11806             }
11807             description {
11808                state: "vertical_next_init" 0.0;
11809                inherit: "default" 0.0;
11810                rel1.relative: 0.0 1.0;
11811                rel2.relative: 1.0 2.0;
11812                color: 255 255 255 255;
11813             }
11814             description {
11815                state: "vertical_next" 0.0;
11816                inherit: "default" 0.0;
11817                color: 255 255 255 255;
11818             }
11819             description {
11820                state: "vertical_prev_init" 0.0;
11821                inherit: "default" 0.0;
11822                rel1.relative: 0.0 -1.0;
11823                rel2.relative: 1.0 0.0;
11824                color: 255 255 255 255;
11825             }
11826             description {
11827                state: "vertical_prev" 0.0;
11828                inherit: "default" 0.0;
11829                color: 255 255 255 255;
11830             }
11831             description {
11832                state: "square_prev_next_init" 0.0;
11833                inherit: "default" 0.0;
11834                rel1.relative: 0.5 0.5;
11835                rel2.relative: 0.5 0.5;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "square_prev_next" 0.0;
11840                inherit: "default" 0.0;
11841                rel1.relative: 0.0 0.0;
11842                rel2.relative: 1.0 1.0;
11843                color: 255 255 255 255;
11844             }
11845          }
11846          part { name: "elm.swallow.1";
11847             type: SWALLOW;
11848             clip_to: "image_1_whole";
11849             description {
11850                state: "default" 0.0;
11851                rel1.to: "image_1_whole";
11852                rel2.to: "image_1_whole";
11853                color: 255 255 255 255;
11854             }
11855             description {
11856                state: "not_fullscreen" 0.0;
11857                rel1.relative: 0.1 0.1;
11858                rel1.to: "image_1_whole";
11859                rel2.relative: 0.9 0.9;
11860                rel2.to: "image_1_whole";
11861                color: 255 255 255 255;
11862             }
11863          }
11864          part { name: "elm.swallow.2";
11865             type: SWALLOW;
11866             clip_to: "image_2_whole";
11867             description {
11868                state: "default" 0.0;
11869                color: 255 255 255 255;
11870                rel1.to: "image_2_whole";
11871                rel2.to: "image_2_whole";
11872             }
11873             description {
11874                state: "not_fullscreen" 0.0;
11875                color: 255 255 255 255;
11876                rel1.relative: 0.1 0.1;
11877                rel1.to: "image_2_whole";
11878                rel2.relative: 0.9 0.9;
11879                rel2.to: "image_2_whole";
11880             }
11881          }
11882          part { name: "events_catcher";
11883             type: RECT;
11884             repeat_events: 1;
11885             description {
11886                state: "default" 0.0;
11887                visible: 1;
11888                color: 0 0 0 0;
11889             }
11890          }
11891       }
11892       programs {
11893               //Substyle
11894               program { name: "layout_fullscreen";
11895             signal: "layout,fullscreen";
11896             source: "slideshow";
11897             action: STATE_SET "default" 0.0;
11898             target: "elm.swallow.1";
11899             target: "elm.swallow.2";
11900             transition: SINUSOIDAL 1.0;
11901         }
11902         program { name: "layout_not_fullscreen";
11903             signal: "layout,not_fullscreen";
11904             source: "slideshow";
11905             action: STATE_SET "not_fullscreen" 0.0;
11906             target: "elm.swallow.1";
11907             target: "elm.swallow.2";
11908             transition: SINUSOIDAL 1.0;
11909          }
11910                //
11911          program { name: "fade_next";
11912             signal: "fade,next";
11913             source: "slideshow";
11914             action: STATE_SET "default" 0.0;
11915             target: "image_1_whole";
11916             target: "image_2_whole";
11917             after: "fade_next_2";
11918          }
11919          program { name: "fade_next_2";
11920             action: STATE_SET "fade_prev_next" 0.0;
11921             target: "image_1_whole";
11922             target: "image_2_whole";
11923             transition: SINUSOIDAL 1.5;
11924             after: "end";
11925          }
11926          program { name: "fade_previous";
11927             signal: "fade,previous";
11928             source: "slideshow";
11929             action: STATE_SET "default" 0.0;
11930             target: "image_1_whole";
11931             target: "image_2_whole";
11932             after: "fade_previous_2";
11933          }
11934          program { name: "fade_previous_2";
11935             action: STATE_SET "fade_prev_next" 0.0;
11936             target: "image_1_whole";
11937             target: "image_2_whole";
11938             transition: SINUSOIDAL 1.5;
11939             after: "end";
11940          }
11941          program { name: "black_fade_next";
11942             signal: "black_fade,next";
11943             source: "slideshow";
11944             action: STATE_SET "black_fade_prev_next_init" 0.0;
11945             target: "image_1_whole";
11946             target: "image_2_whole";
11947             after: "black_fade_next_2";
11948          }
11949          program { name: "black_fade_next_2";
11950             action: STATE_SET "black_fade_prev_next" 0.0;
11951             target: "image_1_whole";
11952             transition: SINUSOIDAL 0.75;
11953             after: "black_fade_next_3";
11954          }
11955          program { name: "black_fade_next_3";
11956             action: STATE_SET "black_fade_prev_next" 0.0;
11957             target: "image_2_whole";
11958             transition: SINUSOIDAL 0.75;
11959             after: "end";
11960          }
11961          program { name: "black_fade_previous";
11962             signal: "black_fade,previous";
11963             source: "slideshow";
11964             action: STATE_SET "black_fade_prev_next_init" 0.0;
11965             target: "image_1_whole";
11966             target: "image_2_whole";
11967             after: "black_fade_previous_2";
11968          }
11969          program { name: "black_fade_previous_2";
11970             action: STATE_SET "black_fade_prev_next" 0.0;
11971             target: "image_1_whole";
11972             transition: SINUSOIDAL 0.75;
11973             after: "black_fade_previous_3";
11974          }
11975          program { name: "black_fade_previous_3";
11976             action: STATE_SET "black_fade_prev_next" 0.0;
11977             target: "image_2_whole";
11978             transition: SINUSOIDAL 0.75;
11979             after: "end";
11980          }
11981          program { name: "horizontal_next";
11982             signal: "horizontal,next";
11983             source: "slideshow";
11984             action: STATE_SET "horizontal_next_init" 0.0;
11985             target: "image_1_whole";
11986             target: "image_2_whole";
11987             after: "horizontal_next_2";
11988          }
11989          program { name: "horizontal_next_2";
11990             action: STATE_SET "horizontal_next" 0.0;
11991             target: "image_1_whole";
11992             target: "image_2_whole";
11993             transition: SINUSOIDAL 1.5;
11994             after: "end";
11995          }
11996          program { name: "horizontal_previous";
11997             signal: "horizontal,previous";
11998             source: "slideshow";
11999             action: STATE_SET "horizontal_prev_init" 0.0;
12000             target: "image_1_whole";
12001             target: "image_2_whole";
12002             after: "horizontal_previous_2";
12003          }
12004          program { name: "horizontal_previous_2";
12005             action: STATE_SET "horizontal_prev" 0.0;
12006             target: "image_1_whole";
12007             target: "image_2_whole";
12008             transition: SINUSOIDAL 1.5;
12009             after: "end";
12010          }
12011          program { name: "vertical_next";
12012             signal: "vertical,next";
12013             source: "slideshow";
12014             action: STATE_SET "vertical_next_init" 0.0;
12015             target: "image_1_whole";
12016             target: "image_2_whole";
12017             after: "vertical_next_2";
12018          }
12019          program { name: "vertical_next_2";
12020             action: STATE_SET "vertical_next" 0.0;
12021             target: "image_1_whole";
12022             target: "image_2_whole";
12023             transition: SINUSOIDAL 1.5;
12024             after: "end";
12025          }
12026          program { name: "vertical_previous";
12027             signal: "vertical,previous";
12028             source: "slideshow";
12029             action: STATE_SET "vertical_prev_init" 0.0;
12030             target: "image_1_whole";
12031             target: "image_2_whole";
12032             after: "vertical_previous_2";
12033          }
12034          program { name: "vertical_previous_2";
12035             action: STATE_SET "vertical_prev" 0.0;
12036             target: "image_1_whole";
12037             target: "image_2_whole";
12038             transition: SINUSOIDAL 1.5;
12039             after: "end";
12040          }
12041          program { name: "square_next";
12042             signal: "square,next";
12043             source: "slideshow";
12044             action: STATE_SET "square_prev_next_init" 0.0;
12045             target: "image_2_whole";
12046             after: "square_next_2";
12047          }
12048          program { name: "square_next_2";
12049             action: STATE_SET "square_prev_next" 0.0;
12050             target: "image_2_whole";
12051             target: "image_1_whole";
12052             transition: SINUSOIDAL 1.5;
12053             after: "end";
12054          }
12055          program { name: "square_previous";
12056             signal: "square,previous";
12057             source: "slideshow";
12058             action: STATE_SET "square_prev_next_init" 0.0;
12059             target: "image_2_whole";
12060             after: "square_next_2";
12061          }
12062          program { name: "end";
12063             action: SIGNAL_EMIT "end" "slideshow";
12064          }
12065          program { name: "end_signal";
12066             signal: "anim,end";
12067             source: "slideshow";
12068             action: STATE_SET "default" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071          }
12072       }
12073    }
12074
12075 ///////////////////////////////////////////////////////////////////////////////
12076    group { name: "elm/win/inwin/default";
12077       images {
12078          image: "shad_circ.png" COMP;
12079          image: "bt_dis_base.png" COMP;
12080          image: "bt_dis_hilight.png" COMP;
12081       }
12082       parts {
12083          part { name: "base";
12084             type: RECT;
12085             mouse_events: 1;
12086             description { state: "default" 0.0;
12087                color: 0 0 0 0;
12088             }
12089             description { state: "visible" 0.0;
12090                inherit: "default" 1.0;
12091                color: 0 0 0 64;
12092             }
12093          }
12094          part { name: "shad";
12095             mouse_events:  0;
12096             description { state: "default" 0.0;
12097                image.normal: "shad_circ.png";
12098                rel1.to: "elm.swallow.content";
12099                rel1.offset: -64 -64;
12100                rel2.to: "elm.swallow.content";
12101                rel2.offset: 63 63;
12102                fill.smooth: 0;
12103             }
12104          }
12105          part { name: "pop";
12106             mouse_events: 1;
12107             description { state: "default" 0.0;
12108                rel1.to: "elm.swallow.content";
12109                rel1.offset: -5 -5;
12110                rel2.to: "elm.swallow.content";
12111                rel2.offset: 4 4;
12112                image {
12113                   normal: "bt_dis_base.png";
12114                   border: 4 4 4 4;
12115                }
12116                image.middle: SOLID;
12117             }
12118          }
12119          part { name: "popover";
12120             mouse_events: 0;
12121             description { state: "default" 0.0;
12122                rel1.to: "pop";
12123                rel2.to: "pop";
12124                rel2.relative: 1.0 0.5;
12125                image {
12126                   normal: "bt_dis_hilight.png";
12127                   border: 4 4 4 0;
12128                }
12129             }
12130          }
12131          part { name: "elm.swallow.content";
12132             type: SWALLOW;
12133             description { state: "default" 0.0;
12134                rel1.relative: 0.1 0.1;
12135                rel2.relative: 0.9 0.9;
12136             }
12137          }
12138       }
12139       programs {
12140          program { name: "show";
12141             signal: "elm,action,show";
12142             source: "elm";
12143             action: STATE_SET "visible" 0.0;
12144 //            transition: DECELERATE 0.5;
12145             target: "base";
12146          }
12147          program { name: "hide";
12148             signal: "elm,action,hide";
12149             source: "elm";
12150             action: STATE_SET "default" 0.0;
12151 //            transition: DECELERATE 0.5;
12152             target: "base";
12153          }
12154       }
12155    }
12156
12157    group { name: "elm/win/inwin/minimal";
12158       images {
12159          image: "shad_circ.png" COMP;
12160          image: "bt_dis_base.png" COMP;
12161          image: "bt_dis_hilight.png" COMP;
12162       }
12163       parts {
12164          part { name: "base";
12165             type: RECT;
12166             mouse_events: 1;
12167             description { state: "default" 0.0;
12168                color: 0 0 0 0;
12169             }
12170             description { state: "visible" 0.0;
12171                inherit: "default" 1.0;
12172                color: 0 0 0 64;
12173             }
12174          }
12175          part { name: "shad";
12176             mouse_events:  0;
12177             description { state: "default" 0.0;
12178                image.normal: "shad_circ.png";
12179                rel1.to: "elm.swallow.content";
12180                rel1.offset: -64 -64;
12181                rel2.to: "elm.swallow.content";
12182                rel2.offset: 63 63;
12183                fill.smooth: 0;
12184             }
12185          }
12186          part { name: "pop";
12187             mouse_events: 1;
12188             description { state: "default" 0.0;
12189                rel1.to: "elm.swallow.content";
12190                rel1.offset: -5 -5;
12191                rel2.to: "elm.swallow.content";
12192                rel2.offset: 4 4;
12193                image {
12194                   normal: "bt_dis_base.png";
12195                   border: 4 4 4 4;
12196                }
12197                image.middle: SOLID;
12198             }
12199          }
12200          part { name: "popover";
12201             mouse_events: 0;
12202             description { state: "default" 0.0;
12203                rel1.to: "pop";
12204                rel2.to: "pop";
12205                rel2.relative: 1.0 0.5;
12206                image {
12207                   normal: "bt_dis_hilight.png";
12208                   border: 4 4 4 0;
12209                }
12210             }
12211          }
12212          part { name: "elm.swallow.content";
12213             type: SWALLOW;
12214             description { state: "default" 0.0;
12215                fixed: 1 1;
12216                rel1.relative: 0.5 0.5;
12217                rel2.relative: 0.5 0.5;
12218             }
12219          }
12220       }
12221       programs {
12222          program { name: "show";
12223             signal: "elm,action,show";
12224             source: "elm";
12225             action: STATE_SET "visible" 0.0;
12226 //            transition: DECELERATE 0.5;
12227             target: "base";
12228          }
12229          program { name: "hide";
12230             signal: "elm,action,hide";
12231             source: "elm";
12232             action: STATE_SET "default" 0.0;
12233 //            transition: DECELERATE 0.5;
12234             target: "base";
12235          }
12236       }
12237    }
12238
12239    group { name: "elm/win/inwin/minimal_vertical";
12240       images {
12241          image: "shad_circ.png" COMP;
12242          image: "bt_dis_base.png" COMP;
12243          image: "bt_dis_hilight.png" COMP;
12244       }
12245       parts {
12246          part { name: "base";
12247             type: RECT;
12248             mouse_events: 1;
12249             description { state: "default" 0.0;
12250                color: 0 0 0 0;
12251             }
12252             description { state: "visible" 0.0;
12253                inherit: "default" 1.0;
12254                color: 0 0 0 64;
12255             }
12256          }
12257          part { name: "shad";
12258             mouse_events:  0;
12259             description { state: "default" 0.0;
12260                image.normal: "shad_circ.png";
12261                rel1.to: "elm.swallow.content";
12262                rel1.offset: -64 -64;
12263                rel2.to: "elm.swallow.content";
12264                rel2.offset: 63 63;
12265                fill.smooth: 0;
12266             }
12267          }
12268          part { name: "pop";
12269             mouse_events: 1;
12270             description { state: "default" 0.0;
12271                rel1.to: "elm.swallow.content";
12272                rel1.offset: -5 -5;
12273                rel2.to: "elm.swallow.content";
12274                rel2.offset: 4 4;
12275                image {
12276                   normal: "bt_dis_base.png";
12277                   border: 4 4 4 4;
12278                }
12279                image.middle: SOLID;
12280             }
12281          }
12282          part { name: "popover";
12283             mouse_events: 0;
12284             description { state: "default" 0.0;
12285                rel1.to: "pop";
12286                rel2.to: "pop";
12287                rel2.relative: 1.0 0.5;
12288                image {
12289                   normal: "bt_dis_hilight.png";
12290                   border: 4 4 4 0;
12291                }
12292             }
12293          }
12294          part { name: "elm.swallow.content";
12295             type: SWALLOW;
12296             description { state: "default" 0.0;
12297                fixed: 1 1;
12298                rel1.relative: 0.1 0.5;
12299                rel2.relative: 0.9 0.5;
12300             }
12301          }
12302       }
12303       programs {
12304          program { name: "show";
12305             signal: "elm,action,show";
12306             source: "elm";
12307             action: STATE_SET "visible" 0.0;
12308 //            transition: DECELERATE 0.5;
12309             target: "base";
12310          }
12311          program { name: "hide";
12312             signal: "elm,action,hide";
12313             source: "elm";
12314             action: STATE_SET "default" 0.0;
12315 //            transition: DECELERATE 0.5;
12316             target: "base";
12317          }
12318       }
12319    }
12320
12321 ///////////////////////////////////////////////////////////////////////////////
12322
12323 ///////////////////////////////////////////////////////////////////////////////
12324    group { name: "elm/list/item/default";
12325       data.item: "stacking" "above";
12326       images {
12327          image: "bt_sm_base1.png" COMP;
12328          image: "bt_sm_shine.png" COMP;
12329          image: "bt_sm_hilight.png" COMP;
12330          image: "ilist_1.png" COMP;
12331          image: "ilist_item_shadow.png" COMP;
12332       }
12333       parts {
12334          part {
12335             name:           "event";
12336             type:           RECT;
12337             repeat_events: 1;
12338             description {
12339                state: "default" 0.0;
12340                color: 0 0 0 0;
12341             }
12342          }
12343          part {
12344             name: "base_sh";
12345             mouse_events: 0;
12346             description {
12347                state: "default" 0.0;
12348                align: 0.0 0.0;
12349                min: 0 10;
12350                fixed: 1 1;
12351                rel1 {
12352                   to: "base";
12353                   relative: 0.0 1.0;
12354                   offset: 0 0;
12355                }
12356                rel2 {
12357                   to: "base";
12358                   relative: 1.0 1.0;
12359                   offset: -1 0;
12360                }
12361                image {
12362                   normal: "ilist_item_shadow.png";
12363                }
12364                fill.smooth: 0;
12365             }
12366          }
12367          part {
12368             name: "base";
12369             mouse_events: 0;
12370             description {
12371                state: "default" 0.0;
12372                image {
12373                   normal: "ilist_1.png";
12374                   border: 2 2 2 2;
12375                }
12376                fill.smooth: 0;
12377             }
12378          }
12379          part { name: "bg";
12380             mouse_events: 0;
12381             description { state: "default" 0.0;
12382                visible: 0;
12383                color: 255 255 255 0;
12384                rel1 {
12385                   relative: 0.0 0.0;
12386                   offset: -5 -5;
12387                }
12388                rel2 {
12389                   relative: 1.0 1.0;
12390                   offset: 4 4;
12391                }
12392                image {
12393                   normal: "bt_sm_base1.png";
12394                   border: 6 6 6 6;
12395                }
12396                image.middle: SOLID;
12397             }
12398             description { state: "selected" 0.0;
12399                inherit: "default" 0.0;
12400                visible: 1;
12401                color: 255 255 255 255;
12402                rel1 {
12403                   relative: 0.0 0.0;
12404                   offset: -2 -2;
12405                }
12406                rel2 {
12407                   relative: 1.0 1.0;
12408                   offset: 1 1;
12409                }
12410             }
12411          }
12412          part { name: "elm.swallow.icon";
12413             type: SWALLOW;
12414             description { state: "default" 0.0;
12415                fixed: 1 0;
12416                align: 0.0 0.5;
12417                rel1 {
12418                   relative: 0.0  0.0;
12419                   offset:   4    4;
12420                }
12421                rel2 {
12422                   relative: 0.0  1.0;
12423                   offset:   4   -5;
12424                }
12425             }
12426          }
12427          part { name: "elm.swallow.end";
12428             type: SWALLOW;
12429             description { state: "default" 0.0;
12430                fixed: 1 0;
12431                align: 1.0 0.5;
12432                rel1 {
12433                   relative: 1.0  0.0;
12434                   offset:   -5    4;
12435                }
12436                rel2 {
12437                   relative: 1.0  1.0;
12438                   offset:   -5   -5;
12439                }
12440             }
12441          }
12442          part { name: "elm.text";
12443             type:           TEXT;
12444             effect:         SOFT_SHADOW;
12445             mouse_events:   0;
12446             scale: 1;
12447             description {
12448                state: "default" 0.0;
12449 //               min: 16 16;
12450                rel1 {
12451                   to_x:     "elm.swallow.icon";
12452                   relative: 1.0  0.0;
12453                   offset:   4 4;
12454                }
12455                rel2 {
12456                   to_x:     "elm.swallow.end";
12457                   relative: 0.0  1.0;
12458                   offset:   -1 -5;
12459                }
12460                color: 0 0 0 255;
12461                color3: 0 0 0 0;
12462                text {
12463                   font: "Sans";
12464                   size: 10;
12465                   min: 1 1;
12466 //                  min: 0 1;
12467                   align: -1.0 0.5;
12468                   text_class: "list_item";
12469                }
12470             }
12471             description { state: "selected" 0.0;
12472                inherit: "default" 0.0;
12473                color: 224 224 224 255;
12474                color3: 0 0 0 64;
12475             }
12476          }
12477          part { name: "fg1";
12478             mouse_events: 0;
12479             description { state: "default" 0.0;
12480                visible: 0;
12481                color: 255 255 255 0;
12482                rel1.to: "bg";
12483                rel2.relative: 1.0 0.5;
12484                rel2.to: "bg";
12485                image {
12486                   normal: "bt_sm_hilight.png";
12487                   border: 6 6 6 0;
12488                }
12489             }
12490             description { state: "selected" 0.0;
12491                inherit: "default" 0.0;
12492                visible: 1;
12493                color: 255 255 255 255;
12494             }
12495          }
12496          part { name: "fg2";
12497             mouse_events: 0;
12498             description { state: "default" 0.0;
12499                visible: 0;
12500                color: 255 255 255 0;
12501                rel1.to: "bg";
12502                rel2.to: "bg";
12503                image {
12504                   normal: "bt_sm_shine.png";
12505                   border: 6 6 6 0;
12506                }
12507             }
12508             description { state: "selected" 0.0;
12509                inherit: "default" 0.0;
12510                visible: 1;
12511                color: 255 255 255 255;
12512             }
12513          }
12514       }
12515       programs {
12516          program {
12517             name:    "go_active";
12518             signal:  "elm,state,selected";
12519             source:  "elm";
12520             action:  STATE_SET "selected" 0.0;
12521             target:  "bg";
12522             target:  "fg1";
12523             target:  "fg2";
12524             target:  "elm.text";
12525          }
12526          program {
12527             name:    "go_passive";
12528             signal:  "elm,state,unselected";
12529             source:  "elm";
12530             action:  STATE_SET "default" 0.0;
12531             target:  "bg";
12532             target:  "fg1";
12533             target:  "fg2";
12534             target:  "elm.text";
12535             transition: LINEAR 0.1;
12536          }
12537       }
12538    }
12539    group { name: "elm/list/item_odd/default";
12540       data.item: "stacking" "below";
12541       data.item: "selectraise" "on";
12542       images {
12543          image: "bt_sm_base1.png" COMP;
12544          image: "bt_sm_shine.png" COMP;
12545          image: "bt_sm_hilight.png" COMP;
12546          image: "ilist_2.png" COMP;
12547       }
12548       parts {
12549          part {
12550             name:           "event";
12551             type:           RECT;
12552             repeat_events: 1;
12553             description {
12554                state: "default" 0.0;
12555                color: 0 0 0 0;
12556             }
12557          }
12558          part {
12559             name: "base";
12560             mouse_events: 0;
12561             description {
12562                state: "default" 0.0;
12563                image {
12564                   normal: "ilist_2.png";
12565                   border: 2 2 2 2;
12566                }
12567                fill.smooth: 0;
12568             }
12569          }
12570          part { name: "bg";
12571             mouse_events: 0;
12572             description { state: "default" 0.0;
12573                visible: 0;
12574                color: 255 255 255 0;
12575                rel1 {
12576                   relative: 0.0 0.0;
12577                   offset: -5 -5;
12578                }
12579                rel2 {
12580                   relative: 1.0 1.0;
12581                   offset: 4 4;
12582                }
12583                image {
12584                   normal: "bt_sm_base1.png";
12585                   border: 6 6 6 6;
12586                }
12587                image.middle: SOLID;
12588             }
12589             description { state: "selected" 0.0;
12590                inherit: "default" 0.0;
12591                visible: 1;
12592                color: 255 255 255 255;
12593                rel1 {
12594                   relative: 0.0 0.0;
12595                   offset: -2 -2;
12596                }
12597                rel2 {
12598                   relative: 1.0 1.0;
12599                   offset: 1 1;
12600                }
12601             }
12602          }
12603          part {
12604             name:          "elm.swallow.icon";
12605             type:          SWALLOW;
12606             description { state:    "default" 0.0;
12607                fixed: 1 0;
12608                align:    0.0 0.5;
12609                rel1 {
12610                   relative: 0.0  0.0;
12611                   offset:   4    4;
12612                }
12613                rel2 {
12614                   relative: 0.0  1.0;
12615                   offset:   4   -5;
12616                }
12617             }
12618          }
12619          part {
12620             name:          "elm.swallow.end";
12621             type:          SWALLOW;
12622             description { state:    "default" 0.0;
12623                fixed: 1 0;
12624                align: 1.0 0.5;
12625                rel1 {
12626                   relative: 1.0  0.0;
12627                   offset:   -5    4;
12628                }
12629                rel2 {
12630                   relative: 1.0  1.0;
12631                   offset:   -5   -5;
12632                }
12633             }
12634          }
12635          part {
12636             name:           "elm.text";
12637             type:           TEXT;
12638             effect:         SOFT_SHADOW;
12639             mouse_events:   0;
12640             scale: 1;
12641             description {
12642                state: "default" 0.0;
12643 //               min:      16 16;
12644                rel1 {
12645                   to_x:     "elm.swallow.icon";
12646                   relative: 1.0  0.0;
12647                   offset:   4 4;
12648                }
12649                rel2 {
12650                   to_x:     "elm.swallow.end";
12651                   relative: 0.0  1.0;
12652                   offset:   -1 -5;
12653                }
12654                color: 0 0 0 255;
12655                color3: 0 0 0 0;
12656                text {
12657                   font: "Sans";
12658                   size: 10;
12659                   min: 1 1;
12660 //                  min: 0 1;
12661                   align: -1.0 0.5;
12662                   text_class: "list_item";
12663                }
12664             }
12665             description { state: "selected" 0.0;
12666                inherit: "default" 0.0;
12667                color: 224 224 224 255;
12668                color3: 0 0 0 64;
12669             }
12670          }
12671          part { name: "fg1";
12672             mouse_events: 0;
12673             description { state: "default" 0.0;
12674                visible: 0;
12675                color: 255 255 255 0;
12676                rel1.to: "bg";
12677                rel2.relative: 1.0 0.5;
12678                rel2.to: "bg";
12679                image {
12680                   normal: "bt_sm_hilight.png";
12681                   border: 6 6 6 0;
12682                }
12683             }
12684             description { state: "selected" 0.0;
12685                inherit: "default" 0.0;
12686                visible: 1;
12687                color: 255 255 255 255;
12688             }
12689          }
12690          part { name: "fg2";
12691             mouse_events: 0;
12692             description { state: "default" 0.0;
12693                visible: 0;
12694                color: 255 255 255 0;
12695                rel1.to: "bg";
12696                rel2.to: "bg";
12697                image {
12698                   normal: "bt_sm_shine.png";
12699                   border: 6 6 6 0;
12700                }
12701             }
12702             description { state: "selected" 0.0;
12703                inherit: "default" 0.0;
12704                visible: 1;
12705                color: 255 255 255 255;
12706             }
12707          }
12708       }
12709       programs {
12710          program {
12711             name:    "go_active";
12712             signal:  "elm,state,selected";
12713             source:  "elm";
12714             action:  STATE_SET "selected" 0.0;
12715             target:  "bg";
12716             target:  "fg1";
12717             target:  "fg2";
12718             target:  "elm.text";
12719          }
12720          program {
12721             name:    "go_passive";
12722             signal:  "elm,state,unselected";
12723             source:  "elm";
12724             action:  STATE_SET "default" 0.0;
12725             target:  "bg";
12726             target:  "fg1";
12727             target:  "fg2";
12728             target:  "elm.text";
12729             transition: LINEAR 0.1;
12730          }
12731       }
12732    }
12733    group { name: "elm/list/item_compress/default";
12734       data.item: "stacking" "above";
12735       data.item: "selectraise" "on";
12736       images {
12737          image: "bt_sm_base1.png" COMP;
12738          image: "bt_sm_shine.png" COMP;
12739          image: "bt_sm_hilight.png" COMP;
12740          image: "ilist_1.png" COMP;
12741          image: "ilist_item_shadow.png" COMP;
12742       }
12743       parts {
12744          part {
12745             name:           "event";
12746             type:           RECT;
12747             repeat_events: 1;
12748             description {
12749                state: "default" 0.0;
12750                color: 0 0 0 0;
12751             }
12752          }
12753          part {
12754             name: "base_sh";
12755             mouse_events: 0;
12756             description { state: "default" 0.0;
12757                fixed: 1 1;
12758                align: 0.0 0.0;
12759                min: 0 10;
12760                rel1 {
12761                   to: "base";
12762                   relative: 0.0 1.0;
12763                   offset: 0 0;
12764                }
12765                rel2 {
12766                   to: "base";
12767                   relative: 1.0 1.0;
12768                   offset: -1 0;
12769                }
12770                image {
12771                   normal: "ilist_item_shadow.png";
12772                }
12773                fill.smooth: 0;
12774             }
12775          }
12776          part {
12777             name: "base";
12778             mouse_events: 0;
12779             description {
12780                state: "default" 0.0;
12781                image {
12782                   normal: "ilist_1.png";
12783                   border: 2 2 2 2;
12784                }
12785                fill.smooth: 0;
12786             }
12787          }
12788          part { name: "bg";
12789             mouse_events: 0;
12790             description { state: "default" 0.0;
12791                visible: 0;
12792                color: 255 255 255 0;
12793                rel1 {
12794                   relative: 0.0 0.0;
12795                   offset: -5 -5;
12796                }
12797                rel2 {
12798                   relative: 1.0 1.0;
12799                   offset: 4 4;
12800                }
12801                image {
12802                   normal: "bt_sm_base1.png";
12803                   border: 6 6 6 6;
12804                }
12805                image.middle: SOLID;
12806             }
12807             description { state: "selected" 0.0;
12808                inherit: "default" 0.0;
12809                visible: 1;
12810                color: 255 255 255 255;
12811                rel1 {
12812                   relative: 0.0 0.0;
12813                   offset: -2 -2;
12814                }
12815                rel2 {
12816                   relative: 1.0 1.0;
12817                   offset: 1 1;
12818                }
12819             }
12820          }
12821          part { name:          "elm.swallow.icon";
12822             type:          SWALLOW;
12823             description { state:    "default" 0.0;
12824                fixed: 1 0;
12825                align:    0.0 0.5;
12826                rel1 {
12827                   relative: 0.0  0.0;
12828                   offset:   4    4;
12829                }
12830                rel2 {
12831                   relative: 0.0  1.0;
12832                   offset:   4   -5;
12833                }
12834             }
12835          }
12836          part { name:          "elm.swallow.end";
12837             type:          SWALLOW;
12838             description { state:    "default" 0.0;
12839                fixed: 1 0;
12840                align:    1.0 0.5;
12841                rel1 {
12842                   relative: 1.0  0.0;
12843                   offset:   -5    4;
12844                }
12845                rel2 {
12846                   relative: 1.0  1.0;
12847                   offset:   -5   -5;
12848                }
12849             }
12850          }
12851          part {
12852             name:           "elm.text";
12853             type:           TEXT;
12854             effect:         SOFT_SHADOW;
12855             mouse_events:   0;
12856             scale: 1;
12857             description { state: "default" 0.0;
12858 //               min:      16 16;
12859                rel1 {
12860                   to_x:     "elm.swallow.icon";
12861                   relative: 1.0  0.0;
12862                   offset:   4 4;
12863                }
12864                rel2 {
12865                   to_x:     "elm.swallow.end";
12866                   relative: 0.0  1.0;
12867                   offset:   -1 -5;
12868                }
12869                color: 0 0 0 255;
12870                color3: 0 0 0 0;
12871                text {
12872                   font: "Sans";
12873                   size: 10;
12874 //                  min: 1 1;
12875                   min: 0 1;
12876                   align: 0.0 0.5;
12877                   text_class: "list_item";
12878                }
12879             }
12880             description { state: "selected" 0.0;
12881                inherit: "default" 0.0;
12882                color: 224 224 224 255;
12883                color3: 0 0 0 64;
12884             }
12885          }
12886          part { name: "fg1";
12887             mouse_events: 0;
12888             description { state: "default" 0.0;
12889                visible: 0;
12890                color: 255 255 255 0;
12891                rel1.to: "bg";
12892                rel2.relative: 1.0 0.5;
12893                rel2.to: "bg";
12894                image {
12895                   normal: "bt_sm_hilight.png";
12896                   border: 6 6 6 0;
12897                }
12898             }
12899             description { state: "selected" 0.0;
12900                inherit: "default" 0.0;
12901                visible: 1;
12902                color: 255 255 255 255;
12903             }
12904          }
12905          part { name: "fg2";
12906             mouse_events: 0;
12907             description { state: "default" 0.0;
12908                visible: 0;
12909                color: 255 255 255 0;
12910                rel1.to: "bg";
12911                rel2.to: "bg";
12912                image {
12913                   normal: "bt_sm_shine.png";
12914                   border: 6 6 6 0;
12915                }
12916             }
12917             description { state: "selected" 0.0;
12918                inherit: "default" 0.0;
12919                visible: 1;
12920                color: 255 255 255 255;
12921             }
12922          }
12923       }
12924       programs {
12925          program {
12926             name:    "go_active";
12927             signal:  "elm,state,selected";
12928             source:  "elm";
12929             action:  STATE_SET "selected" 0.0;
12930             target:  "bg";
12931             target:  "fg1";
12932             target:  "fg2";
12933             target:  "elm.text";
12934          }
12935          program {
12936             name:    "go_passive";
12937             signal:  "elm,state,unselected";
12938             source:  "elm";
12939             action:  STATE_SET "default" 0.0;
12940             target:  "bg";
12941             target:  "fg1";
12942             target:  "fg2";
12943             target:  "elm.text";
12944             transition: LINEAR 0.1;
12945          }
12946       }
12947    }
12948    group { name: "elm/list/item_compress_odd/default";
12949       data.item: "stacking" "below";
12950       data.item: "selectraise" "on";
12951       images {
12952          image: "bt_sm_base1.png" COMP;
12953          image: "bt_sm_shine.png" COMP;
12954          image: "bt_sm_hilight.png" COMP;
12955          image: "ilist_2.png" COMP;
12956       }
12957       parts {
12958          part {
12959             name:           "event";
12960             type:           RECT;
12961             repeat_events: 1;
12962             description {
12963                state: "default" 0.0;
12964                color: 0 0 0 0;
12965             }
12966          }
12967          part {
12968             name: "base";
12969             mouse_events: 0;
12970             description {
12971                state: "default" 0.0;
12972                image {
12973                   normal: "ilist_2.png";
12974                   border: 2 2 2 2;
12975                }
12976                fill.smooth: 0;
12977             }
12978          }
12979          part { name: "bg";
12980             mouse_events: 0;
12981             description { state: "default" 0.0;
12982                visible: 0;
12983                color: 255 255 255 0;
12984                rel1 {
12985                   relative: 0.0 0.0;
12986                   offset: -5 -5;
12987                }
12988                rel2 {
12989                   relative: 1.0 1.0;
12990                   offset: 4 4;
12991                }
12992                image {
12993                   normal: "bt_sm_base1.png";
12994                   border: 6 6 6 6;
12995                }
12996                image.middle: SOLID;
12997             }
12998             description { state: "selected" 0.0;
12999                inherit: "default" 0.0;
13000                visible: 1;
13001                color: 255 255 255 255;
13002                rel1 {
13003                   relative: 0.0 0.0;
13004                   offset: -2 -2;
13005                }
13006                rel2 {
13007                   relative: 1.0 1.0;
13008                   offset: 1 1;
13009                }
13010             }
13011          }
13012          part { name:          "elm.swallow.icon";
13013             type:          SWALLOW;
13014             description { state:    "default" 0.0;
13015                fixed: 1 0;
13016                align:    0.0 0.5;
13017                rel1 {
13018                   relative: 0.0  0.0;
13019                   offset:   4    4;
13020                }
13021                rel2 {
13022                   relative: 0.0  1.0;
13023                   offset:   4   -5;
13024                }
13025             }
13026          }
13027          part { name:          "elm.swallow.end";
13028             type:          SWALLOW;
13029             description { state:    "default" 0.0;
13030                fixed: 1 0;
13031                align:    1.0 0.5;
13032                rel1 {
13033                   relative: 1.0  0.0;
13034                   offset:   -5    4;
13035                }
13036                rel2 {
13037                   relative: 1.0  1.0;
13038                   offset:   -5   -5;
13039                }
13040             }
13041          }
13042          part {
13043             name:           "elm.text";
13044             type:           TEXT;
13045             effect:         SOFT_SHADOW;
13046             mouse_events:   0;
13047             scale: 1;
13048             description {
13049                state: "default" 0.0;
13050 //               min:      16 16;
13051                rel1 {
13052                   to_x:     "elm.swallow.icon";
13053                   relative: 1.0  0.0;
13054                   offset:   4 4;
13055                }
13056                rel2 {
13057                   to_x:     "elm.swallow.end";
13058                   relative: 0.0  1.0;
13059                   offset:   -1 -5;
13060                }
13061                color: 0 0 0 255;
13062                color3: 0 0 0 0;
13063                text {
13064                   font: "Sans";
13065                   size: 10;
13066 //                  min: 1 1;
13067                   min: 0 1;
13068                   align: 0.0 0.5;
13069                   text_class: "list_item";
13070                }
13071             }
13072             description { state: "selected" 0.0;
13073                inherit: "default" 0.0;
13074                color: 224 224 224 255;
13075                color3: 0 0 0 64;
13076             }
13077          }
13078          part { name: "fg1";
13079             mouse_events: 0;
13080             description { state: "default" 0.0;
13081                visible: 0;
13082                color: 255 255 255 0;
13083                rel1.to: "bg";
13084                rel2.relative: 1.0 0.5;
13085                rel2.to: "bg";
13086                image {
13087                   normal: "bt_sm_hilight.png";
13088                   border: 6 6 6 0;
13089                }
13090             }
13091             description { state: "selected" 0.0;
13092                inherit: "default" 0.0;
13093                visible: 1;
13094                color: 255 255 255 255;
13095             }
13096          }
13097          part { name: "fg2";
13098             mouse_events: 0;
13099             description { state: "default" 0.0;
13100                visible: 0;
13101                color: 255 255 255 0;
13102                rel1.to: "bg";
13103                rel2.to: "bg";
13104                image {
13105                   normal: "bt_sm_shine.png";
13106                   border: 6 6 6 0;
13107                }
13108             }
13109             description { state: "selected" 0.0;
13110                inherit: "default" 0.0;
13111                visible: 1;
13112                color: 255 255 255 255;
13113             }
13114          }
13115       }
13116       programs {
13117          program {
13118             name:    "go_active";
13119             signal:  "elm,state,selected";
13120             source:  "elm";
13121             action:  STATE_SET "selected" 0.0;
13122             target:  "bg";
13123             target:  "fg1";
13124             target:  "fg2";
13125             target:  "elm.text";
13126          }
13127          program {
13128             name:    "go_passive";
13129             signal:  "elm,state,unselected";
13130             source:  "elm";
13131             action:  STATE_SET "default" 0.0;
13132             target:  "bg";
13133             target:  "fg1";
13134             target:  "fg2";
13135             target:  "elm.text";
13136             transition: LINEAR 0.1;
13137          }
13138       }
13139    }
13140
13141 ///////////////////////////////////////////////////////////////////////////////
13142    group { name: "elm/list/h_item/default";
13143       data.item: "stacking" "above";
13144       images {
13145          image: "bt_sm_base1.png" COMP;
13146          image: "bt_sm_shine.png" COMP;
13147          image: "bt_sm_hilight.png" COMP;
13148          image: "ilist_1_h.png" COMP;
13149          image: "ilist_item_shadow_h.png" COMP;
13150       }
13151       parts {
13152          part {
13153             name: "event";
13154             type: RECT;
13155             repeat_events: 1;
13156             description {
13157                state: "default" 0.0;
13158                color: 0 0 0 0;
13159             }
13160          }
13161          part {
13162             name: "base_sh";
13163             mouse_events: 0;
13164             description {
13165                state: "default" 0.0;
13166                align: 0.0 0.0;
13167                min: 10 0;
13168                fixed: 1 1;
13169                rel1 {
13170                   to: "base";
13171                   relative: 1.0 0.0;
13172                   offset: 0 0;
13173                }
13174                rel2 {
13175                   to: "base";
13176                   relative: 1.0 1.0;
13177                   offset: 0 -1;
13178                }
13179                image {
13180                   normal: "ilist_item_shadow_h.png";
13181                }
13182                fill.smooth: 0;
13183             }
13184          }
13185          part {
13186             name: "base";
13187             mouse_events: 0;
13188             description {
13189                state: "default" 0.0;
13190                image {
13191                   normal: "ilist_1_h.png";
13192                   border: 2 2 2 2;
13193                }
13194                fill.smooth: 0;
13195             }
13196          }
13197          part { name: "bg";
13198             mouse_events: 0;
13199             description { state: "default" 0.0;
13200                visible: 0;
13201                color: 255 255 255 0;
13202                rel1 {
13203                   relative: 0.0 0.0;
13204                   offset: -5 -5;
13205                }
13206                rel2 {
13207                   relative: 1.0 1.0;
13208                   offset: 4 4;
13209                }
13210                image {
13211                   normal: "bt_sm_base1.png";
13212                   border: 6 6 6 6;
13213                }
13214                image.middle: SOLID;
13215             }
13216             description { state: "selected" 0.0;
13217                inherit: "default" 0.0;
13218                visible: 1;
13219                color: 255 255 255 255;
13220                rel1 {
13221                   relative: 0.0 0.0;
13222                   offset: -2 -2;
13223                }
13224                rel2 {
13225                   relative: 1.0 1.0;
13226                   offset: 1 1;
13227                }
13228             }
13229          }
13230          part { name: "elm.swallow.icon";
13231             type: SWALLOW;
13232             description { state: "default" 0.0;
13233                fixed: 0 1;
13234                align: 0.5 0.0;
13235                rel1 {
13236                   relative: 0.0 0.0;
13237                   offset: 4 4;
13238                }
13239                rel2 {
13240                   relative: 1.0 0.0;
13241                   offset: -5 4;
13242                }
13243             }
13244          }
13245          part { name: "elm.swallow.end";
13246             type: SWALLOW;
13247             description { state: "default" 0.0;
13248                fixed: 0 1;
13249                align: 0.5 1.0;
13250                rel1 {
13251                   relative: 0.0 1.0;
13252                   offset: 4 -5;
13253                }
13254                rel2 {
13255                   relative: 1.0 1.0;
13256                   offset: -5 -5;
13257                }
13258             }
13259          }
13260          part { name: "elm.text";
13261             type: TEXT;
13262             effect: SOFT_SHADOW;
13263             mouse_events: 0;
13264             scale: 1;
13265             description {
13266                state: "default" 0.0;
13267                fixed: 0 1;
13268                rel1 {
13269                   to_x: "elm.swallow.icon";
13270                   relative: 0.0 1.0;
13271                   offset: 4 4;
13272                }
13273                rel2 {
13274                   to_x: "elm.swallow.end";
13275                   relative: 1.0 0.0;
13276                   offset: -5 -1;
13277                }
13278                color: 0 0 0 255;
13279                color3: 0 0 0 0;
13280                text {
13281                   font: "Sans";
13282                   size: 10;
13283                   min: 1 1;
13284                   align: 0.5 0.5;
13285                   text_class: "list_item";
13286                }
13287             }
13288             description { state: "selected" 0.0;
13289                inherit: "default" 0.0;
13290                color: 224 224 224 255;
13291                color3: 0 0 0 64;
13292             }
13293          }
13294          part { name: "fg1";
13295             mouse_events: 0;
13296             description { state: "default" 0.0;
13297                visible: 0;
13298                color: 255 255 255 0;
13299                rel1.to: "bg";
13300                rel2.relative: 1.0 0.5;
13301                rel2.to: "bg";
13302                image {
13303                   normal: "bt_sm_hilight.png";
13304                   border: 6 6 6 0;
13305                }
13306             }
13307             description { state: "selected" 0.0;
13308                inherit: "default" 0.0;
13309                visible: 1;
13310                color: 255 255 255 255;
13311             }
13312          }
13313          part { name: "fg2";
13314             mouse_events: 0;
13315             description { state: "default" 0.0;
13316                visible: 0;
13317                color: 255 255 255 0;
13318                rel1.to: "bg";
13319                rel2.to: "bg";
13320                image {
13321                   normal: "bt_sm_shine.png";
13322                   border: 6 6 6 0;
13323                }
13324             }
13325             description { state: "selected" 0.0;
13326                inherit: "default" 0.0;
13327                visible: 1;
13328                color: 255 255 255 255;
13329             }
13330          }
13331       }
13332       programs {
13333          program {
13334             name: "go_active";
13335             signal: "elm,state,selected";
13336             source: "elm";
13337             action: STATE_SET "selected" 0.0;
13338             target: "bg";
13339             target: "fg1";
13340             target: "fg2";
13341             target: "elm.text";
13342          }
13343          program {
13344             name: "go_passive";
13345             signal: "elm,state,unselected";
13346             source: "elm";
13347             action: STATE_SET "default" 0.0;
13348             target: "bg";
13349             target: "fg1";
13350             target: "fg2";
13351             target: "elm.text";
13352             transition: LINEAR 0.1;
13353          }
13354       }
13355    }
13356    group { name: "elm/list/h_item_odd/default";
13357       data.item: "stacking" "below";
13358       data.item: "selectraise" "on";
13359       images {
13360          image: "bt_sm_base1.png" COMP;
13361          image: "bt_sm_shine.png" COMP;
13362          image: "bt_sm_hilight.png" COMP;
13363          image: "ilist_2_h.png" COMP;
13364       }
13365       parts {
13366          part {
13367             name: "event";
13368             type: RECT;
13369             repeat_events: 1;
13370             description {
13371                state: "default" 0.0;
13372                color: 0 0 0 0;
13373             }
13374          }
13375          part {
13376             name: "base";
13377             mouse_events: 0;
13378             description {
13379                state: "default" 0.0;
13380                image {
13381                   normal: "ilist_2_h.png";
13382                   border: 2 2 2 2;
13383                }
13384                fill.smooth: 0;
13385             }
13386          }
13387          part { name: "bg";
13388             mouse_events: 0;
13389             description { state: "default" 0.0;
13390                visible: 0;
13391                color: 255 255 255 0;
13392                rel1 {
13393                   relative: 0.0 0.0;
13394                   offset: -5 -5;
13395                }
13396                rel2 {
13397                   relative: 1.0 1.0;
13398                   offset: 4 4;
13399                }
13400                image {
13401                   normal: "bt_sm_base1.png";
13402                   border: 6 6 6 6;
13403                }
13404                image.middle: SOLID;
13405             }
13406             description { state: "selected" 0.0;
13407                inherit: "default" 0.0;
13408                visible: 1;
13409                color: 255 255 255 255;
13410                rel1 {
13411                   relative: 0.0 0.0;
13412                   offset: -2 -2;
13413                }
13414                rel2 {
13415                   relative: 1.0 1.0;
13416                   offset: 1 1;
13417                }
13418             }
13419          }
13420          part {
13421             name: "elm.swallow.icon";
13422             type: SWALLOW;
13423             description { state: "default" 0.0;
13424                fixed: 0 1;
13425                align: 0.5 0.0;
13426                rel1 {
13427                   relative: 0.0 0.0;
13428                   offset: 4 4;
13429                }
13430                rel2 {
13431                   relative: 1.0 0.0;
13432                   offset: -5 4;
13433                }
13434             }
13435          }
13436          part {
13437             name: "elm.swallow.end";
13438             type: SWALLOW;
13439             description { state: "default" 0.0;
13440                fixed: 0 1;
13441                align: 0.5 1.0;
13442                rel1 {
13443                   relative: 0.0 1.0;
13444                   offset: 4 -5;
13445                }
13446                rel2 {
13447                   relative: 1.0 1.0;
13448                   offset: -5 -5;
13449                }
13450             }
13451          }
13452          part { name: "elm.text";
13453             type: TEXT;
13454             effect: SOFT_SHADOW;
13455             mouse_events: 0;
13456             scale: 1;
13457             description {
13458                state: "default" 0.0;
13459                fixed: 1 1;
13460                rel1 {
13461                   to_x: "elm.swallow.icon";
13462                   relative: 0.0 1.0;
13463                   offset: 4 4;
13464                }
13465                rel2 {
13466                   to_x: "elm.swallow.end";
13467                   relative: 1.0 0.0;
13468                   offset: -5 -1;
13469                }
13470                color: 0 0 0 255;
13471                color3: 0 0 0 0;
13472                text {
13473                   font: "Sans";
13474                   size: 10;
13475                   min: 1 1;
13476                   align: 0.5 0.5;
13477                   text_class: "list_item";
13478                }
13479             }
13480             description { state: "selected" 0.0;
13481                inherit: "default" 0.0;
13482                color: 224 224 224 255;
13483                color3: 0 0 0 64;
13484             }
13485          }
13486          part { name: "fg1";
13487             mouse_events: 0;
13488             description { state: "default" 0.0;
13489                visible: 0;
13490                color: 255 255 255 0;
13491                rel1.to: "bg";
13492                rel2.relative: 1.0 0.5;
13493                rel2.to: "bg";
13494                image {
13495                   normal: "bt_sm_hilight.png";
13496                   border: 6 6 6 0;
13497                }
13498             }
13499             description { state: "selected" 0.0;
13500                inherit: "default" 0.0;
13501                visible: 1;
13502                color: 255 255 255 255;
13503             }
13504          }
13505          part { name: "fg2";
13506             mouse_events: 0;
13507             description { state: "default" 0.0;
13508                visible: 0;
13509                color: 255 255 255 0;
13510                rel1.to: "bg";
13511                rel2.to: "bg";
13512                image {
13513                   normal: "bt_sm_shine.png";
13514                   border: 6 6 6 0;
13515                }
13516             }
13517             description { state: "selected" 0.0;
13518                inherit: "default" 0.0;
13519                visible: 1;
13520                color: 255 255 255 255;
13521             }
13522          }
13523       }
13524       programs {
13525          program {
13526             name: "go_active";
13527             signal: "elm,state,selected";
13528             source: "elm";
13529             action: STATE_SET "selected" 0.0;
13530             target: "bg";
13531             target: "fg1";
13532             target: "fg2";
13533             target: "elm.text";
13534          }
13535          program {
13536             name: "go_passive";
13537             signal: "elm,state,unselected";
13538             source: "elm";
13539             action: STATE_SET "default" 0.0;
13540             target: "bg";
13541             target: "fg1";
13542             target: "fg2";
13543             target: "elm.text";
13544             transition: LINEAR 0.1;
13545          }
13546       }
13547    }
13548    group { name: "elm/list/h_item_compress/default";
13549       data.item: "stacking" "above";
13550       data.item: "selectraise" "on";
13551       images {
13552          image: "bt_sm_base1.png" COMP;
13553          image: "bt_sm_shine.png" COMP;
13554          image: "bt_sm_hilight.png" COMP;
13555          image: "ilist_1_h.png" COMP;
13556          image: "ilist_item_shadow_h.png" COMP;
13557       }
13558       parts {
13559          part {
13560             name: "event";
13561             type: RECT;
13562             repeat_events: 1;
13563             description {
13564                state: "default" 0.0;
13565                color: 0 0 0 0;
13566             }
13567          }
13568          part {
13569             name: "base_sh";
13570             mouse_events: 0;
13571             description { state: "default" 0.0;
13572                fixed: 1 1;
13573                align: 0.0 0.0;
13574                min: 10 0;
13575                rel1 {
13576                   to: "base";
13577                   relative: 1.0 0.0;
13578                   offset: 0 0;
13579                }
13580                rel2 {
13581                   to: "base";
13582                   relative: 1.0 1.0;
13583                   offset: 0 -1;
13584                }
13585                image {
13586                   normal: "ilist_item_shadow_h.png";
13587                }
13588                fill.smooth: 0;
13589             }
13590          }
13591          part {
13592             name: "base";
13593             mouse_events: 0;
13594             description {
13595                state: "default" 0.0;
13596                image {
13597                   normal: "ilist_1_h.png";
13598                   border: 2 2 2 2;
13599                }
13600                fill.smooth: 0;
13601             }
13602          }
13603          part { name: "bg";
13604             mouse_events: 0;
13605             description { state: "default" 0.0;
13606                visible: 0;
13607                color: 255 255 255 0;
13608                rel1 {
13609                   relative: 0.0 0.0;
13610                   offset: -5 -5;
13611                }
13612                rel2 {
13613                   relative: 1.0 1.0;
13614                   offset: 4 4;
13615                }
13616                image {
13617                   normal: "bt_sm_base1.png";
13618                   border: 6 6 6 6;
13619                }
13620                image.middle: SOLID;
13621             }
13622             description { state: "selected" 0.0;
13623                inherit: "default" 0.0;
13624                visible: 1;
13625                color: 255 255 255 255;
13626                rel1 {
13627                   relative: 0.0 0.0;
13628                   offset: -2 -2;
13629                }
13630                rel2 {
13631                   relative: 1.0 1.0;
13632                   offset: 1 1;
13633                }
13634             }
13635          }
13636          part { name: "elm.swallow.icon";
13637             type: SWALLOW;
13638             description { state: "default" 0.0;
13639                fixed: 0 1;
13640                align: 0.5 0.0;
13641                rel1 {
13642                   relative: 0.0 0.0;
13643                   offset: 4 4;
13644                }
13645                rel2 {
13646                   relative: 1.0 0.0;
13647                   offset: -5 4;
13648                }
13649             }
13650          }
13651          part { name: "elm.swallow.end";
13652             type: SWALLOW;
13653             description { state: "default" 0.0;
13654                fixed: 0 1;
13655                align: 0.5 1.0;
13656                rel1 {
13657                   relative: 0.0 1.0;
13658                   offset: 4 -5;
13659                }
13660                rel2 {
13661                   relative: 1.0 1.0;
13662                   offset: -5 -5;
13663                }
13664             }
13665          }
13666          part {
13667             name: "elm.text";
13668             type: TEXT;
13669             effect: SOFT_SHADOW;
13670             mouse_events: 0;
13671             scale: 1;
13672             description { state: "default" 0.0;
13673                fixed: 1 1;
13674                rel1 {
13675                   to_x: "elm.swallow.icon";
13676                   relative: 0.0 1.0;
13677                   offset: 4 4;
13678                }
13679                rel2 {
13680                   to_x: "elm.swallow.end";
13681                   relative: 1.0 0.0;
13682                   offset: -5 -1;
13683                }
13684                color: 0 0 0 255;
13685                color3: 0 0 0 0;
13686                text {
13687                   font: "Sans";
13688                   size: 10;
13689                   min: 1 1;
13690                   align: 0.5 0.5;
13691                   text_class: "list_item";
13692                }
13693             }
13694             description { state: "selected" 0.0;
13695                inherit: "default" 0.0;
13696                color: 224 224 224 255;
13697                color3: 0 0 0 64;
13698             }
13699          }
13700          part { name: "fg1";
13701             mouse_events: 0;
13702             description { state: "default" 0.0;
13703                visible: 0;
13704                color: 255 255 255 0;
13705                rel1.to: "bg";
13706                rel2.relative: 1.0 0.5;
13707                rel2.to: "bg";
13708                image {
13709                   normal: "bt_sm_hilight.png";
13710                   border: 6 6 6 0;
13711                }
13712             }
13713             description { state: "selected" 0.0;
13714                inherit: "default" 0.0;
13715                visible: 1;
13716                color: 255 255 255 255;
13717             }
13718          }
13719          part { name: "fg2";
13720             mouse_events: 0;
13721             description { state: "default" 0.0;
13722                visible: 0;
13723                color: 255 255 255 0;
13724                rel1.to: "bg";
13725                rel2.to: "bg";
13726                image {
13727                   normal: "bt_sm_shine.png";
13728                   border: 6 6 6 0;
13729                }
13730             }
13731             description { state: "selected" 0.0;
13732                inherit: "default" 0.0;
13733                visible: 1;
13734                color: 255 255 255 255;
13735             }
13736          }
13737       }
13738       programs {
13739          program {
13740             name: "go_active";
13741             signal: "elm,state,selected";
13742             source: "elm";
13743             action: STATE_SET "selected" 0.0;
13744             target: "bg";
13745             target: "fg1";
13746             target: "fg2";
13747             target: "elm.text";
13748          }
13749          program {
13750             name: "go_passive";
13751             signal: "elm,state,unselected";
13752             source: "elm";
13753             action: STATE_SET "default" 0.0;
13754             target: "bg";
13755             target: "fg1";
13756             target: "fg2";
13757             target: "elm.text";
13758             transition: LINEAR 0.1;
13759          }
13760       }
13761    }
13762    group { name: "elm/list/h_item_compress_odd/default";
13763       data.item: "stacking" "below";
13764       data.item: "selectraise" "on";
13765       images {
13766          image: "bt_sm_base1.png" COMP;
13767          image: "bt_sm_shine.png" COMP;
13768          image: "bt_sm_hilight.png" COMP;
13769          image: "ilist_2_h.png" COMP;
13770       }
13771       parts {
13772          part {
13773             name: "event";
13774             type: RECT;
13775             repeat_events: 1;
13776             description {
13777                state: "default" 0.0;
13778                color: 0 0 0 0;
13779             }
13780          }
13781          part {
13782             name: "base";
13783             mouse_events: 0;
13784             description {
13785                state: "default" 0.0;
13786                image {
13787                   normal: "ilist_2_h.png";
13788                   border: 2 2 2 2;
13789                }
13790                fill.smooth: 0;
13791             }
13792          }
13793          part { name: "bg";
13794             mouse_events: 0;
13795             description { state: "default" 0.0;
13796                visible: 0;
13797                color: 255 255 255 0;
13798                rel1 {
13799                   relative: 0.0 0.0;
13800                   offset: -5 -5;
13801                }
13802                rel2 {
13803                   relative: 1.0 1.0;
13804                   offset: 4 4;
13805                }
13806                image {
13807                   normal: "bt_sm_base1.png";
13808                   border: 6 6 6 6;
13809                }
13810                image.middle: SOLID;
13811             }
13812             description { state: "selected" 0.0;
13813                inherit: "default" 0.0;
13814                visible: 1;
13815                color: 255 255 255 255;
13816                rel1 {
13817                   relative: 0.0 0.0;
13818                   offset: -2 -2;
13819                }
13820                rel2 {
13821                   relative: 1.0 1.0;
13822                   offset: 1 1;
13823                }
13824             }
13825          }
13826          part { name: "elm.swallow.icon";
13827             type: SWALLOW;
13828             description { state: "default" 0.0;
13829                fixed: 0 1;
13830                align: 0.5 0.0;
13831                rel1 {
13832                   relative: 0.0 0.0;
13833                   offset: 4 4;
13834                }
13835                rel2 {
13836                   relative: 1.0 0.0;
13837                   offset: -5 4;
13838                }
13839             }
13840          }
13841          part { name: "elm.swallow.end";
13842             type: SWALLOW;
13843             description { state: "default" 0.0;
13844                fixed: 0 1;
13845                align: 0.5 1.0;
13846                rel1 {
13847                   relative: 0.0 1.0;
13848                   offset: 4 -5;
13849                }
13850                rel2 {
13851                   relative: 1.0 1.0;
13852                   offset: -5 -5;
13853                }
13854             }
13855          }
13856          part { name: "elm.text";
13857             type: TEXT;
13858             effect: SOFT_SHADOW;
13859             mouse_events: 0;
13860             scale: 1;
13861             description {
13862                state: "default" 0.0;
13863                fixed: 1 1;
13864                rel1 {
13865                   to_x: "elm.swallow.icon";
13866                   relative: 0.0 1.0;
13867                   offset: 4 4;
13868                }
13869                rel2 {
13870                   to_x: "elm.swallow.end";
13871                   relative: 1.0 0.0;
13872                   offset: -5 -1;
13873                }
13874                color: 0 0 0 255;
13875                color3: 0 0 0 0;
13876                text {
13877                   font: "Sans";
13878                   size: 10;
13879                   min: 1 1;
13880                   align: 0.5 0.5;
13881                   text_class: "list_item";
13882                }
13883             }
13884             description { state: "selected" 0.0;
13885                inherit: "default" 0.0;
13886                color: 224 224 224 255;
13887                color3: 0 0 0 64;
13888             }
13889          }
13890          part { name: "fg1";
13891             mouse_events: 0;
13892             description { state: "default" 0.0;
13893                visible: 0;
13894                color: 255 255 255 0;
13895                rel1.to: "bg";
13896                rel2.relative: 1.0 0.5;
13897                rel2.to: "bg";
13898                image {
13899                   normal: "bt_sm_hilight.png";
13900                   border: 6 6 6 0;
13901                }
13902             }
13903             description { state: "selected" 0.0;
13904                inherit: "default" 0.0;
13905                visible: 1;
13906                color: 255 255 255 255;
13907             }
13908          }
13909          part { name: "fg2";
13910             mouse_events: 0;
13911             description { state: "default" 0.0;
13912                visible: 0;
13913                color: 255 255 255 0;
13914                rel1.to: "bg";
13915                rel2.to: "bg";
13916                image {
13917                   normal: "bt_sm_shine.png";
13918                   border: 6 6 6 0;
13919                }
13920             }
13921             description { state: "selected" 0.0;
13922                inherit: "default" 0.0;
13923                visible: 1;
13924                color: 255 255 255 255;
13925             }
13926          }
13927       }
13928       programs {
13929          program {
13930             name: "go_active";
13931             signal: "elm,state,selected";
13932             source: "elm";
13933             action: STATE_SET "selected" 0.0;
13934             target: "bg";
13935             target: "fg1";
13936             target: "fg2";
13937             target: "elm.text";
13938          }
13939          program {
13940             name: "go_passive";
13941             signal: "elm,state,unselected";
13942             source: "elm";
13943             action: STATE_SET "default" 0.0;
13944             target: "bg";
13945             target: "fg1";
13946             target: "fg2";
13947             target: "elm.text";
13948             transition: LINEAR 0.1;
13949          }
13950       }
13951    }
13952
13953 ///////////////////////////////////////////////////////////////////////////////
13954    group { name: "elm/slider/horizontal/default";
13955            alias: "elm/slider/horizontal/disabled";
13956       images {
13957          image: "sl_bg.png" COMP;
13958          image: "sl_bg_over.png" COMP;
13959
13960          image: "sl_units.png" COMP;
13961       }
13962       parts {
13963          part { name: "base";
13964             mouse_events: 0;
13965             description { state: "default" 0.0;
13966                max: 99999 6;
13967                min: 0 6;
13968                rel1 { to: "bg";
13969                   offset: 1 0;
13970                }
13971                rel2 { to: "bg";
13972                   offset: -2 -1;
13973                }
13974                image.normal: "sl_bg.png";
13975                fill.smooth: 0;
13976             }
13977          }
13978          part { name: "level";
13979             type: RECT;
13980             mouse_events: 0;
13981             description { state: "default" 0.0;
13982                fixed: 1 1;
13983                rel1.to: "base";
13984                rel2 {
13985                   to_y: "base";
13986                   to_x: "elm.dragable.slider";
13987                   relative: 0.5 1.0;
13988                }
13989                color: 255 0 0 200;
13990             }
13991             description { state: "inverted" 0.0;
13992                inherit: "default" 0.0;
13993                visible: 0;
13994             }
13995             description { state: "disabled" 0.0;
13996                inherit: "default" 0.0;
13997                color: 255 0 0 100;
13998             }
13999             description { state: "disabled_inverted" 0.0;
14000                inherit: "default" 0.0;
14001                visible: 0;
14002             }
14003          }
14004          part { name: "level2";
14005             type: RECT;
14006             mouse_events: 0;
14007             description { state: "default" 0.0;
14008                fixed: 1 1;
14009                visible: 0;
14010                rel1 {
14011                   to_y: "base";
14012                   to_x: "elm.dragable.slider";
14013                   relative: 0.5 0.0;
14014                }
14015                rel2.to: "base";
14016                color: 255 0 0 200;
14017             }
14018             description { state: "inverted" 0.0;
14019                inherit: "default" 0.0;
14020                visible: 1;
14021             }
14022             description { state: "disabled" 0.0;
14023                inherit: "default" 0.0;
14024             }
14025             description { state: "disabled_inverted" 0.0;
14026                inherit: "default" 0.0;
14027                color: 255 0 0 100;
14028                visible: 1;
14029             }
14030          }
14031          part {
14032             name: "base_over";
14033             mouse_events: 0;
14034             description { state: "default" 0.0;
14035                rel1.to: "base";
14036                rel1.offset: -1 -1;
14037                rel2.to: "base";
14038                rel2.offset: 0 0;
14039                image {
14040                   normal: "sl_bg_over.png";
14041                   border: 3 3 3 3;
14042                }
14043                fill.smooth: 0;
14044             }
14045          }
14046          part { name: "bg";
14047             type: RECT;
14048             mouse_events: 0;
14049             scale: 1;
14050             description { state: "default" 0.0;
14051                visible: 0;
14052                rel1.to: "elm.swallow.bar";
14053                rel2.to: "elm.swallow.bar";
14054                color: 0 0 0 0;
14055             }
14056          }
14057          part { name: "elm.swallow.bar";
14058             type: SWALLOW;
14059             scale: 1;
14060             description { state: "default" 0.0;
14061                min: 48 24;
14062                max: 99999 24;
14063                align: 1.0 0.5;
14064                rel1 {
14065                   to_x: "elm.text";
14066                   relative: 1.0 0.0;
14067                   offset: 8 0;
14068                }
14069                rel2 {
14070                   to_x: "elm.units";
14071                   relative: 0.0 1.0;
14072                   offset: -10 -1;
14073                }
14074             }
14075          }
14076          part { name: "elm.swallow.icon";
14077             type: SWALLOW;
14078             description { state: "default" 0.0;
14079                visible: 0;
14080                align: 0.0 0.5;
14081                rel1 {
14082                   offset: 4 0;
14083                   to_y: "elm.swallow.bar";
14084                }
14085                rel2 {
14086                   offset: 3 -1;
14087                   relative: 0.0 1.0;
14088                   to_y: "elm.swallow.bar";
14089                }
14090             }
14091             description { state: "visible" 0.0;
14092                inherit: "default" 0.0;
14093                visible: 1;
14094                aspect: 1.0 1.0;
14095                aspect_preference: VERTICAL;
14096                rel2.offset: 4 -1;
14097             }
14098          }
14099          part { name: "elm.text";
14100             type: TEXT;
14101             mouse_events: 0;
14102             scale: 1;
14103             description { state: "default" 0.0;
14104                visible: 0;
14105                fixed: 1 1;
14106                align: 0.0 0.5;
14107                rel1.to_x: "elm.swallow.icon";
14108                rel1.relative: 1.0 0.0;
14109                rel1.offset: -1 4;
14110                rel2.to_x: "elm.swallow.icon";
14111                rel2.relative: 1.0 1.0;
14112                rel2.offset: -1 -5;
14113                color: 0 0 0 255;
14114                text {
14115                   font: "Sans,Edje-Vera";
14116                   size: 10;
14117                   min: 0 0;
14118                   align: 0.0 0.5;
14119                }
14120             }
14121             description { state: "visible" 0.0;
14122                inherit: "default" 0.0;
14123                visible: 1;
14124                text.min: 1 1;
14125                rel1.offset: 0 4;
14126                rel2.offset: 0 -5;
14127             }
14128             description { state: "disabled" 0.0;
14129                inherit: "default" 0.0;
14130                color: 255 128 128 128;
14131                visible: 0;
14132             }
14133             description { state: "disabled_visible" 0.0;
14134                inherit: "default" 0.0;
14135                color: 0 0 0 128;
14136                color3: 0 0 0 0;
14137                visible: 1;
14138                text.min: 1 1;
14139             }
14140          }
14141          part {
14142             name: "elm.swallow.end";
14143             type: SWALLOW;
14144             description {
14145                state: "default" 0.0;
14146                visible: 0;
14147                align: 1.0 0.5;
14148                rel1 {
14149                   offset: -4 0;
14150                   relative: 1.0 0.0;
14151                   to_y: "elm.swallow.bar";
14152                }
14153                rel2 {
14154                   offset: -3 -1;
14155                   to_y: "elm.swallow.bar";
14156                }
14157             }
14158             description { state: "visible" 0.0;
14159                inherit: "default" 0.0;
14160                visible: 1;
14161                aspect: 1.0 1.0;
14162                aspect_preference: VERTICAL;
14163                rel2.offset: -4 -1;
14164             }
14165          }
14166          part { name: "units";
14167             mouse_events: 0;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                rel1 {
14171                   to_x: "elm.units";
14172                   offset: 0 5;
14173                }
14174                rel2 {
14175                   to_x: "elm.units";
14176                   offset: 5 -3;
14177                }
14178                image {
14179                   normal: "sl_units.png";
14180                   border: 0 5 3 8;
14181                }
14182                fill.smooth: 0;
14183             }
14184             description { state: "visible" 0.0;
14185                inherit: "default" 0.0;
14186                visible: 1;
14187             }
14188          }
14189          part { name: "elm.units";
14190             type: TEXT;
14191             mouse_events: 0;
14192             scale: 1;
14193             description { state: "default" 0.0;
14194                visible: 0;
14195                fixed: 1 1;
14196                align: 1.0 0.5;
14197                rel1.to_x: "elm.swallow.end";
14198                rel1.relative: 0.0 0.0;
14199                rel1.offset: 0 8;
14200                rel2.to_x: "elm.swallow.end";
14201                rel2.relative: 0.0 1.0;
14202                rel2.offset: 0 -9;
14203                color: 0 0 0 255;
14204                text {
14205                   font: "Sans,Edje-Vera";
14206                   size: 10;
14207                   min: 0 0;
14208                   align: 0.0 0.5;
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                fixed: 1 1;
14214                visible: 1;
14215                text.min: 1 1;
14216                rel1.offset: -5 0;
14217                rel2.offset: -5 -1;
14218             }
14219             description { state: "disabled" 0.0;
14220                inherit: "default" 0.0;
14221                color: 255 128 128 128;
14222                visible: 0;
14223             }
14224             description { state: "disabled_visible" 0.0;
14225                inherit: "default" 0.0;
14226                color: 0 0 0 128;
14227                color3: 0 0 0 0;
14228                visible: 1;
14229                text.min: 1 1;
14230             }
14231          }
14232          part { name: "elm.dragable.slider";
14233             type: GROUP;
14234             source: "elm/slider/horizontal/indicator/default";
14235             mouse_events: 1;
14236             repeat_events: 1;
14237             scale: 1;
14238             dragable {
14239                x: 1 1 0;
14240                y: 0 0 0;
14241                confine: "bg";
14242             }
14243             description { state: "default" 0.0;
14244                min: 0 24;
14245                max: 0 24;
14246                fixed: 1 1;
14247                rel1 {
14248                   relative: 0.5 0.0;
14249                   to_x: "bg";
14250                }
14251                rel2 {
14252                   relative: 0.5 1.0;
14253                   to_x: "bg";
14254                }
14255                color: 255 0 0 100;
14256             }
14257          }
14258           part { name: "disabler";
14259             type: RECT;
14260             description { state: "default" 0.0;
14261                color: 0 0 0 0;
14262                visible: 0;
14263             }
14264             description { state: "disabled" 0.0;
14265                inherit: "default" 0.0;
14266                visible: 1;
14267             }
14268          }
14269       }
14270       programs {
14271          program { name: "text_show";
14272             signal: "elm,state,text,visible";
14273             source: "elm";
14274             action:  STATE_SET "visible" 0.0;
14275             target: "elm.text";
14276          }
14277          program { name: "text_hide";
14278             signal: "elm,state,text,hidden";
14279             source: "elm";
14280             action:  STATE_SET "default" 0.0;
14281             target: "elm.text";
14282          }
14283          program { name: "icon_show";
14284             signal: "elm,state,icon,visible";
14285             source: "elm";
14286             action:  STATE_SET "visible" 0.0;
14287             target: "elm.swallow.icon";
14288          }
14289          program { name: "icon_hide";
14290             signal: "elm,state,icon,hidden";
14291             source: "elm";
14292             action:  STATE_SET "default" 0.0;
14293             target: "elm.swallow.icon";
14294          }
14295           program { name: "end_show";
14296             signal: "elm,state,end,visible";
14297             source: "elm";
14298             action:  STATE_SET "visible" 0.0;
14299             target: "elm.swallow.end";
14300          }
14301          program { name: "end_hide";
14302             signal: "elm,state,end,hidden";
14303             source: "elm";
14304             action:  STATE_SET "default" 0.0;
14305             target: "elm.swallow.end";
14306          }
14307          program { name: "units_show";
14308             signal: "elm,state,units,visible";
14309             source: "elm";
14310             action:  STATE_SET "visible" 0.0;
14311             target: "elm.units";
14312             target: "units";
14313          }
14314          program { name: "units_hide";
14315             signal: "elm,state,units,hidden";
14316             source: "elm";
14317             action:  STATE_SET "default" 0.0;
14318             target: "elm.units";
14319             target: "units";
14320          }
14321          program { name: "invert_on";
14322             signal: "elm,state,inverted,on";
14323             source: "elm";
14324             action:  STATE_SET "inverted" 0.0;
14325             target: "level";
14326             target: "level2";
14327          }
14328          program { name: "invert_off";
14329             signal: "elm,state,inverted,off";
14330             source: "elm";
14331             action:  STATE_SET "default" 0.0;
14332             target: "level";
14333             target: "level2";
14334          }
14335          program {
14336             name:    "go_disabled";
14337             signal:  "elm,state,disabled";
14338             source:  "elm";
14339             action:  STATE_SET "disabled" 0.0;
14340 //            target: "button0";
14341             target: "disabler";
14342             after: "disable_text";
14343             after: "disable_ind";
14344          }
14345
14346          program { name: "disable_ind";
14347             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14348          }
14349          program { name: "disable_text";
14350             script {
14351                new st[31];
14352                new Float:vl;
14353                get_state(PART:"elm.text", st, 30, vl);
14354                if (!strcmp(st, "visible"))
14355                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14356                else
14357                   set_state(PART:"elm.text", "disabled", 0.0);
14358
14359                get_state(PART:"elm.units", st, 30, vl);
14360                if (!strcmp(st, "visible"))
14361                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14362                else
14363                   set_state(PART:"elm.units", "disabled", 0.0);
14364
14365                get_state(PART:"level2", st, 30, vl);
14366                if (!strcmp(st, "inverted"))
14367                {
14368                   set_state(PART:"level", "disabled_inverted", 0.0);
14369                   set_state(PART:"level2", "disabled_inverted", 0.0);
14370                }
14371                else
14372                {
14373                   set_state(PART:"level", "disabled", 0.0);
14374                   set_state(PART:"level2", "disabled", 0.0);
14375                }
14376             }
14377          }
14378          program { name: "enable";
14379             signal: "elm,state,enabled";
14380             source: "elm";
14381             action: STATE_SET "default" 0.0;
14382 //            target: "button0";
14383             target: "disabler";
14384             after: "enable_text";
14385             after: "enable_ind";
14386          }
14387
14388          program { name: "enable_ind";
14389             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14390          }
14391
14392          program { name: "enable_text";
14393             script {
14394                new st[31];
14395                new Float:vl;
14396                get_state(PART:"elm.text", st, 30, vl);
14397                if (!strcmp(st, "disabled_visible"))
14398                   set_state(PART:"elm.text", "visible", 0.0);
14399                else
14400                   set_state(PART:"elm.text", "default", 0.0);
14401
14402                get_state(PART:"elm.units", st, 30, vl);
14403                if (!strcmp(st, "disabled_visible"))
14404                   set_state(PART:"elm.units", "visible", 0.0);
14405                else
14406                   set_state(PART:"elm.units", "default", 0.0);
14407
14408                get_state(PART:"level2", st, 30, vl);
14409                if (!strcmp(st, "disabled_inverted"))
14410                {
14411                   set_state(PART:"level", "inverted", 0.0);
14412                   set_state(PART:"level2", "inverted", 0.0);
14413                }
14414                else
14415                {
14416                   set_state(PART:"level", "default", 0.0);
14417                   set_state(PART:"level2", "default", 0.0);
14418                }
14419             }
14420          }
14421       }
14422    }
14423
14424    group { name: "elm/slider/vertical/default";
14425       images {
14426          image: "slv_bg.png" COMP;
14427          image: "slv_bg_over.png" COMP;
14428
14429          image: "slv_units.png" COMP;
14430       }
14431       parts {
14432          part { name: "base";
14433             mouse_events: 0;
14434             description { state: "default" 0.0;
14435                max: 6 99999;
14436                min: 6 0;
14437                rel1 { to: "bg";
14438                   offset: 1 0;
14439                }
14440                rel2 { to: "bg";
14441                   offset: -2 -1;
14442                }
14443                image.normal: "slv_bg.png";
14444                fill.smooth: 0;
14445             }
14446          }
14447          part { name: "level";
14448             type: RECT;
14449             mouse_events: 0;
14450             description { state: "default" 0.0;
14451                fixed: 1 1;
14452                rel1.to: "base";
14453                rel2 {
14454                   to_x: "base";
14455                   to_y: "elm.dragable.slider";
14456                   relative: 1.0 0.5;
14457                }
14458                color: 255 0 0 200;
14459             }
14460             description { state: "inverted" 0.0;
14461                inherit: "default" 0.0;
14462                visible: 0;
14463             }
14464             description { state: "disabled" 0.0;
14465                inherit: "default" 0.0;
14466                color: 255 0 0 100;
14467             }
14468             description { state: "disabled_inverted" 0.0;
14469                inherit: "default" 0.0;
14470                visible: 0;
14471             }
14472          }
14473          part { name: "level2";
14474             type: RECT;
14475             mouse_events: 0;
14476             description { state: "default" 0.0;
14477                fixed: 1 1;
14478                visible: 0;
14479                rel1 {
14480                   to_x: "base";
14481                   to_y: "elm.dragable.slider";
14482                   relative: 0.0 0.5;
14483                }
14484                rel2.to: "base";
14485                color: 255 0 0 200;
14486             }
14487             description { state: "inverted" 0.0;
14488                inherit: "default" 0.0;
14489                visible: 1;
14490             }
14491             description { state: "disabled" 0.0;
14492                inherit: "default" 0.0;
14493                color: 255 0 0 100;
14494             }
14495             description { state: "disabled_inverted" 0.0;
14496                inherit: "default" 0.0;
14497                color: 255 0 0 100;
14498                visible: 1;
14499             }
14500          }
14501          part {
14502             name: "base_over";
14503             mouse_events: 0;
14504             description { state: "default" 0.0;
14505                rel1.to: "base";
14506                rel1.offset: -1 -1;
14507                rel2.to: "base";
14508                rel2.offset: 0 0;
14509                image {
14510                   normal: "slv_bg_over.png";
14511                   border: 3 3 3 3;
14512                }
14513                fill.smooth: 0;
14514             }
14515          }
14516          part { name: "bg";
14517             type: RECT;
14518             mouse_events: 0;
14519             scale: 1;
14520             description { state: "default" 0.0;
14521                visible: 0;
14522                rel1.to: "elm.swallow.bar";
14523                rel2.to: "elm.swallow.bar";
14524                color: 0 0 0 0;
14525             }
14526          }
14527          part { name: "elm.swallow.bar";
14528             type: SWALLOW;
14529             scale: 1;
14530             description { state: "default" 0.0;
14531                min: 24 48;
14532                max: 24 9999;
14533                align: 0.5 1.0;
14534                rel1 {
14535                   to_y: "elm.text";
14536                   relative: 0.0 1.0;
14537                   offset: 0 10;
14538                }
14539                rel2 {
14540                   to_y: "elm.units";
14541                   relative: 1.0 0.0;
14542                   offset: -1 -8;
14543                }
14544             }
14545          }
14546          part { name: "elm.swallow.icon";
14547             type: SWALLOW;
14548             description { state: "default" 0.0;
14549                visible: 0;
14550                align: 0.5 0.0;
14551                rel1 {
14552                   offset: 0 4;
14553                   to_x: "elm.swallow.bar";
14554                }
14555                rel2 {
14556                   offset: -1 3;
14557                   relative: 1.0 0.0;
14558                   to_x: "elm.swallow.bar";
14559                }
14560             }
14561             description { state: "visible" 0.0;
14562                inherit: "default" 0.0;
14563                visible: 1;
14564                aspect: 1.0 1.0;
14565                aspect_preference: HORIZONTAL;
14566                rel2.offset: -1 4;
14567             }
14568          }
14569          part { name: "elm.text";
14570             type: TEXT;
14571             mouse_events: 0;
14572             scale: 1;
14573             description { state: "default" 0.0;
14574                visible: 0;
14575                fixed: 0 1;
14576                align: 0.5 0.0;
14577                rel1.to_y: "elm.swallow.icon";
14578                rel1.relative: 0.0 1.0;
14579                rel1.offset: 0 -1;
14580                rel2.to_y: "elm.swallow.icon";
14581                rel2.relative: 1.0 1.0;
14582                rel2.offset: -1 -1;
14583                color: 0 0 0 255;
14584                text {
14585                   font: "Sans,Edje-Vera";
14586                   size: 10;
14587                   min: 0 0;
14588                   align: 0.5 0.0;
14589                }
14590             }
14591             description { state: "visible" 0.0;
14592                inherit: "default" 0.0;
14593                visible: 1;
14594                text.min: 1 1;
14595                rel1.offset: 4 0;
14596                rel2.offset: -5 0;
14597             }
14598             description { state: "disabled" 0.0;
14599                inherit: "default" 0.0;
14600                color: 255 128 128 128;
14601                visible: 0;
14602             }
14603             description { state: "disabled_visible" 0.0;
14604                inherit: "default" 0.0;
14605                color: 0 0 0 128;
14606                color3: 0 0 0 0;
14607                visible: 1;
14608                text.min: 1 1;
14609             }
14610          }
14611          part {
14612             name: "elm.swallow.end";
14613             type: SWALLOW;
14614             description {
14615                state: "default" 0.0;
14616                visible: 0;
14617                align: 0.5 1.0;
14618                rel1 {
14619                   offset: 0 -4;
14620                   relative: 0.0 1.0;
14621                   to_x: "elm.swallow.bar";
14622                }
14623                rel2 {
14624                   offset: -1 -3;
14625                   to_x: "elm.swallow.bar";
14626                }
14627             }
14628             description { state: "visible" 0.0;
14629                inherit: "default" 0.0;
14630                visible: 1;
14631                aspect: 1.0 1.0;
14632                aspect_preference: HORIZONTAL;
14633                rel2.offset: -1 -4;
14634             }
14635          }
14636          part { name: "units";
14637             mouse_events: 0;
14638             description { state: "default" 0.0;
14639                visible: 0;
14640                rel1 {
14641                   to: "elm.units";
14642                   offset: -8 0;
14643                }
14644                rel2 {
14645                   to: "elm.units";
14646                   offset: 7 8;
14647                }
14648                image {
14649                   normal: "slv_units.png";
14650                   border: 8 8 0 9;
14651                }
14652                fill.smooth: 0;
14653             }
14654             description { state: "visible" 0.0;
14655                inherit: "default" 0.0;
14656                visible: 1;
14657             }
14658          }
14659          part { name: "elm.units";
14660             type: TEXT;
14661             mouse_events: 0;
14662             scale: 1;
14663             description { state: "default" 0.0;
14664                visible: 0;
14665                fixed: 1 1;
14666                align: 0.5 1.0;
14667                rel1.relative: 0.0 0.0;
14668                rel1.to_y: "elm.swallow.end";
14669                rel1.offset: 8 0;
14670                rel2.relative: 1.0 0.0;
14671                rel2.to_y: "elm.swallow.end";
14672                rel2.offset: -9 0;
14673                color: 0 0 0 255;
14674                text {
14675                   font: "Sans,Edje-Vera";
14676                   size: 10;
14677                   min: 0 0;
14678                   align: 0.5 0.0;
14679                }
14680             }
14681             description { state: "visible" 0.0;
14682                inherit: "default" 0.0;
14683                fixed: 1 1;
14684                visible: 1;
14685                text.min: 1 1;
14686                rel1.offset: 8 -9;
14687                rel2.offset: -9 -9;
14688             }
14689             description { state: "disabled" 0.0;
14690                inherit: "default" 0.0;
14691                color:  0 0 0 128;
14692                color3: 0 0 0 0;
14693                visible: 0;
14694             }
14695             description { state: "disabled_visible" 0.0;
14696                inherit: "default" 0.0;
14697                fixed: 1 1;
14698                visible: 1;
14699                text.min: 1 1;
14700                rel1.offset: 8 -9;
14701                rel2.offset: -9 -9;
14702                color: 0 0 0 128;
14703                color3: 0 0 0 0;
14704             }
14705          }
14706          part { name: "elm.dragable.slider";
14707             type: GROUP;
14708             source: "elm/slider/vertical/indicator/default";
14709             mouse_events: 1;
14710             repeat_events: 1;
14711             scale: 1;
14712             dragable {
14713                x: 0 0 0;
14714                y: 1 1 0;
14715                confine: "bg";
14716             }
14717             description { state: "default" 0.0;
14718                min: 24 0;
14719                max: 24 0;
14720                fixed: 1 1;
14721                rel1 {
14722                   relative: 0.5  0.0;
14723                   to_y: "bg";
14724                }
14725                rel2 {
14726                   relative: 0.5  1.0;
14727                   to_y: "bg";
14728                }
14729                color: 0 0 0 0;
14730             }
14731          }
14732               part { name: "disabler";
14733                 type: RECT;
14734                 description { state: "default" 0.0;
14735                    color: 0 0 0 0;
14736                    visible: 0;
14737                 }
14738                 description { state: "disabled" 0.0;
14739                    inherit: "default" 0.0;
14740                    visible: 1;
14741                 }
14742              }
14743           }
14744
14745       programs {
14746          program { name: "text_show";
14747             signal: "elm,state,text,visible";
14748             source: "elm";
14749             action:  STATE_SET "visible" 0.0;
14750             target: "elm.text";
14751          }
14752          program { name: "text_hide";
14753             signal: "elm,state,text,hidden";
14754             source: "elm";
14755             action:  STATE_SET "default" 0.0;
14756             target: "elm.text";
14757          }
14758          program { name: "icon_show";
14759             signal: "elm,state,icon,visible";
14760             source: "elm";
14761             action:  STATE_SET "visible" 0.0;
14762             target: "elm.swallow.icon";
14763          }
14764          program { name: "icon_hide";
14765             signal: "elm,state,icon,hidden";
14766             source: "elm";
14767             action:  STATE_SET "default" 0.0;
14768             target: "elm.swallow.icon";
14769          }
14770          program { name: "end_show";
14771             signal: "elm,state,end,visible";
14772             source: "elm";
14773             action:  STATE_SET "visible" 0.0;
14774             target: "elm.swallow.end";
14775          }
14776          program { name: "end_hide";
14777             signal: "elm,state,end,hidden";
14778             source: "elm";
14779             action:  STATE_SET "default" 0.0;
14780             target: "elm.swallow.end";
14781          }
14782          program { name: "units_show";
14783             signal: "elm,state,units,visible";
14784             source: "elm";
14785             action:  STATE_SET "visible" 0.0;
14786             target: "elm.units";
14787             target: "units";
14788          }
14789          program { name: "units_hide";
14790             signal: "elm,state,units,hidden";
14791             source: "elm";
14792             action:  STATE_SET "default" 0.0;
14793             target: "elm.units";
14794             target: "units";
14795          }
14796          program { name: "invert_on";
14797             signal: "elm,state,inverted,on";
14798             source: "elm";
14799             action:  STATE_SET "inverted" 0.0;
14800             target: "level";
14801             target: "level2";
14802          }
14803          program { name: "invert_off";
14804             signal: "elm,state,inverted,off";
14805             source: "elm";
14806             action:  STATE_SET "default" 0.0;
14807             target: "level";
14808             target: "level2";
14809          }
14810          program {
14811             name:   "go_disabled";
14812             signal: "elm,state,disabled";
14813             source: "elm";
14814             action: STATE_SET "disabled" 0.0;
14815 //            target: "button0";
14816             target: "disabler";
14817             after: "disable_text";
14818             after: "disable_ind";
14819          }
14820
14821          program { name: "disable_ind";
14822             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14823          }
14824
14825          program { name: "disable_text";
14826             script {
14827             new st[31];
14828             new Float:vl;
14829                get_state(PART:"elm.text", st, 30, vl);
14830                if (!strcmp(st, "visible"))
14831                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14832                else
14833                   set_state(PART:"elm.text", "disabled", 0.0);
14834
14835                get_state(PART:"elm.units", st, 30, vl);
14836                if (!strcmp(st, "visible"))
14837                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14838                else
14839                   set_state(PART:"elm.units", "disabled", 0.0);
14840
14841                get_state(PART:"level2", st, 30, vl);
14842                if (!strcmp(st, "inverted"))
14843                {
14844                   set_state(PART:"level", "disabled_inverted", 0.0);
14845                   set_state(PART:"level2", "disabled_inverted", 0.0);
14846                }
14847                else
14848                {
14849                   set_state(PART:"level", "disabled", 0.0);
14850                   set_state(PART:"level2", "disabled", 0.0);
14851                }
14852             }
14853          }
14854
14855          program { name: "enable";
14856             signal: "elm,state,enabled";
14857             source: "elm";
14858             action: STATE_SET "default" 0.0;
14859 //            target: "button0";
14860             target: "disabler";
14861             after: "enable_text";
14862             after: "enable_ind";
14863          }
14864
14865          program { name: "enable_ind";
14866             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14867          }
14868          program { name: "enable_text";
14869             script {
14870                new st[31];
14871                new Float:vl;
14872                get_state(PART:"elm.text", st, 30, vl);
14873                if (!strcmp(st, "disabled_visible"))
14874                   set_state(PART:"elm.text", "visible", 0.0);
14875                else
14876                   set_state(PART:"elm.text", "default", 0.0);
14877
14878                get_state(PART:"elm.units", st, 30, vl);
14879                if (!strcmp(st, "disabled_visible"))
14880                   set_state(PART:"elm.units", "visible", 0.0);
14881                else
14882                   set_state(PART:"elm.units", "default", 0.0);
14883
14884                get_state(PART:"level2", st, 30, vl);
14885                if (!strcmp(st, "disabled_inverted"))
14886                {
14887                   set_state(PART:"level", "inverted", 0.0);
14888                   set_state(PART:"level2", "inverted", 0.0);
14889                }
14890                else
14891                {
14892                   set_state(PART:"level", "default", 0.0);
14893                   set_state(PART:"level2", "default", 0.0);
14894                }
14895             }
14896          }
14897       }
14898    }
14899    group { name: "elm/slider/horizontal/indicator/default";
14900            alias: "elm/slider/horizontal/indicator/disabled";
14901            alias: "elm/slider/vertical/indicator/default";
14902            alias: "elm/slider/vertical/indicator/disabled";
14903       images {
14904          image: "sl_bt_0.png" COMP;
14905          image: "sl_bt_1.png" COMP;
14906          image: "sl_bt_2.png" COMP;
14907          image: "sl_bt_3.png" COMP;
14908          image: "sl_bt2_0_0.png" COMP;
14909          image: "sl_bt2_0_1.png" COMP;
14910          image: "sl_bt2_0_2.png" COMP;
14911          image: "sl_bt2_1.png" COMP;
14912          image: "sl_bt2_2.png" COMP;
14913       }
14914       script {
14915          public value_hide = 0;
14916          public set_value_show() {
14917             set_int(value_hide, 0);
14918          }
14919          public set_value_hide() {
14920             set_int(value_hide, 1);
14921          }
14922          public thumb_down() {
14923             if (get_int(value_hide) == 1) {
14924                set_state(PART:"elm.indicator", "default", 0.0);
14925                set_state(PART:"button3", "default", 0.0);
14926                set_state(PART:"button4", "default", 0.0);
14927                set_state(PART:"button5", "default", 0.0);
14928                set_state(PART:"button6", "default", 0.0);
14929                set_state(PART:"button7", "default", 0.0);
14930             } else {
14931                set_state(PART:"elm.indicator", "visible", 0.0);
14932                set_state(PART:"button3", "visible", 0.0);
14933                set_state(PART:"button4", "visible", 0.0);
14934                set_state(PART:"button5", "visible", 0.0);
14935                set_state(PART:"button6", "visible", 0.0);
14936                set_state(PART:"button7", "visible", 0.0);
14937             }
14938          }
14939          public thumb_up() {
14940             set_state(PART:"elm.indicator", "default", 0.0);
14941             set_state(PART:"button3", "default", 0.0);
14942             set_state(PART:"button4", "default", 0.0);
14943             set_state(PART:"button5", "default", 0.0);
14944             set_state(PART:"button6", "default", 0.0);
14945             set_state(PART:"button7", "default", 0.0);
14946          }
14947       }
14948       parts {
14949          part { name: "button_events";
14950             type: RECT;
14951             mouse_events: 1;
14952             description { state: "default" 0.0;
14953                fixed: 1 1;
14954                min: 16 16;
14955                aspect: 1.0 1.0;
14956                aspect_preference: VERTICAL;
14957                color: 0 0 0 0;
14958             }
14959          }
14960          part { name: "button0";
14961             mouse_events: 0;
14962             description { state: "default" 0.0;
14963                fixed: 1 1;
14964                max: 17 999;
14965                min: 17 24;
14966                image {
14967                   normal: "sl_bt_0.png";
14968                   border: 5 5 5 10;
14969                }
14970                fill.smooth: 0;
14971             }
14972             description { state: "disabled" 0.0;
14973                inherit: "default" 0.0;
14974                image {
14975                   normal: "sl_bt_3.png";
14976                   border: 5 5 5 10;
14977                }
14978             }
14979          }
14980          part { name: "button1";
14981             mouse_events: 0;
14982             description { state: "default" 0.0;
14983                rel1.to: "button0";
14984                rel2 {
14985                   to: "button0";
14986                   relative: 1.0 0.5;
14987                   offset: -1 -5;
14988                }
14989                image {
14990                   normal: "sl_bt_1.png";
14991                   border: 5 5 5 0;
14992                }
14993             }
14994          }
14995          part { name: "button2";
14996             mouse_events: 0;
14997             description { state: "default" 0.0;
14998                rel1.to: "button0";
14999                rel2.to: "button0";
15000                image {
15001                   normal: "sl_bt_2.png";
15002                   border: 5 5 5 10;
15003                }
15004                fill.smooth: 0;
15005             }
15006          }
15007          part { name: "button3";
15008             mouse_events: 0;
15009             description { state: "default" 0.0;
15010                fixed: 1 1;
15011                visible: 0;
15012                min: 8 32;
15013                align: 1.0 0.5;
15014                rel1 {
15015                   to_x: "elm.indicator";
15016                   to_y: "button4";
15017                   relative: 0.0 0.0;
15018                   offset: -7 0;
15019                }
15020                rel2 {
15021                   to: "button4";
15022                   relative: 0.0 1.0;
15023                   offset: -1 -1;
15024                }
15025                image {
15026                   normal: "sl_bt2_0_0.png";
15027                   border: 6 0 6 12;
15028                }
15029                fill.smooth: 0;
15030             }
15031             description { state: "visible" 0.0;
15032                inherit: "default" 0.0;
15033                visible: 1;
15034             }
15035          }
15036          part { name: "button4";
15037             mouse_events: 0;
15038             description { state: "default" 0.0;
15039                visible: 0;
15040                max: 15 999;
15041                min: 15 32;
15042                rel1 {
15043                   to_x: "button0";
15044                   to_y: "elm.indicator";
15045                   offset: 0 0;
15046                }
15047                rel2.to: "button0";
15048                image {
15049                   normal: "sl_bt2_0_1.png";
15050                   border: 0 0 6 12;
15051                }
15052                fill.smooth: 0;
15053             }
15054             description { state: "visible" 0.0;
15055                inherit: "default" 0.0;
15056                visible: 1;
15057             }
15058          }
15059          part { name: "button5";
15060             mouse_events: 0;
15061             description { state: "default" 0.0;
15062                fixed: 1 1;
15063                visible: 0;
15064                min: 8 32;
15065                align: 0.0 0.5;
15066                rel1 {
15067                   to: "button4";
15068                   relative: 1.0 0.0;
15069                   offset: 0 0;
15070                }
15071                rel2 {
15072                   to_x: "elm.indicator";
15073                   to_y: "button4";
15074                   relative: 1.0 1.0;
15075                   offset: 6 -1;
15076                }
15077                image {
15078                   normal: "sl_bt2_0_2.png";
15079                   border: 0 6 6 12;
15080                }
15081                fill.smooth: 0;
15082             }
15083             description { state: "visible" 0.0;
15084                inherit: "default" 0.0;
15085                visible: 1;
15086             }
15087          }
15088          part { name: "elm.indicator";
15089             type: TEXT;
15090             mouse_events: 0;
15091             effect: SOFT_SHADOW;
15092             scale: 1;
15093             description { state: "default" 0.0;
15094                visible: 0;
15095                fixed: 1 1;
15096                align: 0.5 1.0;
15097                rel1 {
15098                   to: "button0";
15099                   relative: 0.0 -0.25;
15100                   offset: 0 0;
15101                }
15102                rel2 {
15103                   to_x: "button0";
15104                   relative: 1.0 -0.25;
15105                   offset: -1 0;
15106                }
15107                color: 224 224 224 255;
15108                color3: 0 0 0 64;
15109                text {
15110                   font:     "Sans,Edje-Vera";
15111                   size:     10;
15112                   min:      0 0;
15113                   align:    0.5 0.5;
15114                }
15115             }
15116             description { state: "visible" 0.0;
15117                inherit: "default" 0.0;
15118                visible: 1;
15119                text.min: 1 1;
15120                rel1.offset: 0 -1;
15121                rel2.offset: -1 -1;
15122             }
15123          }
15124          part { name: "button6";
15125             mouse_events: 0;
15126             description { state: "default" 0.0;
15127                visible: 0;
15128                rel1.to: "button3";
15129                rel2 {
15130                   to: "button5";
15131                   relative: 1.0 0.3;
15132                   offset: -1 -1;
15133                }
15134                image {
15135                   normal: "sl_bt2_1.png";
15136                   border: 5 5 5 0;
15137                }
15138                fill.smooth: 0;
15139             }
15140             description { state: "visible" 0.0;
15141                inherit: "default" 0.0;
15142                visible: 1;
15143             }
15144          }
15145          part { name: "button7";
15146             mouse_events: 0;
15147             description { state: "default" 0.0;
15148                visible: 0;
15149                rel1.to: "button3";
15150                rel2.to: "button5";
15151                image {
15152                   normal: "sl_bt2_2.png";
15153                   border: 5 5 5 0;
15154                   middle: 0;
15155                }
15156                fill.smooth: 0;
15157             }
15158             description { state: "visible" 0.0;
15159                inherit: "default" 0.0;
15160                visible: 1;
15161             }
15162          }
15163       }
15164       programs {
15165          program { name: "set_val_show";
15166             signal: "elm,state,val,show";
15167             source: "elm";
15168             script {
15169                set_value_show();
15170             }
15171          }
15172          program { name: "set_val_hide";
15173             signal: "elm,state,val,hide";
15174             source: "elm";
15175             script {
15176                set_value_hide();
15177             }
15178          }
15179          program { name: "val_show";
15180             signal: "mouse,down,*";
15181             source: "button_events";
15182             script {
15183                thumb_down();
15184             }
15185
15186          }
15187          program { name: "val_hide";
15188             signal: "mouse,up,*";
15189             source: "button_events";
15190             script {
15191                thumb_up();
15192             }
15193          }
15194          program {
15195             name:    "go_disabled";
15196             signal:  "elm,state,disabled";
15197             source:  "elm";
15198             action:  STATE_SET "disabled" 0.0;
15199             target:  "button0";
15200          }
15201          program {
15202             name:    "go_enabled";
15203             signal:  "elm,state,enabled";
15204             source:  "elm";
15205             action:  STATE_SET "default" 0.0;
15206             target:  "button0";
15207          }
15208       }
15209    }
15210
15211
15212 ////////////////////////////////////////////////////////////////////////////////
15213 // actionslider
15214 ////////////////////////////////////////////////////////////////////////////////
15215    group { name: "elm/actionslider/base/default";
15216
15217       images {
15218          image: "shelf_inset.png" COMP;
15219          image: "ilist_1.png" COMP;
15220          image: "bt_bases.png" COMP;
15221          image: "bt_basew.png" COMP;
15222          image: "bt_hilightw.png" COMP;
15223       }
15224
15225       parts {
15226          part {
15227             name: "base";
15228             mouse_events: 0;
15229             description {
15230                state: "default" 0.0;
15231                min: 75 25;
15232                rel1.offset: 1 1;
15233                rel2.offset: -2 -2;
15234                image {
15235                   normal: "ilist_1.png";
15236                   border: 2 2 2 2;
15237                }
15238                fill.smooth: 0;
15239             }
15240          }
15241          part { name: "conf_over";
15242             mouse_events:  0;
15243             description { state: "default" 0.0;
15244                rel1.to: "base";
15245                rel2.to: "base";
15246                image {
15247                   normal: "shelf_inset.png";
15248                   border: 7 7 7 7;
15249                   middle: 0;
15250                }
15251                fill.smooth : 0;
15252             }
15253          }
15254          part { name: "icon.dragable.area";
15255            type: RECT;
15256             mouse_events: 0;
15257             description { state: "default" 0.0;
15258                visible: 0;
15259                rel1.to: "base";
15260                rel2.to: "base";
15261             }
15262          }
15263          part { name: "elm.text.left";
15264             type: TEXT;
15265             mouse_events: 0;
15266             scale: 1;
15267             description { state: "default" 0.0;
15268                color: 0 0 0 255;
15269                text {
15270                   font: "Sans,Edje-Vera";
15271                   size: 10;
15272                   align: 0.05 0.5;
15273                   min: 1 1;
15274                }
15275             }
15276          }
15277          part { name: "elm.text.center";
15278             type: TEXT;
15279             mouse_events: 0;
15280             scale: 1;
15281             description { state: "default" 0.0;
15282                color: 0 0 0 255;
15283                text {
15284                   font: "Sans,Edje-Vera";
15285                   size: 10;
15286                   align: 0.5 0.5;
15287                   min: 1 1;
15288                }
15289             }
15290          }
15291          part { name: "elm.text.right";
15292             type: TEXT;
15293             mouse_events: 0;
15294             scale: 1;
15295             description { state: "default" 0.0;
15296                color: 0 0 0 255;
15297                text {
15298                   font: "Sans,Edje-Vera";
15299                   size: 10;
15300                   align: 0.95 0.5;
15301                   min: 1 1;
15302                }
15303             }
15304          }
15305          part { name: "elm.drag_button_base";
15306             type: SWALLOW;
15307             mouse_events: 0;
15308             scale: 1;
15309             description { state: "default" 0.0;
15310                fixed: 1 1;
15311                min: 50 25;
15312                align: 0.5 0.5;
15313                rel1.to: "icon.dragable.area";
15314                rel2 {
15315                   relative: 0.0 1.0;
15316                   to: "icon.dragable.area";
15317                }
15318             }
15319             dragable {
15320                confine: "icon.dragable.area";
15321                x: 1 1 0;
15322                y: 0 0 0;
15323             }
15324          }
15325          part { name: "elm.drag_button";
15326             type: RECT;
15327             mouse_events: 1;
15328             description { state: "default" 0.0;
15329                min: 50 25;
15330                color: 255 255 255 0;
15331                rel1.to_x: "elm.drag_button_base";
15332                rel1.to_y: "icon.dragable.area";
15333                rel2.to_x: "elm.drag_button_base";
15334                rel2.to_y: "icon.dragable.area";
15335             }
15336             dragable {
15337                events: "elm.drag_button_base";
15338             }
15339          }
15340          part { name: "button0";
15341             mouse_events: 0;
15342             description { state: "default" 0.0;
15343                rel1.to: "button2";
15344                rel1.offset: -4 -4;
15345                rel2.to: "button2";
15346                rel2.offset: 3 3;
15347                image {
15348                   normal: "bt_bases.png";
15349                   border: 11 11 11 11;
15350                   middle: SOLID;
15351                }
15352                color: 255 255 255 128;
15353             }
15354          }
15355          part { name: "button2";
15356             mouse_events: 0;
15357             description { state: "default" 0.0;
15358                rel1.to: "elm.drag_button";
15359                rel2.to: "elm.drag_button";
15360                image {
15361                   normal: "bt_basew.png";
15362                   border: 7 7 7 7;
15363                   middle: SOLID;
15364                }
15365                color: 255 255 255 210;
15366             }
15367          }
15368          part { name: "button3";
15369             mouse_events: 0;
15370             description { state: "default" 0.0;
15371                rel1.to: "button2";
15372                rel2.to: "button2";
15373                rel2.relative: 1.0 0.5;
15374                image {
15375                   normal: "bt_hilightw.png";
15376                   border: 4 4 4 0;
15377                }
15378                color: 255 255 255 190;
15379             }
15380          }
15381          part { name: "elm.text.indicator";
15382             type: TEXT;
15383             scale: 1;
15384             mouse_events: 0;
15385             description { state: "default" 0.0;
15386                rel1 {
15387                   to: "elm.drag_button";
15388                   offset: 5 0;
15389                }
15390                rel2 {
15391                   to: "elm.drag_button";
15392                   offset: -5 0;
15393                }
15394                color: 0 0 0 255;
15395                text {
15396                   font: "Sans,Edje-Vera";
15397                   size: 10;
15398                   align: 0.5 0.5;
15399                   min: 0 1;
15400                }
15401             }
15402          }
15403       }
15404       programs {
15405          program { name: "elm.drag_button,mouse,up";
15406             signal: "mouse,up,1";
15407             source: "elm.drag_button";
15408             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15409          }
15410          program { name: "elm.drag_button,mouse,down";
15411             signal: "mouse,down,1";
15412             source: "elm.drag_button";
15413             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15414          }
15415          program { name: "elm.drag_button,mouse,move";
15416             signal: "mouse,move";
15417             source: "elm.drag_button_base";
15418             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15419          }
15420       }
15421    }
15422
15423    group { name: "elm/actionslider/base/bar";
15424
15425       images {
15426          image: "shelf_inset.png" COMP;
15427          image: "ilist_1.png" COMP;
15428          image: "bt_bases.png" COMP;
15429          image: "bt_basew.png" COMP;
15430          image: "bt_hilightw.png" COMP;
15431       }
15432
15433       parts {
15434          part {
15435             name: "base";
15436             mouse_events: 0;
15437             description {
15438                state: "default" 0.0;
15439                min: 150 30;
15440                rel1.offset: 1 1;
15441                rel2.offset: -2 -2;
15442                image {
15443                   normal: "ilist_1.png";
15444                   border: 2 2 2 2;
15445                }
15446                fill.smooth: 0;
15447             }
15448          }
15449          part { name: "conf_over";
15450             mouse_events:  0;
15451             description { state: "default" 0.0;
15452                rel1.to: "base";
15453                rel2.to: "base";
15454                image {
15455                   normal: "shelf_inset.png";
15456                   border: 7 7 7 7;
15457                   middle: 0;
15458                }
15459                fill.smooth : 0;
15460             }
15461          }
15462          part { name: "icon.dragable.area";
15463            type: RECT;
15464             mouse_events: 0;
15465             description { state: "default" 0.0;
15466                visible: 0;
15467                rel1.to: "base";
15468                rel2.to: "base";
15469             }
15470          }
15471          part { name: "elm.text.left";
15472             type: TEXT;
15473             mouse_events: 0;
15474             scale: 1;
15475             description { state: "default" 0.0;
15476                color: 0 0 0 255;
15477                text {
15478                   font: "Sans,Edje-Vera";
15479                   size: 10;
15480                   align: 0.05 0.5;
15481                   min: 1 1;
15482                }
15483             }
15484          }
15485          part { name: "elm.text.center";
15486             type: TEXT;
15487             mouse_events: 0;
15488             scale: 1;
15489             description { state: "default" 0.0;
15490                color: 0 0 0 255;
15491                text {
15492                   font: "Sans,Edje-Vera";
15493                   size: 10;
15494                   align: 0.5 0.5;
15495                   min: 1 1;
15496                }
15497             }
15498          }
15499          part { name: "elm.text.right";
15500             type: TEXT;
15501             mouse_events: 0;
15502             scale: 1;
15503             description { state: "default" 0.0;
15504                color: 0 0 0 255;
15505                text {
15506                   font: "Sans,Edje-Vera";
15507                   size: 10;
15508                   align: 0.95 0.5;
15509                   min: 1 1;
15510                }
15511             }
15512          }
15513          part { name: "bar";
15514             type: RECT;
15515             mouse_events: 0;
15516             description { state: "default" 0.0;
15517                rel1.to: "base";
15518                rel1.offset: 0 2;
15519                rel2 {
15520                   relative: 0 1;
15521                   offset: 3 -3;
15522                   to_x: "elm.drag_button_base";
15523                   to_y: "base";
15524                }
15525                color: 0 0 0 180;
15526             }
15527          }
15528          part { name: "elm.drag_button_base";
15529             type: SWALLOW;
15530             mouse_events: 1;
15531             scale: 1;
15532             description { state: "default" 0.0;
15533                fixed: 1 1;
15534                min: 50 25;
15535                align: 0.5 0.5;
15536                rel1.to: "icon.dragable.area";
15537                rel2 {
15538                   relative: 0.0 1.0;
15539                   to: "icon.dragable.area";
15540                }
15541             }
15542             dragable {
15543                confine: "icon.dragable.area";
15544                x: 1 1 0;
15545                y: 0 0 0;
15546             }
15547          }
15548          part { name: "elm.drag_button";
15549             type: RECT;
15550             mouse_events: 1;
15551             description { state: "default" 0.0;
15552                min: 50 25;
15553                color: 255 255 255 0;
15554                rel1.to_x: "elm.drag_button_base";
15555                rel1.to_y: "icon.dragable.area";
15556                rel2.to_x: "elm.drag_button_base";
15557                rel2.to_y: "icon.dragable.area";
15558             }
15559             dragable {
15560                events: "elm.drag_button_base";
15561             }
15562          }
15563          part { name: "button0";
15564             mouse_events: 0;
15565             description { state: "default" 0.0;
15566                rel1.to: "button2";
15567                rel1.offset: -4 -4;
15568                rel2.to: "button2";
15569                rel2.offset: 3 3;
15570                image {
15571                   normal: "bt_bases.png";
15572                   border: 11 11 11 11;
15573                   middle: SOLID;
15574                }
15575                color: 255 255 255 128;
15576             }
15577          }
15578          part { name: "button2";
15579             mouse_events: 0;
15580             description { state: "default" 0.0;
15581                rel1.to: "elm.drag_button";
15582                rel2.to: "elm.drag_button";
15583                image {
15584                   normal: "bt_basew.png";
15585                   border: 7 7 7 7;
15586                   middle: SOLID;
15587                }
15588                color: 255 255 255 210;
15589             }
15590          }
15591          part { name: "button3";
15592             mouse_events: 0;
15593             description { state: "default" 0.0;
15594                rel1.to: "button2";
15595                rel2.to: "button2";
15596                rel2.relative: 1.0 0.5;
15597                image {
15598                   normal: "bt_hilightw.png";
15599                   border: 4 4 4 0;
15600                }
15601                color: 255 255 255 190;
15602             }
15603          }
15604          part { name: "elm.text.indicator";
15605             type: TEXT;
15606             scale: 1;
15607             mouse_events: 0;
15608             description { state: "default" 0.0;
15609                rel1 {
15610                   to: "elm.drag_button";
15611                   offset: 5 0;
15612                }
15613                rel2 {
15614                   to: "elm.drag_button";
15615                   offset: -5 0;
15616                }
15617                color: 0 0 0 255;
15618                text {
15619                   font: "Sans,Edje-Vera";
15620                   size: 10;
15621                   align: 0.5 0.5;
15622                   min: 0 1;
15623                }
15624             }
15625          }
15626       }
15627       programs {
15628          program { name: "elm.drag_button,mouse,up";
15629             signal: "mouse,up,1";
15630             source: "elm.drag_button";
15631             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15632          }
15633          program { name: "elm.drag_button,mouse,down";
15634             signal: "mouse,down,1";
15635             source: "elm.drag_button";
15636             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15637          }
15638          program { name: "elm.drag_button,mouse,move";
15639             signal: "mouse,move";
15640             source: "elm.drag_button_base";
15641             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15642          }
15643       }
15644    }
15645
15646 ///////////////////////////////////////////////////////////////////////////////
15647    group { name: "elm/genlist/item/default/default";
15648       data.item: "selectraise" "on";
15649       data.item: "labels" "elm.text";
15650       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15651       data.item: "treesize" "20";
15652 //      data.item: "states" "";
15653       images {
15654          image: "bt_sm_base1.png" COMP;
15655          image: "bt_sm_shine.png" COMP;
15656          image: "bt_sm_hilight.png" COMP;
15657          image: "ilist_1.png" COMP;
15658          image: "ilist_2.png" COMP;
15659          image: "ilist_item_shadow.png" COMP;
15660       }
15661       parts {
15662          part {
15663             name:           "event";
15664             type:           RECT;
15665             repeat_events: 1;
15666             description {
15667                state: "default" 0.0;
15668                color: 0 0 0 0;
15669             }
15670          }
15671          part {
15672             name: "base_sh";
15673             mouse_events: 0;
15674             description {
15675                state: "default" 0.0;
15676                align: 0.0 0.0;
15677                min: 0 10;
15678                fixed: 1 1;
15679                rel1 {
15680                   to: "base";
15681                   relative: 0.0 1.0;
15682                   offset: 0 0;
15683                }
15684                rel2 {
15685                   to: "base";
15686                   relative: 1.0 1.0;
15687                   offset: -1 0;
15688                }
15689                image {
15690                   normal: "ilist_item_shadow.png";
15691                }
15692                fill.smooth: 0;
15693             }
15694             description {
15695                state: "default" 1.0;
15696                inherit: "default" 0.0;
15697                visible: 0;
15698             }
15699          }
15700          part {
15701             name: "base";
15702             mouse_events: 0;
15703             description {
15704                state: "default" 0.0;
15705                image {
15706                   normal: "ilist_1.png";
15707                   border: 2 2 2 2;
15708                }
15709                fill.smooth: 0;
15710             }
15711             description {
15712                state: "default" 1.0;
15713                inherit: "default" 0.0;
15714                image.normal: "ilist_2.png";
15715             }
15716          }
15717          part { name: "bg";
15718             clip_to: "disclip";
15719             mouse_events: 0;
15720             description { state: "default" 0.0;
15721                visible: 0;
15722                color: 255 255 255 0;
15723                rel1 {
15724                   relative: 0.0 0.0;
15725                   offset: -5 -5;
15726                }
15727                rel2 {
15728                   relative: 1.0 1.0;
15729                   offset: 4 4;
15730                }
15731                image {
15732                   normal: "bt_sm_base1.png";
15733                   border: 6 6 6 6;
15734                }
15735                image.middle: SOLID;
15736             }
15737             description { state: "default" 0.1;
15738                inherit: "default" 0.0;
15739             }
15740             description { state: "selected" 0.0;
15741                inherit: "default" 0.0;
15742                visible: 1;
15743                color: 255 255 255 255;
15744                rel1 {
15745                   relative: 0.0 0.0;
15746                   offset: -2 -2;
15747                }
15748                rel2 {
15749                   relative: 1.0 1.0;
15750                   offset: 1 1;
15751                }
15752             }
15753             description {
15754                state: "selected" 1.0;
15755                inherit: "selected" 0.0;
15756             }
15757          }
15758          part { name: "elm.swallow.pad";
15759             type: SWALLOW;
15760             description { state: "default" 0.0;
15761                fixed: 1 0;
15762                align: 0.0 0.5;
15763                rel1 {
15764                   relative: 0.0  0.0;
15765                   offset:   4    4;
15766                }
15767                rel2 {
15768                   relative: 0.0  1.0;
15769                   offset:   4   -5;
15770                }
15771             }
15772          }
15773          part { name: "elm.swallow.icon";
15774             clip_to: "disclip";
15775             type: SWALLOW;
15776             description { state: "default" 0.0;
15777                fixed: 1 0;
15778                align: 0.0 0.5;
15779                rel1 {
15780                   to_x: "elm.swallow.pad";
15781                   relative: 1.0  0.0;
15782                   offset:   -1    4;
15783                }
15784                rel2 {
15785                   to_x: "elm.swallow.pad";
15786                   relative: 1.0  1.0;
15787                   offset:   -1   -5;
15788                }
15789             }
15790          }
15791          part { name: "elm.swallow.end";
15792             clip_to: "disclip";
15793             type: SWALLOW;
15794             description { state: "default" 0.0;
15795                fixed: 1 0;
15796                align: 1.0 0.5;
15797                aspect: 1.0 1.0;
15798                aspect_preference: VERTICAL;
15799                rel1 {
15800                   relative: 1.0  0.0;
15801                   offset:   -5    4;
15802                }
15803                rel2 {
15804                   relative: 1.0  1.0;
15805                   offset:   -5   -5;
15806                }
15807             }
15808          }
15809          part { name: "elm.text";
15810             clip_to: "disclip";
15811             type:           TEXT;
15812             effect:         SOFT_SHADOW;
15813             mouse_events:   0;
15814             scale: 1;
15815             description {
15816                state: "default" 0.0;
15817 //               min: 16 16;
15818                rel1 {
15819                   to_x:     "elm.swallow.icon";
15820                   relative: 1.0  0.0;
15821                   offset:   0 4;
15822                }
15823                rel2 {
15824                   to_x:     "elm.swallow.end";
15825                   relative: 0.0  1.0;
15826                   offset:   -1 -5;
15827                }
15828                color: 0 0 0 255;
15829                color3: 0 0 0 0;
15830                text {
15831                   font: "Sans";
15832                   size: 10;
15833                   min: 1 1;
15834 //                  min: 0 1;
15835                   align: 0.0 0.5;
15836                   text_class: "list_item";
15837                }
15838             }
15839             description {
15840                state: "default" 1.0;
15841                inherit: "default" 0.0;
15842                text.align: -1.0 0.5;
15843             }
15844             description { state: "selected" 0.0;
15845                inherit: "default" 0.0;
15846                color: 224 224 224 255;
15847                color3: 0 0 0 64;
15848             }
15849          }
15850          part { name: "fg1";
15851             clip_to: "disclip";
15852             mouse_events: 0;
15853             description { state: "default" 0.0;
15854                visible: 0;
15855                color: 255 255 255 0;
15856                rel1.to: "bg";
15857                rel2.relative: 1.0 0.5;
15858                rel2.to: "bg";
15859                image {
15860                   normal: "bt_sm_hilight.png";
15861                   border: 6 6 6 0;
15862                }
15863             }
15864             description { state: "selected" 0.0;
15865                inherit: "default" 0.0;
15866                visible: 1;
15867                color: 255 255 255 255;
15868             }
15869             description {
15870                state: "selected" 1.0;
15871                inherit: "default" 0.0;
15872                visible: 1;
15873                color: 255 255 255 255;
15874             }
15875          }
15876          part { name: "fg2";
15877             clip_to: "disclip";
15878             mouse_events: 0;
15879             description { state: "default" 0.0;
15880                visible: 0;
15881                color: 255 255 255 0;
15882                rel1.to: "bg";
15883                rel2.to: "bg";
15884                image {
15885                   normal: "bt_sm_shine.png";
15886                   border: 6 6 6 0;
15887                }
15888             }
15889             description { state: "selected" 0.0;
15890                inherit: "default" 0.0;
15891                visible: 1;
15892                color: 255 255 255 255;
15893             }
15894             description {
15895                state: "selected" 1.0;
15896                inherit: "default" 0.0;
15897                visible: 1;
15898                color: 255 255 255 255;
15899             }
15900          }
15901          part { name: "disclip";
15902             type: RECT;
15903             description { state: "default" 0.0;
15904                rel1.to: "bg";
15905                rel2.to: "bg";
15906             }
15907             description { state: "disabled" 0.0;
15908                inherit: "default" 0.0;
15909                color: 255 255 255 64;
15910             }
15911          }
15912       }
15913       programs {
15914          // signal: elm,state,%s,active
15915          //   a "check" item named %s went active
15916          // signal: elm,state,%s,passive
15917          //   a "check" item named %s went passive
15918          // default is passive
15919          program {
15920             name:    "odd";
15921             signal:  "elm,state,odd";
15922             source:  "elm";
15923             action:  STATE_SET "default" 1.0;
15924             target:  "base_sh";
15925             target:  "base";
15926             target:  "elm.text";
15927          }
15928          program {
15929             name:    "even";
15930             signal:  "elm,state,even";
15931             source:  "elm";
15932             action:  STATE_SET "default" 0.0;
15933             target:  "base_sh";
15934             target:  "base";
15935             target:  "elm.text";
15936          }
15937          program {
15938             name:    "go_active";
15939             signal:  "elm,state,selected";
15940             source:  "elm";
15941             script {
15942                new st[31];
15943                new Float:vl;
15944                get_state(PART:"base", st, 30, vl);
15945                set_state(PART:"bg", "selected", vl);
15946                set_state(PART:"fg1", "selected", vl);
15947                set_state(PART:"fg2", "selected", vl);
15948                set_state(PART:"elm.text", "selected", vl);
15949             }
15950          }
15951          program {
15952             name:    "go_passive";
15953             signal:  "elm,state,unselected";
15954             source:  "elm";
15955             script {
15956                new st[31];
15957                new Float:vl;
15958                get_state(PART:"base", st, 30, vl);
15959                set_state(PART:"bg", "default", vl);
15960                set_state(PART:"fg1", "default", vl);
15961                set_state(PART:"fg2", "default", vl);
15962                set_state(PART:"elm.text", "default", vl);
15963             }
15964          }
15965          program {
15966             name:    "go_disabled";
15967             signal:  "elm,state,disabled";
15968             source:  "elm";
15969             action:  STATE_SET "disabled" 0.0;
15970             target:  "disclip";
15971          }
15972          program {
15973             name:    "go_enabled";
15974             signal:  "elm,state,enabled";
15975             source:  "elm";
15976             action:  STATE_SET "default" 0.0;
15977             target:  "disclip";
15978          }
15979       }
15980    }
15981    group { name: "elm/genlist/item/group_index/default";
15982       alias: "elm/genlist/item_compress/group_index/default";
15983       data.item: "selectraise" "on";
15984       data.item: "labels" "elm.text";
15985       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15986       data.item: "treesize" "20";
15987 //      data.item: "states" "";
15988       images {
15989          image: "bt_sm_base1.png" COMP;
15990          image: "bt_sm_shine.png" COMP;
15991          image: "bt_sm_hilight.png" COMP;
15992          image: "ilist_item_shadow.png" COMP;
15993          image: "group_index.png" COMP;
15994       }
15995       parts {
15996          part {
15997             name: "event";
15998             type: RECT;
15999             repeat_events: 0;
16000             description {
16001                state: "default" 0.0;
16002                color: 0 0 0 0;
16003             }
16004          }
16005          part {
16006             name: "base_sh";
16007             mouse_events: 0;
16008             description {
16009                state: "default" 0.0;
16010                align: 0.0 0.0;
16011                min: 0 10;
16012                fixed: 1 1;
16013                rel1 {
16014                   to: "base";
16015                   relative: 0.0 1.0;
16016                   offset: 0 0;
16017                }
16018                rel2 {
16019                   to: "base";
16020                   relative: 1.0 1.0;
16021                   offset: -1 0;
16022                }
16023                image {
16024                   normal: "ilist_item_shadow.png";
16025                }
16026                fill.smooth: 0;
16027             }
16028          }
16029          part {
16030             name: "base";
16031             mouse_events: 0;
16032             description {
16033                state: "default" 0.0;
16034                image {
16035                   normal: "group_index.png";
16036                   border: 2 2 2 2;
16037                }
16038                fill.smooth: 0;
16039             }
16040          }
16041          part { name: "bg";
16042             clip_to: "disclip";
16043             mouse_events: 0;
16044             description { state: "default" 0.0;
16045                visible: 0;
16046                color: 255 255 255 0;
16047                rel1 {
16048                   relative: 0.0 0.0;
16049                   offset: -5 -5;
16050                }
16051                rel2 {
16052                   relative: 1.0 1.0;
16053                   offset: 4 4;
16054                }
16055                image {
16056                   normal: "bt_sm_base1.png";
16057                   border: 6 6 6 6;
16058                }
16059                image.middle: SOLID;
16060             }
16061             description { state: "selected" 0.0;
16062                inherit: "default" 0.0;
16063                visible: 1;
16064                color: 255 255 255 255;
16065                rel1 {
16066                   relative: 0.0 0.0;
16067                   offset: -2 -2;
16068                }
16069                rel2 {
16070                   relative: 1.0 1.0;
16071                   offset: 1 1;
16072                }
16073             }
16074          }
16075          part { name: "elm.swallow.pad";
16076             type: SWALLOW;
16077             description { state: "default" 0.0;
16078                fixed: 1 0;
16079                align: 0.0 0.5;
16080                rel1 {
16081                   relative: 0.0  0.0;
16082                   offset: 4 4;
16083                }
16084                rel2 {
16085                   relative: 0.0  1.0;
16086                   offset: 4 -5;
16087                }
16088             }
16089          }
16090          part { name: "elm.swallow.icon";
16091             clip_to: "disclip";
16092             type: SWALLOW;
16093             description { state: "default" 0.0;
16094                fixed: 1 0;
16095                align: 0.0 0.5;
16096                rel1 {
16097                   to_x: "elm.swallow.pad";
16098                   relative: 1.0 0.0;
16099                   offset: -1 4;
16100                }
16101                rel2 {
16102                   to_x: "elm.swallow.pad";
16103                   relative: 1.0 1.0;
16104                   offset: -1 -5;
16105                }
16106             }
16107          }
16108          part { name: "elm.swallow.end";
16109             clip_to: "disclip";
16110             type: SWALLOW;
16111             description { state: "default" 0.0;
16112                fixed: 1 0;
16113                align: 1.0 0.5;
16114                aspect: 1.0 1.0;
16115                aspect_preference: VERTICAL;
16116                rel1 {
16117                   relative: 1.0 0.0;
16118                   offset: -5 4;
16119                }
16120                rel2 {
16121                   relative: 1.0 1.0;
16122                   offset: -5 -5;
16123                }
16124             }
16125          }
16126          part { name: "elm.text";
16127             clip_to: "disclip";
16128             type: TEXT;
16129             effect: SOFT_SHADOW;
16130             mouse_events: 0;
16131             scale: 1;
16132             description {
16133                state: "default" 0.0;
16134 //               min: 16 16;
16135                rel1 {
16136                   to_x: "elm.swallow.icon";
16137                   relative: 1.0  0.0;
16138                   offset: 0 4;
16139                }
16140                rel2 {
16141                   to_x: "elm.swallow.end";
16142                   relative: 0.0  1.0;
16143                   offset: -1 -5;
16144                }
16145                color: 0 0 0 255;
16146                color3: 0 0 0 0;
16147                text {
16148                   font: "Sans";
16149                   size: 10;
16150                   min: 1 1;
16151 //                  min: 0 1;
16152                   align: -1.0 0.5;
16153                   text_class: "list_item";
16154                }
16155             }
16156             description { state: "selected" 0.0;
16157                inherit: "default" 0.0;
16158                color: 224 224 224 255;
16159                color3: 0 0 0 64;
16160             }
16161          }
16162          part { name: "fg1";
16163             clip_to: "disclip";
16164             mouse_events: 0;
16165             description { state: "default" 0.0;
16166                visible: 0;
16167                color: 255 255 255 0;
16168                rel1.to: "bg";
16169                rel2.relative: 1.0 0.5;
16170                rel2.to: "bg";
16171                image {
16172                   normal: "bt_sm_hilight.png";
16173                   border: 6 6 6 0;
16174                }
16175             }
16176             description { state: "selected" 0.0;
16177                inherit: "default" 0.0;
16178                visible: 1;
16179                color: 255 255 255 255;
16180             }
16181          }
16182          part { name: "fg2";
16183             clip_to: "disclip";
16184             mouse_events: 0;
16185             description { state: "default" 0.0;
16186                visible: 0;
16187                color: 255 255 255 0;
16188                rel1.to: "bg";
16189                rel2.to: "bg";
16190                image {
16191                   normal: "bt_sm_shine.png";
16192                   border: 6 6 6 0;
16193                }
16194             }
16195             description { state: "selected" 0.0;
16196                inherit: "default" 0.0;
16197                visible: 1;
16198                color: 255 255 255 255;
16199             }
16200          }
16201          part { name: "disclip";
16202             type: RECT;
16203             description { state: "default" 0.0;
16204                rel1.to: "bg";
16205                rel2.to: "bg";
16206             }
16207             description { state: "disabled" 0.0;
16208                inherit: "default" 0.0;
16209                color: 255 255 255 64;
16210             }
16211          }
16212       }
16213       programs {
16214          // signal: elm,state,%s,active
16215          //   a "check" item named %s went active
16216          // signal: elm,state,%s,passive
16217          //   a "check" item named %s went passive
16218          // default is passive
16219          program {
16220             name:    "go_active";
16221             signal:  "elm,state,selected";
16222             source:  "elm";
16223             action:  STATE_SET "selected" 0.0;
16224             target:  "bg";
16225             target:  "fg1";
16226             target:  "fg2";
16227             target:  "elm.text";
16228          }
16229          program {
16230             name:    "go_passive";
16231             signal:  "elm,state,unselected";
16232             source:  "elm";
16233             action:  STATE_SET "default" 0.0;
16234             target:  "bg";
16235             target:  "fg1";
16236             target:  "fg2";
16237             target:  "elm.text";
16238             transition: LINEAR 0.1;
16239          }
16240          program {
16241             name:    "go_disabled";
16242             signal:  "elm,state,disabled";
16243             source:  "elm";
16244             action:  STATE_SET "disabled" 0.0;
16245             target:  "disclip";
16246          }
16247          program {
16248             name:    "go_enabled";
16249             signal:  "elm,state,enabled";
16250             source:  "elm";
16251             action:  STATE_SET "default" 0.0;
16252             target:  "disclip";
16253          }
16254       }
16255    }
16256    group { name: "elm/genlist/item_compress/message/default";
16257       data.item: "selectraise" "on";
16258       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16259 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16260       data.item: "treesize" "20";
16261 //      data.item: "states" "";
16262       images {
16263          image: "bt_sm_base1.png" COMP;
16264          image: "bt_sm_shine.png" COMP;
16265          image: "bt_sm_hilight.png" COMP;
16266          image: "ilist_1.png" COMP;
16267          image: "ilist_2.png" COMP;
16268          image: "ilist_item_shadow.png" COMP;
16269       }
16270       styles {
16271         style { name: "genlist_textblock_style";
16272           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16273           tag:  "br" "\n";
16274           tag:  "ps" "ps";
16275           tag:  "tab" "\t";
16276         }
16277         style { name: "genlist_textblock_style2";
16278           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16279           tag:  "br" "\n";
16280           tag:  "ps" "ps";
16281           tag:  "tab" "\t";
16282         }
16283       }
16284      parts {
16285          part {
16286             name:           "event";
16287             type:           RECT;
16288             repeat_events: 1;
16289             description {
16290                state: "default" 0.0;
16291                color: 0 0 0 0;
16292             }
16293          }
16294          part {
16295             name: "base_sh";
16296             mouse_events: 0;
16297             description {
16298                state: "default" 0.0;
16299                align: 0.0 0.0;
16300                min: 0 10;
16301                fixed: 1 1;
16302                rel1 {
16303                   to: "base";
16304                   relative: 0.0 1.0;
16305                   offset: 0 0;
16306                }
16307                rel2 {
16308                   to: "base";
16309                   relative: 1.0 1.0;
16310                   offset: -1 0;
16311                }
16312                image {
16313                   normal: "ilist_item_shadow.png";
16314                }
16315                fill.smooth: 0;
16316             }
16317             description {
16318                state: "default" 1.0;
16319                inherit: "default" 0.0;
16320                visible: 0;
16321             }
16322          }
16323          part {
16324             name: "base";
16325             mouse_events: 0;
16326             description {
16327                state: "default" 0.0;
16328                image {
16329                   normal: "ilist_1.png";
16330                   border: 2 2 2 2;
16331                }
16332                fill.smooth: 0;
16333             }
16334             description {
16335                state: "default" 1.0;
16336                inherit: "default" 0.0;
16337                image.normal: "ilist_2.png";
16338             }
16339          }
16340          part { name: "bg";
16341             clip_to: "disclip";
16342             mouse_events: 0;
16343             description { state: "default" 0.0;
16344                visible: 0;
16345                color: 255 255 255 0;
16346                rel1 {
16347                   relative: 0.0 0.0;
16348                   offset: -5 -5;
16349                }
16350                rel2 {
16351                   relative: 1.0 1.0;
16352                   offset: 4 4;
16353                }
16354                image {
16355                   normal: "bt_sm_base1.png";
16356                   border: 6 6 6 6;
16357                }
16358                image.middle: SOLID;
16359             }
16360             description { state: "selected" 0.0;
16361                inherit: "default" 0.0;
16362                visible: 1;
16363                color: 255 255 255 255;
16364                rel1 {
16365                   relative: 0.0 0.0;
16366                   offset: -2 -2;
16367                }
16368                rel2 {
16369                   relative: 1.0 1.0;
16370                   offset: 1 1;
16371                }
16372             }
16373          }
16374          part { name: "elm.title.1";
16375             clip_to: "disclip";
16376             type:           TEXT;
16377             effect:         SOFT_SHADOW;
16378             mouse_events:   0;
16379             scale: 1;
16380             description {
16381                state: "default" 0.0;
16382                fixed: 0 1;
16383 //               min: 16 16;
16384                rel1 {
16385                   relative: 0.0  0.0;
16386                   offset:   4 4;
16387                }
16388                rel2 {
16389                   relative: 1.0  0.0;
16390                   offset:   -5 4;
16391                }
16392                color: 0 0 0 255;
16393                color3: 0 0 0 0;
16394                align: 0.0 0.0;
16395                text {
16396                   font: "Sans";
16397                   size: 10;
16398                   min: 0 1;
16399 //                  min: 1 1;
16400                   align: 0.0 0.0;
16401                   text_class: "list_item";
16402                }
16403             }
16404             description { state: "selected" 0.0;
16405                inherit: "default" 0.0;
16406                color: 224 224 224 255;
16407                color3: 0 0 0 64;
16408             }
16409          }
16410          part { name: "elm.title.2";
16411             clip_to: "disclip";
16412             type:           TEXT;
16413             effect:         SOFT_SHADOW;
16414             mouse_events:   0;
16415             scale: 1;
16416             description {
16417                state: "default" 0.0;
16418                fixed: 0 1;
16419 //               min: 16 16;
16420                rel1 {
16421                   to_y:     "elm.title.1";
16422                   relative: 0.0  1.0;
16423                   offset:   4 0;
16424                }
16425                rel2 {
16426                   to_y:     "elm.title.1";
16427                   relative: 1.0  1.0;
16428                   offset:   -5 0;
16429                }
16430                color: 0 0 0 255;
16431                color3: 0 0 0 0;
16432                align: 0.0 0.0;
16433                text {
16434                   font: "Sans";
16435                   size: 10;
16436                   min: 0 1;
16437 //                  min: 1 1;
16438                   align: 0.0 0.0;
16439                   text_class: "list_item";
16440                }
16441             }
16442             description { state: "selected" 0.0;
16443                inherit: "default" 0.0;
16444                color: 224 224 224 255;
16445                color3: 0 0 0 64;
16446             }
16447          }
16448          part { name: "elm.text";
16449             clip_to: "disclip";
16450             type:           TEXTBLOCK;
16451             mouse_events:   0;
16452             scale: 1;
16453             description {
16454                state: "default" 0.0;
16455 //               fixed: 0 1;
16456 //               min: 16 16;
16457                rel1 {
16458                   to_y:     "elm.title.2";
16459                   relative: 0.0  1.0;
16460                   offset:   4 0;
16461                }
16462                rel2 {
16463                   relative: 1.0  1.0;
16464                   offset:   -5 -5;
16465                }
16466                align: 0.0 0.0;
16467                text {
16468                   style: "genlist_textblock_style";
16469                   min: 0 1;
16470 //                  min: 1 1;
16471                   align: 0.0 0.0;
16472                }
16473             }
16474             description { state: "selected" 0.0;
16475                inherit: "default" 0.0;
16476                text {
16477                   style: "genlist_textblock_style2";
16478                }
16479             }
16480          }
16481          part { name: "fg1";
16482             clip_to: "disclip";
16483             mouse_events: 0;
16484             description { state: "default" 0.0;
16485                visible: 0;
16486                color: 255 255 255 0;
16487                rel1.to: "bg";
16488                rel2.relative: 1.0 0.5;
16489                rel2.to: "bg";
16490                image {
16491                   normal: "bt_sm_hilight.png";
16492                   border: 6 6 6 0;
16493                }
16494             }
16495             description { state: "selected" 0.0;
16496                inherit: "default" 0.0;
16497                visible: 1;
16498                color: 255 255 255 255;
16499             }
16500          }
16501          part { name: "fg2";
16502             clip_to: "disclip";
16503             mouse_events: 0;
16504             description { state: "default" 0.0;
16505                visible: 0;
16506                color: 255 255 255 0;
16507                rel1.to: "bg";
16508                rel2.to: "bg";
16509                image {
16510                   normal: "bt_sm_shine.png";
16511                   border: 6 6 6 0;
16512                }
16513             }
16514             description { state: "selected" 0.0;
16515                inherit: "default" 0.0;
16516                visible: 1;
16517                color: 255 255 255 255;
16518             }
16519          }
16520          part { name: "disclip";
16521             type: RECT;
16522             description { state: "default" 0.0;
16523                rel1.to: "bg";
16524                rel2.to: "bg";
16525             }
16526             description { state: "disabled" 0.0;
16527                inherit: "default" 0.0;
16528                color: 255 255 255 64;
16529             }
16530          }
16531       }
16532       programs {
16533          // signal: elm,state,%s,active
16534          //   a "check" item named %s went active
16535          // signal: elm,state,%s,passive
16536          //   a "check" item named %s went passive
16537          // default is passive
16538          program {
16539             name:    "odd";
16540             signal:  "elm,state,odd";
16541             source:  "elm";
16542             action:  STATE_SET "default" 1.0;
16543             target:  "base_sh";
16544             target:  "base";
16545          }
16546          program {
16547             name:    "even";
16548             signal:  "elm,state,even";
16549             source:  "elm";
16550             action:  STATE_SET "default" 0.0;
16551             target:  "base_sh";
16552             target:  "base";
16553          }
16554          program {
16555             name:    "go_active";
16556             signal:  "elm,state,selected";
16557             source:  "elm";
16558             action:  STATE_SET "selected" 0.0;
16559             target:  "bg";
16560             target:  "fg1";
16561             target:  "fg2";
16562             target:  "elm.title.1";
16563             target:  "elm.title.2";
16564             target:  "elm.text";
16565          }
16566          program {
16567             name:    "go_passive";
16568             signal:  "elm,state,unselected";
16569             source:  "elm";
16570             action:  STATE_SET "default" 0.0;
16571             target:  "bg";
16572             target:  "fg1";
16573             target:  "fg2";
16574             target:  "elm.title.1";
16575             target:  "elm.title.2";
16576             target:  "elm.text";
16577             transition: LINEAR 0.1;
16578          }
16579          program {
16580             name:    "go_disabled";
16581             signal:  "elm,state,disabled";
16582             source:  "elm";
16583             action:  STATE_SET "disabled" 0.0;
16584             target:  "disclip";
16585          }
16586          program {
16587             name:    "go_enabled";
16588             signal:  "elm,state,enabled";
16589             source:  "elm";
16590             action:  STATE_SET "default" 0.0;
16591             target:  "disclip";
16592          }
16593       }
16594    }
16595
16596    group { name: "elm/genlist/item_compress/default/default";
16597       data.item: "selectraise" "on";
16598       data.item: "labels" "elm.text";
16599       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16600       data.item: "treesize" "20";
16601 //      data.item: "states" "";
16602       images {
16603          image: "bt_sm_base1.png" COMP;
16604          image: "bt_sm_shine.png" COMP;
16605          image: "bt_sm_hilight.png" COMP;
16606          image: "ilist_1.png" COMP;
16607          image: "ilist_2.png" COMP;
16608          image: "ilist_item_shadow.png" COMP;
16609       }
16610       parts {
16611          part {
16612             name:           "event";
16613             type:           RECT;
16614             repeat_events: 1;
16615             description {
16616                state: "default" 0.0;
16617                color: 0 0 0 0;
16618             }
16619          }
16620          part {
16621             name: "base_sh";
16622             mouse_events: 0;
16623             description {
16624                state: "default" 0.0;
16625                align: 0.0 0.0;
16626                min: 0 10;
16627                fixed: 1 1;
16628                rel1 {
16629                   to: "base";
16630                   relative: 0.0 1.0;
16631                   offset: 0 0;
16632                }
16633                rel2 {
16634                   to: "base";
16635                   relative: 1.0 1.0;
16636                   offset: -1 0;
16637                }
16638                image {
16639                   normal: "ilist_item_shadow.png";
16640                }
16641                fill.smooth: 0;
16642             }
16643             description {
16644                state: "default" 1.0;
16645                inherit: "default" 0.0;
16646                visible: 0;
16647             }
16648          }
16649          part {
16650             name: "base";
16651             mouse_events: 0;
16652             description {
16653                state: "default" 0.0;
16654                image {
16655                   normal: "ilist_1.png";
16656                   border: 2 2 2 2;
16657                }
16658                fill.smooth: 0;
16659             }
16660             description {
16661                state: "default" 1.0;
16662                inherit: "default" 0.0;
16663                image.normal: "ilist_2.png";
16664             }
16665          }
16666          part { name: "bg";
16667             clip_to: "disclip";
16668             mouse_events: 0;
16669             description { state: "default" 0.0;
16670                visible: 0;
16671                color: 255 255 255 0;
16672                rel1 {
16673                   relative: 0.0 0.0;
16674                   offset: -5 -5;
16675                }
16676                rel2 {
16677                   relative: 1.0 1.0;
16678                   offset: 4 4;
16679                }
16680                image {
16681                   normal: "bt_sm_base1.png";
16682                   border: 6 6 6 6;
16683                }
16684                image.middle: SOLID;
16685             }
16686             description { state: "selected" 0.0;
16687                inherit: "default" 0.0;
16688                visible: 1;
16689                color: 255 255 255 255;
16690                rel1 {
16691                   relative: 0.0 0.0;
16692                   offset: -2 -2;
16693                }
16694                rel2 {
16695                   relative: 1.0 1.0;
16696                   offset: 1 1;
16697                }
16698             }
16699          }
16700          part { name: "elm.swallow.pad";
16701             type: SWALLOW;
16702             description { state: "default" 0.0;
16703                fixed: 1 0;
16704                align: 0.0 0.5;
16705                rel1 {
16706                   relative: 0.0  0.0;
16707                   offset:   4    4;
16708                }
16709                rel2 {
16710                   relative: 0.0  1.0;
16711                   offset:   4   -5;
16712                }
16713             }
16714          }
16715          part { name: "elm.swallow.icon";
16716             clip_to: "disclip";
16717             type: SWALLOW;
16718             description { state: "default" 0.0;
16719                fixed: 1 0;
16720                align: 0.0 0.5;
16721                rel1 {
16722                   to_x: "elm.swallow.pad";
16723                   relative: 1.0  0.0;
16724                   offset:   -1    4;
16725                }
16726                rel2 {
16727                   to_x: "elm.swallow.pad";
16728                   relative: 1.0  1.0;
16729                   offset:   -1   -5;
16730                }
16731             }
16732          }
16733          part { name: "elm.swallow.end";
16734             clip_to: "disclip";
16735             type: SWALLOW;
16736             description { state: "default" 0.0;
16737                fixed: 1 0;
16738                align: 1.0 0.5;
16739                aspect: 1.0 1.0;
16740                aspect_preference: VERTICAL;
16741                rel1 {
16742                   relative: 1.0  0.0;
16743                   offset:   -5    4;
16744                }
16745                rel2 {
16746                   relative: 1.0  1.0;
16747                   offset:   -5   -5;
16748                }
16749             }
16750          }
16751          part { name: "elm.text";
16752             clip_to: "disclip";
16753             type:           TEXT;
16754             effect:         SOFT_SHADOW;
16755             mouse_events:   0;
16756             scale: 1;
16757             description {
16758                state: "default" 0.0;
16759 //               min: 16 16;
16760                rel1 {
16761                   to_x:     "elm.swallow.icon";
16762                   relative: 1.0  0.0;
16763                   offset:   0 4;
16764                }
16765                rel2 {
16766                   to_x:     "elm.swallow.end";
16767                   relative: 0.0  1.0;
16768                   offset:   -1 -5;
16769                }
16770                color: 0 0 0 255;
16771                color3: 0 0 0 0;
16772                text {
16773                   font: "Sans";
16774                   size: 10;
16775                   min: 0 1;
16776 //                  min: 1 1;
16777                   align: 0.0 0.5;
16778                   text_class: "list_item";
16779                }
16780             }
16781             description { state: "selected" 0.0;
16782                inherit: "default" 0.0;
16783                color: 224 224 224 255;
16784                color3: 0 0 0 64;
16785             }
16786          }
16787          part { name: "fg1";
16788             clip_to: "disclip";
16789             mouse_events: 0;
16790             description { state: "default" 0.0;
16791                visible: 0;
16792                color: 255 255 255 0;
16793                rel1.to: "bg";
16794                rel2.relative: 1.0 0.5;
16795                rel2.to: "bg";
16796                image {
16797                   normal: "bt_sm_hilight.png";
16798                   border: 6 6 6 0;
16799                }
16800             }
16801             description { state: "selected" 0.0;
16802                inherit: "default" 0.0;
16803                visible: 1;
16804                color: 255 255 255 255;
16805             }
16806          }
16807          part { name: "fg2";
16808             clip_to: "disclip";
16809             mouse_events: 0;
16810             description { state: "default" 0.0;
16811                visible: 0;
16812                color: 255 255 255 0;
16813                rel1.to: "bg";
16814                rel2.to: "bg";
16815                image {
16816                   normal: "bt_sm_shine.png";
16817                   border: 6 6 6 0;
16818                }
16819             }
16820             description { state: "selected" 0.0;
16821                inherit: "default" 0.0;
16822                visible: 1;
16823                color: 255 255 255 255;
16824             }
16825          }
16826          part { name: "disclip";
16827             type: RECT;
16828             description { state: "default" 0.0;
16829                rel1.to: "bg";
16830                rel2.to: "bg";
16831             }
16832             description { state: "disabled" 0.0;
16833                inherit: "default" 0.0;
16834                color: 255 255 255 64;
16835             }
16836          }
16837       }
16838       programs {
16839          // signal: elm,state,%s,active
16840          //   a "check" item named %s went active
16841          // signal: elm,state,%s,passive
16842          //   a "check" item named %s went passive
16843          // default is passive
16844          program {
16845             name:    "odd";
16846             signal:  "elm,state,odd";
16847             source:  "elm";
16848             action:  STATE_SET "default" 1.0;
16849             target:  "base_sh";
16850             target:  "base";
16851          }
16852          program {
16853             name:    "even";
16854             signal:  "elm,state,even";
16855             source:  "elm";
16856             action:  STATE_SET "default" 0.0;
16857             target:  "base_sh";
16858             target:  "base";
16859          }
16860          program {
16861             name:    "go_active";
16862             signal:  "elm,state,selected";
16863             source:  "elm";
16864             action:  STATE_SET "selected" 0.0;
16865             target:  "bg";
16866             target:  "fg1";
16867             target:  "fg2";
16868             target:  "elm.text";
16869          }
16870          program {
16871             name:    "go_passive";
16872             signal:  "elm,state,unselected";
16873             source:  "elm";
16874             action:  STATE_SET "default" 0.0;
16875             target:  "bg";
16876             target:  "fg1";
16877             target:  "fg2";
16878             target:  "elm.text";
16879             transition: LINEAR 0.1;
16880          }
16881          program {
16882             name:    "go_disabled";
16883             signal:  "elm,state,disabled";
16884             source:  "elm";
16885             action:  STATE_SET "disabled" 0.0;
16886             target:  "disclip";
16887          }
16888          program {
16889             name:    "go_enabled";
16890             signal:  "elm,state,enabled";
16891             source:  "elm";
16892             action:  STATE_SET "default" 0.0;
16893             target:  "disclip";
16894          }
16895       }
16896    }
16897
16898    group { name: "elm/genlist/tree/default/default";
16899       data.item: "selectraise" "on";
16900       data.item: "labels" "elm.text";
16901       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16902       data.item: "treesize" "20";
16903 //      data.item: "states" "";
16904       images {
16905          image: "bt_sm_base1.png" COMP;
16906          image: "bt_sm_shine.png" COMP;
16907          image: "bt_sm_hilight.png" COMP;
16908          image: "ilist_1.png" COMP;
16909          image: "ilist_2.png" COMP;
16910          image: "ilist_item_shadow.png" COMP;
16911          image: "icon_arrow_left.png" COMP;
16912          image: "icon_arrow_right.png" COMP;
16913          image: "icon_arrow_down.png" COMP;
16914       }
16915       parts {
16916          part {
16917             name:           "event";
16918             type:           RECT;
16919             repeat_events: 1;
16920             description {
16921                state: "default" 0.0;
16922                color: 0 0 0 0;
16923             }
16924          }
16925          part {
16926             name: "base_sh";
16927             mouse_events: 0;
16928             description {
16929                state: "default" 0.0;
16930                align: 0.0 0.0;
16931                min: 0 10;
16932                fixed: 1 1;
16933                rel1 {
16934                   to: "base";
16935                   relative: 0.0 1.0;
16936                   offset: 0 0;
16937                }
16938                rel2 {
16939                   to: "base";
16940                   relative: 1.0 1.0;
16941                   offset: -1 0;
16942                }
16943                image {
16944                   normal: "ilist_item_shadow.png";
16945                }
16946                fill.smooth: 0;
16947             }
16948             description {
16949                state: "default" 1.0;
16950                inherit: "default" 0.0;
16951                visible: 0;
16952             }
16953          }
16954          part {
16955             name: "base";
16956             mouse_events: 0;
16957             description {
16958                state: "default" 0.0;
16959                image {
16960                   normal: "ilist_1.png";
16961                   border: 2 2 2 2;
16962                }
16963                fill.smooth: 0;
16964             }
16965             description {
16966                state: "default" 1.0;
16967                inherit: "default" 0.0;
16968                image.normal: "ilist_2.png";
16969             }
16970          }
16971          part { name: "bg";
16972             clip_to: "disclip";
16973             mouse_events: 0;
16974             description { state: "default" 0.0;
16975                visible: 0;
16976                color: 255 255 255 0;
16977                rel1 {
16978                   relative: 0.0 0.0;
16979                   offset: -5 -5;
16980                }
16981                rel2 {
16982                   relative: 1.0 1.0;
16983                   offset: 4 4;
16984                }
16985                image {
16986                   normal: "bt_sm_base1.png";
16987                   border: 6 6 6 6;
16988                }
16989                image.middle: SOLID;
16990             }
16991             description { state: "selected" 0.0;
16992                inherit: "default" 0.0;
16993                visible: 1;
16994                color: 255 255 255 255;
16995                rel1 {
16996                   relative: 0.0 0.0;
16997                   offset: -2 -2;
16998                }
16999                rel2 {
17000                   relative: 1.0 1.0;
17001                   offset: 1 1;
17002                }
17003             }
17004          }
17005          part { name: "elm.swallow.pad";
17006             type: SWALLOW;
17007             description { state: "default" 0.0;
17008                fixed: 1 0;
17009                align: 0.0 0.5;
17010                rel1 {
17011                   relative: 0.0  0.0;
17012                   offset:   4    4;
17013                }
17014                rel2 {
17015                   relative: 0.0  1.0;
17016                   offset:   4   -5;
17017                }
17018             }
17019          }
17020          part { name: "arrow";
17021             clip_to: "disclip";
17022             ignore_flags: ON_HOLD;
17023             description { state: "default" 0.0;
17024                fixed: 1 0;
17025                align: 0.0 0.5;
17026                aspect: 1.0 1.0;
17027                rel1 {
17028                   to_x: "elm.swallow.pad";
17029                   relative: 1.0  0.0;
17030                   offset:   -1    4;
17031                }
17032                rel2 {
17033                   to_x: "elm.swallow.pad";
17034                   relative: 1.0  1.0;
17035                   offset:   -1   -5;
17036                }
17037                image.normal: "icon_arrow_right.png";
17038             }
17039             description { state: "default" 0.1;
17040                inherit: "default" 0.0;
17041                image.normal: "icon_arrow_left.png";
17042             }
17043             description { state: "active" 0.0;
17044                inherit: "default" 0.0;
17045                image.normal: "icon_arrow_down.png";
17046             }
17047             description { state: "active" 0.1;
17048                inherit: "default" 0.0;
17049                image.normal: "icon_arrow_down.png";
17050             }
17051          }
17052          part { name: "elm.swallow.icon";
17053             clip_to: "disclip";
17054             type: SWALLOW;
17055             description { state: "default" 0.0;
17056                fixed: 1 0;
17057                align: 0.0 0.5;
17058                rel1 {
17059                   to_x: "arrow";
17060                   relative: 1.0  0.0;
17061                   offset:   4    4;
17062                }
17063                rel2 {
17064                   to_x: "arrow";
17065                   relative: 1.0  1.0;
17066                   offset:   4   -5;
17067                }
17068             }
17069          }
17070          part { name: "elm.swallow.end";
17071             clip_to: "disclip";
17072             type: SWALLOW;
17073             description { state: "default" 0.0;
17074                fixed: 1 0;
17075                align: 1.0 0.5;
17076                aspect: 1.0 1.0;
17077                aspect_preference: VERTICAL;
17078                rel1 {
17079                   relative: 1.0  0.0;
17080                   offset:   -5    4;
17081                }
17082                rel2 {
17083                   relative: 1.0  1.0;
17084                   offset:   -5   -5;
17085                }
17086             }
17087          }
17088          part { name: "elm.text";
17089             clip_to: "disclip";
17090             type:           TEXT;
17091             effect:         SOFT_SHADOW;
17092             mouse_events:   0;
17093             scale: 1;
17094             description {
17095                state: "default" 0.0;
17096 //               min: 16 16;
17097                rel1 {
17098                   to_x:     "elm.swallow.icon";
17099                   relative: 1.0  0.0;
17100                   offset:   0 4;
17101                }
17102                rel2 {
17103                   to_x:     "elm.swallow.end";
17104                   relative: 0.0  1.0;
17105                   offset:   -1 -5;
17106                }
17107                color: 0 0 0 255;
17108                color3: 0 0 0 0;
17109                text {
17110                   font: "Sans";
17111                   size: 10;
17112                   min: 1 1;
17113 //                  min: 0 1;
17114                   align: -1.0 0.5;
17115                   text_class: "list_item";
17116                }
17117             }
17118             description { state: "selected" 0.0;
17119                inherit: "default" 0.0;
17120                color: 224 224 224 255;
17121                color3: 0 0 0 64;
17122             }
17123          }
17124          part { name: "fg1";
17125             clip_to: "disclip";
17126             mouse_events: 0;
17127             description { state: "default" 0.0;
17128                visible: 0;
17129                color: 255 255 255 0;
17130                rel1.to: "bg";
17131                rel2.relative: 1.0 0.5;
17132                rel2.to: "bg";
17133                image {
17134                   normal: "bt_sm_hilight.png";
17135                   border: 6 6 6 0;
17136                }
17137             }
17138             description { state: "selected" 0.0;
17139                inherit: "default" 0.0;
17140                visible: 1;
17141                color: 255 255 255 255;
17142             }
17143          }
17144          part { name: "fg2";
17145             clip_to: "disclip";
17146             mouse_events: 0;
17147             description { state: "default" 0.0;
17148                visible: 0;
17149                color: 255 255 255 0;
17150                rel1.to: "bg";
17151                rel2.to: "bg";
17152                image {
17153                   normal: "bt_sm_shine.png";
17154                   border: 6 6 6 0;
17155                }
17156             }
17157             description { state: "selected" 0.0;
17158                inherit: "default" 0.0;
17159                visible: 1;
17160                color: 255 255 255 255;
17161             }
17162          }
17163          part { name: "disclip";
17164             type: RECT;
17165             description { state: "default" 0.0;
17166                rel1.to: "bg";
17167                rel2.to: "bg";
17168             }
17169             description { state: "disabled" 0.0;
17170                inherit: "default" 0.0;
17171                color: 255 255 255 64;
17172             }
17173          }
17174       }
17175       programs {
17176          // signal: elm,state,%s,active
17177          //   a "check" item named %s went active
17178          // signal: elm,state,%s,passive
17179          //   a "check" item named %s went passive
17180          // default is passive
17181          program {
17182             name:    "odd";
17183             signal:  "elm,state,odd";
17184             source:  "elm";
17185             action:  STATE_SET "default" 1.0;
17186             target:  "base_sh";
17187             target:  "base";
17188          }
17189          program {
17190             name:    "even";
17191             signal:  "elm,state,even";
17192             source:  "elm";
17193             action:  STATE_SET "default" 0.0;
17194             target:  "base_sh";
17195             target:  "base";
17196          }
17197          program {
17198             name:    "go_active";
17199             signal:  "elm,state,selected";
17200             source:  "elm";
17201             action:  STATE_SET "selected" 0.0;
17202             target:  "bg";
17203             target:  "fg1";
17204             target:  "fg2";
17205             target:  "elm.text";
17206          }
17207          program {
17208             name:    "go_passive";
17209             signal:  "elm,state,unselected";
17210             source:  "elm";
17211             action:  STATE_SET "default" 0.0;
17212             target:  "bg";
17213             target:  "fg1";
17214             target:  "fg2";
17215             target:  "elm.text";
17216             transition: LINEAR 0.1;
17217          }
17218          program {
17219             name:    "go_disabled";
17220             signal:  "elm,state,disabled";
17221             source:  "elm";
17222             action:  STATE_SET "disabled" 0.0;
17223             target:  "disclip";
17224          }
17225          program {
17226             name:    "go_enabled";
17227             signal:  "elm,state,enabled";
17228             source:  "elm";
17229             action:  STATE_SET "default" 0.0;
17230             target:  "disclip";
17231          }
17232          program {
17233             name:    "expand";
17234             signal:  "mouse,up,1";
17235             source:  "arrow";
17236             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17237          }
17238          program {
17239             name:    "go_expanded";
17240             signal:  "elm,state,expanded";
17241             source:  "elm";
17242             script {
17243                new st[31];
17244                new Float:vl;
17245                get_state(PART:"arrow", st, 30, vl);
17246                set_state(PART:"arrow", "active", vl);
17247             }
17248          }
17249          program {
17250             name:    "go_contracted";
17251             signal:  "elm,state,contracted";
17252             source:  "elm";
17253             script {
17254                new st[31];
17255                new Float:vl;
17256                get_state(PART:"arrow", st, 30, vl);
17257                set_state(PART:"arrow", "default", vl);
17258             }
17259          }
17260          program { name: "to_rtl";
17261             signal: "edje,state,rtl";
17262             source: "edje";
17263             script {
17264                new st[31];
17265                new Float:vl;
17266                get_state(PART:"arrow", st, 30, vl);
17267                if (vl == 0.0) {
17268                   set_state(PART:"arrow", st, 0.1);
17269                }
17270             }
17271          }
17272          program { name: "to_ltr";
17273             signal: "edje,state,ltr";
17274             source: "edje";
17275             script {
17276                new st[31];
17277                new Float:vl;
17278                get_state(PART:"arrow", st, 30, vl);
17279                if (vl == 0.1) {
17280                   set_state(PART:"arrow", st, 0.0);
17281                }
17282             }
17283          }
17284       }
17285    }
17286    group { name: "elm/genlist/tree_compress/default/default";
17287       data.item: "stacking" "above";
17288       data.item: "selectraise" "on";
17289       data.item: "labels" "elm.text";
17290       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17291       data.item: "treesize" "20";
17292 //      data.item: "states" "";
17293       images {
17294          image: "bt_sm_base1.png" COMP;
17295          image: "bt_sm_shine.png" COMP;
17296          image: "bt_sm_hilight.png" COMP;
17297          image: "ilist_1.png" COMP;
17298          image: "ilist_item_shadow.png" COMP;
17299          image: "icon_arrow_left.png" COMP;
17300          image: "icon_arrow_right.png" COMP;
17301          image: "icon_arrow_down.png" COMP;
17302       }
17303       parts {
17304          part {
17305             name:           "event";
17306             type:           RECT;
17307             repeat_events: 1;
17308             description {
17309                state: "default" 0.0;
17310                color: 0 0 0 0;
17311             }
17312          }
17313          part {
17314             name: "base_sh";
17315             mouse_events: 0;
17316             description {
17317                state: "default" 0.0;
17318                align: 0.0 0.0;
17319                min: 0 10;
17320                fixed: 1 1;
17321                rel1 {
17322                   to: "base";
17323                   relative: 0.0 1.0;
17324                   offset: 0 0;
17325                }
17326                rel2 {
17327                   to: "base";
17328                   relative: 1.0 1.0;
17329                   offset: -1 0;
17330                }
17331                image {
17332                   normal: "ilist_item_shadow.png";
17333                }
17334                fill.smooth: 0;
17335             }
17336             description {
17337                state: "default" 1.0;
17338                inherit: "default" 0.0;
17339                visible: 0;
17340             }
17341          }
17342          part {
17343             name: "base";
17344             mouse_events: 0;
17345             description {
17346                state: "default" 0.0;
17347                image {
17348                   normal: "ilist_1.png";
17349                   border: 2 2 2 2;
17350                }
17351                fill.smooth: 0;
17352             }
17353             description {
17354                state: "default" 1.0;
17355                inherit: "default" 0.0;
17356                image.normal: "ilist_2.png";
17357             }
17358          }
17359          part { name: "bg";
17360             clip_to: "disclip";
17361             mouse_events: 0;
17362             description { state: "default" 0.0;
17363                visible: 0;
17364                color: 255 255 255 0;
17365                rel1 {
17366                   relative: 0.0 0.0;
17367                   offset: -5 -5;
17368                }
17369                rel2 {
17370                   relative: 1.0 1.0;
17371                   offset: 4 4;
17372                }
17373                image {
17374                   normal: "bt_sm_base1.png";
17375                   border: 6 6 6 6;
17376                }
17377                image.middle: SOLID;
17378             }
17379             description { state: "selected" 0.0;
17380                inherit: "default" 0.0;
17381                visible: 1;
17382                color: 255 255 255 255;
17383                rel1 {
17384                   relative: 0.0 0.0;
17385                   offset: -2 -2;
17386                }
17387                rel2 {
17388                   relative: 1.0 1.0;
17389                   offset: 1 1;
17390                }
17391             }
17392          }
17393          part { name: "elm.swallow.pad";
17394             type: SWALLOW;
17395             description { state: "default" 0.0;
17396                fixed: 1 0;
17397                align: 0.0 0.5;
17398                rel1 {
17399                   relative: 0.0  0.0;
17400                   offset:   4    4;
17401                }
17402                rel2 {
17403                   relative: 0.0  1.0;
17404                   offset:   4   -5;
17405                }
17406             }
17407          }
17408          part { name: "arrow";
17409             clip_to: "disclip";
17410             ignore_flags: ON_HOLD;
17411             description { state: "default" 0.0;
17412                fixed: 1 0;
17413                align: 0.0 0.5;
17414                aspect: 1.0 1.0;
17415                rel1 {
17416                   to_x: "elm.swallow.pad";
17417                   relative: 1.0  0.0;
17418                   offset:   -1    4;
17419                }
17420                rel2 {
17421                   to_x: "elm.swallow.pad";
17422                   relative: 1.0  1.0;
17423                   offset:   -1   -5;
17424                }
17425                image.normal: "icon_arrow_right.png";
17426             }
17427             description { state: "default" 0.1;
17428                inherit: "default" 0.0;
17429                image.normal: "icon_arrow_left.png";
17430             }
17431             description { state: "active" 0.0;
17432                inherit: "default" 0.0;
17433                image.normal: "icon_arrow_down.png";
17434             }
17435             description { state: "active" 0.1;
17436                inherit: "default" 0.0;
17437                image.normal: "icon_arrow_down.png";
17438             }
17439          }
17440          part { name: "elm.swallow.icon";
17441             clip_to: "disclip";
17442             type: SWALLOW;
17443             description { state: "default" 0.0;
17444                fixed: 1 0;
17445                align: 0.0 0.5;
17446                rel1 {
17447                   to_x: "arrow";
17448                   relative: 1.0  0.0;
17449                   offset:   4    4;
17450                }
17451                rel2 {
17452                   to_x: "arrow";
17453                   relative: 1.0  1.0;
17454                   offset:   4   -5;
17455                }
17456             }
17457          }
17458          part { name: "elm.swallow.end";
17459             clip_to: "disclip";
17460             type: SWALLOW;
17461             description { state: "default" 0.0;
17462                fixed: 1 0;
17463                align: 1.0 0.5;
17464                aspect: 1.0 1.0;
17465                aspect_preference: VERTICAL;
17466                rel1 {
17467                   relative: 1.0  0.0;
17468                   offset:   -5    4;
17469                }
17470                rel2 {
17471                   relative: 1.0  1.0;
17472                   offset:   -5   -5;
17473                }
17474             }
17475          }
17476          part { name: "elm.text";
17477             clip_to: "disclip";
17478             type:           TEXT;
17479             effect:         SOFT_SHADOW;
17480             mouse_events:   0;
17481             scale: 1;
17482             description {
17483                state: "default" 0.0;
17484 //               min: 16 16;
17485                rel1 {
17486                   to_x:     "elm.swallow.icon";
17487                   relative: 1.0  0.0;
17488                   offset:   0 4;
17489                }
17490                rel2 {
17491                   to_x:     "elm.swallow.end";
17492                   relative: 0.0  1.0;
17493                   offset:   -1 -5;
17494                }
17495                color: 0 0 0 255;
17496                color3: 0 0 0 0;
17497                text {
17498                   font: "Sans";
17499                   size: 10;
17500 //                  min: 1 1;
17501                   min: 0 1;
17502                   align: 0.0 0.5;
17503                   text_class: "list_item";
17504                }
17505             }
17506             description { state: "selected" 0.0;
17507                inherit: "default" 0.0;
17508                color: 224 224 224 255;
17509                color3: 0 0 0 64;
17510             }
17511          }
17512          part { name: "fg1";
17513             clip_to: "disclip";
17514             mouse_events: 0;
17515             description { state: "default" 0.0;
17516                visible: 0;
17517                color: 255 255 255 0;
17518                rel1.to: "bg";
17519                rel2.relative: 1.0 0.5;
17520                rel2.to: "bg";
17521                image {
17522                   normal: "bt_sm_hilight.png";
17523                   border: 6 6 6 0;
17524                }
17525             }
17526             description { state: "selected" 0.0;
17527                inherit: "default" 0.0;
17528                visible: 1;
17529                color: 255 255 255 255;
17530             }
17531          }
17532          part { name: "fg2";
17533             clip_to: "disclip";
17534             mouse_events: 0;
17535             description { state: "default" 0.0;
17536                visible: 0;
17537                color: 255 255 255 0;
17538                rel1.to: "bg";
17539                rel2.to: "bg";
17540                image {
17541                   normal: "bt_sm_shine.png";
17542                   border: 6 6 6 0;
17543                }
17544             }
17545             description { state: "selected" 0.0;
17546                inherit: "default" 0.0;
17547                visible: 1;
17548                color: 255 255 255 255;
17549             }
17550          }
17551          part { name: "disclip";
17552             type: RECT;
17553             description { state: "default" 0.0;
17554                rel1.to: "bg";
17555                rel2.to: "bg";
17556             }
17557             description { state: "disabled" 0.0;
17558                inherit: "default" 0.0;
17559                color: 255 255 255 64;
17560             }
17561          }
17562       }
17563       programs {
17564          // signal: elm,state,%s,active
17565          //   a "check" item named %s went active
17566          // signal: elm,state,%s,passive
17567          //   a "check" item named %s went passive
17568          // default is passive
17569          program {
17570             name:    "odd";
17571             signal:  "elm,state,odd";
17572             source:  "elm";
17573             action:  STATE_SET "default" 1.0;
17574             target:  "base_sh";
17575             target:  "base";
17576          }
17577          program {
17578             name:    "even";
17579             signal:  "elm,state,even";
17580             source:  "elm";
17581             action:  STATE_SET "default" 0.0;
17582             target:  "base_sh";
17583             target:  "base";
17584          }
17585          program {
17586             name:    "go_active";
17587             signal:  "elm,state,selected";
17588             source:  "elm";
17589             action:  STATE_SET "selected" 0.0;
17590             target:  "bg";
17591             target:  "fg1";
17592             target:  "fg2";
17593             target:  "elm.text";
17594          }
17595          program {
17596             name:    "go_passive";
17597             signal:  "elm,state,unselected";
17598             source:  "elm";
17599             action:  STATE_SET "default" 0.0;
17600             target:  "bg";
17601             target:  "fg1";
17602             target:  "fg2";
17603             target:  "elm.text";
17604             transition: LINEAR 0.1;
17605          }
17606          program {
17607             name:    "go_disabled";
17608             signal:  "elm,state,disabled";
17609             source:  "elm";
17610             action:  STATE_SET "disabled" 0.0;
17611             target:  "disclip";
17612          }
17613          program {
17614             name:    "go_enabled";
17615             signal:  "elm,state,enabled";
17616             source:  "elm";
17617             action:  STATE_SET "default" 0.0;
17618             target:  "disclip";
17619          }
17620          program {
17621             name:    "expand";
17622             signal:  "mouse,up,1";
17623             source:  "arrow";
17624             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17625          }
17626          program {
17627             name:    "go_expanded";
17628             signal:  "elm,state,expanded";
17629             source:  "elm";
17630             script {
17631                new st[31];
17632                new Float:vl;
17633                get_state(PART:"arrow", st, 30, vl);
17634                set_state(PART:"arrow", "active", vl);
17635             }
17636          }
17637          program {
17638             name:    "go_contracted";
17639             signal:  "elm,state,contracted";
17640             source:  "elm";
17641             script {
17642                new st[31];
17643                new Float:vl;
17644                get_state(PART:"arrow", st, 30, vl);
17645                set_state(PART:"arrow", "default", vl);
17646             }
17647          }
17648          program { name: "to_rtl";
17649             signal: "edje,state,rtl";
17650             source: "edje";
17651             script {
17652                new st[31];
17653                new Float:vl;
17654                get_state(PART:"arrow", st, 30, vl);
17655                if (vl == 0.0) {
17656                   set_state(PART:"arrow", st, 0.1);
17657                }
17658             }
17659          }
17660          program { name: "to_ltr";
17661             signal: "edje,state,ltr";
17662             source: "edje";
17663             script {
17664                new st[31];
17665                new Float:vl;
17666                get_state(PART:"arrow", st, 30, vl);
17667                if (vl == 0.1) {
17668                   set_state(PART:"arrow", st, 0.0);
17669                }
17670             }
17671          }
17672       }
17673    }
17674    group { name: "elm/genlist/item/default_style/default";
17675        styles
17676        {
17677            style { name: "genlist_style";
17678                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17679                tag:  "br" "\n";
17680                tag:  "ps" "ps";
17681                tag:  "hilight" "+ font=Sans:style=Bold";
17682                tag:  "b" "+ font=Sans:style=Bold";
17683                tag:  "tab" "\t";
17684            }
17685            style { name: "genlist_selected_style";
17686                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17687                tag:  "br" "\n";
17688                tag:  "ps" "ps";
17689                tag:  "hilight" "+ font=Sans:style=Bold";
17690                tag:  "b" "+ font=Sans:style=Bold";
17691                tag:  "tab" "\t";
17692            }
17693        }
17694        data.item: "stacking" "above";
17695        data.item: "selectraise" "on";
17696        data.item: "labels" "elm.text";
17697        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17698        data.item: "treesize" "20";
17699        images {
17700            image: "bt_sm_base1.png" COMP;
17701            image: "bt_sm_shine.png" COMP;
17702            image: "bt_sm_hilight.png" COMP;
17703            image: "ilist_1.png" COMP;
17704            image: "ilist_item_shadow.png" COMP;
17705        }
17706        parts {
17707            part {
17708                name:           "event";
17709                type:           RECT;
17710                repeat_events: 1;
17711                description {
17712                    state: "default" 0.0;
17713                    color: 0 0 0 0;
17714                }
17715            }
17716            part {
17717                name: "base_sh";
17718                mouse_events: 0;
17719                description {
17720                    state: "default" 0.0;
17721                    align: 0.0 0.0;
17722                    min: 0 10;
17723                    fixed: 1 1;
17724                    rel1 {
17725                        to: "base";
17726                        relative: 0.0 1.0;
17727                        offset: 0 0;
17728                    }
17729                    rel2 {
17730                        to: "base";
17731                        relative: 1.0 1.0;
17732                        offset: -1 0;
17733                    }
17734                    image {
17735                        normal: "ilist_item_shadow.png";
17736                    }
17737                    fill.smooth: 0;
17738                }
17739            }
17740            part {
17741                name: "base";
17742                mouse_events: 0;
17743                description {
17744                    state: "default" 0.0;
17745                    min: 16 28;
17746                    image {
17747                        normal: "ilist_1.png";
17748                        border: 2 2 2 2;
17749                    }
17750                    fill.smooth: 0;
17751                }
17752            }
17753            part { name: "bg";
17754                clip_to: "disclip";
17755                mouse_events: 0;
17756                description { state: "default" 0.0;
17757                    visible: 0;
17758                    color: 255 255 255 0;
17759                    rel1 {
17760                        relative: 0.0 0.0;
17761                        offset: -5 -5;
17762                    }
17763                    rel2 {
17764                        relative: 1.0 1.0;
17765                        offset: 4 4;
17766                    }
17767                    image {
17768                        normal: "bt_sm_base1.png";
17769                        border: 6 6 6 6;
17770                    }
17771                    image.middle: SOLID;
17772                }
17773                description { state: "selected" 0.0;
17774                    inherit: "default" 0.0;
17775                    visible: 1;
17776                    color: 255 255 255 255;
17777                    rel1 {
17778                        relative: 0.0 0.0;
17779                        offset: -2 -2;
17780                    }
17781                    rel2 {
17782                        relative: 1.0 1.0;
17783                        offset: 1 1;
17784                    }
17785                }
17786            }
17787            part { name: "elm.swallow.pad";
17788                type: SWALLOW;
17789                description { state: "default" 0.0;
17790                    fixed: 1 0;
17791                    align: 0.0 0.5;
17792                    rel1 {
17793                        relative: 0.0  0.0;
17794                        offset:   4    4;
17795                    }
17796                    rel2 {
17797                        relative: 0.0  1.0;
17798                        offset:   4   -5;
17799                    }
17800                }
17801            }
17802            part { name: "elm.swallow.icon";
17803                clip_to: "disclip";
17804                type: SWALLOW;
17805                description { state: "default" 0.0;
17806                    fixed: 1 0;
17807                    align: 0.0 0.5;
17808                    rel1 {
17809                        to_x: "elm.swallow.pad";
17810                        relative: 1.0  0.0;
17811                        offset:   -1    4;
17812                    }
17813                    rel2 {
17814                        to_x: "elm.swallow.pad";
17815                        relative: 1.0  1.0;
17816                        offset:   -1   -5;
17817                    }
17818                }
17819            }
17820            part { name: "elm.swallow.end";
17821                clip_to: "disclip";
17822                type: SWALLOW;
17823                description { state: "default" 0.0;
17824                    fixed: 1 0;
17825                    align: 1.0 0.5;
17826                    aspect: 1.0 1.0;
17827                    aspect_preference: VERTICAL;
17828                    rel1 {
17829                        relative: 1.0  0.0;
17830                        offset:   -5    4;
17831                    }
17832                    rel2 {
17833                        relative: 1.0  1.0;
17834                        offset:   -5   -5;
17835                    }
17836                }
17837            }
17838            part { name: "elm.text";
17839                clip_to: "disclip";
17840                type: TEXTBLOCK;
17841                mouse_events: 0;
17842                scale: 1;
17843                description {
17844                    state: "default" 0.0;
17845                    align: 0.0 0.5;
17846                    fixed: 0 1;
17847                    rel1 {
17848                        to_x: "elm.swallow.icon";
17849                        to_y: "base";
17850                        relative: 1.0  0.5;
17851                        offset:   0 4;
17852                    }
17853                    rel2 {
17854                        to_x: "elm.swallow.end";
17855                        to_y: "base";
17856                        relative: 0.0  0.5;
17857                        offset:   -1 -5;
17858                    }
17859                    text {
17860                        style: "genlist_style";
17861                        min: 1 1;
17862                    }
17863                }
17864                description { state: "selected" 0.0;
17865                    inherit: "default" 0.0;
17866                    text {
17867                        style: "genlist_selected_style";
17868                    }
17869                }
17870            }
17871            part { name: "fg1";
17872                clip_to: "disclip";
17873                mouse_events: 0;
17874                description { state: "default" 0.0;
17875                    visible: 0;
17876                    color: 255 255 255 0;
17877                    rel1.to: "bg";
17878                    rel2.relative: 1.0 0.5;
17879                    rel2.to: "bg";
17880                    image {
17881                        normal: "bt_sm_hilight.png";
17882                        border: 6 6 6 0;
17883                    }
17884                }
17885                description { state: "selected" 0.0;
17886                    inherit: "default" 0.0;
17887                    visible: 1;
17888                    color: 255 255 255 255;
17889                }
17890            }
17891            part { name: "fg2";
17892                clip_to: "disclip";
17893                mouse_events: 0;
17894                description { state: "default" 0.0;
17895                    visible: 0;
17896                    color: 255 255 255 0;
17897                    rel1.to: "bg";
17898                    rel2.to: "bg";
17899                    image {
17900                        normal: "bt_sm_shine.png";
17901                        border: 6 6 6 0;
17902                    }
17903                }
17904                description { state: "selected" 0.0;
17905                    inherit: "default" 0.0;
17906                    visible: 1;
17907                    color: 255 255 255 255;
17908                }
17909            }
17910            part { name: "disclip";
17911                type: RECT;
17912                description { state: "default" 0.0;
17913                    rel1.to: "bg";
17914                    rel2.to: "bg";
17915                }
17916                description { state: "disabled" 0.0;
17917                    inherit: "default" 0.0;
17918                    color: 255 255 255 64;
17919                }
17920            }
17921        }
17922        programs {
17923            // signal: elm,state,%s,active
17924            //   a "check" item named %s went active
17925            // signal: elm,state,%s,passive
17926            //   a "check" item named %s went passive
17927            // default is passive
17928            program {
17929                name:    "go_active";
17930                signal:  "elm,state,selected";
17931                source:  "elm";
17932                action:  STATE_SET "selected" 0.0;
17933                target:  "bg";
17934                target:  "fg1";
17935                target:  "fg2";
17936                target:  "elm.text";
17937            }
17938            program {
17939                name:    "go_passive";
17940                signal:  "elm,state,unselected";
17941                source:  "elm";
17942                action:  STATE_SET "default" 0.0;
17943                target:  "bg";
17944                target:  "fg1";
17945                target:  "fg2";
17946                target:  "elm.text";
17947                transition: LINEAR 0.1;
17948            }
17949            program {
17950                name:    "go_disabled";
17951                signal:  "elm,state,disabled";
17952                source:  "elm";
17953                action:  STATE_SET "disabled" 0.0;
17954                target:  "disclip";
17955            }
17956            program {
17957                name:    "go_enabled";
17958                signal:  "elm,state,enabled";
17959                source:  "elm";
17960                action:  STATE_SET "default" 0.0;
17961                target:  "disclip";
17962            }
17963        }
17964    }
17965    group { name: "elm/genlist/item_odd/default_style/default";
17966        data.item: "stacking" "below";
17967        data.item: "selectraise" "on";
17968        data.item: "labels" "elm.text";
17969        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17970        data.item: "treesize" "20";
17971        images {
17972            image: "bt_sm_base1.png" COMP;
17973            image: "bt_sm_shine.png" COMP;
17974            image: "bt_sm_hilight.png" COMP;
17975            image: "ilist_2.png" COMP;
17976        }
17977        parts {
17978            part { name: "event";
17979                type: RECT;
17980                repeat_events: 1;
17981                description {
17982                    state: "default" 0.0;
17983                    color: 0 0 0 0;
17984                }
17985            }
17986            part {
17987                name: "base";
17988                mouse_events: 0;
17989                description {
17990                    state: "default" 0.0;
17991                    min: 16 28;
17992                    image {
17993                        normal: "ilist_2.png";
17994                        border: 2 2 2 2;
17995                    }
17996                    fill.smooth: 0;
17997                }
17998            }
17999            part { name: "bg";
18000                clip_to: "disclip";
18001                mouse_events: 0;
18002                description { state: "default" 0.0;
18003                    visible: 0;
18004                    color: 255 255 255 0;
18005                    rel1 {
18006                        relative: 0.0 0.0;
18007                        offset: -5 -5;
18008                    }
18009                    rel2 {
18010                        relative: 1.0 1.0;
18011                        offset: 4 4;
18012                    }
18013                    image {
18014                        normal: "bt_sm_base1.png";
18015                        border: 6 6 6 6;
18016                    }
18017                    image.middle: SOLID;
18018                }
18019                description { state: "selected" 0.0;
18020                    inherit: "default" 0.0;
18021                    visible: 1;
18022                    color: 255 255 255 255;
18023                    rel1 {
18024                        relative: 0.0 0.0;
18025                        offset: -2 -2;
18026                    }
18027                    rel2 {
18028                        relative: 1.0 1.0;
18029                        offset: 1 1;
18030                    }
18031                }
18032            }
18033            part { name: "elm.swallow.pad";
18034                type: SWALLOW;
18035                description { state: "default" 0.0;
18036                    fixed: 1 0;
18037                    align: 0.0 0.5;
18038                    rel1 {
18039                        relative: 0.0  0.0;
18040                        offset:   4    4;
18041                    }
18042                    rel2 {
18043                        relative: 0.0  1.0;
18044                        offset:   4   -5;
18045                    }
18046                }
18047            }
18048            part { name: "elm.swallow.icon";
18049                clip_to: "disclip";
18050                type: SWALLOW;
18051                description { state: "default" 0.0;
18052                    fixed: 1 0;
18053                    align: 0.0 0.5;
18054                    rel1 {
18055                        to_x: "elm.swallow.pad";
18056                        relative: 1.0  0.0;
18057                        offset:   -1    4;
18058                    }
18059                    rel2 {
18060                        to_x: "elm.swallow.pad";
18061                        relative: 1.0  1.0;
18062                        offset:   -1   -5;
18063                    }
18064                }
18065            }
18066            part { name: "elm.swallow.end";
18067                clip_to: "disclip";
18068                type:          SWALLOW;
18069                description { state:    "default" 0.0;
18070                    fixed: 1 0;
18071                    align:    1.0 0.5;
18072                    aspect: 1.0 1.0;
18073                    aspect_preference: VERTICAL;
18074                    rel1 {
18075                        relative: 1.0  0.0;
18076                        offset:   -5    4;
18077                    }
18078                    rel2 {
18079                        relative: 1.0  1.0;
18080                        offset:   -5   -5;
18081                    }
18082                }
18083            }
18084            part { name: "elm.text";
18085                clip_to: "disclip";
18086                type:           TEXTBLOCK;
18087                mouse_events:   0;
18088                scale: 1;
18089                description {
18090                    state: "default" 0.0;
18091                    align: 0.0 0.5;
18092                    fixed: 0 1;
18093                    rel1 {
18094                        to_x: "elm.swallow.icon";
18095                        to_y: "base";
18096                        relative: 1.0  0.5;
18097                        offset:   0 4;
18098                    }
18099                    rel2 {
18100                        to_x: "elm.swallow.end";
18101                        to_y: "base";
18102                        relative: 0.0  0.5;
18103                        offset:   -1 -5;
18104                    }
18105                    text {
18106                        style: "genlist_style";
18107                        min: 1 1;
18108                    }
18109                }
18110                description { state: "selected" 0.0;
18111                    inherit: "default" 0.0;
18112                    text {
18113                        style: "genlist_selected_style";
18114                    }
18115                }
18116            }
18117            part { name: "fg1";
18118                clip_to: "disclip";
18119                mouse_events: 0;
18120                description { state: "default" 0.0;
18121                    visible: 0;
18122                    color: 255 255 255 0;
18123                    rel1.to: "bg";
18124                    rel2.relative: 1.0 0.5;
18125                    rel2.to: "bg";
18126                    image {
18127                        normal: "bt_sm_hilight.png";
18128                        border: 6 6 6 0;
18129                    }
18130                }
18131                description { state: "selected" 0.0;
18132                    inherit: "default" 0.0;
18133                    visible: 1;
18134                    color: 255 255 255 255;
18135                }
18136            }
18137            part { name: "fg2";
18138                clip_to: "disclip";
18139                mouse_events: 0;
18140                description { state: "default" 0.0;
18141                    visible: 0;
18142                    color: 255 255 255 0;
18143                    rel1.to: "bg";
18144                    rel2.to: "bg";
18145                    image {
18146                        normal: "bt_sm_shine.png";
18147                        border: 6 6 6 0;
18148                    }
18149                }
18150                description { state: "selected" 0.0;
18151                    inherit: "default" 0.0;
18152                    visible: 1;
18153                    color: 255 255 255 255;
18154                }
18155            }
18156            part { name: "disclip";
18157                type: RECT;
18158                description { state: "default" 0.0;
18159                    rel1.to: "bg";
18160                    rel2.to: "bg";
18161                }
18162                description { state: "disabled" 0.0;
18163                    inherit: "default" 0.0;
18164                    color: 255 255 255 64;
18165                }
18166            }
18167        }
18168        programs {
18169            // signal: elm,state,%s,active
18170            //   a "check" item named %s went active
18171            // signal: elm,state,%s,passive
18172            //   a "check" item named %s went passive
18173            // default is passive
18174            program {
18175                name:    "go_active";
18176                signal:  "elm,state,selected";
18177                source:  "elm";
18178                action:  STATE_SET "selected" 0.0;
18179                target:  "bg";
18180                target:  "fg1";
18181                target:  "fg2";
18182                target:  "elm.text";
18183            }
18184            program {
18185                name:    "go_passive";
18186                signal:  "elm,state,unselected";
18187                source:  "elm";
18188                action:  STATE_SET "default" 0.0;
18189                target:  "bg";
18190                target:  "fg1";
18191                target:  "fg2";
18192                target:  "elm.text";
18193                transition: LINEAR 0.1;
18194            }
18195            program {
18196                name:    "go_disabled";
18197                signal:  "elm,state,disabled";
18198                source:  "elm";
18199                action:  STATE_SET "disabled" 0.0;
18200                target:  "disclip";
18201            }
18202            program {
18203                name:    "go_enabled";
18204                signal:  "elm,state,enabled";
18205                source:  "elm";
18206                action:  STATE_SET "default" 0.0;
18207                target:  "disclip";
18208            }
18209        }
18210    }
18211
18212    group { name: "elm/genlist/tree/default_style/default";
18213        data.item: "stacking" "above";
18214        data.item: "selectraise" "on";
18215        data.item: "labels" "elm.text";
18216        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18217        data.item: "treesize" "20";
18218        images {
18219            image: "bt_sm_base1.png" COMP;
18220            image: "bt_sm_shine.png" COMP;
18221            image: "bt_sm_hilight.png" COMP;
18222            image: "ilist_1.png" COMP;
18223            image: "ilist_item_shadow.png" COMP;
18224            image: "icon_arrow_right.png" COMP;
18225            image: "icon_arrow_down.png" COMP;
18226        }
18227        parts {
18228            part {
18229                name:           "event";
18230                type:           RECT;
18231                repeat_events: 1;
18232                description {
18233                    state: "default" 0.0;
18234                    color: 0 0 0 0;
18235                }
18236            }
18237            part {
18238                name: "base_sh";
18239                mouse_events: 0;
18240                description {
18241                    state: "default" 0.0;
18242                    align: 0.0 0.0;
18243                    min: 0 10;
18244                    fixed: 1 1;
18245                    rel1 {
18246                        to: "base";
18247                        relative: 0.0 1.0;
18248                        offset: 0 0;
18249                    }
18250                    rel2 {
18251                        to: "base";
18252                        relative: 1.0 1.0;
18253                        offset: -1 0;
18254                    }
18255                    image {
18256                        normal: "ilist_item_shadow.png";
18257                    }
18258                    fill.smooth: 0;
18259                }
18260            }
18261            part {
18262                name: "base";
18263                mouse_events: 0;
18264                description {
18265                    state: "default" 0.0;
18266                    min: 16 28;
18267                    image {
18268                        normal: "ilist_1.png";
18269                        border: 2 2 2 2;
18270                    }
18271                    fill.smooth: 0;
18272                }
18273            }
18274            part { name: "bg";
18275                clip_to: "disclip";
18276                mouse_events: 0;
18277                description { state: "default" 0.0;
18278                    visible: 0;
18279                    color: 255 255 255 0;
18280                    rel1 {
18281                        relative: 0.0 0.0;
18282                        offset: -5 -5;
18283                    }
18284                    rel2 {
18285                        relative: 1.0 1.0;
18286                        offset: 4 4;
18287                    }
18288                    image {
18289                        normal: "bt_sm_base1.png";
18290                        border: 6 6 6 6;
18291                    }
18292                    image.middle: SOLID;
18293                }
18294                description { state: "selected" 0.0;
18295                    inherit: "default" 0.0;
18296                    visible: 1;
18297                    color: 255 255 255 255;
18298                    rel1 {
18299                        relative: 0.0 0.0;
18300                        offset: -2 -2;
18301                    }
18302                    rel2 {
18303                        relative: 1.0 1.0;
18304                        offset: 1 1;
18305                    }
18306                }
18307            }
18308            part { name: "elm.swallow.pad";
18309                type: SWALLOW;
18310                description { state: "default" 0.0;
18311                    fixed: 1 0;
18312                    align: 0.0 0.5;
18313                    rel1 {
18314                        relative: 0.0  0.0;
18315                        offset:   4    4;
18316                    }
18317                    rel2 {
18318                        relative: 0.0  1.0;
18319                        offset:   4   -5;
18320                    }
18321                }
18322            }
18323            part { name: "arrow";
18324                clip_to: "disclip";
18325                ignore_flags: ON_HOLD;
18326                description { state: "default" 0.0;
18327                    fixed: 1 0;
18328                    align: 0.0 0.5;
18329                    aspect: 1.0 1.0;
18330                    rel1 {
18331                        to_x: "elm.swallow.pad";
18332                        relative: 1.0  0.0;
18333                        offset:   -1    4;
18334                    }
18335                    rel2 {
18336                        to_x: "elm.swallow.pad";
18337                        relative: 1.0  1.0;
18338                        offset:   -1   -5;
18339                    }
18340                    image.normal: "icon_arrow_right.png";
18341                }
18342                description { state: "active" 0.0;
18343                    inherit: "default" 0.0;
18344                    image.normal: "icon_arrow_down.png";
18345                }
18346            }
18347            part { name: "elm.swallow.icon";
18348                clip_to: "disclip";
18349                type: SWALLOW;
18350                description { state: "default" 0.0;
18351                    fixed: 1 0;
18352                    align: 0.0 0.5;
18353                    rel1 {
18354                        to_x: "arrow";
18355                        relative: 1.0  0.0;
18356                        offset:   4    4;
18357                    }
18358                    rel2 {
18359                        to_x: "arrow";
18360                        relative: 1.0  1.0;
18361                        offset:   4   -5;
18362                    }
18363                }
18364            }
18365            part { name: "elm.swallow.end";
18366                clip_to: "disclip";
18367                type: SWALLOW;
18368                description { state: "default" 0.0;
18369                    fixed: 1 0;
18370                    align: 1.0 0.5;
18371                    aspect: 1.0 1.0;
18372                    aspect_preference: VERTICAL;
18373                    rel1 {
18374                        relative: 1.0  0.0;
18375                        offset:   -5    4;
18376                    }
18377                    rel2 {
18378                        relative: 1.0  1.0;
18379                        offset:   -5   -5;
18380                    }
18381                }
18382            }
18383            part { name: "elm.text";
18384                clip_to: "disclip";
18385                type:           TEXTBLOCK;
18386                effect:         SOFT_SHADOW;
18387                mouse_events:   0;
18388                scale: 1;
18389                description {
18390                    state: "default" 0.0;
18391                    align: 0.0 0.5;
18392                    fixed: 0 1;
18393                    rel1 {
18394                        to_x:     "elm.swallow.icon";
18395                        to_y: "base";
18396                        relative: 1.0  0.5;
18397                        offset:   0 4;
18398                    }
18399                    rel2 {
18400                        to_x:     "elm.swallow.end";
18401                        to_y: "base";
18402                        relative: 0.0  0.5;
18403                        offset:   -1 -5;
18404                    }
18405                    text {
18406                        style: "genlist_style";
18407                        min: 1 1;
18408                    }
18409                }
18410                description { state: "selected" 0.0;
18411                    inherit: "default" 0.0;
18412                    text {
18413                        style: "genlist_selected_style";
18414                    }
18415                }
18416            }
18417            part { name: "fg1";
18418                clip_to: "disclip";
18419                mouse_events: 0;
18420                description { state: "default" 0.0;
18421                    visible: 0;
18422                    color: 255 255 255 0;
18423                    rel1.to: "bg";
18424                    rel2.relative: 1.0 0.5;
18425                    rel2.to: "bg";
18426                    image {
18427                        normal: "bt_sm_hilight.png";
18428                        border: 6 6 6 0;
18429                    }
18430                }
18431                description { state: "selected" 0.0;
18432                    inherit: "default" 0.0;
18433                    visible: 1;
18434                    color: 255 255 255 255;
18435                }
18436            }
18437            part { name: "fg2";
18438                clip_to: "disclip";
18439                mouse_events: 0;
18440                description { state: "default" 0.0;
18441                    visible: 0;
18442                    color: 255 255 255 0;
18443                    rel1.to: "bg";
18444                    rel2.to: "bg";
18445                    image {
18446                        normal: "bt_sm_shine.png";
18447                        border: 6 6 6 0;
18448                    }
18449                }
18450                description { state: "selected" 0.0;
18451                    inherit: "default" 0.0;
18452                    visible: 1;
18453                    color: 255 255 255 255;
18454                }
18455            }
18456            part { name: "disclip";
18457                type: RECT;
18458                description { state: "default" 0.0;
18459                    rel1.to: "bg";
18460                    rel2.to: "bg";
18461                }
18462                description { state: "disabled" 0.0;
18463                    inherit: "default" 0.0;
18464                    color: 255 255 255 64;
18465                }
18466            }
18467        }
18468        programs {
18469            // signal: elm,state,%s,active
18470            //   a "check" item named %s went active
18471            // signal: elm,state,%s,passive
18472            //   a "check" item named %s went passive
18473            // default is passive
18474            program {
18475                name:    "go_active";
18476                signal:  "elm,state,selected";
18477                source:  "elm";
18478                action:  STATE_SET "selected" 0.0;
18479                target:  "bg";
18480                target:  "fg1";
18481                target:  "fg2";
18482                target:  "elm.text";
18483            }
18484            program {
18485                name:    "go_passive";
18486                signal:  "elm,state,unselected";
18487                source:  "elm";
18488                action:  STATE_SET "default" 0.0;
18489                target:  "bg";
18490                target:  "fg1";
18491                target:  "fg2";
18492                target:  "elm.text";
18493                transition: LINEAR 0.1;
18494            }
18495            program {
18496                name:    "go_disabled";
18497                signal:  "elm,state,disabled";
18498                source:  "elm";
18499                action:  STATE_SET "disabled" 0.0;
18500                target:  "disclip";
18501            }
18502            program {
18503                name:    "go_enabled";
18504                signal:  "elm,state,enabled";
18505                source:  "elm";
18506                action:  STATE_SET "default" 0.0;
18507                target:  "disclip";
18508            }
18509            program {
18510                name:    "expand";
18511                signal:  "mouse,up,1";
18512                source:  "arrow";
18513                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18514            }
18515            program {
18516                name:    "go_expanded";
18517                signal:  "elm,state,expanded";
18518                source:  "elm";
18519                action:  STATE_SET "active" 0.0;
18520                target:  "arrow";
18521            }
18522            program {
18523                name:    "go_contracted";
18524                signal:  "elm,state,contracted";
18525                source:  "elm";
18526                action:  STATE_SET "default" 0.0;
18527                target:  "arrow";
18528            }
18529        }
18530    }
18531    group { name: "elm/genlist/tree_odd/default_style/default";
18532        data.item: "stacking" "below";
18533        data.item: "selectraise" "on";
18534        data.item: "labels" "elm.text";
18535        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18536        data.item: "treesize" "20";
18537        images {
18538            image: "bt_sm_base1.png" COMP;
18539            image: "bt_sm_shine.png" COMP;
18540            image: "bt_sm_hilight.png" COMP;
18541            image: "ilist_2.png" COMP;
18542            image: "icon_arrow_right.png" COMP;
18543            image: "icon_arrow_down.png" COMP;
18544        }
18545        parts {
18546            part {
18547                name:           "event";
18548                type:           RECT;
18549                repeat_events: 1;
18550                description {
18551                    state: "default" 0.0;
18552                    color: 0 0 0 0;
18553                }
18554            }
18555            part {
18556                name: "base";
18557                mouse_events: 0;
18558                description {
18559                    state: "default" 0.0;
18560                    min: 16 28;
18561                    image {
18562                        normal: "ilist_2.png";
18563                        border: 2 2 2 2;
18564                    }
18565                    fill.smooth: 0;
18566                }
18567            }
18568            part { name: "bg";
18569                clip_to: "disclip";
18570                mouse_events: 0;
18571                description { state: "default" 0.0;
18572                    visible: 0;
18573                    color: 255 255 255 0;
18574                    rel1 {
18575                        relative: 0.0 0.0;
18576                        offset: -5 -5;
18577                    }
18578                    rel2 {
18579                        relative: 1.0 1.0;
18580                        offset: 4 4;
18581                    }
18582                    image {
18583                        normal: "bt_sm_base1.png";
18584                        border: 6 6 6 6;
18585                    }
18586                    image.middle: SOLID;
18587                }
18588                description { state: "selected" 0.0;
18589                    inherit: "default" 0.0;
18590                    visible: 1;
18591                    color: 255 255 255 255;
18592                    rel1 {
18593                        relative: 0.0 0.0;
18594                        offset: -2 -2;
18595                    }
18596                    rel2 {
18597                        relative: 1.0 1.0;
18598                        offset: 1 1;
18599                    }
18600                }
18601            }
18602            part { name: "elm.swallow.pad";
18603                type: SWALLOW;
18604                description { state: "default" 0.0;
18605                    fixed: 1 0;
18606                    align: 0.0 0.5;
18607                    rel1 {
18608                        relative: 0.0  0.0;
18609                        offset:   4    4;
18610                    }
18611                    rel2 {
18612                        relative: 0.0  1.0;
18613                        offset:   4   -5;
18614                    }
18615                }
18616            }
18617            part { name: "arrow";
18618                clip_to: "disclip";
18619                ignore_flags: ON_HOLD;
18620                description { state: "default" 0.0;
18621                    fixed: 1 0;
18622                    align: 0.0 0.5;
18623                    aspect: 1.0 1.0;
18624                    rel1 {
18625                        to_x: "elm.swallow.pad";
18626                        relative: 1.0  0.0;
18627                        offset:   -1    4;
18628                    }
18629                    rel2 {
18630                        to_x: "elm.swallow.pad";
18631                        relative: 1.0  1.0;
18632                        offset:   -1   -5;
18633                    }
18634                    image.normal: "icon_arrow_right.png";
18635                }
18636                description { state: "active" 0.0;
18637                    inherit: "default" 0.0;
18638                    image.normal: "icon_arrow_down.png";
18639                }
18640            }
18641            part { name: "elm.swallow.icon";
18642                clip_to: "disclip";
18643                type: SWALLOW;
18644                description { state: "default" 0.0;
18645                    fixed: 1 0;
18646                    align: 0.0 0.5;
18647                    rel1 {
18648                        to_x: "arrow";
18649                        relative: 1.0  0.0;
18650                        offset:   4    4;
18651                    }
18652                    rel2 {
18653                        to_x: "arrow";
18654                        relative: 1.0  1.0;
18655                        offset:   4   -5;
18656                    }
18657                }
18658            }
18659            part { name: "elm.swallow.end";
18660                clip_to: "disclip";
18661                type: SWALLOW;
18662                description { state: "default" 0.0;
18663                    fixed: 1 0;
18664                    align: 1.0 0.5;
18665                    aspect: 1.0 1.0;
18666                    aspect_preference: VERTICAL;
18667                    rel1 {
18668                        relative: 1.0  0.0;
18669                        offset:   -5    4;
18670                    }
18671                    rel2 {
18672                        relative: 1.0  1.0;
18673                        offset:   -5   -5;
18674                    }
18675                }
18676            }
18677            part { name: "elm.text";
18678                clip_to: "disclip";
18679                type:           TEXTBLOCK;
18680                effect:         SOFT_SHADOW;
18681                mouse_events:   0;
18682                scale: 1;
18683                description {
18684                    state: "default" 0.0;
18685                    align: 0.0 0.5;
18686                    fixed: 0 1;
18687                    rel1 {
18688                        to_x:     "elm.swallow.icon";
18689                        to_y: "base";
18690                        relative: 1.0  0.5;
18691                        offset:   0 4;
18692                    }
18693                    rel2 {
18694                        to_x:     "elm.swallow.end";
18695                        to_y: "base";
18696                        relative: 0.0  0.5;
18697                        offset:   -1 -5;
18698                    }
18699                    text {
18700                        style: "genlist_style";
18701                        min: 1 1;
18702                    }
18703                }
18704                description { state: "selected" 0.0;
18705                    inherit: "default" 0.0;
18706                    text {
18707                        style: "genlist_selected_style";
18708                    }
18709                }
18710            }
18711            part { name: "fg1";
18712                clip_to: "disclip";
18713                mouse_events: 0;
18714                description { state: "default" 0.0;
18715                    visible: 0;
18716                    color: 255 255 255 0;
18717                    rel1.to: "bg";
18718                    rel2.relative: 1.0 0.5;
18719                    rel2.to: "bg";
18720                    image {
18721                        normal: "bt_sm_hilight.png";
18722                        border: 6 6 6 0;
18723                    }
18724                }
18725                description { state: "selected" 0.0;
18726                    inherit: "default" 0.0;
18727                    visible: 1;
18728                    color: 255 255 255 255;
18729                }
18730            }
18731            part { name: "fg2";
18732                clip_to: "disclip";
18733                mouse_events: 0;
18734                description { state: "default" 0.0;
18735                    visible: 0;
18736                    color: 255 255 255 0;
18737                    rel1.to: "bg";
18738                    rel2.to: "bg";
18739                    image {
18740                        normal: "bt_sm_shine.png";
18741                        border: 6 6 6 0;
18742                    }
18743                }
18744                description { state: "selected" 0.0;
18745                    inherit: "default" 0.0;
18746                    visible: 1;
18747                    color: 255 255 255 255;
18748                }
18749            }
18750            part { name: "disclip";
18751                type: RECT;
18752                description { state: "default" 0.0;
18753                    rel1.to: "bg";
18754                    rel2.to: "bg";
18755                }
18756                description { state: "disabled" 0.0;
18757                    inherit: "default" 0.0;
18758                    color: 255 255 255 64;
18759                }
18760            }
18761        }
18762        programs {
18763            // signal: elm,state,%s,active
18764            //   a "check" item named %s went active
18765            // signal: elm,state,%s,passive
18766            //   a "check" item named %s went passive
18767            // default is passive
18768            program {
18769                name:    "go_active";
18770                signal:  "elm,state,selected";
18771                source:  "elm";
18772                action:  STATE_SET "selected" 0.0;
18773                target:  "bg";
18774                target:  "fg1";
18775                target:  "fg2";
18776                target:  "elm.text";
18777            }
18778            program {
18779                name:    "go_passive";
18780                signal:  "elm,state,unselected";
18781                source:  "elm";
18782                action:  STATE_SET "default" 0.0;
18783                target:  "bg";
18784                target:  "fg1";
18785                target:  "fg2";
18786                target:  "elm.text";
18787                transition: LINEAR 0.1;
18788            }
18789            program {
18790                name:    "go_disabled";
18791                signal:  "elm,state,disabled";
18792                source:  "elm";
18793                action:  STATE_SET "disabled" 0.0;
18794                target:  "disclip";
18795            }
18796            program {
18797                name:    "go_enabled";
18798                signal:  "elm,state,enabled";
18799                source:  "elm";
18800                action:  STATE_SET "default" 0.0;
18801                target:  "disclip";
18802            }
18803            program {
18804                name:    "expand";
18805                signal:  "mouse,up,1";
18806                source:  "arrow";
18807                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18808            }
18809            program {
18810                name:    "go_expanded";
18811                signal:  "elm,state,expanded";
18812                source:  "elm";
18813                action:  STATE_SET "active" 0.0;
18814                target:  "arrow";
18815            }
18816            program {
18817                name:    "go_contracted";
18818                signal:  "elm,state,contracted";
18819                source:  "elm";
18820                action:  STATE_SET "default" 0.0;
18821                target:  "arrow";
18822            }
18823        }
18824    }
18825
18826
18827    group { name: "elm/genlist/item/double_label/default";
18828       data.item: "stacking" "above";
18829       data.item: "selectraise" "on";
18830       data.item: "labels" "elm.text elm.text.sub";
18831       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18832       data.item: "treesize" "20";
18833 //      data.item: "states" "";
18834       images {
18835          image: "bt_sm_base1.png" COMP;
18836          image: "bt_sm_shine.png" COMP;
18837          image: "bt_sm_hilight.png" COMP;
18838          image: "ilist_1.png" COMP;
18839          image: "ilist_item_shadow.png" COMP;
18840       }
18841       parts {
18842          part {
18843             name:           "event";
18844             type:           RECT;
18845             repeat_events: 1;
18846             description {
18847                state: "default" 0.0;
18848                color: 0 0 0 0;
18849             }
18850          }
18851          part {
18852             name: "base_sh";
18853             mouse_events: 0;
18854             description {
18855                state: "default" 0.0;
18856                align: 0.0 0.0;
18857                min: 0 10;
18858                fixed: 1 1;
18859                rel1 {
18860                   to: "base";
18861                   relative: 0.0 1.0;
18862                   offset: 0 0;
18863                }
18864                rel2 {
18865                   to: "base";
18866                   relative: 1.0 1.0;
18867                   offset: -1 0;
18868                }
18869                image {
18870                   normal: "ilist_item_shadow.png";
18871                }
18872                fill.smooth: 0;
18873             }
18874          }
18875          part {
18876             name: "base";
18877             mouse_events: 0;
18878             description {
18879                state: "default" 0.0;
18880                image {
18881                   normal: "ilist_1.png";
18882                   border: 2 2 2 2;
18883                }
18884                fill.smooth: 0;
18885             }
18886          }
18887          part { name: "bg";
18888             clip_to: "disclip";
18889             mouse_events: 0;
18890             description { state: "default" 0.0;
18891                visible: 0;
18892                color: 255 255 255 0;
18893                rel1 {
18894                   relative: 0.0 0.0;
18895                   offset: -5 -5;
18896                }
18897                rel2 {
18898                   relative: 1.0 1.0;
18899                   offset: 4 4;
18900                }
18901                image {
18902                   normal: "bt_sm_base1.png";
18903                   border: 6 6 6 6;
18904                }
18905                image.middle: SOLID;
18906             }
18907             description { state: "selected" 0.0;
18908                inherit: "default" 0.0;
18909                visible: 1;
18910                color: 255 255 255 255;
18911                rel1 {
18912                   relative: 0.0 0.0;
18913                   offset: -2 -2;
18914                }
18915                rel2 {
18916                   relative: 1.0 1.0;
18917                   offset: 1 1;
18918                }
18919             }
18920          }
18921          part { name: "elm.swallow.pad";
18922             type: SWALLOW;
18923             description { state: "default" 0.0;
18924                fixed: 1 0;
18925                align: 0.0 0.5;
18926                rel1 {
18927                   relative: 0.0  0.0;
18928                   offset:   4    4;
18929                }
18930                rel2 {
18931                   relative: 0.0  1.0;
18932                   offset:   4   -5;
18933                }
18934             }
18935          }
18936          part { name: "elm.swallow.icon";
18937             clip_to: "disclip";
18938             type: SWALLOW;
18939             description { state: "default" 0.0;
18940                fixed: 1 0;
18941                align: 0.0 0.5;
18942                rel1 {
18943                   to_x: "elm.swallow.pad";
18944                   relative: 1.0  0.0;
18945                   offset:   -1    4;
18946                }
18947                rel2 {
18948                   to_x: "elm.swallow.pad";
18949                   relative: 1.0  1.0;
18950                   offset:   -1   -5;
18951                }
18952             }
18953          }
18954          part { name: "elm.swallow.end";
18955             clip_to: "disclip";
18956             type: SWALLOW;
18957             description { state: "default" 0.0;
18958                fixed: 1 0;
18959                align: 1.0 0.5;
18960                aspect: 1.0 1.0;
18961                aspect_preference: VERTICAL;
18962                rel1 {
18963                   relative: 1.0  0.0;
18964                   offset:   -5    4;
18965                }
18966                rel2 {
18967                   relative: 1.0  1.0;
18968                   offset:   -5   -5;
18969                }
18970             }
18971          }
18972          part { name: "elm.text";
18973             clip_to: "disclip";
18974             type:           TEXT;
18975             effect:         SOFT_SHADOW;
18976             mouse_events:   0;
18977             scale: 1;
18978             description {
18979                state: "default" 0.0;
18980 //               min: 16 16;
18981                rel1 {
18982                   to_x:     "elm.swallow.icon";
18983                   relative: 1.0  0.0;
18984                   offset:   0 4;
18985                }
18986                rel2 {
18987                   to_x:     "elm.swallow.end";
18988                   relative: 0.0  0.5;
18989                   offset:   -1 -5;
18990                }
18991                color: 0 0 0 255;
18992                color3: 0 0 0 0;
18993                text {
18994                   font: "Sans";
18995                   size: 10;
18996                   min: 1 1;
18997 //                  min: 0 1;
18998                   align: 0.0 0.5;
18999                   text_class: "list_item";
19000                }
19001             }
19002             description { state: "selected" 0.0;
19003                inherit: "default" 0.0;
19004                color: 224 224 224 255;
19005                color3: 0 0 0 64;
19006             }
19007          }
19008          part { name: "elm.text.sub";
19009             clip_to: "disclip";
19010             type:           TEXT;
19011             mouse_events:   0;
19012             scale: 1;
19013             description {
19014                state: "default" 0.0;
19015 //               min: 16 16;
19016                rel1 {
19017                   to_x:     "elm.swallow.icon";
19018                   relative: 1.0  0.5;
19019                   offset:   0 4;
19020                }
19021                rel2 {
19022                   to_x:     "elm.swallow.end";
19023                   relative: 0.0  1.0;
19024                   offset:   -1 -5;
19025                }
19026                color: 0 0 0 128;
19027                color3: 0 0 0 0;
19028                text {
19029                   font: "Sans";
19030                   size: 8;
19031                   min: 1 1;
19032 //                  min: 0 1;
19033                   align: 0.0 0.5;
19034                   text_class: "list_item";
19035                }
19036             }
19037             description { state: "selected" 0.0;
19038                inherit: "default" 0.0;
19039                color: 128 128 128 255;
19040                color3: 0 0 0 32;
19041             }
19042          }
19043          part { name: "fg1";
19044             clip_to: "disclip";
19045             mouse_events: 0;
19046             description { state: "default" 0.0;
19047                visible: 0;
19048                color: 255 255 255 0;
19049                rel1.to: "bg";
19050                rel2.relative: 1.0 0.5;
19051                rel2.to: "bg";
19052                image {
19053                   normal: "bt_sm_hilight.png";
19054                   border: 6 6 6 0;
19055                }
19056             }
19057             description { state: "selected" 0.0;
19058                inherit: "default" 0.0;
19059                visible: 1;
19060                color: 255 255 255 255;
19061             }
19062          }
19063          part { name: "fg2";
19064             clip_to: "disclip";
19065             mouse_events: 0;
19066             description { state: "default" 0.0;
19067                visible: 0;
19068                color: 255 255 255 0;
19069                rel1.to: "bg";
19070                rel2.to: "bg";
19071                image {
19072                   normal: "bt_sm_shine.png";
19073                   border: 6 6 6 0;
19074                }
19075             }
19076             description { state: "selected" 0.0;
19077                inherit: "default" 0.0;
19078                visible: 1;
19079                color: 255 255 255 255;
19080             }
19081          }
19082          part { name: "disclip";
19083             type: RECT;
19084             description { state: "default" 0.0;
19085                rel1.to: "bg";
19086                rel2.to: "bg";
19087             }
19088             description { state: "disabled" 0.0;
19089                inherit: "default" 0.0;
19090                color: 255 255 255 64;
19091             }
19092          }
19093       }
19094       programs {
19095          // signal: elm,state,%s,active
19096          //   a "check" item named %s went active
19097          // signal: elm,state,%s,passive
19098          //   a "check" item named %s went passive
19099          // default is passive
19100          program {
19101             name:    "go_active";
19102             signal:  "elm,state,selected";
19103             source:  "elm";
19104             action:  STATE_SET "selected" 0.0;
19105             target:  "bg";
19106             target:  "fg1";
19107             target:  "fg2";
19108             target:  "elm.text";
19109             target:  "elm.text.sub";
19110          }
19111          program {
19112             name:    "go_passive";
19113             signal:  "elm,state,unselected";
19114             source:  "elm";
19115             action:  STATE_SET "default" 0.0;
19116             target:  "bg";
19117             target:  "fg1";
19118             target:  "fg2";
19119             target:  "elm.text";
19120             target:  "elm.text.sub";
19121             transition: LINEAR 0.1;
19122          }
19123          program {
19124             name:    "go_disabled";
19125             signal:  "elm,state,disabled";
19126             source:  "elm";
19127             action:  STATE_SET "disabled" 0.0;
19128             target:  "disclip";
19129          }
19130          program {
19131             name:    "go_enabled";
19132             signal:  "elm,state,enabled";
19133             source:  "elm";
19134             action:  STATE_SET "default" 0.0;
19135             target:  "disclip";
19136          }
19137       }
19138    }
19139    group { name: "elm/genlist/item_compress/double_label/default";
19140       data.item: "stacking" "above";
19141       data.item: "selectraise" "on";
19142       data.item: "labels" "elm.text elm.text.sub";
19143       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19144       data.item: "treesize" "20";
19145 //      data.item: "states" "";
19146       images {
19147          image: "bt_sm_base1.png" COMP;
19148          image: "bt_sm_shine.png" COMP;
19149          image: "bt_sm_hilight.png" COMP;
19150          image: "ilist_1.png" COMP;
19151          image: "ilist_item_shadow.png" COMP;
19152       }
19153       parts {
19154          part {
19155             name:           "event";
19156             type:           RECT;
19157             repeat_events: 1;
19158             description {
19159                state: "default" 0.0;
19160                color: 0 0 0 0;
19161             }
19162          }
19163          part {
19164             name: "base_sh";
19165             mouse_events: 0;
19166             description {
19167                state: "default" 0.0;
19168                align: 0.0 0.0;
19169                min: 0 10;
19170                fixed: 1 1;
19171                rel1 {
19172                   to: "base";
19173                   relative: 0.0 1.0;
19174                   offset: 0 0;
19175                }
19176                rel2 {
19177                   to: "base";
19178                   relative: 1.0 1.0;
19179                   offset: -1 0;
19180                }
19181                image {
19182                   normal: "ilist_item_shadow.png";
19183                }
19184                fill.smooth: 0;
19185             }
19186          }
19187          part {
19188             name: "base";
19189             mouse_events: 0;
19190             description {
19191                state: "default" 0.0;
19192                image {
19193                   normal: "ilist_1.png";
19194                   border: 2 2 2 2;
19195                }
19196                fill.smooth: 0;
19197             }
19198          }
19199          part { name: "bg";
19200             clip_to: "disclip";
19201             mouse_events: 0;
19202             description { state: "default" 0.0;
19203                visible: 0;
19204                color: 255 255 255 0;
19205                rel1 {
19206                   relative: 0.0 0.0;
19207                   offset: -5 -5;
19208                }
19209                rel2 {
19210                   relative: 1.0 1.0;
19211                   offset: 4 4;
19212                }
19213                image {
19214                   normal: "bt_sm_base1.png";
19215                   border: 6 6 6 6;
19216                }
19217                image.middle: SOLID;
19218             }
19219             description { state: "selected" 0.0;
19220                inherit: "default" 0.0;
19221                visible: 1;
19222                color: 255 255 255 255;
19223                rel1 {
19224                   relative: 0.0 0.0;
19225                   offset: -2 -2;
19226                }
19227                rel2 {
19228                   relative: 1.0 1.0;
19229                   offset: 1 1;
19230                }
19231             }
19232          }
19233          part { name: "elm.swallow.pad";
19234             type: SWALLOW;
19235             description { state: "default" 0.0;
19236                fixed: 1 0;
19237                align: 0.0 0.5;
19238                rel1 {
19239                   relative: 0.0  0.0;
19240                   offset:   4    4;
19241                }
19242                rel2 {
19243                   relative: 0.0  1.0;
19244                   offset:   4   -5;
19245                }
19246             }
19247          }
19248          part { name: "elm.swallow.icon";
19249             clip_to: "disclip";
19250             type: SWALLOW;
19251             description { state: "default" 0.0;
19252                fixed: 1 0;
19253                align: 0.0 0.5;
19254                rel1 {
19255                   to_x: "elm.swallow.pad";
19256                   relative: 1.0  0.0;
19257                   offset:   -1    4;
19258                }
19259                rel2 {
19260                   to_x: "elm.swallow.pad";
19261                   relative: 1.0  1.0;
19262                   offset:   -1   -5;
19263                }
19264             }
19265          }
19266          part { name: "elm.swallow.end";
19267             clip_to: "disclip";
19268             type: SWALLOW;
19269             description { state: "default" 0.0;
19270                fixed: 1 0;
19271                align: 1.0 0.5;
19272                aspect: 1.0 1.0;
19273                aspect_preference: VERTICAL;
19274                rel1 {
19275                   relative: 1.0  0.0;
19276                   offset:   -5    4;
19277                }
19278                rel2 {
19279                   relative: 1.0  1.0;
19280                   offset:   -5   -5;
19281                }
19282             }
19283          }
19284          part { name: "elm.text";
19285             clip_to: "disclip";
19286             type:           TEXT;
19287             effect:         SOFT_SHADOW;
19288             mouse_events:   0;
19289             scale: 1;
19290             description {
19291                state: "default" 0.0;
19292 //               min: 16 16;
19293                rel1 {
19294                   to_x:     "elm.swallow.icon";
19295                   relative: 1.0  0.0;
19296                   offset:   0 4;
19297                }
19298                rel2 {
19299                   to_x:     "elm.swallow.end";
19300                   relative: 0.0  0.5;
19301                   offset:   -1 -5;
19302                }
19303                color: 0 0 0 255;
19304                color3: 0 0 0 0;
19305                text {
19306                   font: "Sans";
19307                   size: 10;
19308 //                  min: 1 1;
19309                   min: 0 1;
19310                   align: 0.0 0.5;
19311                   text_class: "list_item";
19312                }
19313             }
19314             description { state: "selected" 0.0;
19315                inherit: "default" 0.0;
19316                color: 224 224 224 255;
19317                color3: 0 0 0 64;
19318             }
19319          }
19320          part { name: "elm.text.sub";
19321             clip_to: "disclip";
19322             type:           TEXT;
19323             mouse_events:   0;
19324             scale: 1;
19325             description {
19326                state: "default" 0.0;
19327 //               min: 16 16;
19328                rel1 {
19329                   to_x:     "elm.swallow.icon";
19330                   relative: 1.0  0.5;
19331                   offset:   0 4;
19332                }
19333                rel2 {
19334                   to_x:     "elm.swallow.end";
19335                   relative: 0.0  1.0;
19336                   offset:   -1 -5;
19337                }
19338                color: 0 0 0 128;
19339                color3: 0 0 0 0;
19340                text {
19341                   font: "Sans";
19342                   size: 8;
19343 //                  min: 1 1;
19344                   min: 0 1;
19345                   align: 0.0 0.5;
19346                   text_class: "list_item";
19347                }
19348             }
19349             description { state: "selected" 0.0;
19350                inherit: "default" 0.0;
19351                color: 128 128 128 255;
19352                color3: 0 0 0 32;
19353             }
19354          }
19355          part { name: "fg1";
19356             clip_to: "disclip";
19357             mouse_events: 0;
19358             description { state: "default" 0.0;
19359                visible: 0;
19360                color: 255 255 255 0;
19361                rel1.to: "bg";
19362                rel2.relative: 1.0 0.5;
19363                rel2.to: "bg";
19364                image {
19365                   normal: "bt_sm_hilight.png";
19366                   border: 6 6 6 0;
19367                }
19368             }
19369             description { state: "selected" 0.0;
19370                inherit: "default" 0.0;
19371                visible: 1;
19372                color: 255 255 255 255;
19373             }
19374          }
19375          part { name: "fg2";
19376             clip_to: "disclip";
19377             mouse_events: 0;
19378             description { state: "default" 0.0;
19379                visible: 0;
19380                color: 255 255 255 0;
19381                rel1.to: "bg";
19382                rel2.to: "bg";
19383                image {
19384                   normal: "bt_sm_shine.png";
19385                   border: 6 6 6 0;
19386                }
19387             }
19388             description { state: "selected" 0.0;
19389                inherit: "default" 0.0;
19390                visible: 1;
19391                color: 255 255 255 255;
19392             }
19393          }
19394          part { name: "disclip";
19395             type: RECT;
19396             description { state: "default" 0.0;
19397                rel1.to: "bg";
19398                rel2.to: "bg";
19399             }
19400             description { state: "disabled" 0.0;
19401                inherit: "default" 0.0;
19402                color: 255 255 255 64;
19403             }
19404          }
19405       }
19406       programs {
19407          // signal: elm,state,%s,active
19408          //   a "check" item named %s went active
19409          // signal: elm,state,%s,passive
19410          //   a "check" item named %s went passive
19411          // default is passive
19412          program {
19413             name:    "go_active";
19414             signal:  "elm,state,selected";
19415             source:  "elm";
19416             action:  STATE_SET "selected" 0.0;
19417             target:  "bg";
19418             target:  "fg1";
19419             target:  "fg2";
19420             target:  "elm.text";
19421             target:  "elm.text.sub";
19422          }
19423          program {
19424             name:    "go_passive";
19425             signal:  "elm,state,unselected";
19426             source:  "elm";
19427             action:  STATE_SET "default" 0.0;
19428             target:  "bg";
19429             target:  "fg1";
19430             target:  "fg2";
19431             target:  "elm.text";
19432             target:  "elm.text.sub";
19433             transition: LINEAR 0.1;
19434          }
19435          program {
19436             name:    "go_disabled";
19437             signal:  "elm,state,disabled";
19438             source:  "elm";
19439             action:  STATE_SET "disabled" 0.0;
19440             target:  "disclip";
19441          }
19442          program {
19443             name:    "go_enabled";
19444             signal:  "elm,state,enabled";
19445             source:  "elm";
19446             action:  STATE_SET "default" 0.0;
19447             target:  "disclip";
19448          }
19449       }
19450    }
19451    group { name: "elm/genlist/item_odd/double_label/default";
19452       data.item: "stacking" "below";
19453       data.item: "selectraise" "on";
19454       data.item: "labels" "elm.text elm.text.sub";
19455       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19456       data.item: "treesize" "20";
19457 //      data.item: "states" "";
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                image {
19479                   normal: "ilist_2.png";
19480                   border: 2 2 2 2;
19481                }
19482                fill.smooth: 0;
19483             }
19484          }
19485          part { name: "bg";
19486             clip_to: "disclip";
19487             mouse_events: 0;
19488             description { state: "default" 0.0;
19489                visible: 0;
19490                color: 255 255 255 0;
19491                rel1 {
19492                   relative: 0.0 0.0;
19493                   offset: -5 -5;
19494                }
19495                rel2 {
19496                   relative: 1.0 1.0;
19497                   offset: 4 4;
19498                }
19499                image {
19500                   normal: "bt_sm_base1.png";
19501                   border: 6 6 6 6;
19502                }
19503                image.middle: SOLID;
19504             }
19505             description { state: "selected" 0.0;
19506                inherit: "default" 0.0;
19507                visible: 1;
19508                color: 255 255 255 255;
19509                rel1 {
19510                   relative: 0.0 0.0;
19511                   offset: -2 -2;
19512                }
19513                rel2 {
19514                   relative: 1.0 1.0;
19515                   offset: 1 1;
19516                }
19517             }
19518          }
19519          part { name: "elm.swallow.pad";
19520             type: SWALLOW;
19521             description { state: "default" 0.0;
19522                fixed: 1 0;
19523                align: 0.0 0.5;
19524                rel1 {
19525                   relative: 0.0  0.0;
19526                   offset:   4    4;
19527                }
19528                rel2 {
19529                   relative: 0.0  1.0;
19530                   offset:   4   -5;
19531                }
19532             }
19533          }
19534          part { name: "elm.swallow.icon";
19535             clip_to: "disclip";
19536             type: SWALLOW;
19537             description { state: "default" 0.0;
19538                fixed: 1 0;
19539                align: 0.0 0.5;
19540                rel1 {
19541                   to_x: "elm.swallow.pad";
19542                   relative: 1.0  0.0;
19543                   offset:   -1    4;
19544                }
19545                rel2 {
19546                   to_x: "elm.swallow.pad";
19547                   relative: 1.0  1.0;
19548                   offset:   -1   -5;
19549                }
19550             }
19551          }
19552          part { name: "elm.swallow.end";
19553             clip_to: "disclip";
19554             type:          SWALLOW;
19555             description { state:    "default" 0.0;
19556                fixed: 1 0;
19557                align:    1.0 0.5;
19558                aspect: 1.0 1.0;
19559                aspect_preference: VERTICAL;
19560                rel1 {
19561                   relative: 1.0  0.0;
19562                   offset:   -5    4;
19563                }
19564                rel2 {
19565                   relative: 1.0  1.0;
19566                   offset:   -5   -5;
19567                }
19568             }
19569          }
19570          part { name: "elm.text";
19571             clip_to: "disclip";
19572             type:           TEXT;
19573             effect:         SOFT_SHADOW;
19574             mouse_events:   0;
19575             scale: 1;
19576             description {
19577                state: "default" 0.0;
19578 //               min: 16 16;
19579                rel1 {
19580                   to_x:     "elm.swallow.icon";
19581                   relative: 1.0  0.0;
19582                   offset:   0 4;
19583                }
19584                rel2 {
19585                   to_x:     "elm.swallow.end";
19586                   relative: 0.0  0.5;
19587                   offset:   -1 -5;
19588                }
19589                color: 0 0 0 255;
19590                color3: 0 0 0 0;
19591                text {
19592                   font: "Sans";
19593                   size: 10;
19594                   min: 1 1;
19595 //                  min: 0 1;
19596                   align: 0.0 0.5;
19597                   text_class: "list_item";
19598                }
19599             }
19600             description { state: "selected" 0.0;
19601                inherit: "default" 0.0;
19602                color: 224 224 224 255;
19603                color3: 0 0 0 64;
19604             }
19605          }
19606          part { name: "elm.text.sub";
19607             clip_to: "disclip";
19608             type:           TEXT;
19609             mouse_events:   0;
19610             scale: 1;
19611             description {
19612                state: "default" 0.0;
19613 //               min: 16 16;
19614                rel1 {
19615                   to_x:     "elm.swallow.icon";
19616                   relative: 1.0  0.5;
19617                   offset:   0 4;
19618                }
19619                rel2 {
19620                   to_x:     "elm.swallow.end";
19621                   relative: 0.0  1.0;
19622                   offset:   -1 -5;
19623                }
19624                color: 0 0 0 128;
19625                color3: 0 0 0 0;
19626                text {
19627                   font: "Sans";
19628                   size: 8;
19629                   min: 1 1;
19630 //                  min: 0 1;
19631                   align: 0.0 0.5;
19632                   text_class: "list_item";
19633                }
19634             }
19635             description { state: "selected" 0.0;
19636                inherit: "default" 0.0;
19637                color: 128 128 128 255;
19638                color3: 0 0 0 32;
19639             }
19640          }
19641          part { name: "fg1";
19642             clip_to: "disclip";
19643             mouse_events: 0;
19644             description { state: "default" 0.0;
19645                visible: 0;
19646                color: 255 255 255 0;
19647                rel1.to: "bg";
19648                rel2.relative: 1.0 0.5;
19649                rel2.to: "bg";
19650                image {
19651                   normal: "bt_sm_hilight.png";
19652                   border: 6 6 6 0;
19653                }
19654             }
19655             description { state: "selected" 0.0;
19656                inherit: "default" 0.0;
19657                visible: 1;
19658                color: 255 255 255 255;
19659             }
19660          }
19661          part { name: "fg2";
19662             clip_to: "disclip";
19663             mouse_events: 0;
19664             description { state: "default" 0.0;
19665                visible: 0;
19666                color: 255 255 255 0;
19667                rel1.to: "bg";
19668                rel2.to: "bg";
19669                image {
19670                   normal: "bt_sm_shine.png";
19671                   border: 6 6 6 0;
19672                }
19673             }
19674             description { state: "selected" 0.0;
19675                inherit: "default" 0.0;
19676                visible: 1;
19677                color: 255 255 255 255;
19678             }
19679          }
19680          part { name: "disclip";
19681             type: RECT;
19682             description { state: "default" 0.0;
19683                rel1.to: "bg";
19684                rel2.to: "bg";
19685             }
19686             description { state: "disabled" 0.0;
19687                inherit: "default" 0.0;
19688                color: 255 255 255 64;
19689             }
19690          }
19691       }
19692       programs {
19693          // signal: elm,state,%s,active
19694          //   a "check" item named %s went active
19695          // signal: elm,state,%s,passive
19696          //   a "check" item named %s went passive
19697          // default is passive
19698          program {
19699             name:    "go_active";
19700             signal:  "elm,state,selected";
19701             source:  "elm";
19702             action:  STATE_SET "selected" 0.0;
19703             target:  "bg";
19704             target:  "fg1";
19705             target:  "fg2";
19706             target:  "elm.text";
19707             target:  "elm.text.sub";
19708          }
19709          program {
19710             name:    "go_passive";
19711             signal:  "elm,state,unselected";
19712             source:  "elm";
19713             action:  STATE_SET "default" 0.0;
19714             target:  "bg";
19715             target:  "fg1";
19716             target:  "fg2";
19717             target:  "elm.text";
19718             target:  "elm.text.sub";
19719             transition: LINEAR 0.1;
19720          }
19721          program {
19722             name:    "go_disabled";
19723             signal:  "elm,state,disabled";
19724             source:  "elm";
19725             action:  STATE_SET "disabled" 0.0;
19726             target:  "disclip";
19727          }
19728          program {
19729             name:    "go_enabled";
19730             signal:  "elm,state,enabled";
19731             source:  "elm";
19732             action:  STATE_SET "default" 0.0;
19733             target:  "disclip";
19734          }
19735       }
19736    }
19737    group { name: "elm/genlist/item_compress_odd/double_label/default";
19738       data.item: "stacking" "below";
19739       data.item: "selectraise" "on";
19740       data.item: "labels" "elm.text elm.text.sub";
19741       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19742       data.item: "treesize" "20";
19743 //      data.item: "states" "";
19744       images {
19745          image: "bt_sm_base1.png" COMP;
19746          image: "bt_sm_shine.png" COMP;
19747          image: "bt_sm_hilight.png" COMP;
19748          image: "ilist_2.png" COMP;
19749       }
19750       parts {
19751          part { name: "event";
19752             type: RECT;
19753             repeat_events: 1;
19754             description {
19755                state: "default" 0.0;
19756                color: 0 0 0 0;
19757             }
19758          }
19759          part {
19760             name: "base";
19761             mouse_events: 0;
19762             description {
19763                state: "default" 0.0;
19764                image {
19765                   normal: "ilist_2.png";
19766                   border: 2 2 2 2;
19767                }
19768                fill.smooth: 0;
19769             }
19770          }
19771          part { name: "bg";
19772             clip_to: "disclip";
19773             mouse_events: 0;
19774             description { state: "default" 0.0;
19775                visible: 0;
19776                color: 255 255 255 0;
19777                rel1 {
19778                   relative: 0.0 0.0;
19779                   offset: -5 -5;
19780                }
19781                rel2 {
19782                   relative: 1.0 1.0;
19783                   offset: 4 4;
19784                }
19785                image {
19786                   normal: "bt_sm_base1.png";
19787                   border: 6 6 6 6;
19788                }
19789                image.middle: SOLID;
19790             }
19791             description { state: "selected" 0.0;
19792                inherit: "default" 0.0;
19793                visible: 1;
19794                color: 255 255 255 255;
19795                rel1 {
19796                   relative: 0.0 0.0;
19797                   offset: -2 -2;
19798                }
19799                rel2 {
19800                   relative: 1.0 1.0;
19801                   offset: 1 1;
19802                }
19803             }
19804          }
19805          part { name: "elm.swallow.pad";
19806             type: SWALLOW;
19807             description { state: "default" 0.0;
19808                fixed: 1 0;
19809                align: 0.0 0.5;
19810                rel1 {
19811                   relative: 0.0  0.0;
19812                   offset:   4    4;
19813                }
19814                rel2 {
19815                   relative: 0.0  1.0;
19816                   offset:   4   -5;
19817                }
19818             }
19819          }
19820          part { name: "elm.swallow.icon";
19821             clip_to: "disclip";
19822             type: SWALLOW;
19823             description { state: "default" 0.0;
19824                fixed: 1 0;
19825                align: 0.0 0.5;
19826                rel1 {
19827                   to_x: "elm.swallow.pad";
19828                   relative: 1.0  0.0;
19829                   offset:   -1    4;
19830                }
19831                rel2 {
19832                   to_x: "elm.swallow.pad";
19833                   relative: 1.0  1.0;
19834                   offset:   -1   -5;
19835                }
19836             }
19837          }
19838          part { name: "elm.swallow.end";
19839             clip_to: "disclip";
19840             type:          SWALLOW;
19841             description { state:    "default" 0.0;
19842                fixed: 1 0;
19843                align:    1.0 0.5;
19844                aspect: 1.0 1.0;
19845                aspect_preference: VERTICAL;
19846                rel1 {
19847                   relative: 1.0  0.0;
19848                   offset:   -5    4;
19849                }
19850                rel2 {
19851                   relative: 1.0  1.0;
19852                   offset:   -5   -5;
19853                }
19854             }
19855          }
19856          part { name: "elm.text";
19857             clip_to: "disclip";
19858             type:           TEXT;
19859             effect:         SOFT_SHADOW;
19860             mouse_events:   0;
19861             scale: 1;
19862             description {
19863                state: "default" 0.0;
19864 //               min: 16 16;
19865                rel1 {
19866                   to_x:     "elm.swallow.icon";
19867                   relative: 1.0  0.0;
19868                   offset:   0 4;
19869                }
19870                rel2 {
19871                   to_x:     "elm.swallow.end";
19872                   relative: 0.0  0.5;
19873                   offset:   -1 -5;
19874                }
19875                color: 0 0 0 255;
19876                color3: 0 0 0 0;
19877                text {
19878                   font: "Sans";
19879                   size: 10;
19880 //                  min: 1 1;
19881                   min: 0 1;
19882                   align: 0.0 0.5;
19883                   text_class: "list_item";
19884                }
19885             }
19886             description { state: "selected" 0.0;
19887                inherit: "default" 0.0;
19888                color: 224 224 224 255;
19889                color3: 0 0 0 64;
19890             }
19891          }
19892          part { name: "elm.text.sub";
19893             clip_to: "disclip";
19894             type:           TEXT;
19895             mouse_events:   0;
19896             scale: 1;
19897             description {
19898                state: "default" 0.0;
19899 //               min: 16 16;
19900                rel1 {
19901                   to_x:     "elm.swallow.icon";
19902                   relative: 1.0  0.5;
19903                   offset:   0 4;
19904                }
19905                rel2 {
19906                   to_x:     "elm.swallow.end";
19907                   relative: 0.0  1.0;
19908                   offset:   -1 -5;
19909                }
19910                color: 0 0 0 128;
19911                color3: 0 0 0 0;
19912                text {
19913                   font: "Sans";
19914                   size: 8;
19915 //                  min: 1 1;
19916                   min: 0 1;
19917                   align: 0.0 0.5;
19918                   text_class: "list_item";
19919                }
19920             }
19921             description { state: "selected" 0.0;
19922                inherit: "default" 0.0;
19923                color: 128 128 128 255;
19924                color3: 0 0 0 32;
19925             }
19926          }
19927          part { name: "fg1";
19928             clip_to: "disclip";
19929             mouse_events: 0;
19930             description { state: "default" 0.0;
19931                visible: 0;
19932                color: 255 255 255 0;
19933                rel1.to: "bg";
19934                rel2.relative: 1.0 0.5;
19935                rel2.to: "bg";
19936                image {
19937                   normal: "bt_sm_hilight.png";
19938                   border: 6 6 6 0;
19939                }
19940             }
19941             description { state: "selected" 0.0;
19942                inherit: "default" 0.0;
19943                visible: 1;
19944                color: 255 255 255 255;
19945             }
19946          }
19947          part { name: "fg2";
19948             clip_to: "disclip";
19949             mouse_events: 0;
19950             description { state: "default" 0.0;
19951                visible: 0;
19952                color: 255 255 255 0;
19953                rel1.to: "bg";
19954                rel2.to: "bg";
19955                image {
19956                   normal: "bt_sm_shine.png";
19957                   border: 6 6 6 0;
19958                }
19959             }
19960             description { state: "selected" 0.0;
19961                inherit: "default" 0.0;
19962                visible: 1;
19963                color: 255 255 255 255;
19964             }
19965          }
19966          part { name: "disclip";
19967             type: RECT;
19968             description { state: "default" 0.0;
19969                rel1.to: "bg";
19970                rel2.to: "bg";
19971             }
19972             description { state: "disabled" 0.0;
19973                inherit: "default" 0.0;
19974                color: 255 255 255 64;
19975             }
19976          }
19977       }
19978       programs {
19979          // signal: elm,state,%s,active
19980          //   a "check" item named %s went active
19981          // signal: elm,state,%s,passive
19982          //   a "check" item named %s went passive
19983          // default is passive
19984          program {
19985             name:    "go_active";
19986             signal:  "elm,state,selected";
19987             source:  "elm";
19988             action:  STATE_SET "selected" 0.0;
19989             target:  "bg";
19990             target:  "fg1";
19991             target:  "fg2";
19992             target:  "elm.text";
19993             target:  "elm.text.sub";
19994          }
19995          program {
19996             name:    "go_passive";
19997             signal:  "elm,state,unselected";
19998             source:  "elm";
19999             action:  STATE_SET "default" 0.0;
20000             target:  "bg";
20001             target:  "fg1";
20002             target:  "fg2";
20003             target:  "elm.text";
20004             target:  "elm.text.sub";
20005             transition: LINEAR 0.1;
20006          }
20007          program {
20008             name:    "go_disabled";
20009             signal:  "elm,state,disabled";
20010             source:  "elm";
20011             action:  STATE_SET "disabled" 0.0;
20012             target:  "disclip";
20013          }
20014          program {
20015             name:    "go_enabled";
20016             signal:  "elm,state,enabled";
20017             source:  "elm";
20018             action:  STATE_SET "default" 0.0;
20019             target:  "disclip";
20020          }
20021       }
20022    }
20023
20024    group { name: "elm/genlist/tree/double_label/default";
20025       data.item: "stacking" "above";
20026       data.item: "selectraise" "on";
20027       data.item: "labels" "elm.text elm.text.sub";
20028       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20029       data.item: "treesize" "20";
20030 //      data.item: "states" "";
20031       images {
20032          image: "bt_sm_base1.png" COMP;
20033          image: "bt_sm_shine.png" COMP;
20034          image: "bt_sm_hilight.png" COMP;
20035          image: "ilist_1.png" COMP;
20036          image: "ilist_item_shadow.png" COMP;
20037          image: "icon_arrow_right.png" COMP;
20038          image: "icon_arrow_down.png" COMP;
20039       }
20040       parts {
20041          part {
20042             name:           "event";
20043             type:           RECT;
20044             repeat_events: 1;
20045             description {
20046                state: "default" 0.0;
20047                color: 0 0 0 0;
20048             }
20049          }
20050          part {
20051             name: "base_sh";
20052             mouse_events: 0;
20053             description {
20054                state: "default" 0.0;
20055                align: 0.0 0.0;
20056                min: 0 10;
20057                fixed: 1 1;
20058                rel1 {
20059                   to: "base";
20060                   relative: 0.0 1.0;
20061                   offset: 0 0;
20062                }
20063                rel2 {
20064                   to: "base";
20065                   relative: 1.0 1.0;
20066                   offset: -1 0;
20067                }
20068                image {
20069                   normal: "ilist_item_shadow.png";
20070                }
20071                fill.smooth: 0;
20072             }
20073          }
20074          part {
20075             name: "base";
20076             mouse_events: 0;
20077             description {
20078                state: "default" 0.0;
20079                image {
20080                   normal: "ilist_1.png";
20081                   border: 2 2 2 2;
20082                }
20083                fill.smooth: 0;
20084             }
20085          }
20086          part { name: "bg";
20087             clip_to: "disclip";
20088             mouse_events: 0;
20089             description { state: "default" 0.0;
20090                visible: 0;
20091                color: 255 255 255 0;
20092                rel1 {
20093                   relative: 0.0 0.0;
20094                   offset: -5 -5;
20095                }
20096                rel2 {
20097                   relative: 1.0 1.0;
20098                   offset: 4 4;
20099                }
20100                image {
20101                   normal: "bt_sm_base1.png";
20102                   border: 6 6 6 6;
20103                }
20104                image.middle: SOLID;
20105             }
20106             description { state: "selected" 0.0;
20107                inherit: "default" 0.0;
20108                visible: 1;
20109                color: 255 255 255 255;
20110                rel1 {
20111                   relative: 0.0 0.0;
20112                   offset: -2 -2;
20113                }
20114                rel2 {
20115                   relative: 1.0 1.0;
20116                   offset: 1 1;
20117                }
20118             }
20119          }
20120          part { name: "elm.swallow.pad";
20121             type: SWALLOW;
20122             description { state: "default" 0.0;
20123                fixed: 1 0;
20124                align: 0.0 0.5;
20125                rel1 {
20126                   relative: 0.0  0.0;
20127                   offset:   4    4;
20128                }
20129                rel2 {
20130                   relative: 0.0  1.0;
20131                   offset:   4   -5;
20132                }
20133             }
20134          }
20135          part { name: "arrow";
20136             clip_to: "disclip";
20137             ignore_flags: ON_HOLD;
20138             description { state: "default" 0.0;
20139                fixed: 1 0;
20140                align: 0.0 0.5;
20141                aspect: 1.0 1.0;
20142                rel1 {
20143                   to_x: "elm.swallow.pad";
20144                   relative: 1.0  0.0;
20145                   offset:   -1    4;
20146                }
20147                rel2 {
20148                   to_x: "elm.swallow.pad";
20149                   relative: 1.0  1.0;
20150                   offset:   -1   -5;
20151                }
20152                image.normal: "icon_arrow_right.png";
20153             }
20154             description { state: "active" 0.0;
20155                inherit: "default" 0.0;
20156                image.normal: "icon_arrow_down.png";
20157             }
20158          }
20159          part { name: "elm.swallow.icon";
20160             clip_to: "disclip";
20161             type: SWALLOW;
20162             description { state: "default" 0.0;
20163                fixed: 1 0;
20164                align: 0.0 0.5;
20165                rel1 {
20166                   to_x: "arrow";
20167                   relative: 1.0  0.0;
20168                   offset:   4    4;
20169                }
20170                rel2 {
20171                   to_x: "arrow";
20172                   relative: 1.0  1.0;
20173                   offset:   4   -5;
20174                }
20175             }
20176          }
20177          part { name: "elm.swallow.end";
20178             clip_to: "disclip";
20179             type: SWALLOW;
20180             description { state: "default" 0.0;
20181                fixed: 1 0;
20182                align: 1.0 0.5;
20183                aspect: 1.0 1.0;
20184                aspect_preference: VERTICAL;
20185                rel1 {
20186                   relative: 1.0  0.0;
20187                   offset:   -5    4;
20188                }
20189                rel2 {
20190                   relative: 1.0  1.0;
20191                   offset:   -5   -5;
20192                }
20193             }
20194          }
20195          part { name: "elm.text";
20196             clip_to: "disclip";
20197             type:           TEXT;
20198             effect:         SOFT_SHADOW;
20199             mouse_events:   0;
20200             scale: 1;
20201             description {
20202                state: "default" 0.0;
20203 //               min: 16 16;
20204                rel1 {
20205                   to_x:     "elm.swallow.icon";
20206                   relative: 1.0  0.0;
20207                   offset:   0 4;
20208                }
20209                rel2 {
20210                   to_x:     "elm.swallow.end";
20211                   relative: 0.0  0.5;
20212                   offset:   -1 -5;
20213                }
20214                color: 0 0 0 255;
20215                color3: 0 0 0 0;
20216                text {
20217                   font: "Sans";
20218                   size: 10;
20219                   min: 1 1;
20220 //                  min: 0 1;
20221                   align: 0.0 0.5;
20222                   text_class: "list_item";
20223                }
20224             }
20225             description { state: "selected" 0.0;
20226                inherit: "default" 0.0;
20227                color: 224 224 224 255;
20228                color3: 0 0 0 64;
20229             }
20230          }
20231          part { name: "elm.text.sub";
20232             clip_to: "disclip";
20233             type:           TEXT;
20234             mouse_events:   0;
20235             scale: 1;
20236             description {
20237                state: "default" 0.0;
20238 //               min: 16 16;
20239                rel1 {
20240                   to_x:     "elm.swallow.icon";
20241                   relative: 1.0  0.5;
20242                   offset:   0 4;
20243                }
20244                rel2 {
20245                   to_x:     "elm.swallow.end";
20246                   relative: 0.0  1.0;
20247                   offset:   -1 -5;
20248                }
20249                color: 0 0 0 128;
20250                color3: 0 0 0 0;
20251                text {
20252                   font: "Sans";
20253                   size: 8;
20254                   min: 1 1;
20255 //                  min: 0 1;
20256                   align: 0.0 0.5;
20257                   text_class: "list_item";
20258                }
20259             }
20260             description { state: "selected" 0.0;
20261                inherit: "default" 0.0;
20262                color: 128 128 128 255;
20263                color3: 0 0 0 32;
20264             }
20265          }
20266          part { name: "fg1";
20267             clip_to: "disclip";
20268             mouse_events: 0;
20269             description { state: "default" 0.0;
20270                visible: 0;
20271                color: 255 255 255 0;
20272                rel1.to: "bg";
20273                rel2.relative: 1.0 0.5;
20274                rel2.to: "bg";
20275                image {
20276                   normal: "bt_sm_hilight.png";
20277                   border: 6 6 6 0;
20278                }
20279             }
20280             description { state: "selected" 0.0;
20281                inherit: "default" 0.0;
20282                visible: 1;
20283                color: 255 255 255 255;
20284             }
20285          }
20286          part { name: "fg2";
20287             clip_to: "disclip";
20288             mouse_events: 0;
20289             description { state: "default" 0.0;
20290                visible: 0;
20291                color: 255 255 255 0;
20292                rel1.to: "bg";
20293                rel2.to: "bg";
20294                image {
20295                   normal: "bt_sm_shine.png";
20296                   border: 6 6 6 0;
20297                }
20298             }
20299             description { state: "selected" 0.0;
20300                inherit: "default" 0.0;
20301                visible: 1;
20302                color: 255 255 255 255;
20303             }
20304          }
20305          part { name: "disclip";
20306             type: RECT;
20307             description { state: "default" 0.0;
20308                rel1.to: "bg";
20309                rel2.to: "bg";
20310             }
20311             description { state: "disabled" 0.0;
20312                inherit: "default" 0.0;
20313                color: 255 255 255 64;
20314             }
20315          }
20316       }
20317       programs {
20318          // signal: elm,state,%s,active
20319          //   a "check" item named %s went active
20320          // signal: elm,state,%s,passive
20321          //   a "check" item named %s went passive
20322          // default is passive
20323          program {
20324             name:    "go_active";
20325             signal:  "elm,state,selected";
20326             source:  "elm";
20327             action:  STATE_SET "selected" 0.0;
20328             target:  "bg";
20329             target:  "fg1";
20330             target:  "fg2";
20331             target:  "elm.text";
20332             target:  "elm.text.sub";
20333          }
20334          program {
20335             name:    "go_passive";
20336             signal:  "elm,state,unselected";
20337             source:  "elm";
20338             action:  STATE_SET "default" 0.0;
20339             target:  "bg";
20340             target:  "fg1";
20341             target:  "fg2";
20342             target:  "elm.text";
20343             target:  "elm.text.sub";
20344             transition: LINEAR 0.1;
20345          }
20346          program {
20347             name:    "go_disabled";
20348             signal:  "elm,state,disabled";
20349             source:  "elm";
20350             action:  STATE_SET "disabled" 0.0;
20351             target:  "disclip";
20352          }
20353          program {
20354             name:    "go_enabled";
20355             signal:  "elm,state,enabled";
20356             source:  "elm";
20357             action:  STATE_SET "default" 0.0;
20358             target:  "disclip";
20359          }
20360          program {
20361             name:    "expand";
20362             signal:  "mouse,up,1";
20363             source:  "arrow";
20364             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20365          }
20366          program {
20367             name:    "go_expanded";
20368             signal:  "elm,state,expanded";
20369             source:  "elm";
20370             action:  STATE_SET "active" 0.0;
20371             target:  "arrow";
20372          }
20373          program {
20374             name:    "go_contracted";
20375             signal:  "elm,state,contracted";
20376             source:  "elm";
20377             action:  STATE_SET "default" 0.0;
20378             target:  "arrow";
20379          }
20380       }
20381    }
20382    group { name: "elm/genlist/tree_compress/double_label/default";
20383       data.item: "stacking" "above";
20384       data.item: "selectraise" "on";
20385       data.item: "labels" "elm.text elm.text.sub";
20386       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20387       data.item: "treesize" "20";
20388 //      data.item: "states" "";
20389       images {
20390          image: "bt_sm_base1.png" COMP;
20391          image: "bt_sm_shine.png" COMP;
20392          image: "bt_sm_hilight.png" COMP;
20393          image: "ilist_1.png" COMP;
20394          image: "ilist_item_shadow.png" COMP;
20395          image: "icon_arrow_right.png" COMP;
20396          image: "icon_arrow_down.png" COMP;
20397       }
20398       parts {
20399          part {
20400             name:           "event";
20401             type:           RECT;
20402             repeat_events: 1;
20403             description {
20404                state: "default" 0.0;
20405                color: 0 0 0 0;
20406             }
20407          }
20408          part {
20409             name: "base_sh";
20410             mouse_events: 0;
20411             description {
20412                state: "default" 0.0;
20413                align: 0.0 0.0;
20414                min: 0 10;
20415                fixed: 1 1;
20416                rel1 {
20417                   to: "base";
20418                   relative: 0.0 1.0;
20419                   offset: 0 0;
20420                }
20421                rel2 {
20422                   to: "base";
20423                   relative: 1.0 1.0;
20424                   offset: -1 0;
20425                }
20426                image {
20427                   normal: "ilist_item_shadow.png";
20428                }
20429                fill.smooth: 0;
20430             }
20431          }
20432          part {
20433             name: "base";
20434             mouse_events: 0;
20435             description {
20436                state: "default" 0.0;
20437                image {
20438                   normal: "ilist_1.png";
20439                   border: 2 2 2 2;
20440                }
20441                fill.smooth: 0;
20442             }
20443          }
20444          part { name: "bg";
20445             clip_to: "disclip";
20446             mouse_events: 0;
20447             description { state: "default" 0.0;
20448                visible: 0;
20449                color: 255 255 255 0;
20450                rel1 {
20451                   relative: 0.0 0.0;
20452                   offset: -5 -5;
20453                }
20454                rel2 {
20455                   relative: 1.0 1.0;
20456                   offset: 4 4;
20457                }
20458                image {
20459                   normal: "bt_sm_base1.png";
20460                   border: 6 6 6 6;
20461                }
20462                image.middle: SOLID;
20463             }
20464             description { state: "selected" 0.0;
20465                inherit: "default" 0.0;
20466                visible: 1;
20467                color: 255 255 255 255;
20468                rel1 {
20469                   relative: 0.0 0.0;
20470                   offset: -2 -2;
20471                }
20472                rel2 {
20473                   relative: 1.0 1.0;
20474                   offset: 1 1;
20475                }
20476             }
20477          }
20478          part { name: "elm.swallow.pad";
20479             type: SWALLOW;
20480             description { state: "default" 0.0;
20481                fixed: 1 0;
20482                align: 0.0 0.5;
20483                rel1 {
20484                   relative: 0.0  0.0;
20485                   offset:   4    4;
20486                }
20487                rel2 {
20488                   relative: 0.0  1.0;
20489                   offset:   4   -5;
20490                }
20491             }
20492          }
20493          part { name: "arrow";
20494             clip_to: "disclip";
20495             ignore_flags: ON_HOLD;
20496             description { state: "default" 0.0;
20497                fixed: 1 0;
20498                align: 0.0 0.5;
20499                aspect: 1.0 1.0;
20500                rel1 {
20501                   to_x: "elm.swallow.pad";
20502                   relative: 1.0  0.0;
20503                   offset:   -1    4;
20504                }
20505                rel2 {
20506                   to_x: "elm.swallow.pad";
20507                   relative: 1.0  1.0;
20508                   offset:   -1   -5;
20509                }
20510                image.normal: "icon_arrow_right.png";
20511             }
20512             description { state: "active" 0.0;
20513                inherit: "default" 0.0;
20514                image.normal: "icon_arrow_down.png";
20515             }
20516          }
20517          part { name: "elm.swallow.icon";
20518             clip_to: "disclip";
20519             type: SWALLOW;
20520             description { state: "default" 0.0;
20521                fixed: 1 0;
20522                align: 0.0 0.5;
20523                rel1 {
20524                   to_x: "arrow";
20525                   relative: 1.0  0.0;
20526                   offset:   4    4;
20527                }
20528                rel2 {
20529                   to_x: "arrow";
20530                   relative: 1.0  1.0;
20531                   offset:   4   -5;
20532                }
20533             }
20534          }
20535          part { name: "elm.swallow.end";
20536             clip_to: "disclip";
20537             type: SWALLOW;
20538             description { state: "default" 0.0;
20539                fixed: 1 0;
20540                align: 1.0 0.5;
20541                aspect: 1.0 1.0;
20542                aspect_preference: VERTICAL;
20543                rel1 {
20544                   relative: 1.0  0.0;
20545                   offset:   -5    4;
20546                }
20547                rel2 {
20548                   relative: 1.0  1.0;
20549                   offset:   -5   -5;
20550                }
20551             }
20552          }
20553          part { name: "elm.text";
20554             clip_to: "disclip";
20555             type:           TEXT;
20556             effect:         SOFT_SHADOW;
20557             mouse_events:   0;
20558             scale: 1;
20559             description {
20560                state: "default" 0.0;
20561 //               min: 16 16;
20562                rel1 {
20563                   to_x:     "elm.swallow.icon";
20564                   relative: 1.0  0.0;
20565                   offset:   0 4;
20566                }
20567                rel2 {
20568                   to_x:     "elm.swallow.end";
20569                   relative: 0.0  0.5;
20570                   offset:   -1 -5;
20571                }
20572                color: 0 0 0 255;
20573                color3: 0 0 0 0;
20574                text {
20575                   font: "Sans";
20576                   size: 10;
20577 //                  min: 1 1;
20578                   min: 0 1;
20579                   align: 0.0 0.5;
20580                   text_class: "list_item";
20581                }
20582             }
20583             description { state: "selected" 0.0;
20584                inherit: "default" 0.0;
20585                color: 224 224 224 255;
20586                color3: 0 0 0 64;
20587             }
20588          }
20589          part { name: "elm.text.sub";
20590             clip_to: "disclip";
20591             type:           TEXT;
20592             mouse_events:   0;
20593             scale: 1;
20594             description {
20595                state: "default" 0.0;
20596 //               min: 16 16;
20597                rel1 {
20598                   to_x:     "elm.swallow.icon";
20599                   relative: 1.0  0.5;
20600                   offset:   0 4;
20601                }
20602                rel2 {
20603                   to_x:     "elm.swallow.end";
20604                   relative: 0.0  1.0;
20605                   offset:   -1 -5;
20606                }
20607                color: 0 0 0 128;
20608                color3: 0 0 0 0;
20609                text {
20610                   font: "Sans";
20611                   size: 8;
20612 //                  min: 1 1;
20613                   min: 0 1;
20614                   align: 0.0 0.5;
20615                   text_class: "list_item";
20616                }
20617             }
20618             description { state: "selected" 0.0;
20619                inherit: "default" 0.0;
20620                color: 128 128 128 255;
20621                color3: 0 0 0 32;
20622             }
20623          }
20624          part { name: "fg1";
20625             clip_to: "disclip";
20626             mouse_events: 0;
20627             description { state: "default" 0.0;
20628                visible: 0;
20629                color: 255 255 255 0;
20630                rel1.to: "bg";
20631                rel2.relative: 1.0 0.5;
20632                rel2.to: "bg";
20633                image {
20634                   normal: "bt_sm_hilight.png";
20635                   border: 6 6 6 0;
20636                }
20637             }
20638             description { state: "selected" 0.0;
20639                inherit: "default" 0.0;
20640                visible: 1;
20641                color: 255 255 255 255;
20642             }
20643          }
20644          part { name: "fg2";
20645             clip_to: "disclip";
20646             mouse_events: 0;
20647             description { state: "default" 0.0;
20648                visible: 0;
20649                color: 255 255 255 0;
20650                rel1.to: "bg";
20651                rel2.to: "bg";
20652                image {
20653                   normal: "bt_sm_shine.png";
20654                   border: 6 6 6 0;
20655                }
20656             }
20657             description { state: "selected" 0.0;
20658                inherit: "default" 0.0;
20659                visible: 1;
20660                color: 255 255 255 255;
20661             }
20662          }
20663          part { name: "disclip";
20664             type: RECT;
20665             description { state: "default" 0.0;
20666                rel1.to: "bg";
20667                rel2.to: "bg";
20668             }
20669             description { state: "disabled" 0.0;
20670                inherit: "default" 0.0;
20671                color: 255 255 255 64;
20672             }
20673          }
20674       }
20675       programs {
20676          // signal: elm,state,%s,active
20677          //   a "check" item named %s went active
20678          // signal: elm,state,%s,passive
20679          //   a "check" item named %s went passive
20680          // default is passive
20681          program {
20682             name:    "go_active";
20683             signal:  "elm,state,selected";
20684             source:  "elm";
20685             action:  STATE_SET "selected" 0.0;
20686             target:  "bg";
20687             target:  "fg1";
20688             target:  "fg2";
20689             target:  "elm.text";
20690             target:  "elm.text.sub";
20691          }
20692          program {
20693             name:    "go_passive";
20694             signal:  "elm,state,unselected";
20695             source:  "elm";
20696             action:  STATE_SET "default" 0.0;
20697             target:  "bg";
20698             target:  "fg1";
20699             target:  "fg2";
20700             target:  "elm.text";
20701             target:  "elm.text.sub";
20702             transition: LINEAR 0.1;
20703          }
20704          program {
20705             name:    "go_disabled";
20706             signal:  "elm,state,disabled";
20707             source:  "elm";
20708             action:  STATE_SET "disabled" 0.0;
20709             target:  "disclip";
20710          }
20711          program {
20712             name:    "go_enabled";
20713             signal:  "elm,state,enabled";
20714             source:  "elm";
20715             action:  STATE_SET "default" 0.0;
20716             target:  "disclip";
20717          }
20718          program {
20719             name:    "expand";
20720             signal:  "mouse,up,1";
20721             source:  "arrow";
20722             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20723          }
20724          program {
20725             name:    "go_expanded";
20726             signal:  "elm,state,expanded";
20727             source:  "elm";
20728             action:  STATE_SET "active" 0.0;
20729             target:  "arrow";
20730          }
20731          program {
20732             name:    "go_contracted";
20733             signal:  "elm,state,contracted";
20734             source:  "elm";
20735             action:  STATE_SET "default" 0.0;
20736             target:  "arrow";
20737          }
20738       }
20739    }
20740    group { name: "elm/genlist/tree_odd/double_label/default";
20741       data.item: "stacking" "below";
20742       data.item: "selectraise" "on";
20743       data.item: "labels" "elm.text elm.text.sub";
20744       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20745       data.item: "treesize" "20";
20746 //      data.item: "states" "";
20747       images {
20748          image: "bt_sm_base1.png" COMP;
20749          image: "bt_sm_shine.png" COMP;
20750          image: "bt_sm_hilight.png" COMP;
20751          image: "ilist_2.png" COMP;
20752          image: "icon_arrow_right.png" COMP;
20753          image: "icon_arrow_down.png" COMP;
20754       }
20755       parts {
20756          part {
20757             name:           "event";
20758             type:           RECT;
20759             repeat_events: 1;
20760             description {
20761                state: "default" 0.0;
20762                color: 0 0 0 0;
20763             }
20764          }
20765          part {
20766             name: "base";
20767             mouse_events: 0;
20768             description {
20769                state: "default" 0.0;
20770                image {
20771                   normal: "ilist_2.png";
20772                   border: 2 2 2 2;
20773                }
20774                fill.smooth: 0;
20775             }
20776          }
20777          part { name: "bg";
20778             clip_to: "disclip";
20779             mouse_events: 0;
20780             description { state: "default" 0.0;
20781                visible: 0;
20782                color: 255 255 255 0;
20783                rel1 {
20784                   relative: 0.0 0.0;
20785                   offset: -5 -5;
20786                }
20787                rel2 {
20788                   relative: 1.0 1.0;
20789                   offset: 4 4;
20790                }
20791                image {
20792                   normal: "bt_sm_base1.png";
20793                   border: 6 6 6 6;
20794                }
20795                image.middle: SOLID;
20796             }
20797             description { state: "selected" 0.0;
20798                inherit: "default" 0.0;
20799                visible: 1;
20800                color: 255 255 255 255;
20801                rel1 {
20802                   relative: 0.0 0.0;
20803                   offset: -2 -2;
20804                }
20805                rel2 {
20806                   relative: 1.0 1.0;
20807                   offset: 1 1;
20808                }
20809             }
20810          }
20811          part { name: "elm.swallow.pad";
20812             type: SWALLOW;
20813             description { state: "default" 0.0;
20814                fixed: 1 0;
20815                align: 0.0 0.5;
20816                rel1 {
20817                   relative: 0.0  0.0;
20818                   offset:   4    4;
20819                }
20820                rel2 {
20821                   relative: 0.0  1.0;
20822                   offset:   4   -5;
20823                }
20824             }
20825          }
20826          part { name: "arrow";
20827             clip_to: "disclip";
20828             ignore_flags: ON_HOLD;
20829             description { state: "default" 0.0;
20830                fixed: 1 0;
20831                align: 0.0 0.5;
20832                aspect: 1.0 1.0;
20833                rel1 {
20834                   to_x: "elm.swallow.pad";
20835                   relative: 1.0  0.0;
20836                   offset:   -1    4;
20837                }
20838                rel2 {
20839                   to_x: "elm.swallow.pad";
20840                   relative: 1.0  1.0;
20841                   offset:   -1   -5;
20842                }
20843                image.normal: "icon_arrow_right.png";
20844             }
20845             description { state: "active" 0.0;
20846                inherit: "default" 0.0;
20847                image.normal: "icon_arrow_down.png";
20848             }
20849          }
20850          part { name: "elm.swallow.icon";
20851             clip_to: "disclip";
20852             type: SWALLOW;
20853             description { state: "default" 0.0;
20854                fixed: 1 0;
20855                align: 0.0 0.5;
20856                rel1 {
20857                   to_x: "arrow";
20858                   relative: 1.0  0.0;
20859                   offset:   4    4;
20860                }
20861                rel2 {
20862                   to_x: "arrow";
20863                   relative: 1.0  1.0;
20864                   offset:   4   -5;
20865                }
20866             }
20867          }
20868          part { name: "elm.swallow.end";
20869             clip_to: "disclip";
20870             type: SWALLOW;
20871             description { state: "default" 0.0;
20872                fixed: 1 0;
20873                align: 1.0 0.5;
20874                aspect: 1.0 1.0;
20875                aspect_preference: VERTICAL;
20876                rel1 {
20877                   relative: 1.0  0.0;
20878                   offset:   -5    4;
20879                }
20880                rel2 {
20881                   relative: 1.0  1.0;
20882                   offset:   -5   -5;
20883                }
20884             }
20885          }
20886          part { name: "elm.text";
20887             clip_to: "disclip";
20888             type:           TEXT;
20889             effect:         SOFT_SHADOW;
20890             mouse_events:   0;
20891             scale: 1;
20892             description {
20893                state: "default" 0.0;
20894 //               min: 16 16;
20895                rel1 {
20896                   to_x:     "elm.swallow.icon";
20897                   relative: 1.0  0.0;
20898                   offset:   0 4;
20899                }
20900                rel2 {
20901                   to_x:     "elm.swallow.end";
20902                   relative: 0.0  0.5;
20903                   offset:   -1 -5;
20904                }
20905                color: 0 0 0 255;
20906                color3: 0 0 0 0;
20907                text {
20908                   font: "Sans";
20909                   size: 10;
20910                   min: 1 1;
20911 //                  min: 0 1;
20912                   align: 0.0 0.5;
20913                   text_class: "list_item";
20914                }
20915             }
20916             description { state: "selected" 0.0;
20917                inherit: "default" 0.0;
20918                color: 224 224 224 255;
20919                color3: 0 0 0 64;
20920             }
20921          }
20922          part { name: "elm.text.sub";
20923             clip_to: "disclip";
20924             type:           TEXT;
20925             mouse_events:   0;
20926             scale: 1;
20927             description {
20928                state: "default" 0.0;
20929 //               min: 16 16;
20930                rel1 {
20931                   to_x:     "elm.swallow.icon";
20932                   relative: 1.0  0.5;
20933                   offset:   0 4;
20934                }
20935                rel2 {
20936                   to_x:     "elm.swallow.end";
20937                   relative: 0.0  1.0;
20938                   offset:   -1 -5;
20939                }
20940                color: 0 0 0 128;
20941                color3: 0 0 0 0;
20942                text {
20943                   font: "Sans";
20944                   size: 8;
20945                   min: 1 1;
20946 //                  min: 0 1;
20947                   align: 0.0 0.5;
20948                   text_class: "list_item";
20949                }
20950             }
20951             description { state: "selected" 0.0;
20952                inherit: "default" 0.0;
20953                color: 128 128 128 255;
20954                color3: 0 0 0 32;
20955             }
20956          }
20957          part { name: "fg1";
20958             clip_to: "disclip";
20959             mouse_events: 0;
20960             description { state: "default" 0.0;
20961                visible: 0;
20962                color: 255 255 255 0;
20963                rel1.to: "bg";
20964                rel2.relative: 1.0 0.5;
20965                rel2.to: "bg";
20966                image {
20967                   normal: "bt_sm_hilight.png";
20968                   border: 6 6 6 0;
20969                }
20970             }
20971             description { state: "selected" 0.0;
20972                inherit: "default" 0.0;
20973                visible: 1;
20974                color: 255 255 255 255;
20975             }
20976          }
20977          part { name: "fg2";
20978             clip_to: "disclip";
20979             mouse_events: 0;
20980             description { state: "default" 0.0;
20981                visible: 0;
20982                color: 255 255 255 0;
20983                rel1.to: "bg";
20984                rel2.to: "bg";
20985                image {
20986                   normal: "bt_sm_shine.png";
20987                   border: 6 6 6 0;
20988                }
20989             }
20990             description { state: "selected" 0.0;
20991                inherit: "default" 0.0;
20992                visible: 1;
20993                color: 255 255 255 255;
20994             }
20995          }
20996          part { name: "disclip";
20997             type: RECT;
20998             description { state: "default" 0.0;
20999                rel1.to: "bg";
21000                rel2.to: "bg";
21001             }
21002             description { state: "disabled" 0.0;
21003                inherit: "default" 0.0;
21004                color: 255 255 255 64;
21005             }
21006          }
21007       }
21008       programs {
21009          // signal: elm,state,%s,active
21010          //   a "check" item named %s went active
21011          // signal: elm,state,%s,passive
21012          //   a "check" item named %s went passive
21013          // default is passive
21014          program {
21015             name:    "go_active";
21016             signal:  "elm,state,selected";
21017             source:  "elm";
21018             action:  STATE_SET "selected" 0.0;
21019             target:  "bg";
21020             target:  "fg1";
21021             target:  "fg2";
21022             target:  "elm.text";
21023             target:  "elm.text.sub";
21024          }
21025          program {
21026             name:    "go_passive";
21027             signal:  "elm,state,unselected";
21028             source:  "elm";
21029             action:  STATE_SET "default" 0.0;
21030             target:  "bg";
21031             target:  "fg1";
21032             target:  "fg2";
21033             target:  "elm.text";
21034             target:  "elm.text.sub";
21035             transition: LINEAR 0.1;
21036          }
21037          program {
21038             name:    "go_disabled";
21039             signal:  "elm,state,disabled";
21040             source:  "elm";
21041             action:  STATE_SET "disabled" 0.0;
21042             target:  "disclip";
21043          }
21044          program {
21045             name:    "go_enabled";
21046             signal:  "elm,state,enabled";
21047             source:  "elm";
21048             action:  STATE_SET "default" 0.0;
21049             target:  "disclip";
21050          }
21051          program {
21052             name:    "expand";
21053             signal:  "mouse,up,1";
21054             source:  "arrow";
21055             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21056          }
21057          program {
21058             name:    "go_expanded";
21059             signal:  "elm,state,expanded";
21060             source:  "elm";
21061             action:  STATE_SET "active" 0.0;
21062             target:  "arrow";
21063          }
21064          program {
21065             name:    "go_contracted";
21066             signal:  "elm,state,contracted";
21067             source:  "elm";
21068             action:  STATE_SET "default" 0.0;
21069             target:  "arrow";
21070          }
21071       }
21072    }
21073
21074    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21075       data.item: "stacking" "above";
21076       data.item: "selectraise" "on";
21077       data.item: "labels" "elm.text";
21078       data.item: "icons" "elm.swallow.icon";
21079       data.item: "treesize" "20";
21080 //      data.item: "states" "";
21081       images {
21082          image: "bt_sm_base1.png" COMP;
21083          image: "bt_sm_shine.png" COMP;
21084          image: "bt_sm_hilight.png" COMP;
21085          image: "ilist_1.png" COMP;
21086          image: "ilist_item_shadow.png" COMP;
21087       }
21088       parts {
21089          part {
21090             name:           "event";
21091             type:           RECT;
21092             repeat_events: 1;
21093             description {
21094                state: "default" 0.0;
21095                color: 0 0 0 0;
21096             }
21097          }
21098          part {
21099             name: "base_sh";
21100             mouse_events: 0;
21101             description {
21102                state: "default" 0.0;
21103                align: 0.0 0.0;
21104                min: 0 10;
21105                fixed: 1 1;
21106                rel1 {
21107                   to: "base";
21108                   relative: 0.0 1.0;
21109                   offset: 0 0;
21110                }
21111                rel2 {
21112                   to: "base";
21113                   relative: 1.0 1.0;
21114                   offset: -1 0;
21115                }
21116                image {
21117                   normal: "ilist_item_shadow.png";
21118                }
21119                fill.smooth: 0;
21120             }
21121          }
21122          part {
21123             name: "base";
21124             mouse_events: 0;
21125             description {
21126                state: "default" 0.0;
21127                image {
21128                   normal: "ilist_1.png";
21129                   border: 2 2 2 2;
21130                }
21131                fill.smooth: 0;
21132             }
21133          }
21134          part { name: "bg";
21135             clip_to: "disclip";
21136             mouse_events: 0;
21137             description { state: "default" 0.0;
21138                visible: 0;
21139                color: 255 255 255 0;
21140                rel1 {
21141                   relative: 0.0 0.0;
21142                   offset: -5 -5;
21143                }
21144                rel2 {
21145                   relative: 1.0 1.0;
21146                   offset: 4 4;
21147                }
21148                image {
21149                   normal: "bt_sm_base1.png";
21150                   border: 6 6 6 6;
21151                }
21152                image.middle: SOLID;
21153             }
21154             description { state: "selected" 0.0;
21155                inherit: "default" 0.0;
21156                visible: 1;
21157                color: 255 255 255 255;
21158                rel1 {
21159                   relative: 0.0 0.0;
21160                   offset: -2 -2;
21161                }
21162                rel2 {
21163                   relative: 1.0 1.0;
21164                   offset: 1 1;
21165                }
21166             }
21167          }
21168          part { name: "elm.swallow.pad";
21169             type: SWALLOW;
21170             description { state: "default" 0.0;
21171                fixed: 1 0;
21172                align: 0.0 0.5;
21173                rel1 {
21174                   relative: 0.0  0.0;
21175                   offset:   4    4;
21176                }
21177                rel2 {
21178                   relative: 1.0  1.0;
21179                   offset:   -4   -5;
21180                }
21181             }
21182          }
21183          part { name: "elm.swallow.icon";
21184             clip_to: "disclip";
21185             type: SWALLOW;
21186             description { state: "default" 0.0;
21187                fixed: 1 0;
21188                align: 0.5 0.5;
21189                rel1 {
21190                   to_x: "elm.swallow.pad";
21191                   relative: 0.0  0.0;
21192                   offset:   -1    4;
21193                }
21194                rel2 {
21195                   to_x: "elm.swallow.pad";
21196                   relative: 1.0  1.0;
21197                   offset:   -1   -5;
21198                }
21199             }
21200          }
21201          part { name: "elm.text";
21202             clip_to: "disclip";
21203             type:           TEXT;
21204             effect:         SOFT_SHADOW;
21205             mouse_events:   0;
21206             scale: 1;
21207             description {
21208                state: "default" 0.0;
21209 //               min: 16 16;
21210                rel1 {
21211                   to_y:     "elm.swallow.icon";
21212                   relative: 0.0  1.0;
21213                   offset:   0 4;
21214                }
21215                rel2 {
21216                   relative: 1.0  1.0;
21217                   offset:   -5 -5;
21218                }
21219                color: 0 0 0 255;
21220                color3: 0 0 0 0;
21221                text {
21222                   font: "Sans";
21223                   size: 10;
21224                   min: 1 1;
21225 //                  min: 0 1;
21226                   align: 0.5 0.5;
21227                   text_class: "list_item";
21228                }
21229             }
21230             description { state: "selected" 0.0;
21231                inherit: "default" 0.0;
21232                color: 224 224 224 255;
21233                color3: 0 0 0 64;
21234             }
21235          }
21236          part { name: "fg1";
21237             clip_to: "disclip";
21238             mouse_events: 0;
21239             description { state: "default" 0.0;
21240                visible: 0;
21241                color: 255 255 255 0;
21242                rel1.to: "bg";
21243                rel2.relative: 1.0 0.5;
21244                rel2.to: "bg";
21245                image {
21246                   normal: "bt_sm_hilight.png";
21247                   border: 6 6 6 0;
21248                }
21249             }
21250             description { state: "selected" 0.0;
21251                inherit: "default" 0.0;
21252                visible: 1;
21253                color: 255 255 255 255;
21254             }
21255          }
21256          part { name: "fg2";
21257             clip_to: "disclip";
21258             mouse_events: 0;
21259             description { state: "default" 0.0;
21260                visible: 0;
21261                color: 255 255 255 0;
21262                rel1.to: "bg";
21263                rel2.to: "bg";
21264                image {
21265                   normal: "bt_sm_shine.png";
21266                   border: 6 6 6 0;
21267                }
21268             }
21269             description { state: "selected" 0.0;
21270                inherit: "default" 0.0;
21271                visible: 1;
21272                color: 255 255 255 255;
21273             }
21274          }
21275          part { name: "disclip";
21276             type: RECT;
21277             description { state: "default" 0.0;
21278                rel1.to: "bg";
21279                rel2.to: "bg";
21280             }
21281             description { state: "disabled" 0.0;
21282                inherit: "default" 0.0;
21283                color: 255 255 255 64;
21284             }
21285          }
21286       }
21287       programs {
21288          // signal: elm,state,%s,active
21289          //   a "check" item named %s went active
21290          // signal: elm,state,%s,passive
21291          //   a "check" item named %s went passive
21292          // default is passive
21293          program {
21294             name:    "go_active";
21295             signal:  "elm,state,selected";
21296             source:  "elm";
21297             action:  STATE_SET "selected" 0.0;
21298             target:  "bg";
21299             target:  "fg1";
21300             target:  "fg2";
21301             target:  "elm.text";
21302          }
21303          program {
21304             name:    "go_passive";
21305             signal:  "elm,state,unselected";
21306             source:  "elm";
21307             action:  STATE_SET "default" 0.0;
21308             target:  "bg";
21309             target:  "fg1";
21310             target:  "fg2";
21311             target:  "elm.text";
21312             transition: LINEAR 0.1;
21313          }
21314          program {
21315             name:    "go_disabled";
21316             signal:  "elm,state,disabled";
21317             source:  "elm";
21318             action:  STATE_SET "disabled" 0.0;
21319             target:  "disclip";
21320          }
21321          program {
21322             name:    "go_enabled";
21323             signal:  "elm,state,enabled";
21324             source:  "elm";
21325             action:  STATE_SET "default" 0.0;
21326             target:  "disclip";
21327          }
21328       }
21329    }
21330    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21331       data.item: "stacking" "below";
21332       data.item: "selectraise" "on";
21333       data.item: "labels" "elm.text";
21334       data.item: "icons" "elm.swallow.icon";
21335       data.item: "treesize" "20";
21336 //      data.item: "states" "";
21337       images {
21338          image: "bt_sm_base1.png" COMP;
21339          image: "bt_sm_shine.png" COMP;
21340          image: "bt_sm_hilight.png" COMP;
21341          image: "ilist_2.png" COMP;
21342       }
21343       parts {
21344          part { name: "event";
21345             type: RECT;
21346             repeat_events: 1;
21347             description {
21348                state: "default" 0.0;
21349                color: 0 0 0 0;
21350             }
21351          }
21352          part {
21353             name: "base";
21354             mouse_events: 0;
21355             description {
21356                state: "default" 0.0;
21357                image {
21358                   normal: "ilist_2.png";
21359                   border: 2 2 2 2;
21360                }
21361                fill.smooth: 0;
21362             }
21363          }
21364          part { name: "bg";
21365             clip_to: "disclip";
21366             mouse_events: 0;
21367             description { state: "default" 0.0;
21368                visible: 0;
21369                color: 255 255 255 0;
21370                rel1 {
21371                   relative: 0.0 0.0;
21372                   offset: -5 -5;
21373                }
21374                rel2 {
21375                   relative: 1.0 1.0;
21376                   offset: 4 4;
21377                }
21378                image {
21379                   normal: "bt_sm_base1.png";
21380                   border: 6 6 6 6;
21381                }
21382                image.middle: SOLID;
21383             }
21384             description { state: "selected" 0.0;
21385                inherit: "default" 0.0;
21386                visible: 1;
21387                color: 255 255 255 255;
21388                rel1 {
21389                   relative: 0.0 0.0;
21390                   offset: -2 -2;
21391                }
21392                rel2 {
21393                   relative: 1.0 1.0;
21394                   offset: 1 1;
21395                }
21396             }
21397          }
21398          part { name: "elm.swallow.pad";
21399             type: SWALLOW;
21400             description { state: "default" 0.0;
21401                fixed: 1 0;
21402                align: 0.0 0.5;
21403                rel1 {
21404                   relative: 0.0  0.0;
21405                   offset:   4    4;
21406                }
21407                rel2 {
21408                   relative: 1.0  1.0;
21409                   offset:   -4   -5;
21410                }
21411             }
21412          }
21413          part { name: "elm.swallow.icon";
21414             clip_to: "disclip";
21415             type: SWALLOW;
21416             description { state: "default" 0.0;
21417                fixed: 1 0;
21418                align: 0.5 0.5;
21419                rel1 {
21420                   to_x: "elm.swallow.pad";
21421                   relative: 0.0  0.0;
21422                   offset:   -1    4;
21423                }
21424                rel2 {
21425                   to_x: "elm.swallow.pad";
21426                   relative: 1.0  1.0;
21427                   offset:   -1   -5;
21428                }
21429             }
21430          }
21431          part { name: "elm.text";
21432             clip_to: "disclip";
21433             type:           TEXT;
21434             effect:         SOFT_SHADOW;
21435             mouse_events:   0;
21436             scale: 1;
21437             description {
21438                state: "default" 0.0;
21439 //               min:      16 16;
21440                rel1 {
21441                   to_y:     "elm.swallow.icon";
21442                   relative: 0.0  1.0;
21443                   offset:   0 4;
21444                }
21445                rel2 {
21446                   relative: 1.0  1.0;
21447                   offset:   -5 -5;
21448                }
21449                color: 0 0 0 255;
21450                color3: 0 0 0 0;
21451                text {
21452                   font: "Sans";
21453                   size: 10;
21454                   min: 1 1;
21455 //                  min: 0 1;
21456                   align: 0.5 0.5;
21457                   text_class: "list_item";
21458                }
21459             }
21460             description { state: "selected" 0.0;
21461                inherit: "default" 0.0;
21462                color: 224 224 224 255;
21463                color3: 0 0 0 64;
21464             }
21465          }
21466          part { name: "fg1";
21467             clip_to: "disclip";
21468             mouse_events: 0;
21469             description { state: "default" 0.0;
21470                visible: 0;
21471                color: 255 255 255 0;
21472                rel1.to: "bg";
21473                rel2.relative: 1.0 0.5;
21474                rel2.to: "bg";
21475                image {
21476                   normal: "bt_sm_hilight.png";
21477                   border: 6 6 6 0;
21478                }
21479             }
21480             description { state: "selected" 0.0;
21481                inherit: "default" 0.0;
21482                visible: 1;
21483                color: 255 255 255 255;
21484             }
21485          }
21486          part { name: "fg2";
21487             clip_to: "disclip";
21488             mouse_events: 0;
21489             description { state: "default" 0.0;
21490                visible: 0;
21491                color: 255 255 255 0;
21492                rel1.to: "bg";
21493                rel2.to: "bg";
21494                image {
21495                   normal: "bt_sm_shine.png";
21496                   border: 6 6 6 0;
21497                }
21498             }
21499             description { state: "selected" 0.0;
21500                inherit: "default" 0.0;
21501                visible: 1;
21502                color: 255 255 255 255;
21503             }
21504          }
21505          part { name: "disclip";
21506             type: RECT;
21507             description { state: "default" 0.0;
21508                rel1.to: "bg";
21509                rel2.to: "bg";
21510             }
21511             description { state: "disabled" 0.0;
21512                inherit: "default" 0.0;
21513                color: 255 255 255 64;
21514             }
21515          }
21516       }
21517       programs {
21518          // signal: elm,state,%s,active
21519          //   a "check" item named %s went active
21520          // signal: elm,state,%s,passive
21521          //   a "check" item named %s went passive
21522          // default is passive
21523          program {
21524             name:    "go_active";
21525             signal:  "elm,state,selected";
21526             source:  "elm";
21527             action:  STATE_SET "selected" 0.0;
21528             target:  "bg";
21529             target:  "fg1";
21530             target:  "fg2";
21531             target:  "elm.text";
21532          }
21533          program {
21534             name:    "go_passive";
21535             signal:  "elm,state,unselected";
21536             source:  "elm";
21537             action:  STATE_SET "default" 0.0;
21538             target:  "bg";
21539             target:  "fg1";
21540             target:  "fg2";
21541             target:  "elm.text";
21542             transition: LINEAR 0.1;
21543          }
21544          program {
21545             name:    "go_disabled";
21546             signal:  "elm,state,disabled";
21547             source:  "elm";
21548             action:  STATE_SET "disabled" 0.0;
21549             target:  "disclip";
21550          }
21551          program {
21552             name:    "go_enabled";
21553             signal:  "elm,state,enabled";
21554             source:  "elm";
21555             action:  STATE_SET "default" 0.0;
21556             target:  "disclip";
21557          }
21558       }
21559    }
21560
21561    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21562       data.item: "stacking" "above";
21563       data.item: "selectraise" "on";
21564       data.item: "labels" "elm.text";
21565       data.item: "icons" "elm.swallow.icon";
21566       data.item: "treesize" "20";
21567 //      data.item: "states" "";
21568       images {
21569          image: "bt_sm_base1.png" COMP;
21570          image: "bt_sm_shine.png" COMP;
21571          image: "bt_sm_hilight.png" COMP;
21572          image: "ilist_1.png" COMP;
21573          image: "ilist_item_shadow.png" COMP;
21574          image: "icon_arrow_right.png" COMP;
21575          image: "icon_arrow_down.png" COMP;
21576       }
21577       parts {
21578          part {
21579             name:           "event";
21580             type:           RECT;
21581             repeat_events: 1;
21582             description {
21583                state: "default" 0.0;
21584                color: 0 0 0 0;
21585             }
21586          }
21587          part {
21588             name: "base_sh";
21589             mouse_events: 0;
21590             description {
21591                state: "default" 0.0;
21592                align: 0.0 0.0;
21593                min: 0 10;
21594                fixed: 1 1;
21595                rel1 {
21596                   to: "base";
21597                   relative: 0.0 1.0;
21598                   offset: 0 0;
21599                }
21600                rel2 {
21601                   to: "base";
21602                   relative: 1.0 1.0;
21603                   offset: -1 0;
21604                }
21605                image {
21606                   normal: "ilist_item_shadow.png";
21607                }
21608                fill.smooth: 0;
21609             }
21610          }
21611          part {
21612             name: "base";
21613             mouse_events: 0;
21614             description {
21615                state: "default" 0.0;
21616                image {
21617                   normal: "ilist_1.png";
21618                   border: 2 2 2 2;
21619                }
21620                fill.smooth: 0;
21621             }
21622          }
21623          part { name: "bg";
21624             clip_to: "disclip";
21625             mouse_events: 0;
21626             description { state: "default" 0.0;
21627                visible: 0;
21628                color: 255 255 255 0;
21629                rel1 {
21630                   relative: 0.0 0.0;
21631                   offset: -5 -5;
21632                }
21633                rel2 {
21634                   relative: 1.0 1.0;
21635                   offset: 4 4;
21636                }
21637                image {
21638                   normal: "bt_sm_base1.png";
21639                   border: 6 6 6 6;
21640                }
21641                image.middle: SOLID;
21642             }
21643             description { state: "selected" 0.0;
21644                inherit: "default" 0.0;
21645                visible: 1;
21646                color: 255 255 255 255;
21647                rel1 {
21648                   relative: 0.0 0.0;
21649                   offset: -2 -2;
21650                }
21651                rel2 {
21652                   relative: 1.0 1.0;
21653                   offset: 1 1;
21654                }
21655             }
21656          }
21657          part { name: "elm.swallow.pad";
21658             type: SWALLOW;
21659             description { state: "default" 0.0;
21660                fixed: 1 0;
21661                align: 0.0 0.5;
21662                rel1 {
21663                   relative: 0.0  0.0;
21664                   offset:   4    4;
21665                }
21666                rel2 {
21667                   relative: 0.0  1.0;
21668                   offset:   4   -5;
21669                }
21670             }
21671          }
21672          part { name: "arrow";
21673             clip_to: "disclip";
21674             ignore_flags: ON_HOLD;
21675             description { state: "default" 0.0;
21676                fixed: 1 0;
21677                align: 0.0 0.5;
21678                aspect: 1.0 1.0;
21679                rel1 {
21680                   to_x: "elm.swallow.pad";
21681                   relative: 1.0  0.0;
21682                   offset:   -1    4;
21683                }
21684                rel2 {
21685                   to_x: "elm.swallow.pad";
21686                   relative: 1.0  1.0;
21687                   offset:   -1   -5;
21688                }
21689                image.normal: "icon_arrow_right.png";
21690             }
21691             description { state: "active" 0.0;
21692                inherit: "default" 0.0;
21693                image.normal: "icon_arrow_down.png";
21694             }
21695          }
21696          part { name: "elm.swallow.icon";
21697             clip_to: "disclip";
21698             type: SWALLOW;
21699             description { state: "default" 0.0;
21700                fixed: 1 0;
21701                align: 0.5 0.5;
21702                rel1 {
21703                   to_x: "arrow";
21704                   relative: 1.0  0.0;
21705                   offset:   4    4;
21706                }
21707                rel2 {
21708                   relative: 1.0  1.0;
21709                   offset:   -4   -5;
21710                }
21711             }
21712          }
21713          part { name: "elm.text";
21714             clip_to: "disclip";
21715             type:           TEXT;
21716             effect:         SOFT_SHADOW;
21717             mouse_events:   0;
21718             scale: 1;
21719             description {
21720                state: "default" 0.0;
21721 //               min: 16 16;
21722                rel1 {
21723                   to_y:     "elm.swallow.icon";
21724                   relative: 0.0  1.0;
21725                   offset:   0 4;
21726                }
21727                rel2 {
21728                   relative: 1.0  1.0;
21729                   offset:   -5 -5;
21730                }
21731                color: 0 0 0 255;
21732                color3: 0 0 0 0;
21733                text {
21734                   font: "Sans";
21735                   size: 10;
21736                   min: 1 1;
21737 //                  min: 0 1;
21738                   align: 0.5 0.5;
21739                   text_class: "list_item";
21740                }
21741             }
21742             description { state: "selected" 0.0;
21743                inherit: "default" 0.0;
21744                color: 224 224 224 255;
21745                color3: 0 0 0 64;
21746             }
21747          }
21748          part { name: "fg1";
21749             clip_to: "disclip";
21750             mouse_events: 0;
21751             description { state: "default" 0.0;
21752                visible: 0;
21753                color: 255 255 255 0;
21754                rel1.to: "bg";
21755                rel2.relative: 1.0 0.5;
21756                rel2.to: "bg";
21757                image {
21758                   normal: "bt_sm_hilight.png";
21759                   border: 6 6 6 0;
21760                }
21761             }
21762             description { state: "selected" 0.0;
21763                inherit: "default" 0.0;
21764                visible: 1;
21765                color: 255 255 255 255;
21766             }
21767          }
21768          part { name: "fg2";
21769             clip_to: "disclip";
21770             mouse_events: 0;
21771             description { state: "default" 0.0;
21772                visible: 0;
21773                color: 255 255 255 0;
21774                rel1.to: "bg";
21775                rel2.to: "bg";
21776                image {
21777                   normal: "bt_sm_shine.png";
21778                   border: 6 6 6 0;
21779                }
21780             }
21781             description { state: "selected" 0.0;
21782                inherit: "default" 0.0;
21783                visible: 1;
21784                color: 255 255 255 255;
21785             }
21786          }
21787          part { name: "disclip";
21788             type: RECT;
21789             description { state: "default" 0.0;
21790                rel1.to: "bg";
21791                rel2.to: "bg";
21792             }
21793             description { state: "disabled" 0.0;
21794                inherit: "default" 0.0;
21795                color: 255 255 255 64;
21796             }
21797          }
21798       }
21799       programs {
21800          // signal: elm,state,%s,active
21801          //   a "check" item named %s went active
21802          // signal: elm,state,%s,passive
21803          //   a "check" item named %s went passive
21804          // default is passive
21805          program {
21806             name:    "go_active";
21807             signal:  "elm,state,selected";
21808             source:  "elm";
21809             action:  STATE_SET "selected" 0.0;
21810             target:  "bg";
21811             target:  "fg1";
21812             target:  "fg2";
21813             target:  "elm.text";
21814          }
21815          program {
21816             name:    "go_passive";
21817             signal:  "elm,state,unselected";
21818             source:  "elm";
21819             action:  STATE_SET "default" 0.0;
21820             target:  "bg";
21821             target:  "fg1";
21822             target:  "fg2";
21823             target:  "elm.text";
21824             transition: LINEAR 0.1;
21825          }
21826          program {
21827             name:    "go_disabled";
21828             signal:  "elm,state,disabled";
21829             source:  "elm";
21830             action:  STATE_SET "disabled" 0.0;
21831             target:  "disclip";
21832          }
21833          program {
21834             name:    "go_enabled";
21835             signal:  "elm,state,enabled";
21836             source:  "elm";
21837             action:  STATE_SET "default" 0.0;
21838             target:  "disclip";
21839          }
21840          program {
21841             name:    "expand";
21842             signal:  "mouse,up,1";
21843             source:  "arrow";
21844             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21845          }
21846          program {
21847             name:    "go_expanded";
21848             signal:  "elm,state,expanded";
21849             source:  "elm";
21850             action:  STATE_SET "active" 0.0;
21851             target:  "arrow";
21852          }
21853          program {
21854             name:    "go_contracted";
21855             signal:  "elm,state,contracted";
21856             source:  "elm";
21857             action:  STATE_SET "default" 0.0;
21858             target:  "arrow";
21859          }
21860       }
21861    }
21862    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
21863       data.item: "stacking" "below";
21864       data.item: "selectraise" "on";
21865       data.item: "labels" "elm.text";
21866       data.item: "icons" "elm.swallow.icon";
21867       data.item: "treesize" "20";
21868 //      data.item: "states" "";
21869       images {
21870          image: "bt_sm_base1.png" COMP;
21871          image: "bt_sm_shine.png" COMP;
21872          image: "bt_sm_hilight.png" COMP;
21873          image: "ilist_2.png" COMP;
21874          image: "icon_arrow_right.png" COMP;
21875          image: "icon_arrow_down.png" COMP;
21876       }
21877       parts {
21878          part {
21879             name:           "event";
21880             type:           RECT;
21881             repeat_events: 1;
21882             description {
21883                state: "default" 0.0;
21884                color: 0 0 0 0;
21885             }
21886          }
21887          part {
21888             name: "base";
21889             mouse_events: 0;
21890             description {
21891                state: "default" 0.0;
21892                image {
21893                   normal: "ilist_2.png";
21894                   border: 2 2 2 2;
21895                }
21896                fill.smooth: 0;
21897             }
21898          }
21899          part { name: "bg";
21900             clip_to: "disclip";
21901             mouse_events: 0;
21902             description { state: "default" 0.0;
21903                visible: 0;
21904                color: 255 255 255 0;
21905                rel1 {
21906                   relative: 0.0 0.0;
21907                   offset: -5 -5;
21908                }
21909                rel2 {
21910                   relative: 1.0 1.0;
21911                   offset: 4 4;
21912                }
21913                image {
21914                   normal: "bt_sm_base1.png";
21915                   border: 6 6 6 6;
21916                }
21917                image.middle: SOLID;
21918             }
21919             description { state: "selected" 0.0;
21920                inherit: "default" 0.0;
21921                visible: 1;
21922                color: 255 255 255 255;
21923                rel1 {
21924                   relative: 0.0 0.0;
21925                   offset: -2 -2;
21926                }
21927                rel2 {
21928                   relative: 1.0 1.0;
21929                   offset: 1 1;
21930                }
21931             }
21932          }
21933          part { name: "elm.swallow.pad";
21934             type: SWALLOW;
21935             description { state: "default" 0.0;
21936                fixed: 1 0;
21937                align: 0.0 0.5;
21938                rel1 {
21939                   relative: 0.0  0.0;
21940                   offset:   4    4;
21941                }
21942                rel2 {
21943                   relative: 0.0  1.0;
21944                   offset:   4   -5;
21945                }
21946             }
21947          }
21948          part { name: "arrow";
21949             clip_to: "disclip";
21950             ignore_flags: ON_HOLD;
21951             description { state: "default" 0.0;
21952                fixed: 1 0;
21953                align: 0.0 0.5;
21954                aspect: 1.0 1.0;
21955                rel1 {
21956                   to_x: "elm.swallow.pad";
21957                   relative: 1.0  0.0;
21958                   offset:   -1    4;
21959                }
21960                rel2 {
21961                   to_x: "elm.swallow.pad";
21962                   relative: 1.0  1.0;
21963                   offset:   -1   -5;
21964                }
21965                image.normal: "icon_arrow_right.png";
21966             }
21967             description { state: "active" 0.0;
21968                inherit: "default" 0.0;
21969                image.normal: "icon_arrow_down.png";
21970             }
21971          }
21972          part { name: "elm.swallow.icon";
21973             clip_to: "disclip";
21974             type: SWALLOW;
21975             description { state: "default" 0.0;
21976                fixed: 1 0;
21977                align: 0.5 0.5;
21978                rel1 {
21979                   to_x: "arrow";
21980                   relative: 1.0  0.0;
21981                   offset:   4    4;
21982                }
21983                rel2 {
21984                   relative: 1.0  1.0;
21985                   offset:   -4   -5;
21986                }
21987             }
21988          }
21989          part { name: "elm.text";
21990             clip_to: "disclip";
21991             type:           TEXT;
21992             effect:         SOFT_SHADOW;
21993             mouse_events:   0;
21994             scale: 1;
21995             description {
21996                state: "default" 0.0;
21997 //               min: 16 16;
21998                rel1 {
21999                   to_y:     "elm.swallow.icon";
22000                   relative: 0.0  1.0;
22001                   offset:   0 4;
22002                }
22003                rel2 {
22004                   relative: 1.0  1.0;
22005                   offset:   -5 -5;
22006                }
22007                color: 0 0 0 255;
22008                color3: 0 0 0 0;
22009                text {
22010                   font: "Sans";
22011                   size: 10;
22012                   min: 1 1;
22013 //                  min: 0 1;
22014                   align: 0.5 0.5;
22015                   text_class: "list_item";
22016                }
22017             }
22018             description { state: "selected" 0.0;
22019                inherit: "default" 0.0;
22020                color: 224 224 224 255;
22021                color3: 0 0 0 64;
22022             }
22023          }
22024          part { name: "fg1";
22025             clip_to: "disclip";
22026             mouse_events: 0;
22027             description { state: "default" 0.0;
22028                visible: 0;
22029                color: 255 255 255 0;
22030                rel1.to: "bg";
22031                rel2.relative: 1.0 0.5;
22032                rel2.to: "bg";
22033                image {
22034                   normal: "bt_sm_hilight.png";
22035                   border: 6 6 6 0;
22036                }
22037             }
22038             description { state: "selected" 0.0;
22039                inherit: "default" 0.0;
22040                visible: 1;
22041                color: 255 255 255 255;
22042             }
22043          }
22044          part { name: "fg2";
22045             clip_to: "disclip";
22046             mouse_events: 0;
22047             description { state: "default" 0.0;
22048                visible: 0;
22049                color: 255 255 255 0;
22050                rel1.to: "bg";
22051                rel2.to: "bg";
22052                image {
22053                   normal: "bt_sm_shine.png";
22054                   border: 6 6 6 0;
22055                }
22056             }
22057             description { state: "selected" 0.0;
22058                inherit: "default" 0.0;
22059                visible: 1;
22060                color: 255 255 255 255;
22061             }
22062          }
22063          part { name: "disclip";
22064             type: RECT;
22065             description { state: "default" 0.0;
22066                rel1.to: "bg";
22067                rel2.to: "bg";
22068             }
22069             description { state: "disabled" 0.0;
22070                inherit: "default" 0.0;
22071                color: 255 255 255 64;
22072             }
22073          }
22074       }
22075       programs {
22076          // signal: elm,state,%s,active
22077          //   a "check" item named %s went active
22078          // signal: elm,state,%s,passive
22079          //   a "check" item named %s went passive
22080          // default is passive
22081          program {
22082             name:    "go_active";
22083             signal:  "elm,state,selected";
22084             source:  "elm";
22085             action:  STATE_SET "selected" 0.0;
22086             target:  "bg";
22087             target:  "fg1";
22088             target:  "fg2";
22089             target:  "elm.text";
22090          }
22091          program {
22092             name:    "go_passive";
22093             signal:  "elm,state,unselected";
22094             source:  "elm";
22095             action:  STATE_SET "default" 0.0;
22096             target:  "bg";
22097             target:  "fg1";
22098             target:  "fg2";
22099             target:  "elm.text";
22100             transition: LINEAR 0.1;
22101          }
22102          program {
22103             name:    "go_disabled";
22104             signal:  "elm,state,disabled";
22105             source:  "elm";
22106             action:  STATE_SET "disabled" 0.0;
22107             target:  "disclip";
22108          }
22109          program {
22110             name:    "go_enabled";
22111             signal:  "elm,state,enabled";
22112             source:  "elm";
22113             action:  STATE_SET "default" 0.0;
22114             target:  "disclip";
22115          }
22116          program {
22117             name:    "expand";
22118             signal:  "mouse,up,1";
22119             source:  "arrow";
22120             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22121          }
22122          program {
22123             name:    "go_expanded";
22124             signal:  "elm,state,expanded";
22125             source:  "elm";
22126             action:  STATE_SET "active" 0.0;
22127             target:  "arrow";
22128          }
22129          program {
22130             name:    "go_contracted";
22131             signal:  "elm,state,contracted";
22132             source:  "elm";
22133             action:  STATE_SET "default" 0.0;
22134             target:  "arrow";
22135          }
22136       }
22137    }
22138
22139
22140 ///////////////////////////////////////////////////////////////////////////////
22141    group { name: "elm/check/base/default";
22142       images {
22143          image: "check_base.png" COMP;
22144          image: "check.png" COMP;
22145          image: "check2.png" COMP;
22146       }
22147       parts {
22148          part { name: "bg";
22149             mouse_events: 0;
22150             scale: 1;
22151             description { state: "default" 0.0;
22152                rel1.offset: 1 1;
22153                rel2.relative: 0.0 1.0;
22154                rel2.offset: 1 -2;
22155                align: 0.0 0.5;
22156                min: 16 16;
22157                max: 16 16;
22158                aspect: 1.0 1.0;
22159                aspect_preference: VERTICAL;
22160                image {
22161                   normal: "check_base.png";
22162                   border: 5 5 5 5;
22163                   middle: 0;
22164                }
22165                fill.smooth : 0;
22166             }
22167          }
22168          part { name: "check";
22169             mouse_events: 0;
22170             scale: 1;
22171             description { state: "default" 0.0;
22172                rel1 {
22173                   to: "bg";
22174                   offset: 1 1;
22175                }
22176                rel2 {
22177                   to: "bg";
22178                   offset: -2 -2;
22179                }
22180                visible: 0;
22181                color: 255 255 255 255;
22182                image.normal: "check.png";
22183             }
22184             description { state: "visible" 0.0;
22185                inherit: "default" 0.0;
22186                visible: 1;
22187             }
22188             description { state: "disabled" 0.0;
22189                inherit: "default" 0.0;
22190                visible: 0;
22191                color: 128 128 128 128;
22192             }
22193             description { state: "disabled_visible" 0.0;
22194                inherit: "default" 0.0;
22195                color: 128 128 128 128;
22196                visible: 1;
22197             }
22198          }
22199          part { name: "elm.swallow.content";
22200             type: SWALLOW;
22201             description { state: "default" 0.0;
22202                fixed: 1 0;
22203                visible: 0;
22204                align: 0.0 0.5;
22205           rel1.to_x: "bg";
22206                rel1.relative: 1.0 0.0;
22207                rel1.offset: 1 1;
22208           rel2.to_x: "bg";
22209                rel2.offset: 1 -2;
22210                rel2.relative: 1.0 1.0;
22211             }
22212             description { state: "visible" 0.0;
22213                inherit: "default" 0.0;
22214           fixed: 1 0;
22215                visible: 1;
22216                aspect: 1.0 1.0;
22217             }
22218             description { state: "disabled" 0.0;
22219                inherit: "default" 0.0;
22220                color: 128 128 128 128;
22221             }
22222             description { state: "disabled_visible" 0.0;
22223                inherit: "default" 0.0;
22224                color: 128 128 128 128;
22225           fixed: 1 0;
22226                visible: 1;
22227                aspect: 1.0 1.0;
22228             }
22229          }
22230          part { name: "elm.text";
22231             type: TEXT;
22232             mouse_events: 0;
22233             scale: 1;
22234             description { state: "default" 0.0;
22235                visible: 0;
22236                rel1.to_x: "elm.swallow.content";
22237                rel1.relative: 1.0 0.0;
22238                rel1.offset: 1 1;
22239                rel2.relative: 1.0 1.0;
22240                rel2.offset: -2 -2;
22241                color: 0 0 0 255;
22242                text {
22243                   font: "Sans,Edje-Vera";
22244                   size: 10;
22245                   min: 0 1;
22246                   align: 0.0 0.5;
22247                }
22248             }
22249             description { state: "visible" 0.0;
22250                inherit: "default" 0.0;
22251                visible: 1;
22252                text.min: 1 1;
22253             }
22254             description { state: "disabled" 0.0;
22255                inherit: "default" 0.0;
22256                color: 0 0 0 128;
22257                color3: 0 0 0 0;
22258             }
22259             description { state: "disabled_visible" 0.0;
22260                inherit: "default" 0.0;
22261                color: 0 0 0 128;
22262                color3: 0 0 0 0;
22263                visible: 1;
22264                text.min: 1 1;
22265             }
22266          }
22267          part { name: "events";
22268             type: RECT;
22269             ignore_flags: ON_HOLD;
22270             description { state: "default" 0.0;
22271                color: 0 0 0 0;
22272             }
22273          }
22274           part { name: "disabler";
22275             type: RECT;
22276             description { state: "default" 0.0;
22277                color: 0 0 0 0;
22278                visible: 0;
22279             }
22280             description { state: "disabled" 0.0;
22281                inherit: "default" 0.0;
22282                visible: 1;
22283             }
22284          }
22285       }
22286       programs {
22287          program { name: "click";
22288             signal: "mouse,up,1";
22289             source: "events";
22290             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22291          }
22292          program { name: "check_on";
22293             signal: "elm,state,check,on";
22294             source: "elm";
22295             action:  STATE_SET "visible" 0.0;
22296             target: "check";
22297          }
22298          program { name: "check_off";
22299             signal: "elm,state,check,off";
22300             source: "elm";
22301             action:  STATE_SET "default" 0.0;
22302             target: "check";
22303          }
22304          program { name: "text_show";
22305             signal: "elm,state,text,visible";
22306             source: "elm";
22307             action:  STATE_SET "visible" 0.0;
22308             target: "elm.text";
22309          }
22310          program { name: "text_hide";
22311             signal: "elm,state,text,hidden";
22312             source: "elm";
22313             action:  STATE_SET "default" 0.0;
22314             target: "elm.text";
22315          }
22316          program { name: "icon_show";
22317             signal: "elm,state,icon,visible";
22318             source: "elm";
22319             action:  STATE_SET "visible" 0.0;
22320             target: "elm.swallow.content";
22321          }
22322          program { name: "icon_hide";
22323             signal: "elm,state,icon,hidden";
22324             source: "elm";
22325             action:  STATE_SET "default" 0.0;
22326             target: "elm.swallow.content";
22327          }
22328          program { name: "disable";
22329             signal: "elm,state,disabled";
22330             source: "elm";
22331             action: STATE_SET "disabled" 0.0;
22332             target: "disabler";
22333             after: "disable_text";
22334          }
22335          program { name: "disable_text";
22336             script {
22337                new st[31];
22338                new Float:vl;
22339                get_state(PART:"elm.text", st, 30, vl);
22340                if (!strcmp(st, "visible"))
22341                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22342                else
22343                  set_state(PART:"elm.text", "disabled", 0.0);
22344
22345                get_state(PART:"elm.swallow.content", st, 30, vl);
22346                if (!strcmp(st, "visible"))
22347                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22348                else
22349                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22350
22351                get_state(PART:"check", st, 30, vl);
22352                if (!strcmp(st, "visible"))
22353                  set_state(PART:"check", "disabled_visible", 0.0);
22354                else
22355                  set_state(PART:"check", "disabled", 0.0);
22356             }
22357          }
22358          program { name: "enable";
22359             signal: "elm,state,enabled";
22360             source: "elm";
22361             action: STATE_SET "default" 0.0;
22362             target: "disabler";
22363             after: "enable_text";
22364          }
22365          program { name: "enable_text";
22366             script {
22367                new st[31];
22368                new Float:vl;
22369                get_state(PART:"elm.text", st, 30, vl);
22370                if (!strcmp(st, "disabled_visible"))
22371                  set_state(PART:"elm.text", "visible", 0.0);
22372                else
22373                  set_state(PART:"elm.text", "default", 0.0);
22374
22375                get_state(PART:"elm.swallow.content", st, 30, vl);
22376                if (!strcmp(st, "visible"))
22377                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22378                else
22379                  set_state(PART:"elm.swallow.content", "default", 0.0);
22380
22381                get_state(PART:"check", st, 30, vl);
22382                if (!strcmp(st, "visible"))
22383                  set_state(PART:"check", "visible", 0.0);
22384                else
22385                  set_state(PART:"check", "default", 0.0);
22386             }
22387          }
22388       }
22389    }
22390 ///////////////////////////////////////////////////////////////////////////////
22391    group { name: "elm/radio/base/default";
22392       images {
22393          image: "radio_base.png" COMP;
22394          image: "radio.png" COMP;
22395          image: "radio2.png" COMP;
22396       }
22397       parts {
22398          part { name: "bg";
22399             mouse_events: 0;
22400             scale: 1;
22401             description { state: "default" 0.0;
22402                rel1.offset: 1 1;
22403                rel2.relative: 0.0 1.0;
22404                rel2.offset: 1 -2;
22405                align: 0.0 0.5;
22406                min: 16 16;
22407                max: 16 16;
22408                aspect: 1.0 1.0;
22409                aspect_preference: VERTICAL;
22410                image.normal: "radio_base.png";
22411             }
22412          }
22413          part { name: "radio";
22414             mouse_events: 0;
22415             scale: 1;
22416             description { state: "default" 0.0;
22417                rel1.to: "bg";
22418                rel2.to: "bg";
22419                visible: 0;
22420                image.normal: "radio.png";
22421             }
22422             description { state: "visible" 0.0;
22423                inherit: "default" 0.0;
22424                visible: 1;
22425             }
22426          }
22427          part { name: "elm.swallow.content";
22428             type: SWALLOW;
22429             description { state: "default" 0.0;
22430                fixed: 1 0;
22431                visible: 0;
22432                align: 0.0 0.5;
22433                color: 0 0 0 0;
22434                rel1.to_x: "bg";
22435                rel1.relative: 1.0 0.0;
22436                rel1.offset: 1 1;
22437                rel2.to_x: "bg";
22438                rel2.relative: 1.0 1.0;
22439                rel2.offset: 2 -2;
22440             }
22441             description { state: "visible" 0.0;
22442                inherit: "default" 0.0;
22443                visible: 1;
22444                color: 255 255 255 255;
22445                aspect: 1.0 1.0;
22446             }
22447             description { state: "disabled" 0.0;
22448                inherit: "default" 0.0;
22449                color: 128 128 128 128;
22450             }
22451             description { state: "disabled_visible" 0.0;
22452                inherit: "default" 0.0;
22453                color: 128 128 128 128;
22454                visible: 1;
22455                aspect: 1.0 1.0;
22456             }
22457          }
22458          part { name: "elm.text";
22459             type: TEXT;
22460             mouse_events: 0;
22461             scale: 1;
22462             description { state: "default" 0.0;
22463                visible: 0;
22464                rel1.to_x: "elm.swallow.content";
22465                rel1.relative: 1.0 0.0;
22466                rel1.offset: 1 1;
22467                rel2.relative: 1.0 1.0;
22468                rel2.offset: -2 -2;
22469                color: 0 0 0 255;
22470                text {
22471                   font: "Sans,Edje-Vera";
22472                   size: 10;
22473                   min: 0 0;
22474                   align: 0.0 0.5;
22475                }
22476             }
22477             description { state: "visible" 0.0;
22478                inherit: "default" 0.0;
22479                visible: 1;
22480                text.min: 1 1;
22481             }
22482             description { state: "disabled" 0.0;
22483                inherit: "default" 0.0;
22484                color: 0 0 0 128;
22485                color3: 0 0 0 0;
22486             }
22487             description { state: "disabled_visible" 0.0;
22488                inherit: "default" 0.0;
22489                color: 0 0 0 128;
22490                color3: 0 0 0 0;
22491                visible: 1;
22492                text.min: 1 1;
22493             }
22494          }
22495          part { name: "events";
22496             type: RECT;
22497             ignore_flags: ON_HOLD;
22498             description { state: "default" 0.0;
22499                color: 0 0 0 0;
22500             }
22501          }
22502           part { name: "disabler";
22503             type: RECT;
22504             description { state: "default" 0.0;
22505                color: 0 0 0 0;
22506                visible: 0;
22507             }
22508             description { state: "disabled" 0.0;
22509                inherit: "default" 0.0;
22510                visible: 1;
22511             }
22512          }
22513       }
22514       programs {
22515          program { name: "click";
22516             signal: "mouse,up,1";
22517             source: "events";
22518             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22519          }
22520          program { name: "radio_on";
22521             signal: "elm,state,radio,on";
22522             source: "elm";
22523             action:  STATE_SET "visible" 0.0;
22524             target: "radio";
22525          }
22526          program { name: "radio_off";
22527             signal: "elm,state,radio,off";
22528             source: "elm";
22529             action:  STATE_SET "default" 0.0;
22530             target: "radio";
22531          }
22532          program { name: "text_show";
22533             signal: "elm,state,text,visible";
22534             source: "elm";
22535             action:  STATE_SET "visible" 0.0;
22536             target: "elm.text";
22537          }
22538          program { name: "text_hide";
22539             signal: "elm,state,text,hidden";
22540             source: "elm";
22541             action:  STATE_SET "default" 0.0;
22542             target: "elm.text";
22543          }
22544          program { name: "icon_show";
22545             signal: "elm,state,icon,visible";
22546             source: "elm";
22547             action:  STATE_SET "visible" 0.0;
22548             target: "elm.swallow.content";
22549          }
22550          program { name: "icon_hide";
22551             signal: "elm,state,icon,hidden";
22552             source: "elm";
22553             action:  STATE_SET "default" 0.0;
22554             target: "elm.swallow.content";
22555          }
22556          program { name: "disable";
22557             signal: "elm,state,disabled";
22558             source: "elm";
22559             action: STATE_SET "disabled" 0.0;
22560             target: "disabler";
22561             after: "disable_text";
22562          }
22563          program { name: "disable_text";
22564             script {
22565                new st[31];
22566                new Float:vl;
22567                get_state(PART:"elm.text", st, 30, vl);
22568                if (!strcmp(st, "visible"))
22569                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22570                else
22571                  set_state(PART:"elm.text", "disabled", 0.0);
22572
22573                get_state(PART:"elm.swallow.content", st, 30, vl);
22574                if (!strcmp(st, "visible"))
22575                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22576                else
22577                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22578             }
22579          }
22580          program { name: "enable";
22581             signal: "elm,state,enabled";
22582             source: "elm";
22583             action: STATE_SET "default" 0.0;
22584             target: "disabler";
22585             after: "enable_text";
22586          }
22587          program { name: "enable_text";
22588             script {
22589                new st[31];
22590                new Float:vl;
22591                get_state(PART:"elm.text", st, 30, vl);
22592                if (!strcmp(st, "disabled_visible"))
22593                  set_state(PART:"elm.text", "visible", 0.0);
22594                else
22595                  set_state(PART:"elm.text", "default", 0.0);
22596
22597                get_state(PART:"elm.swallow.content", st, 30, vl);
22598                if (!strcmp(st, "visible"))
22599                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22600                else
22601                  set_state(PART:"elm.swallow.content", "default", 0.0);
22602             }
22603          }
22604       }
22605    }
22606    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22607       data.item: "stacking" "below";
22608       data.item: "selectraise" "on";
22609       data.item: "labels" "elm.text elm.text.sub";
22610       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22611       data.item: "treesize" "20";
22612 //      data.item: "states" "";
22613       images {
22614          image: "bt_sm_base1.png" COMP;
22615          image: "bt_sm_shine.png" COMP;
22616          image: "bt_sm_hilight.png" COMP;
22617          image: "ilist_2.png" COMP;
22618          image: "icon_arrow_right.png" COMP;
22619          image: "icon_arrow_down.png" COMP;
22620       }
22621       parts {
22622          part {
22623             name:           "event";
22624             type:           RECT;
22625             repeat_events: 1;
22626             description {
22627                state: "default" 0.0;
22628                color: 0 0 0 0;
22629             }
22630          }
22631          part {
22632             name: "base";
22633             mouse_events: 0;
22634             description {
22635                state: "default" 0.0;
22636                image {
22637                   normal: "ilist_2.png";
22638                   border: 2 2 2 2;
22639                }
22640                fill.smooth: 0;
22641             }
22642          }
22643          part { name: "bg";
22644             clip_to: "disclip";
22645             mouse_events: 0;
22646             description { state: "default" 0.0;
22647                visible: 0;
22648                color: 255 255 255 0;
22649                rel1 {
22650                   relative: 0.0 0.0;
22651                   offset: -5 -5;
22652                }
22653                rel2 {
22654                   relative: 1.0 1.0;
22655                   offset: 4 4;
22656                }
22657                image {
22658                   normal: "bt_sm_base1.png";
22659                   border: 6 6 6 6;
22660                }
22661                image.middle: SOLID;
22662             }
22663             description { state: "selected" 0.0;
22664                inherit: "default" 0.0;
22665                visible: 1;
22666                color: 255 255 255 255;
22667                rel1 {
22668                   relative: 0.0 0.0;
22669                   offset: -2 -2;
22670                }
22671                rel2 {
22672                   relative: 1.0 1.0;
22673                   offset: 1 1;
22674                }
22675             }
22676          }
22677          part { name: "elm.swallow.pad";
22678             type: SWALLOW;
22679             description { state: "default" 0.0;
22680                fixed: 1 0;
22681                align: 0.0 0.5;
22682                rel1 {
22683                   relative: 0.0  0.0;
22684                   offset:   4    4;
22685                }
22686                rel2 {
22687                   relative: 0.0  1.0;
22688                   offset:   4   -5;
22689                }
22690             }
22691          }
22692          part { name: "arrow";
22693             clip_to: "disclip";
22694             ignore_flags: ON_HOLD;
22695             description { state: "default" 0.0;
22696                fixed: 1 0;
22697                align: 0.0 0.5;
22698                aspect: 1.0 1.0;
22699                rel1 {
22700                   to_x: "elm.swallow.pad";
22701                   relative: 1.0  0.0;
22702                   offset:   -1    4;
22703                }
22704                rel2 {
22705                   to_x: "elm.swallow.pad";
22706                   relative: 1.0  1.0;
22707                   offset:   -1   -5;
22708                }
22709                image.normal: "icon_arrow_right.png";
22710             }
22711             description { state: "active" 0.0;
22712                inherit: "default" 0.0;
22713                image.normal: "icon_arrow_down.png";
22714             }
22715          }
22716          part { name: "elm.swallow.icon";
22717             clip_to: "disclip";
22718             type: SWALLOW;
22719             description { state: "default" 0.0;
22720                fixed: 1 0;
22721                align: 0.0 0.5;
22722                rel1 {
22723                   to_x: "arrow";
22724                   relative: 1.0  0.0;
22725                   offset:   4    4;
22726                }
22727                rel2 {
22728                   to_x: "arrow";
22729                   relative: 1.0  1.0;
22730                   offset:   4   -5;
22731                }
22732             }
22733          }
22734          part { name: "elm.swallow.end";
22735             clip_to: "disclip";
22736             type: SWALLOW;
22737             description { state: "default" 0.0;
22738                fixed: 1 0;
22739                align: 1.0 0.5;
22740                aspect: 1.0 1.0;
22741                aspect_preference: VERTICAL;
22742                rel1 {
22743                   relative: 1.0  0.0;
22744                   offset:   -5    4;
22745                }
22746                rel2 {
22747                   relative: 1.0  1.0;
22748                   offset:   -5   -5;
22749                }
22750             }
22751          }
22752          part { name: "elm.text";
22753             clip_to: "disclip";
22754             type:           TEXT;
22755             effect:         SOFT_SHADOW;
22756             mouse_events:   0;
22757             scale: 1;
22758             description {
22759                state: "default" 0.0;
22760 //               min: 16 16;
22761                rel1 {
22762                   to_x:     "elm.swallow.icon";
22763                   relative: 1.0  0.0;
22764                   offset:   0 4;
22765                }
22766                rel2 {
22767                   to_x:     "elm.swallow.end";
22768                   relative: 0.0  0.5;
22769                   offset:   -1 -5;
22770                }
22771                color: 0 0 0 255;
22772                color3: 0 0 0 0;
22773                text {
22774                   font: "Sans";
22775                   size: 10;
22776 //                  min: 1 1;
22777                   min: 0 1;
22778                   align: 0.0 0.5;
22779                   text_class: "list_item";
22780                }
22781             }
22782             description { state: "selected" 0.0;
22783                inherit: "default" 0.0;
22784                color: 224 224 224 255;
22785                color3: 0 0 0 64;
22786             }
22787          }
22788          part { name: "elm.text.sub";
22789             clip_to: "disclip";
22790             type:           TEXT;
22791             mouse_events:   0;
22792             scale: 1;
22793             description {
22794                state: "default" 0.0;
22795 //               min: 16 16;
22796                rel1 {
22797                   to_x:     "elm.swallow.icon";
22798                   relative: 1.0  0.5;
22799                   offset:   0 4;
22800                }
22801                rel2 {
22802                   to_x:     "elm.swallow.end";
22803                   relative: 0.0  1.0;
22804                   offset:   -1 -5;
22805                }
22806                color: 0 0 0 128;
22807                color3: 0 0 0 0;
22808                text {
22809                   font: "Sans";
22810                   size: 8;
22811 //                  min: 1 1;
22812                   min: 0 1;
22813                   align: 0.0 0.5;
22814                   text_class: "list_item";
22815                }
22816             }
22817             description { state: "selected" 0.0;
22818                inherit: "default" 0.0;
22819                color: 128 128 128 255;
22820                color3: 0 0 0 32;
22821             }
22822          }
22823          part { name: "fg1";
22824             clip_to: "disclip";
22825             mouse_events: 0;
22826             description { state: "default" 0.0;
22827                visible: 0;
22828                color: 255 255 255 0;
22829                rel1.to: "bg";
22830                rel2.relative: 1.0 0.5;
22831                rel2.to: "bg";
22832                image {
22833                   normal: "bt_sm_hilight.png";
22834                   border: 6 6 6 0;
22835                }
22836             }
22837             description { state: "selected" 0.0;
22838                inherit: "default" 0.0;
22839                visible: 1;
22840                color: 255 255 255 255;
22841             }
22842          }
22843          part { name: "fg2";
22844             clip_to: "disclip";
22845             mouse_events: 0;
22846             description { state: "default" 0.0;
22847                visible: 0;
22848                color: 255 255 255 0;
22849                rel1.to: "bg";
22850                rel2.to: "bg";
22851                image {
22852                   normal: "bt_sm_shine.png";
22853                   border: 6 6 6 0;
22854                }
22855             }
22856             description { state: "selected" 0.0;
22857                inherit: "default" 0.0;
22858                visible: 1;
22859                color: 255 255 255 255;
22860             }
22861          }
22862          part { name: "disclip";
22863             type: RECT;
22864             description { state: "default" 0.0;
22865                rel1.to: "bg";
22866                rel2.to: "bg";
22867             }
22868             description { state: "disabled" 0.0;
22869                inherit: "default" 0.0;
22870                color: 255 255 255 64;
22871             }
22872          }
22873       }
22874       programs {
22875          // signal: elm,state,%s,active
22876          //   a "check" item named %s went active
22877          // signal: elm,state,%s,passive
22878          //   a "check" item named %s went passive
22879          // default is passive
22880          program {
22881             name:    "go_active";
22882             signal:  "elm,state,selected";
22883             source:  "elm";
22884             action:  STATE_SET "selected" 0.0;
22885             target:  "bg";
22886             target:  "fg1";
22887             target:  "fg2";
22888             target:  "elm.text";
22889             target:  "elm.text.sub";
22890          }
22891          program {
22892             name:    "go_passive";
22893             signal:  "elm,state,unselected";
22894             source:  "elm";
22895             action:  STATE_SET "default" 0.0;
22896             target:  "bg";
22897             target:  "fg1";
22898             target:  "fg2";
22899             target:  "elm.text";
22900             target:  "elm.text.sub";
22901             transition: LINEAR 0.1;
22902          }
22903          program {
22904             name:    "go_disabled";
22905             signal:  "elm,state,disabled";
22906             source:  "elm";
22907             action:  STATE_SET "disabled" 0.0;
22908             target:  "disclip";
22909          }
22910          program {
22911             name:    "go_enabled";
22912             signal:  "elm,state,enabled";
22913             source:  "elm";
22914             action:  STATE_SET "default" 0.0;
22915             target:  "disclip";
22916          }
22917          program {
22918             name:    "expand";
22919             signal:  "mouse,up,1";
22920             source:  "arrow";
22921             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22922          }
22923          program {
22924             name:    "go_expanded";
22925             signal:  "elm,state,expanded";
22926             source:  "elm";
22927             action:  STATE_SET "active" 0.0;
22928             target:  "arrow";
22929          }
22930          program {
22931             name:    "go_contracted";
22932             signal:  "elm,state,contracted";
22933             source:  "elm";
22934             action:  STATE_SET "default" 0.0;
22935             target:  "arrow";
22936          }
22937       }
22938    }
22939
22940    group { name: "elm/genlist/item_compress/media/default";
22941       data.item: "stacking" "above";
22942       data.item: "selectraise" "on";
22943       data.item: "labels" "elm.text.title elm.text.album-artist";
22944       data.item: "treesize" "20";
22945       images {
22946          image: "bt_sm_base1.png" COMP;
22947          image: "bt_sm_shine.png" COMP;
22948          image: "bt_sm_hilight.png" COMP;
22949          image: "ilist_1.png" COMP;
22950          image: "ilist_item_shadow.png" COMP;
22951       }
22952       parts {
22953          part {
22954             name:           "event";
22955             type:           RECT;
22956             repeat_events: 1;
22957             description {
22958                state: "default" 0.0;
22959                color: 0 0 0 0;
22960             }
22961          }
22962          part {
22963             name: "base_sh";
22964             mouse_events: 0;
22965             description {
22966                state: "default" 0.0;
22967                align: 0.0 0.0;
22968                min: 0 10;
22969                fixed: 1 1;
22970                rel1 {
22971                   to: "base";
22972                   relative: 0.0 1.0;
22973                   offset: 0 0;
22974                }
22975                rel2 {
22976                   to: "base";
22977                   relative: 1.0 1.0;
22978                   offset: -1 0;
22979                }
22980                image {
22981                   normal: "ilist_item_shadow.png";
22982                }
22983                fill.smooth: 0;
22984             }
22985          }
22986          part {
22987             name: "base";
22988             mouse_events: 0;
22989             description {
22990                state: "default" 0.0;
22991                image {
22992                   normal: "ilist_1.png";
22993                   border: 2 2 2 2;
22994                }
22995                fill.smooth: 0;
22996             }
22997          }
22998          part { name: "bg";
22999             clip_to: "disclip";
23000             mouse_events: 0;
23001             description { state: "default" 0.0;
23002                visible: 0;
23003                color: 255 255 255 0;
23004                rel1 {
23005                   relative: 0.0 0.0;
23006                   offset: -5 -5;
23007                }
23008                rel2 {
23009                   relative: 1.0 1.0;
23010                   offset: 4 4;
23011                }
23012                image {
23013                   normal: "bt_sm_base1.png";
23014                   border: 6 6 6 6;
23015                }
23016                image.middle: SOLID;
23017             }
23018             description { state: "selected" 0.0;
23019                inherit: "default" 0.0;
23020                visible: 1;
23021                color: 255 255 255 255;
23022                rel1 {
23023                   relative: 0.0 0.0;
23024                   offset: -2 -2;
23025                }
23026                rel2 {
23027                   relative: 1.0 1.0;
23028                   offset: 1 1;
23029                }
23030             }
23031          }
23032          part { name: "elm.swallow.pad";
23033             type: SWALLOW;
23034             description { state: "default" 0.0;
23035                fixed: 1 0;
23036                align: 0.0 0.5;
23037                rel1 {
23038                   relative: 0.0  0.0;
23039                   offset:   4    4;
23040                }
23041                rel2 {
23042                   relative: 0.0  1.0;
23043                   offset:   4   -5;
23044                }
23045             }
23046          }
23047          part { name: "elm.text.title";
23048             clip_to: "disclip";
23049             type:           TEXT;
23050             effect:         SOFT_SHADOW;
23051             mouse_events:   0;
23052             scale: 1;
23053             description {
23054                state: "default" 0.0;
23055                rel1 {
23056                   relative: 0.0  0.0;
23057                   offset:   4 4;
23058                }
23059                rel2 {
23060                   relative: 1.0  0.5;
23061                   offset:   -1 -5;
23062                }
23063                color: 0 0 0 255;
23064                color3: 0 0 0 0;
23065                text {
23066                   font: "Sans";
23067                   size: 10;
23068                   min: 0 1;
23069                   align: 0.0 0.5;
23070                }
23071             }
23072             description { state: "selected" 0.0;
23073                inherit: "default" 0.0;
23074                color: 224 224 224 255;
23075                color3: 0 0 0 64;
23076             }
23077          }
23078          part { name: "elm.text.album-artist";
23079             clip_to: "disclip";
23080             type:           TEXT;
23081             mouse_events:   0;
23082             scale: 1;
23083             description {
23084                state: "default" 0.0;
23085                rel1 {
23086                   relative: 0.0  0.5;
23087                   offset:   4 4;
23088                }
23089                rel2 {
23090                   relative: 1.0  1.0;
23091                   offset:   -1 -5;
23092                }
23093                color: 0 0 0 128;
23094                color3: 0 0 0 0;
23095                text {
23096                   font: "Sans";
23097                   size: 8;
23098                   min: 0 1;
23099                   align: 0.0 0.5;
23100                }
23101             }
23102             description { state: "selected" 0.0;
23103                inherit: "default" 0.0;
23104                color: 128 128 128 255;
23105                color3: 0 0 0 32;
23106             }
23107          }
23108          part { name: "fg1";
23109             clip_to: "disclip";
23110             mouse_events: 0;
23111             description { state: "default" 0.0;
23112                visible: 0;
23113                color: 255 255 255 0;
23114                rel1.to: "bg";
23115                rel2.relative: 1.0 0.5;
23116                rel2.to: "bg";
23117                image {
23118                   normal: "bt_sm_hilight.png";
23119                   border: 6 6 6 0;
23120                }
23121             }
23122             description { state: "selected" 0.0;
23123                inherit: "default" 0.0;
23124                visible: 1;
23125                color: 255 255 255 255;
23126             }
23127          }
23128          part { name: "fg2";
23129             clip_to: "disclip";
23130             mouse_events: 0;
23131             description { state: "default" 0.0;
23132                visible: 0;
23133                color: 255 255 255 0;
23134                rel1.to: "bg";
23135                rel2.to: "bg";
23136                image {
23137                   normal: "bt_sm_shine.png";
23138                   border: 6 6 6 0;
23139                }
23140             }
23141             description { state: "selected" 0.0;
23142                inherit: "default" 0.0;
23143                visible: 1;
23144                color: 255 255 255 255;
23145             }
23146          }
23147          part { name: "disclip";
23148             type: RECT;
23149             description { state: "default" 0.0;
23150                rel1.to: "bg";
23151                rel2.to: "bg";
23152             }
23153             description { state: "disabled" 0.0;
23154                inherit: "default" 0.0;
23155                color: 255 255 255 64;
23156             }
23157          }
23158       }
23159       programs {
23160          // signal: elm,state,%s,active
23161          //   a "check" item named %s went active
23162          // signal: elm,state,%s,passive
23163          //   a "check" item named %s went passive
23164          // default is passive
23165          program {
23166             name:    "go_active";
23167             signal:  "elm,state,selected";
23168             source:  "elm";
23169             action:  STATE_SET "selected" 0.0;
23170             target:  "bg";
23171             target:  "fg1";
23172             target:  "fg2";
23173             target:  "elm.text.title";
23174             target:  "elm.text.album-artist";
23175          }
23176          program {
23177             name:    "go_passive";
23178             signal:  "elm,state,unselected";
23179             source:  "elm";
23180             action:  STATE_SET "default" 0.0;
23181             target:  "bg";
23182             target:  "fg1";
23183             target:  "fg2";
23184             target:  "elm.text.title";
23185             target:  "elm.text.album-artist";
23186             transition: LINEAR 0.1;
23187          }
23188          program {
23189             name:    "go_disabled";
23190             signal:  "elm,state,disabled";
23191             source:  "elm";
23192             action:  STATE_SET "disabled" 0.0;
23193             target:  "disclip";
23194          }
23195          program {
23196             name:    "go_enabled";
23197             signal:  "elm,state,enabled";
23198             source:  "elm";
23199             action:  STATE_SET "default" 0.0;
23200             target:  "disclip";
23201          }
23202       }
23203    }
23204    group { name: "elm/genlist/item_compress_odd/media/default";
23205       data.item: "stacking" "below";
23206       data.item: "selectraise" "on";
23207       data.item: "labels" "elm.text.title elm.text.album-artist";
23208       data.item: "treesize" "20";
23209       images {
23210          image: "bt_sm_base1.png" COMP;
23211          image: "bt_sm_shine.png" COMP;
23212          image: "bt_sm_hilight.png" COMP;
23213          image: "ilist_2.png" COMP;
23214       }
23215       parts {
23216          part { name: "event";
23217             type: RECT;
23218             repeat_events: 1;
23219             description {
23220                state: "default" 0.0;
23221                color: 0 0 0 0;
23222             }
23223          }
23224          part {
23225             name: "base";
23226             mouse_events: 0;
23227             description {
23228                state: "default" 0.0;
23229                image {
23230                   normal: "ilist_2.png";
23231                   border: 2 2 2 2;
23232                }
23233                fill.smooth: 0;
23234             }
23235          }
23236          part { name: "bg";
23237             clip_to: "disclip";
23238             mouse_events: 0;
23239             description { state: "default" 0.0;
23240                visible: 0;
23241                color: 255 255 255 0;
23242                rel1 {
23243                   relative: 0.0 0.0;
23244                   offset: -5 -5;
23245                }
23246                rel2 {
23247                   relative: 1.0 1.0;
23248                   offset: 4 4;
23249                }
23250                image {
23251                   normal: "bt_sm_base1.png";
23252                   border: 6 6 6 6;
23253                }
23254                image.middle: SOLID;
23255             }
23256             description { state: "selected" 0.0;
23257                inherit: "default" 0.0;
23258                visible: 1;
23259                color: 255 255 255 255;
23260                rel1 {
23261                   relative: 0.0 0.0;
23262                   offset: -2 -2;
23263                }
23264                rel2 {
23265                   relative: 1.0 1.0;
23266                   offset: 1 1;
23267                }
23268             }
23269          }
23270          part { name: "elm.swallow.pad";
23271             type: SWALLOW;
23272             description { state: "default" 0.0;
23273                fixed: 1 0;
23274                align: 0.0 0.5;
23275                rel1 {
23276                   relative: 0.0  0.0;
23277                   offset:   4    4;
23278                }
23279                rel2 {
23280                   relative: 0.0  1.0;
23281                   offset:   4   -5;
23282                }
23283             }
23284          }
23285          part { name: "elm.text.title";
23286             clip_to: "disclip";
23287             type:           TEXT;
23288             effect:         SOFT_SHADOW;
23289             mouse_events:   0;
23290             scale: 1;
23291             description {
23292                state: "default" 0.0;
23293                rel1 {
23294                   relative: 0.0  0.0;
23295                   offset:   4 4;
23296                }
23297                rel2 {
23298                   relative: 1.0  0.5;
23299                   offset:   -1 -5;
23300                }
23301                color: 0 0 0 255;
23302                color3: 0 0 0 0;
23303                text {
23304                   font: "Sans";
23305                   size: 10;
23306                   min: 0 1;
23307                   align: 0.0 0.5;
23308                }
23309             }
23310             description { state: "selected" 0.0;
23311                inherit: "default" 0.0;
23312                color: 224 224 224 255;
23313                color3: 0 0 0 64;
23314             }
23315          }
23316          part { name: "elm.text.album-artist";
23317             clip_to: "disclip";
23318             type:           TEXT;
23319             mouse_events:   0;
23320             scale: 1;
23321             description {
23322                state: "default" 0.0;
23323                rel1 {
23324                   relative: 0.0  0.5;
23325                   offset:   4 4;
23326                }
23327                rel2 {
23328                   relative: 1.0  1.0;
23329                   offset:   -1 -5;
23330                }
23331                color: 0 0 0 128;
23332                color3: 0 0 0 0;
23333                text {
23334                   font: "Sans";
23335                   size: 8;
23336                   min: 0 1;
23337                   align: 0.0 0.5;
23338                }
23339             }
23340             description { state: "selected" 0.0;
23341                inherit: "default" 0.0;
23342                color: 128 128 128 255;
23343                color3: 0 0 0 32;
23344             }
23345          }
23346          part { name: "fg1";
23347             clip_to: "disclip";
23348             mouse_events: 0;
23349             description { state: "default" 0.0;
23350                visible: 0;
23351                color: 255 255 255 0;
23352                rel1.to: "bg";
23353                rel2.relative: 1.0 0.5;
23354                rel2.to: "bg";
23355                image {
23356                   normal: "bt_sm_hilight.png";
23357                   border: 6 6 6 0;
23358                }
23359             }
23360             description { state: "selected" 0.0;
23361                inherit: "default" 0.0;
23362                visible: 1;
23363                color: 255 255 255 255;
23364             }
23365          }
23366          part { name: "fg2";
23367             clip_to: "disclip";
23368             mouse_events: 0;
23369             description { state: "default" 0.0;
23370                visible: 0;
23371                color: 255 255 255 0;
23372                rel1.to: "bg";
23373                rel2.to: "bg";
23374                image {
23375                   normal: "bt_sm_shine.png";
23376                   border: 6 6 6 0;
23377                }
23378             }
23379             description { state: "selected" 0.0;
23380                inherit: "default" 0.0;
23381                visible: 1;
23382                color: 255 255 255 255;
23383             }
23384          }
23385          part { name: "disclip";
23386             type: RECT;
23387             description { state: "default" 0.0;
23388                rel1.to: "bg";
23389                rel2.to: "bg";
23390             }
23391             description { state: "disabled" 0.0;
23392                inherit: "default" 0.0;
23393                color: 255 255 255 64;
23394             }
23395          }
23396       }
23397       programs {
23398          // signal: elm,state,%s,active
23399          //   a "check" item named %s went active
23400          // signal: elm,state,%s,passive
23401          //   a "check" item named %s went passive
23402          // default is passive
23403          program {
23404             name:    "go_active";
23405             signal:  "elm,state,selected";
23406             source:  "elm";
23407             action:  STATE_SET "selected" 0.0;
23408             target:  "bg";
23409             target:  "fg1";
23410             target:  "fg2";
23411             target:  "elm.text.title";
23412             target:  "elm.text.album-artist";
23413          }
23414          program {
23415             name:    "go_passive";
23416             signal:  "elm,state,unselected";
23417             source:  "elm";
23418             action:  STATE_SET "default" 0.0;
23419             target:  "bg";
23420             target:  "fg1";
23421             target:  "fg2";
23422             target:  "elm.text.title";
23423             target:  "elm.text.album-artist";
23424             transition: LINEAR 0.1;
23425          }
23426          program {
23427             name:    "go_disabled";
23428             signal:  "elm,state,disabled";
23429             source:  "elm";
23430             action:  STATE_SET "disabled" 0.0;
23431             target:  "disclip";
23432          }
23433          program {
23434             name:    "go_enabled";
23435             signal:  "elm,state,enabled";
23436             source:  "elm";
23437             action:  STATE_SET "default" 0.0;
23438             target:  "disclip";
23439          }
23440       }
23441    }
23442
23443    group { name: "elm/genlist/item_compress/media-album/default";
23444       data.item: "stacking" "above";
23445       data.item: "selectraise" "on";
23446       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23447       data.item: "states" "elm.state.trackno";
23448       data.item: "treesize" "20";
23449       images {
23450          image: "bt_sm_base1.png" COMP;
23451          image: "bt_sm_shine.png" COMP;
23452          image: "bt_sm_hilight.png" COMP;
23453          image: "ilist_1.png" COMP;
23454          image: "ilist_item_shadow.png" COMP;
23455       }
23456       script {
23457          public dot_visible;
23458       }
23459       parts {
23460          part {
23461             name: "event";
23462             type: RECT;
23463             repeat_events: 1;
23464             description {
23465                state: "default" 0.0;
23466                color: 0 0 0 0;
23467             }
23468          }
23469          part {
23470             name: "base_sh";
23471             mouse_events: 0;
23472             description {
23473                state: "default" 0.0;
23474                align: 0.0 0.0;
23475                min: 0 10;
23476                fixed: 1 1;
23477                rel1 {
23478                   to: "base";
23479                   relative: 0.0 1.0;
23480                   offset: 0 0;
23481                }
23482                rel2 {
23483                   to: "base";
23484                   relative: 1.0 1.0;
23485                   offset: -1 0;
23486                }
23487                image {
23488                   normal: "ilist_item_shadow.png";
23489                }
23490                fill.smooth: 0;
23491             }
23492          }
23493          part {
23494             name: "base";
23495             mouse_events: 0;
23496             description {
23497                state: "default" 0.0;
23498                image {
23499                   normal: "ilist_1.png";
23500                   border: 2 2 2 2;
23501                }
23502                fill.smooth: 0;
23503             }
23504          }
23505          part { name: "bg";
23506             clip_to: "disclip";
23507             mouse_events: 0;
23508             description { state: "default" 0.0;
23509                visible: 0;
23510                color: 255 255 255 0;
23511                rel1 {
23512                   relative: 0.0 0.0;
23513                   offset: -5 -5;
23514                }
23515                rel2 {
23516                   relative: 1.0 1.0;
23517                   offset: 4 4;
23518                }
23519                image {
23520                   normal: "bt_sm_base1.png";
23521                   border: 6 6 6 6;
23522                }
23523                image.middle: SOLID;
23524             }
23525             description { state: "selected" 0.0;
23526                inherit: "default" 0.0;
23527                visible: 1;
23528                color: 255 255 255 255;
23529                rel1 {
23530                   relative: 0.0 0.0;
23531                   offset: -2 -2;
23532                }
23533                rel2 {
23534                   relative: 1.0 1.0;
23535                   offset: 1 1;
23536                }
23537             }
23538          }
23539          part { name: "elm.swallow.pad";
23540             type: SWALLOW;
23541             description { state: "default" 0.0;
23542                fixed: 1 0;
23543                align: 0.0 0.5;
23544                rel1 {
23545                   relative: 0.0  0.0;
23546                   offset:   4    4;
23547                }
23548                rel2 {
23549                   relative: 0.0  1.0;
23550                   offset:   4   -5;
23551                }
23552             }
23553          }
23554          part {
23555             name: "elm.text.trackno";
23556             type: TEXT;
23557             scale: 1;
23558             mouse_events: 0;
23559             description {
23560                state: "default" 0.0;
23561                color: 255 255 255 255;
23562                align: 0.0 0.0;
23563                fixed: 1 0;
23564                rel1 {
23565                   to_y: "elm.text.title";
23566                   relative: 0.0 0.0;
23567                   offset: 5 0;
23568                }
23569                rel2 {
23570                   to_y: "elm.text.title";
23571                   relative: 0.0 1.0;
23572                   offset: 20 0;
23573                }
23574                color: 0 0 0 255;
23575                color3: 0 0 0 0;
23576                text {
23577                   font: "Sans";
23578                   size: 10;
23579                   min: 1 1;
23580                   align: 1.0 0.5;
23581                }
23582             }
23583             description { state: "selected" 0.0;
23584                inherit: "default" 0.0;
23585                color: 224 224 224 255;
23586                color3: 0 0 0 64;
23587             }
23588          }
23589          part {
23590             name: "dot";
23591             type: TEXT;
23592             scale: 1;
23593             mouse_events: 0;
23594             description {
23595                state: "default" 0.0;
23596                color: 255 255 255 255;
23597                visible: 0;
23598                fixed: 1 1;
23599                align: 0.0 0.0;
23600                rel1 {
23601                   to_x: "elm.text.trackno";
23602                   to_y: "elm.text.title";
23603                   relative: 1.0 0.0;
23604                   offset: 1 0;
23605                }
23606                rel2 {
23607                   to_x: "elm.text.trackno";
23608                   to_y: "elm.text.title";
23609                   relative: 1.0 1.0;
23610                   offset: 1 0;
23611
23612                }
23613                color: 0 0 0 255;
23614                color3: 0 0 0 0;
23615                text {
23616                   font: "Sans";
23617                   size: 10;
23618                   min: 1 1;
23619                   align: 0.0 0.5;
23620                   text: ".";
23621                }
23622             }
23623             description {
23624                state: "visible" 0.0;
23625                inherit: "default" 0.0;
23626                visible: 1;
23627             }
23628             description { state: "selected" 0.0;
23629                inherit: "default" 0.0;
23630                color: 224 224 224 255;
23631                color3: 0 0 0 64;
23632                visible: 1;
23633             }
23634          }
23635          programs {
23636             program {
23637                signal: "elm,state,elm.state.trackno,active";
23638                source: "elm";
23639                script {
23640                   set_state(PART:"dot", "visible", 0.0);
23641                   set_int(dot_visible, 1);
23642                }
23643             }
23644          }
23645          part { name: "elm.text.title";
23646             clip_to: "disclip";
23647             type:           TEXT;
23648             effect:         SOFT_SHADOW;
23649             mouse_events:   0;
23650             scale: 1;
23651             description {
23652                state: "default" 0.0;
23653                rel1 {
23654                   to_x: "dot";
23655                   relative: 0.0  0.0;
23656                   offset:   4 4;
23657                }
23658                rel2 {
23659                   relative: 1.0  0.5;
23660                   offset:   -1 -5;
23661                }
23662                color: 0 0 0 255;
23663                color3: 0 0 0 0;
23664                text {
23665                   font: "Sans";
23666                   size: 10;
23667                   min: 0 1;
23668                   align: 0.0 0.5;
23669                }
23670             }
23671             description { state: "selected" 0.0;
23672                inherit: "default" 0.0;
23673                color: 224 224 224 255;
23674                color3: 0 0 0 64;
23675             }
23676          }
23677          part { name: "elm.text.length";
23678             clip_to: "disclip";
23679             type:           TEXT;
23680             mouse_events:   0;
23681             scale: 1;
23682             description {
23683                state: "default" 0.0;
23684                rel1 {
23685                   relative: 0.0  0.5;
23686                   offset:   4 4;
23687                }
23688                rel2 {
23689                   relative: 1.0  1.0;
23690                   offset:   -1 -5;
23691                }
23692                color: 0 0 0 128;
23693                color3: 0 0 0 0;
23694                text {
23695                   font: "Sans";
23696                   size: 8;
23697                   min: 0 1;
23698                   align: 0.0 0.5;
23699                }
23700             }
23701             description { state: "selected" 0.0;
23702                inherit: "default" 0.0;
23703                color: 128 128 128 255;
23704                color3: 0 0 0 32;
23705             }
23706          }
23707          part { name: "fg1";
23708             clip_to: "disclip";
23709             mouse_events: 0;
23710             description { state: "default" 0.0;
23711                visible: 0;
23712                color: 255 255 255 0;
23713                rel1.to: "bg";
23714                rel2.relative: 1.0 0.5;
23715                rel2.to: "bg";
23716                image {
23717                   normal: "bt_sm_hilight.png";
23718                   border: 6 6 6 0;
23719                }
23720             }
23721             description { state: "selected" 0.0;
23722                inherit: "default" 0.0;
23723                visible: 1;
23724                color: 255 255 255 255;
23725             }
23726          }
23727          part { name: "fg2";
23728             clip_to: "disclip";
23729             mouse_events: 0;
23730             description { state: "default" 0.0;
23731                visible: 0;
23732                color: 255 255 255 0;
23733                rel1.to: "bg";
23734                rel2.to: "bg";
23735                image {
23736                   normal: "bt_sm_shine.png";
23737                   border: 6 6 6 0;
23738                }
23739             }
23740             description { state: "selected" 0.0;
23741                inherit: "default" 0.0;
23742                visible: 1;
23743                color: 255 255 255 255;
23744             }
23745          }
23746          part { name: "disclip";
23747             type: RECT;
23748             description { state: "default" 0.0;
23749                rel1.to: "bg";
23750                rel2.to: "bg";
23751             }
23752             description { state: "disabled" 0.0;
23753                inherit: "default" 0.0;
23754                color: 255 255 255 64;
23755             }
23756          }
23757       }
23758       programs {
23759          // signal: elm,state,%s,active
23760          //   a "check" item named %s went active
23761          // signal: elm,state,%s,passive
23762          //   a "check" item named %s went passive
23763          // default is passive
23764          program {
23765             name:    "go_active";
23766             signal:  "elm,state,selected";
23767             source:  "elm";
23768             action:  STATE_SET "selected" 0.0;
23769             target:  "bg";
23770             target:  "fg1";
23771             target:  "fg2";
23772             target:  "elm.text.title";
23773             target:  "elm.text.trackno";
23774             target:  "elm.text.length";
23775             after:   "dot_active";
23776          }
23777          program {
23778             name: "dot_active";
23779             script {
23780                if (get_int(dot_visible) == 1)
23781                   set_state(PART:"dot", "selected", 0.0);
23782             }
23783          }
23784          program {
23785             name:    "go_passive";
23786             signal:  "elm,state,unselected";
23787             source:  "elm";
23788             action:  STATE_SET "default" 0.0;
23789             target:  "bg";
23790             target:  "fg1";
23791             target:  "fg2";
23792             target:  "elm.text.title";
23793             target:  "elm.text.length";
23794             target:  "elm.text.trackno";
23795             transition: LINEAR 0.1;
23796             after:   "dot_passive";
23797          }
23798          program {
23799             name: "dot_passive";
23800             script {
23801                if (get_int(dot_visible) == 1)
23802                   set_state(PART:"dot", "visible", 0.0);
23803             }
23804          }
23805          program {
23806             name:    "go_disabled";
23807             signal:  "elm,state,disabled";
23808             source:  "elm";
23809             action:  STATE_SET "disabled" 0.0;
23810             target:  "disclip";
23811          }
23812          program {
23813             name:    "go_enabled";
23814             signal:  "elm,state,enabled";
23815             source:  "elm";
23816             action:  STATE_SET "default" 0.0;
23817             target:  "disclip";
23818          }
23819       }
23820    }
23821    group { name: "elm/genlist/item_compress_odd/media-album/default";
23822       data.item: "stacking" "below";
23823       data.item: "selectraise" "on";
23824       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23825       data.item: "states" "elm.state.trackno";
23826       data.item: "treesize" "20";
23827       images {
23828          image: "bt_sm_base1.png" COMP;
23829          image: "bt_sm_shine.png" COMP;
23830          image: "bt_sm_hilight.png" COMP;
23831          image: "ilist_2.png" COMP;
23832       }
23833       script {
23834          public dot_visible;
23835       }
23836       parts {
23837          part { name: "event";
23838             type: RECT;
23839             repeat_events: 1;
23840             description {
23841                state: "default" 0.0;
23842                color: 0 0 0 0;
23843             }
23844          }
23845          part {
23846             name: "base";
23847             mouse_events: 0;
23848             description {
23849                state: "default" 0.0;
23850                image {
23851                   normal: "ilist_2.png";
23852                   border: 2 2 2 2;
23853                }
23854                fill.smooth: 0;
23855             }
23856          }
23857          part { name: "bg";
23858             clip_to: "disclip";
23859             mouse_events: 0;
23860             description { state: "default" 0.0;
23861                visible: 0;
23862                color: 255 255 255 0;
23863                rel1 {
23864                   relative: 0.0 0.0;
23865                   offset: -5 -5;
23866                }
23867                rel2 {
23868                   relative: 1.0 1.0;
23869                   offset: 4 4;
23870                }
23871                image {
23872                   normal: "bt_sm_base1.png";
23873                   border: 6 6 6 6;
23874                }
23875                image.middle: SOLID;
23876             }
23877             description { state: "selected" 0.0;
23878                inherit: "default" 0.0;
23879                visible: 1;
23880                color: 255 255 255 255;
23881                rel1 {
23882                   relative: 0.0 0.0;
23883                   offset: -2 -2;
23884                }
23885                rel2 {
23886                   relative: 1.0 1.0;
23887                   offset: 1 1;
23888                }
23889             }
23890          }
23891          part { name: "elm.swallow.pad";
23892             type: SWALLOW;
23893             description { state: "default" 0.0;
23894                fixed: 1 0;
23895                align: 0.0 0.5;
23896                rel1 {
23897                   relative: 0.0  0.0;
23898                   offset:   4    4;
23899                }
23900                rel2 {
23901                   relative: 0.0  1.0;
23902                   offset:   4   -5;
23903                }
23904             }
23905          }
23906          part {
23907             name: "elm.text.trackno";
23908             type: TEXT;
23909             scale: 1;
23910             mouse_events: 0;
23911             description {
23912                state: "default" 0.0;
23913                color: 255 255 255 255;
23914                align: 0.0 0.0;
23915                fixed: 1 0;
23916                rel1 {
23917                   to_y: "elm.text.title";
23918                   relative: 0.0 0.0;
23919                   offset: 5 0;
23920                }
23921                rel2 {
23922                   to_y: "elm.text.title";
23923                   relative: 0.0 1.0;
23924                   offset: 20 0;
23925                }
23926                color: 0 0 0 255;
23927                color3: 0 0 0 0;
23928                text {
23929                   font: "Sans";
23930                   size: 10;
23931                   min: 1 1;
23932                   align: 1.0 0.5;
23933                }
23934             }
23935             description { state: "selected" 0.0;
23936                inherit: "default" 0.0;
23937                color: 224 224 224 255;
23938                color3: 0 0 0 64;
23939             }
23940          }
23941          part {
23942             name: "dot";
23943             type: TEXT;
23944             scale: 1;
23945             mouse_events: 0;
23946             description {
23947                state: "default" 0.0;
23948                color: 255 255 255 255;
23949                visible: 0;
23950                fixed: 1 1;
23951                align: 0.0 0.0;
23952                rel1 {
23953                   to_x: "elm.text.trackno";
23954                   to_y: "elm.text.title";
23955                   relative: 1.0 0.0;
23956                   offset: 1 0;
23957                }
23958                rel2 {
23959                   to_x: "elm.text.trackno";
23960                   to_y: "elm.text.title";
23961                   relative: 1.0 1.0;
23962                   offset: 1 0;
23963
23964                }
23965                color: 0 0 0 255;
23966                color3: 0 0 0 0;
23967                text {
23968                   font: "Sans";
23969                   size: 10;
23970                   min: 1 1;
23971                   align: 0.0 0.5;
23972                   text: ".";
23973                }
23974             }
23975             description {
23976                state: "visible" 0.0;
23977                inherit: "default" 0.0;
23978                visible: 1;
23979             }
23980             description { state: "selected" 0.0;
23981                inherit: "default" 0.0;
23982                color: 224 224 224 255;
23983                color3: 0 0 0 64;
23984                visible: 1;
23985             }
23986          }
23987          programs {
23988             program {
23989                signal: "elm,state,elm.state.trackno,active";
23990                source: "elm";
23991                script {
23992                   set_state(PART:"dot", "visible", 0.0);
23993                   set_int(dot_visible, 1);
23994                }
23995             }
23996          }
23997          part { name: "elm.text.title";
23998             clip_to: "disclip";
23999             type:           TEXT;
24000             effect:         SOFT_SHADOW;
24001             mouse_events:   0;
24002             scale: 1;
24003             description {
24004                state: "default" 0.0;
24005                rel1 {
24006                   to_x: "dot";
24007                   relative: 1.0  0.0;
24008                   offset:   4 4;
24009                }
24010                rel2 {
24011                   relative: 1.0  0.5;
24012                   offset:   -1 -5;
24013                }
24014                color: 0 0 0 255;
24015                color3: 0 0 0 0;
24016                text {
24017                   font: "Sans";
24018                   size: 10;
24019                   min: 0 1;
24020                   align: 0.0 0.5;
24021                }
24022             }
24023             description { state: "selected" 0.0;
24024                inherit: "default" 0.0;
24025                color: 224 224 224 255;
24026                color3: 0 0 0 64;
24027             }
24028          }
24029          part { name: "elm.text.length";
24030             clip_to: "disclip";
24031             type:           TEXT;
24032             mouse_events:   0;
24033             scale: 1;
24034             description {
24035                state: "default" 0.0;
24036                rel1 {
24037                   relative: 0.0  0.5;
24038                   offset:   4 4;
24039                }
24040                rel2 {
24041                   relative: 1.0  1.0;
24042                   offset:   -1 -5;
24043                }
24044                color: 0 0 0 128;
24045                color3: 0 0 0 0;
24046                text {
24047                   font: "Sans";
24048                   size: 8;
24049                   min: 0 1;
24050                   align: 0.0 0.5;
24051                }
24052             }
24053             description { state: "selected" 0.0;
24054                inherit: "default" 0.0;
24055                color: 128 128 128 255;
24056                color3: 0 0 0 32;
24057             }
24058          }
24059          part { name: "fg1";
24060             clip_to: "disclip";
24061             mouse_events: 0;
24062             description { state: "default" 0.0;
24063                visible: 0;
24064                color: 255 255 255 0;
24065                rel1.to: "bg";
24066                rel2.relative: 1.0 0.5;
24067                rel2.to: "bg";
24068                image {
24069                   normal: "bt_sm_hilight.png";
24070                   border: 6 6 6 0;
24071                }
24072             }
24073             description { state: "selected" 0.0;
24074                inherit: "default" 0.0;
24075                visible: 1;
24076                color: 255 255 255 255;
24077             }
24078          }
24079          part { name: "fg2";
24080             clip_to: "disclip";
24081             mouse_events: 0;
24082             description { state: "default" 0.0;
24083                visible: 0;
24084                color: 255 255 255 0;
24085                rel1.to: "bg";
24086                rel2.to: "bg";
24087                image {
24088                   normal: "bt_sm_shine.png";
24089                   border: 6 6 6 0;
24090                }
24091             }
24092             description { state: "selected" 0.0;
24093                inherit: "default" 0.0;
24094                visible: 1;
24095                color: 255 255 255 255;
24096             }
24097          }
24098          part { name: "disclip";
24099             type: RECT;
24100             description { state: "default" 0.0;
24101                rel1.to: "bg";
24102                rel2.to: "bg";
24103             }
24104             description { state: "disabled" 0.0;
24105                inherit: "default" 0.0;
24106                color: 255 255 255 64;
24107             }
24108          }
24109       }
24110       programs {
24111          // signal: elm,state,%s,active
24112          //   a "check" item named %s went active
24113          // signal: elm,state,%s,passive
24114          //   a "check" item named %s went passive
24115          // default is passive
24116          program {
24117             name:    "go_active";
24118             signal:  "elm,state,selected";
24119             source:  "elm";
24120             action:  STATE_SET "selected" 0.0;
24121             target:  "bg";
24122             target:  "fg1";
24123             target:  "fg2";
24124             target:  "elm.text.title";
24125             target:  "elm.text.length";
24126             target:  "elm.text.trackno";
24127             after:   "dot_active";
24128          }
24129          program {
24130             name: "dot_active";
24131             script {
24132                if (get_int(dot_visible) == 1)
24133                   set_state(PART:"dot", "selected", 0.0);
24134             }
24135          }
24136          program {
24137             name:    "go_passive";
24138             signal:  "elm,state,unselected";
24139             source:  "elm";
24140             action:  STATE_SET "default" 0.0;
24141             target:  "bg";
24142             target:  "fg1";
24143             target:  "fg2";
24144             target:  "elm.text.title";
24145             target:  "elm.text.length";
24146             target:  "elm.text.trackno";
24147             transition: LINEAR 0.1;
24148             after:   "dot_passive";
24149          }
24150          program {
24151             name: "dot_passive";
24152             script {
24153                if (get_int(dot_visible) == 1)
24154                   set_state(PART:"dot", "visible", 0.0);
24155             }
24156          }
24157          program {
24158             name:    "go_disabled";
24159             signal:  "elm,state,disabled";
24160             source:  "elm";
24161             action:  STATE_SET "disabled" 0.0;
24162             target:  "disclip";
24163          }
24164          program {
24165             name:    "go_enabled";
24166             signal:  "elm,state,enabled";
24167             source:  "elm";
24168             action:  STATE_SET "default" 0.0;
24169             target:  "disclip";
24170          }
24171       }
24172    }
24173
24174    group { name: "elm/genlist/item_compress/media-preview/default";
24175       data.item: "stacking" "above";
24176       data.item: "selectraise" "on";
24177       data.item: "labels" "elm.text.title elm.text.artist";
24178       data.item: "icons" "elm.swallow.preview";
24179       data.item: "treesize" "20";
24180       images {
24181          image: "bt_sm_base1.png" COMP;
24182          image: "bt_sm_shine.png" COMP;
24183          image: "bt_sm_hilight.png" COMP;
24184          image: "ilist_1.png" COMP;
24185          image: "ilist_item_shadow.png" COMP;
24186       }
24187       parts {
24188          part {
24189             name: "event";
24190             type: RECT;
24191             repeat_events: 1;
24192             description {
24193                state: "default" 0.0;
24194                color: 0 0 0 0;
24195             }
24196          }
24197          part {
24198             name: "base_sh";
24199             mouse_events: 0;
24200             description {
24201                state: "default" 0.0;
24202                align: 0.0 0.0;
24203                min: 0 10;
24204                fixed: 1 1;
24205                rel1 {
24206                   to: "base";
24207                   relative: 0.0 1.0;
24208                   offset: 0 0;
24209                }
24210                rel2 {
24211                   to: "base";
24212                   relative: 1.0 1.0;
24213                   offset: -1 0;
24214                }
24215                image {
24216                   normal: "ilist_item_shadow.png";
24217                }
24218                fill.smooth: 0;
24219             }
24220          }
24221          part {
24222             name: "base";
24223             mouse_events: 0;
24224             description {
24225                state: "default" 0.0;
24226                image {
24227                   normal: "ilist_1.png";
24228                   border: 2 2 2 2;
24229                }
24230                fill.smooth: 0;
24231             }
24232          }
24233          part { name: "bg";
24234             clip_to: "disclip";
24235             mouse_events: 0;
24236             description { state: "default" 0.0;
24237                visible: 0;
24238                color: 255 255 255 0;
24239                rel1 {
24240                   relative: 0.0 0.0;
24241                   offset: -5 -5;
24242                }
24243                rel2 {
24244                   relative: 1.0 1.0;
24245                   offset: 4 4;
24246                }
24247                image {
24248                   normal: "bt_sm_base1.png";
24249                   border: 6 6 6 6;
24250                }
24251                image.middle: SOLID;
24252             }
24253             description { state: "selected" 0.0;
24254                inherit: "default" 0.0;
24255                visible: 1;
24256                color: 255 255 255 255;
24257                rel1 {
24258                   relative: 0.0 0.0;
24259                   offset: -2 -2;
24260                }
24261                rel2 {
24262                   relative: 1.0 1.0;
24263                   offset: 1 1;
24264                }
24265             }
24266          }
24267          part { name: "elm.swallow.pad";
24268             type: SWALLOW;
24269             description { state: "default" 0.0;
24270                fixed: 1 0;
24271                align: 0.0 0.5;
24272                rel1 {
24273                   relative: 0.0  0.0;
24274                   offset:   4    4;
24275                }
24276                rel2 {
24277                   relative: 0.0  1.0;
24278                   offset:   4   -5;
24279                }
24280             }
24281          }
24282          part { name: "elm.swallow.preview";
24283             clip_to: "disclip";
24284             type: SWALLOW;
24285             description { state: "default" 0.0;
24286                fixed: 1 0;
24287                align: 0.0 0.5;
24288                min: 68 68;
24289                max: 68 68;
24290                rel1 {
24291                   to_x: "elm.swallow.pad";
24292                   relative: 1.0  0.0;
24293                   offset:   -1    4;
24294                }
24295                rel2 {
24296                   to_x: "elm.swallow.pad";
24297                   relative: 1.0  1.0;
24298                   offset:   -1   -5;
24299                }
24300             }
24301          }
24302          part { name: "elm.text.title";
24303             clip_to: "disclip";
24304             type:           TEXT;
24305             effect:         SOFT_SHADOW;
24306             mouse_events:   0;
24307             scale: 1;
24308             description {
24309                state: "default" 0.0;
24310                rel1 {
24311                   to_x:     "elm.swallow.preview";
24312                   relative: 1.0  0.0;
24313                   offset:   4 4;
24314                }
24315                rel2 {
24316                   relative: 1.0  0.5;
24317                   offset:   -1 -5;
24318                }
24319                color: 0 0 0 255;
24320                color3: 0 0 0 0;
24321                text {
24322                   font: "Sans";
24323                   size: 10;
24324                   min: 0 1;
24325                   align: 0.0 0.5;
24326                }
24327             }
24328             description { state: "selected" 0.0;
24329                inherit: "default" 0.0;
24330                color: 224 224 224 255;
24331                color3: 0 0 0 64;
24332             }
24333          }
24334          part { name: "elm.text.artist";
24335             clip_to: "disclip";
24336             type:           TEXT;
24337             mouse_events:   0;
24338             scale: 1;
24339             description {
24340                state: "default" 0.0;
24341                rel1 {
24342                   to_x:     "elm.swallow.preview";
24343                   relative: 1.0  0.5;
24344                   offset:   4 4;
24345                }
24346                rel2 {
24347                   relative: 1.0  1.0;
24348                   offset:   -1 -5;
24349                }
24350                color: 0 0 0 128;
24351                color3: 0 0 0 0;
24352                text {
24353                   font: "Sans";
24354                   size: 8;
24355                   min: 0 1;
24356                   align: 0.0 0.5;
24357                }
24358             }
24359             description { state: "selected" 0.0;
24360                inherit: "default" 0.0;
24361                color: 128 128 128 255;
24362                color3: 0 0 0 32;
24363             }
24364          }
24365          part { name: "fg1";
24366             clip_to: "disclip";
24367             mouse_events: 0;
24368             description { state: "default" 0.0;
24369                visible: 0;
24370                color: 255 255 255 0;
24371                rel1.to: "bg";
24372                rel2.relative: 1.0 0.5;
24373                rel2.to: "bg";
24374                image {
24375                   normal: "bt_sm_hilight.png";
24376                   border: 6 6 6 0;
24377                }
24378             }
24379             description { state: "selected" 0.0;
24380                inherit: "default" 0.0;
24381                visible: 1;
24382                color: 255 255 255 255;
24383             }
24384          }
24385          part { name: "fg2";
24386             clip_to: "disclip";
24387             mouse_events: 0;
24388             description { state: "default" 0.0;
24389                visible: 0;
24390                color: 255 255 255 0;
24391                rel1.to: "bg";
24392                rel2.to: "bg";
24393                image {
24394                   normal: "bt_sm_shine.png";
24395                   border: 6 6 6 0;
24396                }
24397             }
24398             description { state: "selected" 0.0;
24399                inherit: "default" 0.0;
24400                visible: 1;
24401                color: 255 255 255 255;
24402             }
24403          }
24404          part { name: "disclip";
24405             type: RECT;
24406             description { state: "default" 0.0;
24407                rel1.to: "bg";
24408                rel2.to: "bg";
24409             }
24410             description { state: "disabled" 0.0;
24411                inherit: "default" 0.0;
24412                color: 255 255 255 64;
24413             }
24414          }
24415       }
24416       programs {
24417          // signal: elm,state,%s,active
24418          //   a "check" item named %s went active
24419          // signal: elm,state,%s,passive
24420          //   a "check" item named %s went passive
24421          // default is passive
24422          program {
24423             name:    "go_active";
24424             signal:  "elm,state,selected";
24425             source:  "elm";
24426             action:  STATE_SET "selected" 0.0;
24427             target:  "bg";
24428             target:  "fg1";
24429             target:  "fg2";
24430             target:  "elm.text.title";
24431             target:  "elm.text.artist";
24432          }
24433          program {
24434             name:    "go_passive";
24435             signal:  "elm,state,unselected";
24436             source:  "elm";
24437             action:  STATE_SET "default" 0.0;
24438             target:  "bg";
24439             target:  "fg1";
24440             target:  "fg2";
24441             target:  "elm.text.title";
24442             target:  "elm.text.artist";
24443             transition: LINEAR 0.1;
24444          }
24445          program {
24446             name:    "go_disabled";
24447             signal:  "elm,state,disabled";
24448             source:  "elm";
24449             action:  STATE_SET "disabled" 0.0;
24450             target:  "disclip";
24451          }
24452          program {
24453             name:    "go_enabled";
24454             signal:  "elm,state,enabled";
24455             source:  "elm";
24456             action:  STATE_SET "default" 0.0;
24457             target:  "disclip";
24458          }
24459       }
24460    }
24461    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24462       data.item: "stacking" "below";
24463       data.item: "selectraise" "on";
24464       data.item: "labels" "elm.text.title elm.text.artist";
24465       data.item: "icons" "elm.swallow.preview";
24466       data.item: "treesize" "20";
24467       images {
24468          image: "bt_sm_base1.png" COMP;
24469          image: "bt_sm_shine.png" COMP;
24470          image: "bt_sm_hilight.png" COMP;
24471          image: "ilist_2.png" COMP;
24472       }
24473       parts {
24474          part { name: "event";
24475             type: RECT;
24476             repeat_events: 1;
24477             description {
24478                state: "default" 0.0;
24479                color: 0 0 0 0;
24480             }
24481          }
24482          part {
24483             name: "base";
24484             mouse_events: 0;
24485             description {
24486                state: "default" 0.0;
24487                image {
24488                   normal: "ilist_2.png";
24489                   border: 2 2 2 2;
24490                }
24491                fill.smooth: 0;
24492             }
24493          }
24494          part { name: "bg";
24495             clip_to: "disclip";
24496             mouse_events: 0;
24497             description { state: "default" 0.0;
24498                visible: 0;
24499                color: 255 255 255 0;
24500                rel1 {
24501                   relative: 0.0 0.0;
24502                   offset: -5 -5;
24503                }
24504                rel2 {
24505                   relative: 1.0 1.0;
24506                   offset: 4 4;
24507                }
24508                image {
24509                   normal: "bt_sm_base1.png";
24510                   border: 6 6 6 6;
24511                }
24512                image.middle: SOLID;
24513             }
24514             description { state: "selected" 0.0;
24515                inherit: "default" 0.0;
24516                visible: 1;
24517                color: 255 255 255 255;
24518                rel1 {
24519                   relative: 0.0 0.0;
24520                   offset: -2 -2;
24521                }
24522                rel2 {
24523                   relative: 1.0 1.0;
24524                   offset: 1 1;
24525                }
24526             }
24527          }
24528          part { name: "elm.swallow.pad";
24529             type: SWALLOW;
24530             description { state: "default" 0.0;
24531                fixed: 1 0;
24532                align: 0.0 0.5;
24533                rel1 {
24534                   relative: 0.0  0.0;
24535                   offset:   4    4;
24536                }
24537                rel2 {
24538                   relative: 0.0  1.0;
24539                   offset:   4   -5;
24540                }
24541             }
24542          }
24543          part { name: "elm.swallow.preview";
24544             clip_to: "disclip";
24545             type: SWALLOW;
24546             description { state: "default" 0.0;
24547                fixed: 1 0;
24548                align: 0.0 0.5;
24549                min: 68 68;
24550                max: 68 68;
24551                rel1 {
24552                   to_x: "elm.swallow.pad";
24553                   relative: 1.0  0.0;
24554                   offset:   -1    4;
24555                }
24556                rel2 {
24557                   to_x: "elm.swallow.pad";
24558                   relative: 1.0  1.0;
24559                   offset:   -1   -5;
24560                }
24561             }
24562          }
24563          part { name: "elm.text.title";
24564             clip_to: "disclip";
24565             type:           TEXT;
24566             effect:         SOFT_SHADOW;
24567             mouse_events:   0;
24568             scale: 1;
24569             description {
24570                state: "default" 0.0;
24571                rel1 {
24572                   to_x:     "elm.swallow.preview";
24573                   relative: 1.0  0.0;
24574                   offset:   4 4;
24575                }
24576                rel2 {
24577                   relative: 1.0  0.5;
24578                   offset:   -1 -5;
24579                }
24580                color: 0 0 0 255;
24581                color3: 0 0 0 0;
24582                text {
24583                   font: "Sans";
24584                   size: 10;
24585                   min: 0 1;
24586                   align: 0.0 0.5;
24587                }
24588             }
24589             description { state: "selected" 0.0;
24590                inherit: "default" 0.0;
24591                color: 224 224 224 255;
24592                color3: 0 0 0 64;
24593             }
24594          }
24595          part { name: "elm.text.artist";
24596             clip_to: "disclip";
24597             type:           TEXT;
24598             mouse_events:   0;
24599             scale: 1;
24600             description {
24601                state: "default" 0.0;
24602                rel1 {
24603                   to_x:     "elm.swallow.preview";
24604                   relative: 1.0  0.5;
24605                   offset:   4 4;
24606                }
24607                rel2 {
24608                   relative: 1.0  1.0;
24609                   offset:   -1 -5;
24610                }
24611                color: 0 0 0 128;
24612                color3: 0 0 0 0;
24613                text {
24614                   font: "Sans";
24615                   size: 8;
24616                   min: 0 1;
24617                   align: 0.0 0.5;
24618                }
24619             }
24620             description { state: "selected" 0.0;
24621                inherit: "default" 0.0;
24622                color: 128 128 128 255;
24623                color3: 0 0 0 32;
24624             }
24625          }
24626          part { name: "fg1";
24627             clip_to: "disclip";
24628             mouse_events: 0;
24629             description { state: "default" 0.0;
24630                visible: 0;
24631                color: 255 255 255 0;
24632                rel1.to: "bg";
24633                rel2.relative: 1.0 0.5;
24634                rel2.to: "bg";
24635                image {
24636                   normal: "bt_sm_hilight.png";
24637                   border: 6 6 6 0;
24638                }
24639             }
24640             description { state: "selected" 0.0;
24641                inherit: "default" 0.0;
24642                visible: 1;
24643                color: 255 255 255 255;
24644             }
24645          }
24646          part { name: "fg2";
24647             clip_to: "disclip";
24648             mouse_events: 0;
24649             description { state: "default" 0.0;
24650                visible: 0;
24651                color: 255 255 255 0;
24652                rel1.to: "bg";
24653                rel2.to: "bg";
24654                image {
24655                   normal: "bt_sm_shine.png";
24656                   border: 6 6 6 0;
24657                }
24658             }
24659             description { state: "selected" 0.0;
24660                inherit: "default" 0.0;
24661                visible: 1;
24662                color: 255 255 255 255;
24663             }
24664          }
24665          part { name: "disclip";
24666             type: RECT;
24667             description { state: "default" 0.0;
24668                rel1.to: "bg";
24669                rel2.to: "bg";
24670             }
24671             description { state: "disabled" 0.0;
24672                inherit: "default" 0.0;
24673                color: 255 255 255 64;
24674             }
24675          }
24676       }
24677       programs {
24678          // signal: elm,state,%s,active
24679          //   a "check" item named %s went active
24680          // signal: elm,state,%s,passive
24681          //   a "check" item named %s went passive
24682          // default is passive
24683          program {
24684             name:    "go_active";
24685             signal:  "elm,state,selected";
24686             source:  "elm";
24687             action:  STATE_SET "selected" 0.0;
24688             target:  "bg";
24689             target:  "fg1";
24690             target:  "fg2";
24691             target:  "elm.text.title";
24692             target:  "elm.text.artist";
24693          }
24694          program {
24695             name:    "go_passive";
24696             signal:  "elm,state,unselected";
24697             source:  "elm";
24698             action:  STATE_SET "default" 0.0;
24699             target:  "bg";
24700             target:  "fg1";
24701             target:  "fg2";
24702             target:  "elm.text.title";
24703             target:  "elm.text.artist";
24704             transition: LINEAR 0.1;
24705          }
24706          program {
24707             name:    "go_disabled";
24708             signal:  "elm,state,disabled";
24709             source:  "elm";
24710             action:  STATE_SET "disabled" 0.0;
24711             target:  "disclip";
24712          }
24713          program {
24714             name:    "go_enabled";
24715             signal:  "elm,state,enabled";
24716             source:  "elm";
24717             action:  STATE_SET "default" 0.0;
24718             target:  "disclip";
24719          }
24720       }
24721    }
24722
24723    group { name: "elm/genlist/item/mode/default";
24724       data.item: "stacking" "above";
24725       data.item: "selectraise" "on";
24726       data.item: "labels" "elm.text.mode";
24727       data.item: "icons" "elm.swallow.mode";
24728       data.item: "mode_part" "elm.swallow.origin";
24729       data.item: "treesize" "20";
24730       images {
24731          image: "bt_sm_base1.png" COMP;
24732          image: "bt_sm_shine.png" COMP;
24733          image: "bt_sm_hilight.png" COMP;
24734          image: "ilist_1.png" COMP;
24735          image: "ilist_item_shadow.png" COMP;
24736       }
24737
24738       parts {
24739          part {
24740             name: "event";
24741             type: RECT;
24742             repeat_events: 1;
24743             description {
24744                state: "default" 0.0;
24745                color: 0 0 0 0;
24746             }
24747          }
24748          part {
24749             name: "base_sh";
24750             mouse_events: 0;
24751             description {
24752                state: "default" 0.0;
24753                align: 0.0 0.0;
24754                min: 0 10;
24755                fixed: 1 1;
24756                rel1 {
24757                   to: "base";
24758                   relative: 0.0 1.0;
24759                   offset: 0 0;
24760                }
24761                rel2 {
24762                   to: "base";
24763                   relative: 1.0 1.0;
24764                   offset: -1 0;
24765                }
24766                image {
24767                   normal: "ilist_item_shadow.png";
24768                }
24769                fill.smooth: 0;
24770             }
24771          }
24772          part {
24773             name: "base";
24774             mouse_events: 0;
24775             description {
24776                state: "default" 0.0;
24777                image {
24778                   normal: "ilist_1.png";
24779                   border: 2 2 2 2;
24780                }
24781                fill.smooth: 0;
24782             }
24783          }
24784          part { name: "bg";
24785             clip_to: "disclip";
24786             mouse_events: 0;
24787             description { state: "default" 0.0;
24788                visible: 0;
24789                color: 255 255 255 0;
24790                rel1 {
24791                   relative: 0.0 0.0;
24792                   offset: -5 -5;
24793                }
24794                rel2 {
24795                   relative: 1.0 1.0;
24796                   offset: 4 4;
24797                }
24798                image {
24799                   normal: "bt_sm_base1.png";
24800                   border: 6 6 6 6;
24801                }
24802                image.middle: SOLID;
24803             }
24804             description { state: "selected" 0.0;
24805                inherit: "default" 0.0;
24806                visible: 1;
24807                color: 255 255 255 255;
24808                rel1 {
24809                   relative: 0.0 0.0;
24810                   offset: -2 -2;
24811                }
24812                rel2 {
24813                   relative: 1.0 1.0;
24814                   offset: 1 1;
24815                }
24816             }
24817          }
24818          part { name: "elm.text.mode";
24819             clip_to: "disclip";
24820             type: TEXT;
24821             scale: 1;
24822             description { state: "default" 0.0;
24823                rel2.relative: 0.5 1.0;
24824                color: 0 0 0 255;
24825                text {
24826                   font: "Sans";
24827                   size: 10;
24828                   min: 1 1;
24829                   align: 0.5 0.5;
24830                   text_class: "list_item";
24831                }
24832             }
24833          }
24834         part { name: "elm.swallow.mode";
24835             clip_to: "disclip";
24836             type: SWALLOW;
24837             description { state: "default" 0.0;
24838                rel1.relative: 0.5 0.0;
24839             }
24840          }
24841          part { name: "fg1";
24842             clip_to: "disclip";
24843             mouse_events: 0;
24844             description { state: "default" 0.0;
24845                visible: 0;
24846                color: 255 255 255 0;
24847                rel1.to: "bg";
24848                rel2.relative: 1.0 0.5;
24849                rel2.to: "bg";
24850                image {
24851                   normal: "bt_sm_hilight.png";
24852                   border: 6 6 6 0;
24853                }
24854             }
24855             description { state: "selected" 0.0;
24856                inherit: "default" 0.0;
24857                visible: 1;
24858                color: 255 255 255 255;
24859             }
24860          }
24861          part { name: "fg2";
24862             clip_to: "disclip";
24863             mouse_events: 0;
24864             description { state: "default" 0.0;
24865                visible: 0;
24866                color: 255 255 255 0;
24867                rel1.to: "bg";
24868                rel2.to: "bg";
24869                image {
24870                   normal: "bt_sm_shine.png";
24871                   border: 6 6 6 0;
24872                }
24873             }
24874             description { state: "selected" 0.0;
24875                inherit: "default" 0.0;
24876                visible: 1;
24877                color: 255 255 255 255;
24878             }
24879          }
24880          // Transparent part between base parts and slidable parts
24881          part { name: "event_block_layer";
24882             type: RECT;
24883             clip_to: "disclip";
24884             mouse_events: 1;
24885             description { state: "default" 0.0;
24886                rel1.to: "base";
24887                rel2.to: "base";
24888                color: 0 0 0 0;
24889             }
24890             description { state: "repeat_events" 0.0;
24891                inherit: "default" 0.0;
24892                visible: 0;
24893             }
24894          }
24895          part { name: "pers";
24896             clip_to: "disclip";
24897             type: RECT;
24898             description { state: "default" 0.0;
24899                rel1.relative: 0.0 1.0;
24900             }
24901          }
24902          part { name: "elm.swallow.origin";
24903             clip_to: "disclip";
24904             type: SWALLOW;
24905             description { state: "default" 0.0;
24906                fixed: 1 0;
24907                align: 0.0 0.5;
24908             }
24909             description { state: "slide" 0.0;
24910                inherit: "default" 0.0;
24911                rel1.relative: 1 0;
24912                rel2.relative: 2 1;
24913             }
24914             description { state: "rotate" 0.0;
24915                inherit: "default" 0.0;
24916                map {
24917                   perspective: "pers";
24918                   on: 1;
24919                   smooth: 1;
24920                   perspective_on: 1;
24921                   backface_cull: 1;
24922                   rotation {
24923                      center: "pers";
24924                      x: 0.0;
24925                      y: 0.0;
24926                      z: 0.0;
24927                   }
24928                }
24929             }
24930             description { state: "rotate" 1.0;
24931                inherit: "default" 0.0;
24932                map {
24933                   perspective: "pers";
24934                   on: 1;
24935                   smooth: 1;
24936                   perspective_on: 1;
24937                   backface_cull: 1;
24938                   rotation {
24939                      center: "pers";
24940                      x: 90.0;
24941                      y: 0.0;
24942                      z: 0.0;
24943                   }
24944                }
24945             }
24946          }
24947          part { name: "disclip";
24948             type: RECT;
24949             description { state: "default" 0.0;
24950                rel1.to: "bg";
24951                rel2.to: "bg";
24952             }
24953             description { state: "disabled" 0.0;
24954                inherit: "default" 0.0;
24955                color: 255 255 255 64;
24956             }
24957          }
24958       }
24959       programs {
24960          program {
24961             name:    "go_active";
24962             signal:  "elm,state,selected";
24963             source:  "elm";
24964             action:  STATE_SET "selected" 0.0;
24965             target:  "bg";
24966             target:  "fg1";
24967             target:  "fg2";
24968          }
24969          program {
24970             name:    "go_passive";
24971             signal:  "elm,state,unselected";
24972             source:  "elm";
24973             action:  STATE_SET "default" 0.0;
24974             target:  "bg";
24975             target:  "fg1";
24976             target:  "fg2";
24977             transition: LINEAR 0.1;
24978          }
24979          program {
24980             name:    "go_disabled";
24981             signal:  "elm,state,disabled";
24982             source:  "elm";
24983             action:  STATE_SET "disabled" 0.0;
24984             target:  "disclip";
24985          }
24986          program {
24987             name:    "go_enabled";
24988             signal:  "elm,state,enabled";
24989             source:  "elm";
24990             action:  STATE_SET "default" 0.0;
24991             target:  "disclip";
24992          }
24993          program {
24994             name:    "slide_right";
24995             signal:  "elm,state,slide,active";
24996             source:  "elm";
24997             action:  STATE_SET "slide" 0.0;
24998             target:  "elm.swallow.origin";
24999             transition: ACCELERATE 0.5;
25000             after:   "unblock_event";
25001          }
25002          program {
25003             name:    "unblock_event";
25004             action:  STATE_SET "repeat_events" 0.0;
25005             target:  "event_block_layer";
25006          }
25007          program {
25008             name:    "slide_left";
25009             signal:  "elm,state,slide,passive";
25010             source:  "elm";
25011             action:  STATE_SET "default" 0.0;
25012             target:  "event_block_layer";
25013             after:   "slide_left2";
25014          }
25015          program {
25016             name:    "slide_left2";
25017             action:  STATE_SET "default" 0.0;
25018             target:  "elm.swallow.origin";
25019             transition: DECELERATE 0.5;
25020             after:   "slide_left_finished";
25021          }
25022          program {
25023             name:    "slide_left_finished";
25024             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25025          }
25026          program {
25027             name:    "rotate_on";
25028             signal:  "elm,state,rotate,active";
25029             source:  "elm";
25030             action:  STATE_SET "rotate" 0.0;
25031             target:  "elm.swallow.origin";
25032             after:   "rotate_on2";
25033          }
25034          program {
25035             name:    "rotate_on2";
25036             action:  STATE_SET "rotate" 1.0;
25037             target:  "elm.swallow.origin";
25038             transition: LINEAR 0.5;
25039             after:   "unblock_event";
25040          }
25041          program {
25042             name:    "rotate_off";
25043             signal:  "elm,state,rotate,passive";
25044             source:  "elm";
25045             action:  STATE_SET "default" 0.0;
25046             target:  "event_block_layer";
25047             after:   "rotate_off2";
25048          }
25049          program {
25050             name:    "rotate_off2";
25051             action:  STATE_SET "rotate" 0.0;
25052             transition: LINEAR 0.5;
25053             target:  "elm.swallow.origin";
25054             after:   "rotate_off3";
25055          }
25056          program {
25057             name:    "rotate_off3";
25058             action:  STATE_SET "default" 0.0;
25059             target:  "elm.swallow.origin";
25060             after:   "rotate_off_finished";
25061          }
25062          program {
25063             name:    "rotate_off_finished";
25064             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25065          }
25066       }
25067    }
25068
25069    group { name: "elm/genlist/item_odd/mode/default";
25070       data.item: "stacking" "below";
25071       data.item: "selectraise" "on";
25072       data.item: "labels" "elm.text.mode";
25073       data.item: "icons" "elm.swallow.mode";
25074       data.item: "mode_part" "elm.swallow.origin";
25075       data.item: "treesize" "20";
25076       images {
25077          image: "bt_sm_base1.png" COMP;
25078          image: "bt_sm_shine.png" COMP;
25079          image: "bt_sm_hilight.png" COMP;
25080          image: "ilist_2.png" COMP;
25081       }
25082
25083       parts {
25084          part {
25085             name: "event";
25086             type: RECT;
25087             repeat_events: 1;
25088             description {
25089                state: "default" 0.0;
25090                color: 0 0 0 0;
25091             }
25092          }
25093          part {
25094             name: "base";
25095             mouse_events: 0;
25096             description {
25097                state: "default" 0.0;
25098                image {
25099                   normal: "ilist_2.png";
25100                   border: 2 2 2 2;
25101                }
25102                fill.smooth: 0;
25103             }
25104          }
25105          part { name: "bg";
25106             clip_to: "disclip";
25107             mouse_events: 0;
25108             description { state: "default" 0.0;
25109                visible: 0;
25110                color: 255 255 255 0;
25111                rel1 {
25112                   relative: 0.0 0.0;
25113                   offset: -5 -5;
25114                }
25115                rel2 {
25116                   relative: 1.0 1.0;
25117                   offset: 4 4;
25118                }
25119                image {
25120                   normal: "bt_sm_base1.png";
25121                   border: 6 6 6 6;
25122                }
25123                image.middle: SOLID;
25124             }
25125             description { state: "selected" 0.0;
25126                inherit: "default" 0.0;
25127                visible: 1;
25128                color: 255 255 255 255;
25129                rel1 {
25130                   relative: 0.0 0.0;
25131                   offset: -2 -2;
25132                }
25133                rel2 {
25134                   relative: 1.0 1.0;
25135                   offset: 1 1;
25136                }
25137             }
25138          }
25139          part { name: "elm.text.mode";
25140             clip_to: "disclip";
25141             type: TEXT;
25142             scale: 1;
25143             description { state: "default" 0.0;
25144                rel2.relative: 0.5 1.0;
25145                color: 0 0 0 255;
25146                text {
25147                   font: "Sans";
25148                   size: 10;
25149                   min: 1 1;
25150                   align: 0.5 0.5;
25151                   text_class: "list_item";
25152                }
25153             }
25154          }
25155         part { name: "elm.swallow.mode";
25156             clip_to: "disclip";
25157             type: SWALLOW;
25158             description { state: "default" 0.0;
25159                rel1.relative: 0.5 0.0;
25160             }
25161          }
25162          part { name: "fg1";
25163             clip_to: "disclip";
25164             mouse_events: 0;
25165             description { state: "default" 0.0;
25166                visible: 0;
25167                color: 255 255 255 0;
25168                rel1.to: "bg";
25169                rel2.relative: 1.0 0.5;
25170                rel2.to: "bg";
25171                image {
25172                   normal: "bt_sm_hilight.png";
25173                   border: 6 6 6 0;
25174                }
25175             }
25176             description { state: "selected" 0.0;
25177                inherit: "default" 0.0;
25178                visible: 1;
25179                color: 255 255 255 255;
25180             }
25181          }
25182          part { name: "fg2";
25183             clip_to: "disclip";
25184             mouse_events: 0;
25185             description { state: "default" 0.0;
25186                visible: 0;
25187                color: 255 255 255 0;
25188                rel1.to: "bg";
25189                rel2.to: "bg";
25190                image {
25191                   normal: "bt_sm_shine.png";
25192                   border: 6 6 6 0;
25193                }
25194             }
25195             description { state: "selected" 0.0;
25196                inherit: "default" 0.0;
25197                visible: 1;
25198                color: 255 255 255 255;
25199             }
25200          }
25201          // Transparent part between base parts and slidable parts
25202          part { name: "event_block_layer";
25203             type: RECT;
25204             clip_to: "disclip";
25205             mouse_events: 1;
25206             description { state: "default" 0.0;
25207                rel1.to: "base";
25208                rel2.to: "base";
25209                color: 0 0 0 0;
25210             }
25211             description { state: "repeat_events" 0.0;
25212                inherit: "default" 0.0;
25213                visible: 0;
25214             }
25215          }
25216          part { name: "pers";
25217             clip_to: "disclip";
25218             type: RECT;
25219             description { state: "default" 0.0;
25220                rel1.relative: 0.0 1.0;
25221             }
25222          }
25223          part { name: "elm.swallow.origin";
25224             clip_to: "disclip";
25225             type: SWALLOW;
25226             description { state: "default" 0.0;
25227                fixed: 1 0;
25228                align: 0.0 0.5;
25229             }
25230             description { state: "slide" 0.0;
25231                inherit: "default" 0.0;
25232                rel1.relative: 1 0;
25233                rel2.relative: 2 1;
25234             }
25235             description { state: "rotate" 0.0;
25236                inherit: "default" 0.0;
25237                map {
25238                   perspective: "pers";
25239                   on: 1;
25240                   smooth: 1;
25241                   perspective_on: 1;
25242                   backface_cull: 1;
25243                   rotation {
25244                      center: "pers";
25245                      x: 0.0;
25246                      y: 0.0;
25247                      z: 0.0;
25248                   }
25249                }
25250             }
25251             description { state: "rotate" 1.0;
25252                inherit: "default" 0.0;
25253                map {
25254                   perspective: "pers";
25255                   on: 1;
25256                   smooth: 1;
25257                   perspective_on: 1;
25258                   backface_cull: 1;
25259                   rotation {
25260                      center: "pers";
25261                      x: 90.0;
25262                      y: 0.0;
25263                      z: 0.0;
25264                   }
25265                }
25266             }
25267          }
25268          part { name: "disclip";
25269             type: RECT;
25270             description { state: "default" 0.0;
25271                rel1.to: "bg";
25272                rel2.to: "bg";
25273             }
25274             description { state: "disabled" 0.0;
25275                inherit: "default" 0.0;
25276                color: 255 255 255 64;
25277             }
25278          }
25279       }
25280       programs {
25281          program {
25282             name:    "go_active";
25283             signal:  "elm,state,selected";
25284             source:  "elm";
25285             action:  STATE_SET "selected" 0.0;
25286             target:  "bg";
25287             target:  "fg1";
25288             target:  "fg2";
25289          }
25290          program {
25291             name:    "go_passive";
25292             signal:  "elm,state,unselected";
25293             source:  "elm";
25294             action:  STATE_SET "default" 0.0;
25295             target:  "bg";
25296             target:  "fg1";
25297             target:  "fg2";
25298             transition: LINEAR 0.1;
25299          }
25300          program {
25301             name:    "go_disabled";
25302             signal:  "elm,state,disabled";
25303             source:  "elm";
25304             action:  STATE_SET "disabled" 0.0;
25305             target:  "disclip";
25306          }
25307          program {
25308             name:    "go_enabled";
25309             signal:  "elm,state,enabled";
25310             source:  "elm";
25311             action:  STATE_SET "default" 0.0;
25312             target:  "disclip";
25313          }
25314          program {
25315             name:    "slide_right";
25316             signal:  "elm,state,slide,active";
25317             source:  "elm";
25318             action:  STATE_SET "slide" 0.0;
25319             target:  "elm.swallow.origin";
25320             transition: ACCELERATE 0.5;
25321             after:   "unblock_event";
25322          }
25323          program {
25324             name:    "unblock_event";
25325             action:  STATE_SET "repeat_events" 0.0;
25326             target:  "event_block_layer";
25327          }
25328          program {
25329             name:    "slide_left";
25330             signal:  "elm,state,slide,passive";
25331             source:  "elm";
25332             action:  STATE_SET "default" 0.0;
25333             target:   "event_block_layer";
25334             after:   "slide_left2";
25335          }
25336          program {
25337             name:    "slide_left2";
25338             action:  STATE_SET "default" 0.0;
25339             target:  "elm.swallow.origin";
25340             transition: DECELERATE 0.5;
25341             after:   "slide_left_finished";
25342          }
25343          program {
25344             name:    "slide_left_finished";
25345             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25346          }
25347          program {
25348             name:    "rotate_on";
25349             signal:  "elm,state,rotate,active";
25350             source:  "elm";
25351             action:  STATE_SET "rotate" 0.0;
25352             target:  "elm.swallow.origin";
25353             after:   "rotate_on2";
25354          }
25355          program {
25356             name:    "rotate_on2";
25357             action:  STATE_SET "rotate" 1.0;
25358             target:  "elm.swallow.origin";
25359             transition: LINEAR 0.5;
25360             after:   "unblock_event";
25361          }
25362          program {
25363             name:    "rotate_off";
25364             signal:  "elm,state,rotate,passive";
25365             source:  "elm";
25366             action:  STATE_SET "default" 0.0;
25367             target:  "event_block_layer";
25368             after:   "rotate_off2";
25369          }
25370          program {
25371             name:    "rotate_off2";
25372             action:  STATE_SET "rotate" 0.0;
25373             transition: LINEAR 0.5;
25374             target:  "elm.swallow.origin";
25375             after:   "rotate_off3";
25376          }
25377          program {
25378             name:    "rotate_off3";
25379             action:  STATE_SET "default" 0.0;
25380             target:  "elm.swallow.origin";
25381             after:   "rotate_off_finished";
25382          }
25383          program {
25384             name:    "rotate_off_finished";
25385             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25386          }
25387       }
25388    }
25389
25390 ///////////////////////////////////////////////////////////////////////////////
25391    group { name: "elm/pager/base/default";
25392       data.item: "onshow" "raise";
25393 // other options
25394 //      data.item: "onhide" "lower";
25395 //      data.item: "onshow" "lower";
25396       images {
25397          image: "frame_1.png" COMP;
25398          image: "frame_2.png" COMP;
25399          image: "dia_grad.png" COMP;
25400       }
25401       parts {
25402          part { name: "clip";
25403             type: RECT;
25404             mouse_events: 0;
25405             description { state: "default" 0.0;
25406                rel1 {
25407                   to: "base";
25408                   offset: -9999 -9999;
25409                }
25410                rel2 {
25411                   to: "base";
25412                   offset: 9999 9999;
25413                }
25414                color: 255 255 255 255;
25415             }
25416             description { state: "visible" 0.0;
25417                inherit: "default" 0.0;
25418             }
25419             description { state: "hidden" 0.0;
25420                inherit: "default" 0.0;
25421                color: 255 255 255 0;
25422                visible: 0;
25423             }
25424          }
25425          part { name: "base0";
25426             mouse_events:  0;
25427             clip_to: "clip";
25428             description { state: "default" 0.0;
25429                image.normal: "dia_grad.png";
25430                rel1.to: "over";
25431                rel2.to: "over";
25432                fill {
25433                   smooth: 0;
25434                   size {
25435                      relative: 0.0 1.0;
25436                      offset: 64 0;
25437                   }
25438                }
25439             }
25440          }
25441          part { name: "base";
25442             mouse_events:  0;
25443             clip_to: "clip";
25444             description { state: "default" 0.0;
25445                image {
25446                   normal: "frame_2.png";
25447                   border: 5 5 32 26;
25448                   middle: 0;
25449                }
25450                fill.smooth : 0;
25451             }
25452             description { state: "hidden" 0.0;
25453                inherit: "default" 0.0;
25454                rel1.relative: -1.0 0.0;
25455                rel2.relative: 0.0 1.0;
25456             }
25457             description { state: "visible" 0.0;
25458                inherit: "default" 0.0;
25459                rel1.relative: 0.0 0.0;
25460                rel2.relative: 1.0 1.0;
25461             }
25462          }
25463          part { name: "over";
25464             mouse_events:  0;
25465             clip_to: "clip";
25466             description { state:    "default" 0.0;
25467                rel1 {
25468                   to: "base";
25469                   offset: 4 4;
25470                }
25471                rel2 {
25472                   to: "base";
25473                   offset: -5 -5;
25474                }
25475                image {
25476                   normal: "frame_1.png";
25477                   border: 2 2 28 22;
25478                   middle: 0;
25479                }
25480                fill.smooth : 0;
25481             }
25482          }
25483          part { name: "elm.swallow.content";
25484             type: SWALLOW;
25485             clip_to: "clip";
25486             description { state: "default" 0.0;
25487                rel1 {
25488                   to: "base";
25489                   offset: 8 8;
25490                }
25491                rel2 {
25492                   to: "base";
25493                   offset: -9 -9;
25494                }
25495             }
25496          }
25497       }
25498       programs {
25499          program { name: "push_start";
25500             signal: "elm,action,push";
25501             source: "elm";
25502             action:  STATE_SET "hidden" 0.0;
25503             target: "base";
25504             target: "clip";
25505             after: "show_start2";
25506          }
25507          program { name: "show_start";
25508             signal: "elm,action,show";
25509             source: "elm";
25510             action:  STATE_SET "hidden" 0.0;
25511             target: "base";
25512             target: "clip";
25513             after: "show_start2";
25514          }
25515          program { name: "show_start2";
25516             action:  STATE_SET "visible" 0.0;
25517             transition: DECELERATE 0.5;
25518             target: "base";
25519             target: "clip";
25520             after: "show_end";
25521          }
25522          program { name: "show_end";
25523             action: SIGNAL_EMIT "elm,action,show,finished" "";
25524          }
25525          program { name: "pop_start";
25526             signal: "elm,action,pop";
25527             source: "elm";
25528             action:  STATE_SET "visible" 0.0;
25529             target: "base";
25530             target: "clip";
25531             after: "hide_start2";
25532          }
25533          program { name: "hide_start";
25534             signal: "elm,action,hide";
25535             source: "elm";
25536             action:  STATE_SET "visible" 0.0;
25537             target: "base";
25538             target: "clip";
25539             after: "hide_start2";
25540          }
25541          program { name: "hide_start2";
25542             action:  STATE_SET "hidden" 0.0;
25543             transition: DECELERATE 0.5;
25544             target: "base";
25545             target: "clip";
25546             after: "hide_end";
25547          }
25548          program { name: "hide_end";
25549             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25550          }
25551          program { name: "reset";
25552             signal: "elm,action,reset";
25553             source: "elm";
25554             action:  STATE_SET "default" 0.0;
25555             target: "base";
25556             target: "clip";
25557          }
25558       }
25559    }
25560
25561    group { name: "elm/pager/base/slide";
25562       images {
25563          image: "frame_1.png" COMP;
25564          image: "frame_2.png" COMP;
25565          image: "dia_grad.png" COMP;
25566       }
25567       parts {
25568          part { name: "clip";
25569             type: RECT;
25570             mouse_events: 0;
25571             description { state: "default" 0.0;
25572                rel1 {
25573                   to: "base";
25574                   offset: -9999 -9999;
25575                }
25576                rel2 {
25577                   to: "base";
25578                   offset: 9999 9999;
25579                }
25580                color: 255 255 255 255;
25581             }
25582             description { state: "visible" 0.0;
25583                inherit: "default" 0.0;
25584             }
25585             description { state: "hidden" 0.0;
25586                inherit: "default" 0.0;
25587                color: 255 255 255 0;
25588                visible: 0;
25589             }
25590             description { state: "hidden2" 0.0;
25591                inherit: "default" 0.0;
25592                color: 255 255 255 0;
25593                visible: 0;
25594             }
25595          }
25596          part { name: "base0";
25597             mouse_events:  0;
25598             clip_to: "clip";
25599             description { state: "default" 0.0;
25600                image.normal: "dia_grad.png";
25601                rel1.to: "over";
25602                rel2.to: "over";
25603                fill {
25604                   smooth: 0;
25605                   size {
25606                      relative: 0.0 1.0;
25607                      offset: 64 0;
25608                   }
25609                }
25610             }
25611          }
25612          part { name: "base";
25613             mouse_events:  0;
25614             clip_to: "clip";
25615             description { state: "default" 0.0;
25616                image {
25617                   normal: "frame_2.png";
25618                   border: 5 5 32 26;
25619                   middle: 0;
25620                }
25621                fill.smooth : 0;
25622             }
25623             description { state: "hidden" 0.0;
25624                inherit: "default" 0.0;
25625                rel1.relative: -1.0 0.0;
25626                rel2.relative: 0.0 1.0;
25627             }
25628             description { state: "hidden2" 0.0;
25629                inherit: "default" 0.0;
25630                rel1.relative: 1.0 0.0;
25631                rel2.relative: 2.0 1.0;
25632             }
25633             description { state: "visible" 0.0;
25634                inherit: "default" 0.0;
25635                rel1.relative: 0.0 0.0;
25636                rel2.relative: 1.0 1.0;
25637             }
25638          }
25639          part { name: "over";
25640             mouse_events:  0;
25641             clip_to: "clip";
25642             description { state:    "default" 0.0;
25643                rel1 {
25644                   to: "base";
25645                   offset: 4 4;
25646                }
25647                rel2 {
25648                   to: "base";
25649                   offset: -5 -5;
25650                }
25651                image {
25652                   normal: "frame_1.png";
25653                   border: 2 2 28 22;
25654                   middle: 0;
25655                }
25656                fill.smooth : 0;
25657             }
25658          }
25659          part { name: "elm.swallow.content";
25660             type: SWALLOW;
25661             clip_to: "clip";
25662             description { state: "default" 0.0;
25663                rel1 {
25664                   to: "base";
25665                   offset: 8 8;
25666                }
25667                rel2 {
25668                   to: "base";
25669                   offset: -9 -9;
25670                }
25671             }
25672          }
25673       }
25674       programs {
25675          program { name: "push_start";
25676             signal: "elm,action,push";
25677             source: "elm";
25678             action:  STATE_SET "hidden2" 0.0;
25679             target: "base";
25680             target: "clip";
25681             after: "show_start2";
25682          }
25683          program { name: "show_start";
25684             signal: "elm,action,show";
25685             source: "elm";
25686             action:  STATE_SET "hidden" 0.0;
25687             target: "base";
25688             target: "clip";
25689             after: "show_start2";
25690          }
25691          program { name: "show_start2";
25692             action:  STATE_SET "visible" 0.0;
25693             transition: DECELERATE 0.5;
25694             target: "base";
25695             target: "clip";
25696             after: "show_end";
25697          }
25698          program { name: "show_end";
25699             action: SIGNAL_EMIT "elm,action,show,finished" "";
25700          }
25701          program { name: "pop_start";
25702             signal: "elm,action,pop";
25703             source: "elm";
25704             action:  STATE_SET "visible" 0.0;
25705             target: "base";
25706             target: "clip";
25707             after: "pop_start2";
25708          }
25709          program { name: "pop_start2";
25710             action:  STATE_SET "hidden2" 0.0;
25711             transition: DECELERATE 0.5;
25712             target: "base";
25713             target: "clip";
25714             after: "hide_end";
25715          }
25716          program { name: "hide_start";
25717             signal: "elm,action,hide";
25718             source: "elm";
25719             action:  STATE_SET "visible" 0.0;
25720             target: "base";
25721             target: "clip";
25722             after: "hide_start2";
25723          }
25724          program { name: "hide_start2";
25725             action:  STATE_SET "hidden" 0.0;
25726             transition: DECELERATE 0.5;
25727             target: "base";
25728             target: "clip";
25729             after: "hide_end";
25730          }
25731          program { name: "hide_end";
25732             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25733          }
25734          program { name: "reset";
25735             signal: "elm,action,reset";
25736             source: "elm";
25737             action:  STATE_SET "default" 0.0;
25738             target: "base";
25739             target: "clip";
25740          }
25741       }
25742    }
25743    group { name: "elm/pager/base/slide_invisible";
25744       parts {
25745          part { name: "clip";
25746             type: RECT;
25747             mouse_events: 0;
25748             description { state: "default" 0.0;
25749                rel1 {
25750                   to: "base";
25751                   offset: -9999 -9999;
25752             }
25753                rel2 {
25754                   to: "base";
25755                   offset: 9999 9999;
25756                }
25757                color: 255 255 255 255;
25758             }
25759             description { state: "visible" 0.0;
25760                inherit: "default" 0.0;
25761             }
25762             description { state: "hidden" 0.0;
25763                inherit: "default" 0.0;
25764                color: 255 255 255 0;
25765                visible: 0;
25766             }
25767             description { state: "hidden2" 0.0;
25768                inherit: "default" 0.0;
25769                color: 255 255 255 0;
25770                visible: 0;
25771             }
25772          }
25773          part { name: "base";
25774             type: RECT;
25775             mouse_events:  0;
25776             clip_to: "clip";
25777             description { state: "default" 0.0;
25778                color: 0 0 0 0;
25779             }
25780             description { state: "hidden" 0.0;
25781                color: 0 0 0 0;
25782                rel1.relative: -1.0 0.0;
25783                rel2.relative: 0.0 1.0;
25784             }
25785             description { state: "hidden2" 0.0;
25786                color: 0 0 0 0;
25787                rel1.relative: 1.0 0.0;
25788                rel2.relative: 2.0 1.0;
25789             }
25790             description { state: "visible" 0.0;
25791                color: 0 0 0 0;
25792                rel1.relative: 0.0 0.0;
25793                rel2.relative: 1.0 1.0;
25794             }
25795          }
25796          part { name: "elm.swallow.content";
25797             type: SWALLOW;
25798             clip_to: "clip";
25799             description { state: "default" 0.0;
25800                rel1.to: "base";
25801                rel2.to: "base";
25802             }
25803          }
25804       }
25805       programs {
25806          program { name: "push_start";
25807             signal: "elm,action,push";
25808             source: "elm";
25809             action:  STATE_SET "hidden2" 0.0;
25810             target: "base";
25811             target: "clip";
25812             after: "show_start2";
25813          }
25814          program { name: "show_start";
25815             signal: "elm,action,show";
25816             source: "elm";
25817             action:  STATE_SET "hidden" 0.0;
25818             target: "base";
25819             target: "clip";
25820             after: "show_start2";
25821          }
25822          program { name: "show_start2";
25823             action:  STATE_SET "visible" 0.0;
25824             transition: DECELERATE 0.5;
25825             target: "base";
25826             target: "clip";
25827             after: "show_end";
25828          }
25829          program { name: "show_end";
25830             action: SIGNAL_EMIT "elm,action,show,finished" "";
25831          }
25832          program { name: "pop_start";
25833             signal: "elm,action,pop";
25834             source: "elm";
25835             action:  STATE_SET "visible" 0.0;
25836             target: "base";
25837             target: "clip";
25838             after: "pop_start2";
25839          }
25840          program { name: "pop_start2";
25841             action:  STATE_SET "hidden2" 0.0;
25842             transition: DECELERATE 0.5;
25843             target: "base";
25844             target: "clip";
25845             after: "hide_end";
25846          }
25847          program { name: "hide_start";
25848             signal: "elm,action,hide";
25849             source: "elm";
25850             action:  STATE_SET "visible" 0.0;
25851             target: "base";
25852             target: "clip";
25853             after: "hide_start2";
25854          }
25855          program { name: "hide_start2";
25856             action:  STATE_SET "hidden" 0.0;
25857             transition: DECELERATE 0.5;
25858             target: "base";
25859             target: "clip";
25860             after: "hide_end";
25861          }
25862          program { name: "hide_end";
25863             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25864          }
25865          program { name: "reset";
25866             signal: "elm,action,reset";
25867             source: "elm";
25868             action:  STATE_SET "default" 0.0;
25869             target: "base";
25870             target: "clip";
25871          }
25872       }
25873    }
25874
25875    group { name: "elm/pager/base/fade";
25876        data.item: "onshow" "raise";
25877        // other options
25878        //      data.item: "onhide" "lower";
25879        //      data.item: "onshow" "lower";
25880        images {
25881            image: "frame_1.png" COMP;
25882            image: "frame_2.png" COMP;
25883            image: "dia_grad.png" COMP;
25884        }
25885        parts {
25886            part { name: "clip_base";
25887                type: RECT;
25888                mouse_events: 0;
25889                description { state: "default" 0.0;
25890                    rel1 {
25891                        to: "base";
25892                        offset: -9999 -9999;
25893                    }
25894                    rel2 {
25895                        to: "base";
25896                        offset: 9999 9999;
25897                    }
25898                    color: 255 255 255 120;
25899                }
25900                description { state: "visible" 0.0;
25901                    inherit: "default" 0.0;
25902                }
25903                description { state: "hidden" 0.0;
25904                    inherit: "default" 0.0;
25905                    color: 255 255 255 0;
25906                    visible: 0;
25907                }
25908            }
25909            part { name: "clip";
25910                type: RECT;
25911                mouse_events: 0;
25912                description { state: "default" 0.0;
25913                    rel1 {
25914                        to: "base";
25915                        offset: -9999 -9999;
25916                    }
25917                    rel2 {
25918                        to: "base";
25919                        offset: 9999 9999;
25920                    }
25921                    color: 255 255 255 255;
25922                }
25923                description { state: "visible" 0.0;
25924                    inherit: "default" 0.0;
25925                }
25926                description { state: "hidden" 0.0;
25927                    inherit: "default" 0.0;
25928                    color: 255 255 255 0;
25929                    visible: 0;
25930                }
25931            }
25932            part { name: "base0";
25933                mouse_events:  0;
25934                clip_to: "clip_base";
25935                description { state: "default" 0.0;
25936                    image.normal: "dia_grad.png";
25937                    rel1.to: "over";
25938                    rel2.to: "over";
25939                    fill {
25940                        smooth: 0;
25941                        size {
25942                            relative: 0.0 1.0;
25943                            offset: 64 0;
25944                        }
25945                    }
25946                }
25947            }
25948            part { name: "base";
25949                mouse_events:  0;
25950                clip_to: "clip_base";
25951                description { state: "default" 0.0;
25952                    image {
25953                        normal: "frame_2.png";
25954                        border: 5 5 32 26;
25955                        middle: 0;
25956                    }
25957                    fill.smooth : 0;
25958                }
25959            }
25960            part { name: "over";
25961                mouse_events:  0;
25962                clip_to: "clip";
25963                description { state:    "default" 0.0;
25964                    rel1 {
25965                        to: "base";
25966                        offset: 4 4;
25967                    }
25968                    rel2 {
25969                        to: "base";
25970                        offset: -5 -5;
25971                    }
25972                    image {
25973                        normal: "frame_1.png";
25974                        border: 2 2 28 22;
25975                        middle: 0;
25976                    }
25977                    fill.smooth : 0;
25978                }
25979            }
25980            part { name: "elm.swallow.content";
25981                type: SWALLOW;
25982                clip_to: "clip";
25983                description { state: "default" 0.0;
25984                    rel1 {
25985                        to: "base";
25986                        offset: 8 8;
25987                    }
25988                    rel2 {
25989                        to: "base";
25990                        offset: -9 -9;
25991                    }
25992                }
25993            }
25994        }
25995        programs {
25996            program { name: "push_start";
25997                signal: "elm,action,push";
25998                source: "elm";
25999                action:  STATE_SET "hidden" 0.0;
26000                target: "clip";
26001                target: "clip_base";
26002                after: "show_start2";
26003            }
26004            program { name: "show_start";
26005                signal: "elm,action,show";
26006                source: "elm";
26007                action:  STATE_SET "hidden" 0.0;
26008                target: "clip";
26009                target: "clip_base";
26010                after: "show_start2";
26011            }
26012            program { name: "show_start2";
26013                action:  STATE_SET "visible" 0.0;
26014                transition: DECELERATE 0.5;
26015                target: "clip";
26016                target: "clip_base";
26017                after: "show_end";
26018            }
26019            program { name: "show_end";
26020                action: SIGNAL_EMIT "elm,action,show,finished" "";
26021            }
26022            program { name: "pop_start";
26023                signal: "elm,action,pop";
26024                source: "elm";
26025                action:  STATE_SET "visible" 0.0;
26026                target: "clip";
26027                target: "clip_base";
26028                after: "hide_start2";
26029            }
26030            program { name: "hide_start";
26031                signal: "elm,action,hide";
26032                source: "elm";
26033                action:  STATE_SET "visible" 0.0;
26034                target: "clip";
26035                target: "clip_base";
26036                after: "hide_start2";
26037            }
26038            program { name: "hide_start2";
26039                action:  STATE_SET "hidden" 0.0;
26040                transition: DECELERATE 0.5;
26041                target: "clip";
26042                target: "clip_base";
26043                after: "hide_end";
26044            }
26045            program { name: "hide_end";
26046                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26047            }
26048            program { name: "reset";
26049                signal: "elm,action,reset";
26050                source: "elm";
26051                action:  STATE_SET "default" 0.0;
26052                target: "clip_base";
26053                target: "clip";
26054            }
26055        }
26056    }
26057    group { name: "elm/pager/base/fade_translucide";
26058        data.item: "onshow" "raise";
26059        // other options
26060        //      data.item: "onhide" "lower";
26061        //      data.item: "onshow" "lower";
26062        images {
26063            image: "frame_1.png" COMP;
26064            image: "frame_2.png" COMP;
26065            image: "dia_grad.png" COMP;
26066        }
26067        parts {
26068            part { name: "clip_base";
26069                type: RECT;
26070                mouse_events: 0;
26071                description { state: "default" 0.0;
26072                    rel1 {
26073                        to: "base";
26074                        offset: -9999 -9999;
26075                    }
26076                    rel2 {
26077                        to: "base";
26078                        offset: 9999 9999;
26079                    }
26080                    color: 255 255 255 120;
26081                }
26082                description { state: "visible" 0.0;
26083                    inherit: "default" 0.0;
26084                }
26085                description { state: "hidden" 0.0;
26086                    inherit: "default" 0.0;
26087                    color: 255 255 255 0;
26088                    visible: 0;
26089                }
26090            }
26091            part { name: "clip";
26092                type: RECT;
26093                mouse_events: 0;
26094                description { state: "default" 0.0;
26095                    rel1 {
26096                        to: "base";
26097                        offset: -9999 -9999;
26098                    }
26099                    rel2 {
26100                        to: "base";
26101                        offset: 9999 9999;
26102                    }
26103                    color: 255 255 255 255;
26104                }
26105                description { state: "visible" 0.0;
26106                    inherit: "default" 0.0;
26107                }
26108                description { state: "hidden" 0.0;
26109                    inherit: "default" 0.0;
26110                    color: 255 255 255 0;
26111                    visible: 0;
26112                }
26113            }
26114            part { name: "base0";
26115                mouse_events:  0;
26116                clip_to: "clip_base";
26117                description { state: "default" 0.0;
26118                    image.normal: "dia_grad.png";
26119                    rel1.to: "over";
26120                    rel2.to: "over";
26121                    fill {
26122                        smooth: 0;
26123                        size {
26124                            relative: 0.0 1.0;
26125                            offset: 64 0;
26126                        }
26127                    }
26128                }
26129            }
26130            part { name: "base";
26131                mouse_events:  0;
26132                clip_to: "clip_base";
26133                description { state: "default" 0.0;
26134                    image {
26135                        normal: "frame_2.png";
26136                        border: 5 5 32 26;
26137                        middle: 0;
26138                    }
26139                    fill.smooth : 0;
26140                }
26141            }
26142            part { name: "over";
26143                mouse_events:  0;
26144                clip_to: "clip";
26145                description { state:    "default" 0.0;
26146                    rel1 {
26147                        to: "base";
26148                        offset: 4 4;
26149                    }
26150                    rel2 {
26151                        to: "base";
26152                        offset: -5 -5;
26153                    }
26154                    image {
26155                        normal: "frame_1.png";
26156                        border: 2 2 28 22;
26157                        middle: 0;
26158                    }
26159                    fill.smooth : 0;
26160                }
26161            }
26162            part { name: "elm.swallow.content";
26163                type: SWALLOW;
26164                clip_to: "clip";
26165                description { state: "default" 0.0;
26166                    rel1 {
26167                        to: "base";
26168                        offset: 8 8;
26169                    }
26170                    rel2 {
26171                        to: "base";
26172                        offset: -9 -9;
26173                    }
26174                }
26175            }
26176        }
26177        programs {
26178            program { name: "push_start";
26179                signal: "elm,action,push";
26180                source: "elm";
26181                action:  STATE_SET "hidden" 0.0;
26182                target: "clip";
26183                target: "clip_base";
26184                after: "show_start2";
26185            }
26186            program { name: "show_start";
26187                signal: "elm,action,show";
26188                source: "elm";
26189                action:  STATE_SET "hidden" 0.0;
26190                target: "clip";
26191                target: "clip_base";
26192                after: "show_start2";
26193            }
26194            program { name: "show_start2";
26195                action:  STATE_SET "visible" 0.0;
26196                transition: DECELERATE 0.5;
26197                target: "clip";
26198                target: "clip_base";
26199                after: "show_end";
26200            }
26201            program { name: "show_end";
26202                action: SIGNAL_EMIT "elm,action,show,finished" "";
26203            }
26204            program { name: "pop_start";
26205                signal: "elm,action,pop";
26206                source: "elm";
26207                action:  STATE_SET "visible" 0.0;
26208                target: "clip";
26209                target: "clip_base";
26210                after: "hide_start2";
26211            }
26212            program { name: "hide_start";
26213                signal: "elm,action,hide";
26214                source: "elm";
26215                action:  STATE_SET "visible" 0.0;
26216                target: "clip";
26217                target: "clip_base";
26218                after: "hide_start2";
26219            }
26220            program { name: "hide_start2";
26221                action:  STATE_SET "hidden" 0.0;
26222                transition: DECELERATE 0.5;
26223                target: "clip";
26224                target: "clip_base";
26225                after: "hide_end";
26226            }
26227            program { name: "hide_end";
26228                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26229            }
26230            program { name: "reset";
26231                signal: "elm,action,reset";
26232                source: "elm";
26233                action:  STATE_SET "default" 0.0;
26234                target: "clip_base";
26235                target: "clip";
26236            }
26237        }
26238    }
26239    group { name: "elm/pager/base/fade_invisible";
26240        data.item: "onshow" "raise";
26241        // other options
26242        //      data.item: "onhide" "lower";
26243        //      data.item: "onshow" "lower";
26244        parts {
26245            part { name: "clip";
26246                type: RECT;
26247                mouse_events: 0;
26248                description { state: "default" 0.0;
26249                    rel1 {
26250                        offset: -9999 -9999;
26251                    }
26252                    rel2 {
26253                        offset: 9999 9999;
26254                    }
26255                    color: 255 255 255 255;
26256                }
26257                description { state: "visible" 0.0;
26258                    inherit: "default" 0.0;
26259                }
26260                description { state: "hidden" 0.0;
26261                    inherit: "default" 0.0;
26262                    color: 255 255 255 0;
26263                    visible: 0;
26264                }
26265            }
26266            part { name: "elm.swallow.content";
26267                type: SWALLOW;
26268                clip_to: "clip";
26269                description { state: "default" 0.0;
26270                    rel1 {
26271                        offset: 8 8;
26272                    }
26273                    rel2 {
26274                        offset: -9 -9;
26275                    }
26276                }
26277            }
26278        }
26279        programs {
26280            program { name: "push_start";
26281                signal: "elm,action,push";
26282                source: "elm";
26283                action:  STATE_SET "hidden" 0.0;
26284                target: "clip";
26285                after: "show_start2";
26286            }
26287            program { name: "show_start";
26288                signal: "elm,action,show";
26289                source: "elm";
26290                action:  STATE_SET "hidden" 0.0;
26291                target: "clip";
26292                after: "show_start2";
26293            }
26294            program { name: "show_start2";
26295                action:  STATE_SET "visible" 0.0;
26296                transition: DECELERATE 0.5;
26297                target: "clip";
26298                after: "show_end";
26299            }
26300            program { name: "show_end";
26301                action: SIGNAL_EMIT "elm,action,show,finished" "";
26302            }
26303            program { name: "pop_start";
26304                signal: "elm,action,pop";
26305                source: "elm";
26306                action:  STATE_SET "visible" 0.0;
26307                target: "clip";
26308                after: "hide_start2";
26309            }
26310            program { name: "hide_start";
26311                signal: "elm,action,hide";
26312                source: "elm";
26313                action:  STATE_SET "visible" 0.0;
26314                target: "clip";
26315                after: "hide_start2";
26316            }
26317            program { name: "hide_start2";
26318                action:  STATE_SET "hidden" 0.0;
26319                transition: DECELERATE 0.5;
26320                target: "clip";
26321                after: "hide_end";
26322            }
26323            program { name: "hide_end";
26324                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26325            }
26326            program { name: "reset";
26327                signal: "elm,action,reset";
26328                source: "elm";
26329                action:  STATE_SET "default" 0.0;
26330                target: "clip";
26331            }
26332        }
26333    }
26334
26335    group { name: "elm/pager/base/flip";
26336       data.item: "onshow" "raise";
26337       images {
26338          image: "frame_1.png" COMP;
26339          image: "frame_2.png" COMP;
26340          image: "dia_grad.png" COMP;
26341       }
26342       parts {
26343          part { name: "elm.swallow.content";
26344             type: SWALLOW;
26345             description { state: "default" 0.0;
26346                map {
26347                   on: 1;
26348                   smooth: 1;
26349                   backface_cull: 1;
26350                   perspective_on: 1;
26351                }
26352                perspective {
26353                   zplane: 0;
26354                   focal: 1000;
26355                }
26356             }
26357             description { state: "hidden" 0.0;
26358                inherit: "default" 0.0;
26359                visible: 0;
26360                map.rotation.y: 90.0;
26361             }
26362             description { state: "before_hidden" 0.0;
26363                inherit: "default" 0.0;
26364                visible: 0;
26365                map.rotation.y: -90.0;
26366             }
26367          }
26368       }
26369       programs {
26370          program { name: "push_start";
26371             signal: "elm,action,push";
26372             source: "elm";
26373             after: "push1";
26374          }
26375          program { name: "push1";
26376             action:  STATE_SET "hidden" 0.0;
26377             target: "elm.swallow.content";
26378             after: "push2";
26379          }
26380          program { name: "push2";
26381             action:  STATE_SET "default" 0.0;
26382             in: 0.5 0.0;
26383             transition: LINEAR 0.5;
26384             target: "elm.swallow.content";
26385             after: "push3";
26386          }
26387          program { name: "push3";
26388             action: SIGNAL_EMIT "elm,action,show,finished" "";
26389          }
26390
26391          program { name: "show_start";
26392             signal: "elm,action,show";
26393             source: "elm";
26394             after: "show1";
26395          }
26396          program { name: "show1";
26397             action:  STATE_SET "before_hidden" 0.0;
26398             target: "elm.swallow.content";
26399             after: "show2";
26400          }
26401          program { name: "show2";
26402             action:  STATE_SET "default" 0.0;
26403             in: 0.5 0.0;
26404             transition: LINEAR 0.5;
26405             target: "elm.swallow.content";
26406             after: "show3";
26407          }
26408          program { name: "show3";
26409             action: SIGNAL_EMIT "elm,action,show,finished" "";
26410          }
26411
26412          program { name: "pop_start";
26413             signal: "elm,action,pop";
26414             source: "elm";
26415             after: "pop1";
26416          }
26417          program { name: "pop1";
26418             action:  STATE_SET "default" 0.0;
26419             target: "elm.swallow.content";
26420             after: "pop2";
26421          }
26422          program { name: "pop2";
26423             action:  STATE_SET "hidden" 0.0;
26424             transition: LINEAR 0.5;
26425             target: "elm.swallow.content";
26426             after: "pop3";
26427          }
26428          program { name: "pop3";
26429             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26430          }
26431
26432          program { name: "hide_start";
26433             signal: "elm,action,hide";
26434             source: "elm";
26435             after: "hide1";
26436          }
26437          program { name: "hide1";
26438             action:  STATE_SET "default" 0.0;
26439             target: "elm.swallow.content";
26440             after: "hide2";
26441          }
26442          program { name: "hide2";
26443             action:  STATE_SET "before_hidden" 0.0;
26444             transition: LINEAR 0.5;
26445             target: "elm.swallow.content";
26446             after: "hide3";
26447          }
26448          program { name: "hide3";
26449             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26450          }
26451
26452          program { name: "reset";
26453             signal: "elm,action,reset";
26454             source: "elm";
26455             action:  STATE_SET "default" 0.0;
26456             target: "elm.swallow.content";
26457          }
26458       }
26459    }
26460
26461
26462
26463 ///////////////////////////////////////////////////////////////////////////////
26464 // FIXME: this doesn't look too hot. need to fix it up
26465    group { name: "elm/progressbar/horizontal/default";
26466       images {
26467          image: "shelf_inset.png" COMP;
26468          image: "bt_sm_base2.png" COMP;
26469          image: "bt_sm_hilight.png" COMP;
26470          image: "bt_sm_shine.png" COMP;
26471       }
26472       parts {
26473          part { name: "elm.background.progressbar";
26474             mouse_events: 0;
26475             description {
26476                state: "default" 0.0;
26477                rel1 {
26478                   relative: 0.0 0.0;
26479                   offset: 0 0;
26480                }
26481                rel2 {
26482                   relative: 1.0 1.0;
26483                }
26484             }
26485          }
26486          part { name: "elm.swallow.bar";
26487             mouse_events: 0;
26488             type: SWALLOW;
26489             description {
26490                min: 48 28;
26491                max: 99999 28;
26492                state: "default" 0.0;
26493                rel1 {
26494                   to_x: "elm.text";
26495                   to_y: "elm.background.progressbar";
26496                   relative: 1.0 0.0;
26497                }
26498                rel2 {
26499                   to: "elm.background.progressbar";
26500                   relative: 1.0 1.0;
26501                }
26502             }
26503          }
26504          part { name: "elm.swallow.content";
26505             type: SWALLOW;
26506             description { state: "default" 0.0;
26507                visible: 0;
26508                align: 0.0 0.5;
26509                rel1 {
26510                   offset: 4 0;
26511                   to_y: "elm.background.progressbar";
26512                }
26513                rel2 {
26514                   offset: 3 -1;
26515                   relative: 0.0 1.0;
26516                   to_y: "elm.background.progressbar";
26517                }
26518             }
26519             description { state: "visible" 0.0;
26520                inherit: "default" 0.0;
26521                visible: 1;
26522                aspect: 1.0 1.0;
26523                aspect_preference: VERTICAL;
26524                rel2.offset: 4 -1;
26525             }
26526          }
26527          part { name: "elm.text";
26528             type: TEXT;
26529             mouse_events: 0;
26530             scale: 1;
26531             description { state: "default" 0.0;
26532                visible: 0;
26533                fixed: 1 1;
26534                align: 0.0 0.5;
26535                rel1.to_x: "elm.swallow.content";
26536                rel1.relative: 1.0 0.0;
26537                rel1.offset: -1 4;
26538                rel2.to_x: "elm.swallow.content";
26539                rel2.relative: 1.0 1.0;
26540                rel2.offset: -1 -5;
26541                color: 0 0 0 255;
26542                text {
26543                   font: "Sans,Edje-Vera";
26544                   size: 10;
26545                   min: 0 0;
26546                   align: 0.0 0.5;
26547                }
26548             }
26549             description { state: "visible" 0.0;
26550                inherit: "default" 0.0;
26551                visible: 1;
26552                text.min: 1 1;
26553                rel1.offset: 0 4;
26554                rel2.offset: 0 -5;
26555             }
26556          }
26557
26558          part { name: "background";
26559             mouse_events: 0;
26560             clip_to: "elm.background.progressbar";
26561             description {
26562                state: "default" 0.0;
26563                rel1 {
26564                   to: "elm.swallow.bar";
26565                   relative: 0.0 0.0;
26566                }
26567                rel2 {
26568                   to: "elm.swallow.bar";
26569                   relative: 1.0 1.0;
26570                   offset: -1 -1;
26571                }
26572                image {
26573                   normal: "shelf_inset.png";
26574                   border: 7 7 7 7;
26575                }
26576             }
26577          }
26578
26579          part { name: "elm.text.status";
26580             type: TEXT;
26581             mouse_events: 0;
26582             description { state: "default" 0.0;
26583                fixed: 1 1;
26584                visible: 1;
26585                rel1 {
26586                   to: "background";
26587                   relative: 0.5 0.5;
26588                }
26589                rel2 {
26590                   to: "background";
26591                   relative: 0.5 0.5;
26592                }
26593                text {
26594                   font: "Sans:style=Bold,Edje-Vera-Bold";
26595                   size: 10;
26596                   min: 1 1;
26597                   align: 0.5 0.0;
26598                }
26599                color: 0 0 0 255;
26600             }
26601             description { state: "hidden" 0.0;
26602                inherit: "default" 0.0;
26603                visible: 0;
26604                text.min: 0 0;
26605             }
26606          }
26607
26608          part { name: "elm.progress.progressbar";
26609             mouse_events: 0;
26610             clip_to: "elm.background.progressbar";
26611             description {
26612                state: "default" 0.0;
26613                min: 14 28;
26614                fixed: 1 1;
26615                rel1 {
26616                   to: "elm.swallow.bar";
26617                   relative: 0.0 0.0;
26618                }
26619                rel2 {
26620                   to_y: "elm.swallow.bar";
26621                   to_x: "elm.cur.progressbar";
26622                   offset: -1 -1;
26623                }
26624                image {
26625                   normal: "bt_sm_base2.png";
26626                   border: 6 6 6 6;
26627                }
26628             }
26629             description {
26630                state: "invert" 0.0;
26631                inherit: "default" 0.0;
26632                rel1 {
26633                   to_y: "elm.swallow.bar";
26634                   to_x: "elm.cur.progressbar";
26635                }
26636                rel2 {
26637                   to: "elm.swallow.bar";
26638                   relative: 1.0 1.0;
26639                }
26640             }
26641             description {
26642                state: "state_begin" 0.0;
26643                inherit: "default" 0.0;
26644                rel1 {
26645                   to: "elm.swallow.bar";
26646                   relative: 0.0 0.0;
26647                }
26648                rel2 {
26649                   to: "elm.swallow.bar";
26650                   relative: 0.1 1.0;
26651                }
26652             }
26653             description {
26654                state: "state_end" 0.0;
26655                inherit: "default" 0.0;
26656                rel1 {
26657                   to: "elm.swallow.bar";
26658                   relative: 0.9 0.0;
26659                }
26660                rel2 {
26661                   to: "elm.swallow.bar";
26662                   relative: 1.0 1.0;
26663                }
26664             }
26665          }
26666          part { name: "text-bar";
26667             type: TEXT;
26668             mouse_events: 0;
26669             clip_to: "progress-rect";
26670             effect: SOFT_SHADOW;
26671             scale: 1;
26672             description { state: "default" 0.0;
26673                align: 0.0 0.0;
26674                fixed: 1 1;
26675                visible: 1;
26676                rel1.to: "elm.text.status";
26677                rel1.offset: -1 -1;
26678                rel2.to: "elm.text.status";
26679                text {
26680                   text_source: "elm.text.status";
26681                   font: "Sans:style=Bold,Edje-Vera-Bold";
26682                   size: 10;
26683                   min: 1 1;
26684                   align: 0.0 0.0;
26685                }
26686                color: 224 224 224 255;
26687                color3: 0 0 0 64;
26688             }
26689             description { state: "hidden" 0.0;
26690                inherit: "default" 0.0;
26691                visible: 0;
26692                text.min: 0 0;
26693             }
26694          }
26695
26696          part { name: "over1";
26697             mouse_events: 0;
26698             description { state: "default" 0.0;
26699                rel1.to: "elm.progress.progressbar";
26700                rel2.to: "elm.progress.progressbar";
26701                rel2.relative: 1.0 0.5;
26702                image {
26703                   normal: "bt_sm_hilight.png";
26704                   border: 6 6 6 0;
26705                }
26706             }
26707          }
26708
26709          part { name: "over2";
26710             mouse_events: 1;
26711             repeat_events: 1;
26712             description { state: "default" 0.0;
26713                rel1.to: "elm.progress.progressbar";
26714                rel2.to: "elm.progress.progressbar";
26715                image {
26716                   normal: "bt_sm_shine.png";
26717                   border: 6 6 6 0;
26718                }
26719             }
26720          }
26721
26722          part { name: "elm.cur.progressbar";
26723             mouse_events: 0;
26724             dragable {
26725                confine: "background";
26726                x: 1 1 1;
26727                y: 0 0 0;
26728             }
26729             description { state: "default" 0.0;
26730                min: 14 28;
26731                fixed: 1 1;
26732                visible: 0;
26733                rel1 {
26734                   to: "background";
26735                   relative: 0 0;
26736                }
26737                rel2.to: "background";
26738            }
26739          }
26740          part { name: "progress-rect";
26741             mouse_events: 0;
26742             description {
26743                state: "default" 0.0;
26744                rel1.to: "elm.progress.progressbar";
26745                rel2.to: "elm.progress.progressbar";
26746             }
26747          }
26748       }
26749       programs {
26750          program { name: "label_show";
26751             signal: "elm,state,text,visible";
26752             source: "elm";
26753             action:  STATE_SET "visible" 0.0;
26754             target: "elm.text";
26755          }
26756          program { name: "label_hide";
26757             signal: "elm,state,text,hidden";
26758             source: "elm";
26759             action:  STATE_SET "default" 0.0;
26760             target: "elm.text";
26761          }
26762          program { name: "icon_show";
26763             signal: "elm,state,icon,visible";
26764             source: "elm";
26765             action:  STATE_SET "visible" 0.0;
26766             target: "elm.swallow.content";
26767          }
26768          program { name: "icon_hide";
26769             signal: "elm,state,icon,hidden";
26770             source: "elm";
26771             action:  STATE_SET "default" 0.0;
26772             target: "elm.swallow.content";
26773          }
26774          program { name: "units_show";
26775             signal: "elm,state,units,visible";
26776             source: "elm";
26777             action:  STATE_SET "default" 0.0;
26778             target: "text-bar";
26779             target: "elm.text.status";
26780          }
26781          program { name: "units_hide";
26782             signal: "elm,state,units,hidden";
26783             source: "elm";
26784             action:  STATE_SET "hidden" 0.0;
26785             target: "text-bar";
26786             target: "elm.text.status";
26787          }
26788          program { name: "slide_to_end";
26789             action:  STATE_SET "state_end" 0.0;
26790             transition: LINEAR 0.5;
26791             target: "elm.progress.progressbar";
26792             after: "slide_to_begin";
26793          }
26794          program { name: "slide_to_begin";
26795             signal: "elm,state,slide,begin";
26796             action: STATE_SET "state_begin" 0.0;
26797             target: "elm.progress.progressbar";
26798             transition: LINEAR 0.5;
26799             after: "slide_to_end";
26800          }
26801          program { name: "start_pulse";
26802             signal: "elm,state,pulse,start";
26803             source: "elm";
26804             after: "slide_to_end";
26805          }
26806          program { name: "stop_pulse";
26807             signal: "elm,state,pulse,stop";
26808             source: "elm";
26809             action: ACTION_STOP;
26810             target: "slide_to_begin";
26811             target: "slide_to_end";
26812             target: "start_pulse";
26813             after: "state_pulse";
26814          }
26815          program { name: "state_pulse";
26816             signal: "elm,state,pulse";
26817             source: "elm";
26818             action: STATE_SET "state_begin" 0.0;
26819             target: "elm.progress.progressbar";
26820             after: "units_hide";
26821          }
26822          program { name: "state_fraction";
26823             signal: "elm,state,fraction";
26824             source: "elm";
26825             action: ACTION_STOP;
26826             target: "slide_to_begin";
26827             target: "slide_to_end";
26828             target: "start_pulse";
26829             action: STATE_SET "default" 0.0;
26830             target: "elm.progress.progressbar";
26831          }
26832          program { name: "set_invert_on";
26833             signal: "elm,state,inverted,on";
26834             source: "elm";
26835             action:  STATE_SET "invert" 0.0;
26836             target: "elm.progress.progressbar";
26837          }
26838          program { name: "set_invert_off";
26839             signal: "elm,state,inverted,off";
26840             source: "elm";
26841             action:  STATE_SET "default" 0.0;
26842             target: "elm.progress.progressbar";
26843          }
26844       }
26845    }
26846
26847 ///////////////////////////////////////////////////////////////////////////////
26848    group { name: "elm/progressbar/vertical/default";
26849       images {
26850          image: "shelf_inset.png" COMP;
26851          image: "bt_sm_base2.png" COMP;
26852          image: "bt_sm_hilight.png" COMP;
26853          image: "bt_sm_shine.png" COMP;
26854       }
26855       parts {
26856          part { name: "elm.background.progressbar";
26857             type: RECT;
26858             mouse_events: 0;
26859             description {
26860                state: "default" 0.0;
26861                rel1 {
26862                   relative: 0.0 0.0;
26863                   offset: 0 0;
26864                }
26865                rel2 {
26866                   relative: 1.0 1.0;
26867                   offset: -1 -1;
26868                }
26869             }
26870          }
26871          part { name: "elm.swallow.bar";
26872             type: SWALLOW;
26873             scale: 1;
26874             description { state: "default" 0.0;
26875                min: 28 48;
26876                max: 28 9999;
26877                align: 0.5 1.0;
26878                rel1 {
26879                   to_y: "elm.text";
26880                   relative: 0.0 1.0;
26881                   offset: 0 2;
26882                }
26883                rel2 {
26884                   to_y: "elm.text.box";
26885                   relative: 1.0 0.0;
26886                   offset: -1 -3;
26887                }
26888             }
26889          }
26890          part { name: "elm.swallow.content";
26891             type: SWALLOW;
26892             description { state: "default" 0.0;
26893                visible: 0;
26894                align: 0.5 0.0;
26895                rel1 {
26896                   offset: 0 4;
26897                   to_x: "elm.swallow.bar";
26898                }
26899                rel2 {
26900                   offset: -1 3;
26901                   relative: 1.0 0.0;
26902                   to_x: "elm.swallow.bar";
26903                }
26904             }
26905             description { state: "visible" 0.0;
26906                inherit: "default" 0.0;
26907                visible: 1;
26908                aspect: 1.0 1.0;
26909                aspect_preference: HORIZONTAL;
26910                rel2.offset: -1 4;
26911             }
26912          }
26913          part { name: "elm.text";
26914             type: TEXT;
26915             mouse_events: 0;
26916             scale: 1;
26917             description { state: "default" 0.0;
26918                visible: 0;
26919                fixed: 1 1;
26920                align: 0.5 0.0;
26921                rel1.to_y: "elm.swallow.content";
26922                rel1.relative: 0.5 1.0;
26923                rel1.offset: 0 -1;
26924                rel2.to_y: "elm.swallow.content";
26925                rel2.relative: 0.5 1.0;
26926                rel2.offset: -1 -1;
26927                color: 0 0 0 255;
26928                text {
26929                   font: "Sans,Edje-Vera";
26930                   size: 10;
26931                   min: 0 0;
26932                   align: 0.5 0.0;
26933                }
26934             }
26935             description { state: "visible" 0.0;
26936                inherit: "default" 0.0;
26937                visible: 1;
26938                text.min: 1 1;
26939                rel1.offset: 4 0;
26940                rel2.offset: -5 0;
26941             }
26942          }
26943
26944          part { name: "background";
26945             mouse_events: 0;
26946             clip_to: "elm.background.progressbar";
26947             description {
26948                state: "default" 0.0;
26949                rel1 {
26950                   to: "elm.swallow.bar";
26951                   relative: 0.0 0.0;
26952                }
26953                rel2 {
26954                   to: "elm.swallow.bar";
26955                   relative: 1.0 1.0;
26956                   offset: -1 -1;
26957                }
26958                image {
26959                   normal: "shelf_inset.png";
26960                   border: 7 7 7 7;
26961                }
26962             }
26963          }
26964
26965          part { name: "elm.progress.progressbar";
26966             mouse_events: 0;
26967             clip_to: "elm.background.progressbar";
26968             description {
26969                state: "default" 0.0;
26970                min: 28 14;
26971                fixed: 1 1;
26972                rel1 {
26973                   to: "elm.swallow.bar";
26974                   relative: 0.0 0.0;
26975                }
26976                rel2 {
26977                   to_x: "elm.swallow.bar";
26978                   to_y: "elm.cur.progressbar";
26979                   offset: -1 -1;
26980                }
26981                image {
26982                   normal: "bt_sm_base2.png";
26983                   border: 6 6 6 6;
26984                }
26985             }
26986             description {
26987                state: "invert" 0.0;
26988                inherit: "default" 0.0;
26989                rel1 {
26990                   to_x: "elm.swallow.bar";
26991                   to_y: "elm.cur.progressbar";
26992                }
26993                rel2 {
26994                   to: "elm.swallow.bar";
26995                   relative: 1.0 1.0;
26996                }
26997             }
26998             description {
26999                state: "state_begin" 0.0;
27000                inherit: "default" 0.0;
27001                rel1 {
27002                   to: "elm.swallow.bar";
27003                   relative: 0.0 0.0;
27004                }
27005                rel2 {
27006                   to: "elm.swallow.bar";
27007                   relative: 1.0 0.1;
27008                }
27009             }
27010             description {
27011                state: "state_end" 0.0;
27012                inherit: "default" 0.0;
27013                rel1 {
27014                   to: "elm.swallow.bar";
27015                   relative: 0.0 0.9;
27016                }
27017                rel2 {
27018                   to: "elm.swallow.bar";
27019                   relative: 1.0 1.0;
27020                }
27021             }
27022          }
27023
27024          part { name: "over1";
27025             mouse_events: 0;
27026             description { state: "default" 0.0;
27027                rel1.to: "elm.progress.progressbar";
27028                rel2.to: "elm.progress.progressbar";
27029                rel2.relative: 1.0 0.5;
27030                image {
27031                   normal: "bt_sm_hilight.png";
27032                   border: 6 6 6 0;
27033                }
27034             }
27035          }
27036
27037          part { name: "over2";
27038             mouse_events: 1;
27039             repeat_events: 1;
27040             description { state: "default" 0.0;
27041                rel1.to: "elm.progress.progressbar";
27042                rel2.to: "elm.progress.progressbar";
27043                image {
27044                   normal: "bt_sm_shine.png";
27045                   border: 6 6 6 0;
27046                }
27047             }
27048          }
27049
27050          part { name: "elm.cur.progressbar";
27051             mouse_events: 0;
27052             dragable {
27053                confine: "background";
27054                x: 0 0 0;
27055                y: 1 1 1;
27056             }
27057             description { state: "default" 0.0;
27058                min: 28 14;
27059                fixed: 1 1;
27060                visible: 0;
27061                rel1 {
27062                   to: "background";
27063                   relative: 0 0;
27064                }
27065                rel2.to: "background";
27066            }
27067          }
27068
27069          part { name: "elm.text.box";
27070             mouse_events: 0;
27071             type: RECT;
27072             description { state: "default" 0.0;
27073                visible: 0;
27074                rel1 {
27075                   to: "elm.text.status";
27076                   offset: -2 -2;
27077                }
27078                rel2 {
27079                   to: "elm.text.status";
27080                   offset: 2 2;
27081                }
27082                color: 255 255 255 0;
27083             }
27084             description { state: "visible" 0.0;
27085                inherit: "default" 0.0;
27086                visible: 1;
27087             }
27088          }
27089          part { name: "elm.text.status";
27090             type: TEXT;
27091             mouse_events: 0;
27092             scale: 1;
27093             description { state: "default" 0.0;
27094                visible: 0;
27095                fixed: 1 1;
27096                align: 0.5 1.0;
27097                rel1.relative: 0.0 1.0;
27098                rel1.offset: 2 0;
27099                rel2.relative: 1.0 1.0;
27100                rel2.offset: -2 0;
27101                color: 0 0 0 255;
27102                text {
27103                   font: "Sans:style=Bold,Edje-Vera-Bold";
27104                   size: 10;
27105                   min: 0 0;
27106                   align: 0.5 0.0;
27107                }
27108             }
27109             description { state: "visible" 0.0;
27110                inherit: "default" 0.0;
27111                fixed: 1 1;
27112                visible: 1;
27113                text.min: 1 1;
27114                rel1.offset: 8 -9;
27115                rel2.offset: -9 -9;
27116             }
27117          }
27118       }
27119       programs {
27120          program { name: "label_show";
27121             signal: "elm,state,text,visible";
27122             source: "elm";
27123             action:  STATE_SET "visible" 0.0;
27124             target: "elm.text";
27125          }
27126          program { name: "label_hide";
27127             signal: "elm,state,text,hidden";
27128             source: "elm";
27129             action:  STATE_SET "default" 0.0;
27130             target: "elm.text";
27131          }
27132          program { name: "icon_show";
27133             signal: "elm,state,icon,visible";
27134             source: "elm";
27135             action:  STATE_SET "visible" 0.0;
27136             target: "elm.swallow.content";
27137          }
27138          program { name: "icon_hide";
27139             signal: "elm,state,icon,hidden";
27140             source: "elm";
27141             action:  STATE_SET "default" 0.0;
27142             target: "elm.swallow.content";
27143          }
27144          program { name: "units_show";
27145             signal: "elm,state,units,visible";
27146             source: "elm";
27147             action:  STATE_SET "visible" 0.0;
27148             target: "elm.text.status";
27149             target: "elm.text.box";
27150          }
27151          program { name: "units_hide";
27152             signal: "elm,state,units,hidden";
27153             source: "elm";
27154             action:  STATE_SET "default" 0.0;
27155             target: "elm.text.status";
27156             target: "elm.text.box";
27157          }
27158          program { name: "slide_to_end";
27159             action:  STATE_SET "state_end" 0.0;
27160             transition: LINEAR 0.5;
27161             target: "elm.progress.progressbar";
27162             after: "slide_to_begin";
27163          }
27164          program { name: "slide_to_begin";
27165             action:  STATE_SET "state_begin" 0.0;
27166             target: "elm.progress.progressbar";
27167             transition: LINEAR 0.5;
27168             after: "slide_to_end";
27169          }
27170          program { name: "start_pulse";
27171             signal: "elm,state,pulse,start";
27172             source: "elm";
27173             action: STATE_SET "state_begin" 0.0;
27174             target: "elm.progress.progressbar";
27175             after: "slide_to_end";
27176          }
27177          program { name: "stop_pulse";
27178             signal: "elm,state,pulse,stop";
27179             source: "elm";
27180             action: ACTION_STOP;
27181             target: "slide_to_begin";
27182             target: "slide_to_end";
27183             target: "start_pulse";
27184             after: "state_pulse";
27185          }
27186          program { name: "state_pulse";
27187             signal: "elm,state,pulse";
27188             source: "elm";
27189             action: STATE_SET "state_begin" 0.0;
27190             target: "elm.progress.progressbar";
27191             after: "units_hide";
27192          }
27193          program { name: "state_fraction";
27194             signal: "elm,state,fraction";
27195             source: "elm";
27196             action: ACTION_STOP;
27197             target: "slide_to_begin";
27198             target: "slide_to_end";
27199             target: "start_pulse";
27200             action: STATE_SET "default" 0.0;
27201             target: "elm.progress.progressbar";
27202          }
27203          program { name: "set_invert_on";
27204             signal: "elm,state,inverted,on";
27205             source: "elm";
27206             action:  STATE_SET "invert" 0.0;
27207             target: "elm.progress.progressbar";
27208             target: "elm.cur.progressbar";
27209          }
27210          program { name: "set_invert_off";
27211             signal: "elm,state,inverted,off";
27212             source: "elm";
27213             action:  STATE_SET "default" 0.0;
27214             target: "elm.progress.progressbar";
27215             target: "elm.cur.progressbar";
27216          }
27217       }
27218    }
27219
27220 ///////////////////////////////////////////////////////////////////////////////
27221    group { name: "elm/separator/horizontal/default";
27222        images {
27223            image: "separator_h.png" COMP;
27224        }
27225        parts {
27226            part { name: "separator"; // separator group
27227                description { state: "default" 0.0;
27228                    min: 2 2;
27229                    rel1.offset: 4 4;
27230                    rel2.offset: -5 -5;
27231                    image {
27232                        normal: "separator_h.png";
27233                    }
27234                    fill {
27235                        smooth: 0;
27236                    }
27237                }
27238            }
27239        }
27240    }
27241
27242    ///////////////////////////////////////////////////////////////////////////////
27243    group { name: "elm/separator/vertical/default";
27244        images {
27245            image: "separator_v.png" COMP;
27246        }
27247        parts {
27248            part { name: "separator"; // separator group
27249                description { state: "default" 0.0;
27250                    min: 2 2;
27251                    rel1.offset: 4 4;
27252                    rel2.offset: -5 -5;
27253                    image {
27254                        normal: "separator_v.png";
27255                    }
27256                    fill {
27257                        smooth: 0;
27258                    }
27259                }
27260            }
27261        }
27262    }
27263
27264    group { name: "elm/progressbar/horizontal/wheel";
27265        images {
27266            image: "busy-1.png" COMP;
27267            image: "busy-2.png" COMP;
27268            image: "busy-3.png" COMP;
27269            image: "busy-4.png" COMP;
27270            image: "busy-5.png" COMP;
27271            image: "busy-6.png" COMP;
27272            image: "busy-7.png" COMP;
27273            image: "busy-8.png" COMP;
27274            image: "busy-9.png" COMP;
27275        }
27276        parts {
27277            part { name: "elm.background.progressbar";
27278                mouse_events: 0;
27279                type: RECT;
27280                description {
27281                    state: "default" 0.0;
27282                }
27283            }
27284            part { name: "elm.swallow.bar";
27285                mouse_events: 0;
27286                type: SWALLOW;
27287                description { state: "default" 0.0;
27288                    min: 0 0;
27289                    max: 0 0;
27290                    visible: 0;
27291                }
27292            }
27293            part { name: "elm.swallow.content";
27294                type: SWALLOW;
27295                description { state: "default" 0.0;
27296                    min: 0 0;
27297                    max: 0 0;
27298                    visible: 0;
27299                }
27300            }
27301            part { name: "background";
27302                mouse_events: 0;
27303                clip_to: "elm.background.progressbar";
27304                description {
27305                    state: "default" 0.0;
27306                    min: 32 32;
27307                    max: 32 32;
27308                    visible: 1;
27309                    aspect: 1.0 1.0;
27310                    aspect_preference: BOTH;
27311                    image {
27312                        normal: "busy-9.png";
27313                        border: 7 7 7 7;
27314                    }
27315                }
27316                description {
27317                    state: "pulse" 0.0;
27318                    inherit: "default" 0.0;
27319                    image {
27320                        normal: "busy-9.png";
27321                        tween:  "busy-1.png";
27322                        tween:  "busy-2.png";
27323                        tween:  "busy-3.png";
27324                        tween:  "busy-4.png";
27325                        tween:  "busy-5.png";
27326                        tween:  "busy-6.png";
27327                        tween:  "busy-7.png";
27328                        tween:  "busy-8.png";
27329                        border: 7 7 7 7;
27330                    }
27331                }
27332            }
27333        }
27334        programs {
27335            program { name: "start_pulse";
27336                signal: "elm,state,pulse,start";
27337                source: "elm";
27338                action: STATE_SET "pulse" 0.0;
27339                target: "background";
27340                transition: LINEAR 0.5;
27341                after: "start_pulse";
27342            }
27343            program { name: "stop_pulse";
27344                signal: "elm,state,pulse,stop";
27345                source: "elm";
27346                action: STATE_SET "default" 0.0;
27347                target: "background";
27348            }
27349        }
27350    }
27351
27352
27353 ///////////////////////////////////////////////////////////////////////////////
27354    group { name: "elm/spinner/base/default";
27355        images {
27356            image: "shelf_inset.png" COMP;
27357            image: "bt_base1.png" COMP;
27358            image: "bt_hilight.png" COMP;
27359            image: "bt_shine.png" COMP;
27360            image: "bt_glow.png" COMP;
27361            image: "bt_dis_base.png" COMP;
27362            image: "bt_dis_hilight.png" COMP;
27363            image: "sp_bt_l.png" COMP;
27364            image: "sp_bt_r.png" COMP;
27365        }
27366        parts {
27367            part { name: "bg";
27368                type: RECT;
27369                description { state: "default" 0.0;
27370                    min: 0 30;
27371                    rel1.offset: 1 1;
27372                    rel2.offset: -2 -2;
27373                    color: 255 255 255 0;
27374                }
27375            }
27376            part { name: "conf_over";
27377                mouse_events:  0;
27378                description { state: "default" 0.0;
27379                    rel1.to: "bg";
27380                    rel2.to: "bg";
27381                    image {
27382                        normal: "shelf_inset.png";
27383                        border: 7 7 7 7;
27384                        middle: 0;
27385                    }
27386                    fill.smooth : 0;
27387                }
27388            }
27389            part { name: "left_bt";
27390                mouse_events:  1;
27391                description { state: "default" 0.0;
27392                    rel1 { to: "bg";
27393                        offset: 3 3;
27394                    }
27395                    rel2 { to: "bg";
27396                        offset: -4 -4;
27397                    }
27398                    align: 0.0 0.5;
27399                    min: 24 24;
27400                    aspect: 1.0 1.0;
27401                    aspect_preference: VERTICAL;
27402                    image {
27403                        normal: "bt_base1.png";
27404                        border: 6 6 6 6;
27405                    }
27406                    fill.smooth : 0;
27407                }
27408                description { state: "clicked" 0.0;
27409                    inherit: "default" 0.0;
27410                    image.normal: "bt_base1.png";
27411                    image.middle: SOLID;
27412                }
27413                description { state: "disabled" 0.0;
27414                    inherit:  "default" 0.0;
27415                    image {
27416                        normal: "bt_dis_base.png";
27417                        border: 4 4 4 4;
27418                    }
27419                }
27420            }
27421            part {          name: "left_over1";
27422                mouse_events: 0;
27423                description { state: "default" 0.0;
27424                    rel1.to: "left_bt";
27425                    rel2 { to: "left_bt";
27426                        relative: 1.0 0.5;
27427                    }
27428                    image {
27429                        normal: "bt_hilight.png";
27430                        border: 7 7 7 0;
27431                    }
27432                }
27433                description { state: "disabled" 0.0;
27434                    inherit:  "default" 0.0;
27435                    image {
27436                        normal: "bt_dis_hilight.png";
27437                        border: 4 4 4 0;
27438                    }
27439                }
27440            }
27441            part { name: "left_over2";
27442                mouse_events: 1;
27443                repeat_events: 1;
27444                ignore_flags: ON_HOLD;
27445                description { state: "default" 0.0;
27446                    rel1.to: "left_bt";
27447                    rel2.to: "left_bt";
27448                    image {
27449                        normal: "bt_shine.png";
27450                        border: 7 7 7 7;
27451                    }
27452                }
27453                description { state: "disabled" 0.0;
27454                    inherit:  "default" 0.0;
27455                    visible: 0;
27456                }
27457            }
27458            part { name: "left_over3";
27459                mouse_events: 1;
27460                repeat_events: 1;
27461                description { state: "default" 0.0;
27462                    color: 255 255 255 0;
27463                    rel1.to: "left_bt";
27464                    rel2.to: "left_bt";
27465                    image {
27466                        normal: "bt_glow.png";
27467                        border: 12 12 12 12;
27468                    }
27469                    fill.smooth : 0;
27470                }
27471                description { state: "clicked" 0.0;
27472                    inherit:  "default" 0.0;
27473                    visible: 1;
27474                    color: 255 255 255 255;
27475                }
27476            }
27477            part { name: "right_bt";
27478                mouse_events:  1;
27479                description { state: "default" 0.0;
27480                    rel1 { to: "bg";
27481                        offset: -26 3;
27482                    }
27483                    rel2 { to: "bg";
27484                        offset: -4 -4;
27485                    }
27486                    align: 1.0 0.5;
27487                    min: 24 24;
27488                    aspect: 1.0 1.0;
27489                    aspect_preference: VERTICAL;
27490                    image {
27491                        normal: "bt_base1.png";
27492                        border: 5 5 4 12;
27493                    }
27494                    fill.smooth : 0;
27495                }
27496                description { state: "clicked" 0.0;
27497                    inherit: "default" 0.0;
27498                    image.normal: "bt_base1.png";
27499                    image.middle: SOLID;
27500                }
27501                description { state: "disabled" 0.0;
27502                    inherit:  "default" 0.0;
27503                    image {
27504                        normal: "bt_dis_base.png";
27505                        border: 4 4 4 4;
27506                    }
27507                }
27508            }
27509            part { name: "right_over1";
27510                mouse_events: 0;
27511                description { state: "default" 0.0;
27512                    rel1.to: "right_bt";
27513                    rel2 { to: "right_bt";
27514                        relative: 1.0 0.5;
27515                    }
27516                    image {
27517                        normal: "bt_hilight.png";
27518                        border: 7 7 7 0;
27519                    }
27520                }
27521                description { state: "disabled" 0.0;
27522                    inherit:  "default" 0.0;
27523                    image {
27524                        normal: "bt_dis_hilight.png";
27525                        border: 4 4 4 0;
27526                    }
27527                }
27528            }
27529            part { name: "right_over2";
27530                mouse_events: 1;
27531                repeat_events: 1;
27532                ignore_flags: ON_HOLD;
27533                description { state: "default" 0.0;
27534                    rel1.to: "right_bt";
27535                    rel2.to: "right_bt";
27536                    image {
27537                        normal: "bt_shine.png";
27538                        border: 7 7 7 7;
27539                    }
27540                }
27541                description { state: "disabled" 0.0;
27542                    inherit:  "default" 0.0;
27543                    visible: 0;
27544                }
27545            }
27546            part { name: "right_over3";
27547                mouse_events: 1;
27548                repeat_events: 1;
27549                description { state: "default" 0.0;
27550                    color: 255 255 255 0;
27551                    rel1.to: "right_bt";
27552                    rel2.to: "right_bt";
27553                    image {
27554                        normal: "bt_glow.png";
27555                        border: 12 12 12 12;
27556                    }
27557                    fill.smooth : 0;
27558                }
27559                description { state: "clicked" 0.0;
27560                    inherit:  "default" 0.0;
27561                    visible: 1;
27562                    color: 255 255 255 255;
27563                }
27564            }
27565            part { name: "left_bt_icon";
27566                repeat_events: 1;
27567                description { state: "default" 0.0;
27568                    rel1.to: "left_bt";
27569                    rel1.offset: 4 4;
27570                    rel2.to: "left_bt";
27571                    rel2.offset: -5 -5;
27572                    align: 0.5 0.5;
27573                    min: 16 16;
27574                    aspect: 1.0 1.0;
27575                    aspect_preference: BOTH;
27576                    image.normal: "sp_bt_l.png";
27577                }
27578                description { state: "rtl" 0.0;
27579                    inherit: "default" 0.0;
27580                    image.normal: "sp_bt_r.png";
27581                }
27582            }
27583            part { name: "right_bt_icon";
27584                repeat_events: 1;
27585                description { state: "default" 0.0;
27586                    rel1.to: "right_bt";
27587                    rel1.offset: 4 4;
27588                    rel2.to: "right_bt";
27589                    rel2.offset: -5 -5;
27590                    align: 0.5 0.5;
27591                    min: 16 16;
27592                    aspect: 1.0 1.0;
27593                    aspect_preference: BOTH;
27594                    image.normal: "sp_bt_r.png";
27595                }
27596                description { state: "rtl" 0.0;
27597                    inherit: "default" 0.0;
27598                    image.normal: "sp_bt_l.png";
27599                }
27600            }
27601            part { name: "elm.text";
27602                type: TEXT;
27603                mouse_events: 0;
27604                scale: 1;
27605                description { state: "default" 0.0;
27606                    visible: 1;
27607                    align: 0.0 0.5;
27608                    rel1 { relative: 1.0 0.0;
27609                        offset: 3 2;
27610                        to_x: "left_bt";
27611                        to_y: "bg";
27612                    }
27613                    rel2 { relative: 0.0 1.0;
27614                        offset: -3 -2;
27615                        to_x: "right_bt";
27616                        to_y: "bg";
27617                    }
27618                    color: 0 0 0 255;
27619                    text {
27620                        font: "Sans,Edje-Vera";
27621                        size: 10;
27622                        min: 1 1;
27623                        align: 0.5 0.5;
27624                    }
27625                }
27626                description { state: "active" 0.0;
27627                    inherit: "default" 0.0;
27628                    visible: 0;
27629                }
27630                description { state: "disabled_active" 0.0;
27631                    inherit: "default" 0.0;
27632                    color: 0 0 0 128;
27633                    color3: 0 0 0 0;
27634                }
27635                description { state: "disabled" 0.0;
27636                    inherit: "default" 0.0;
27637                    color: 0 0 0 128;
27638                    color3: 0 0 0 0;
27639                }
27640            }
27641            part { name: "elm.dragable.slider";
27642                type: RECT;
27643                mouse_events: 0;
27644                scale: 1;
27645                dragable {
27646                    x: 1 1 0;
27647                    y: 0 0 0;
27648                }
27649                description { state: "default" 0.0;
27650                    rel1.to: "bg";
27651                    rel2.to: "bg";
27652                    fixed: 1 1;
27653                    color: 0 0 0 0;
27654                }
27655            }
27656            part { name: "button_events";
27657                type: RECT;
27658                dragable {
27659                    events: "elm.dragable.slider";
27660                }
27661                mouse_events: 1;
27662                description { state: "default" 0.0;
27663                    rel1.to: "elm.text";
27664                    rel2.to: "elm.text";
27665                    color: 0 0 0 0;
27666                }
27667            }
27668            part { name: "elm.swallow.entry";
27669                type: SWALLOW;
27670                description { state: "default" 0.0;
27671                    visible: 0;
27672                    align: 0.5 0.5;
27673                    rel1 { relative: 1.0 0.5;
27674                        offset: 3 2;
27675                        to_x: "left_bt";
27676                        to_y: "bg";
27677                    }
27678                    rel2 { relative: 0.0 0.5;
27679                        offset: -3 -2;
27680                        to_x: "right_bt";
27681                        to_y: "bg";
27682                    }
27683                    fixed: 1 1;
27684                    color: 0 0 0 0;
27685                }
27686                description { state: "active" 0.0;
27687                    inherit: "default" 0.0;
27688                    visible: 1;
27689                    color: 255 255 255 255;
27690                }
27691                description { state: "disabled_active" 0.0;
27692                    inherit: "default" 0.0;
27693                    visible: 0;
27694                }
27695                description { state: "disabled" 0.0;
27696                    inherit: "default" 0.0;
27697                    visible: 0;
27698                }
27699            }
27700            part { name: "disabler";
27701                type: RECT;
27702                description { state: "default" 0.0;
27703                    color: 0 0 0 0;
27704                    visible: 0;
27705                }
27706                description { state: "disabled" 0.0;
27707                    inherit: "default" 0.0;
27708                    visible: 1;
27709                }
27710            }
27711        }
27712        programs {
27713            program { name: "text_show";
27714                signal: "elm,state,text,visible";
27715                source: "elm";
27716                action:  STATE_SET "visible" 0.0;
27717                target: "elm.text";
27718            }
27719            program { name: "text_hide";
27720                signal: "elm,state,text,hidden";
27721                source: "elm";
27722                action:  STATE_SET "default" 0.0;
27723                target: "elm.text";
27724            }
27725            program { name: "dec";
27726                signal: "mouse,down,1";
27727                source: "left_bt";
27728                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27729            }
27730            program { name: "dec2";
27731                signal: "mouse,up,1";
27732                source: "left_bt";
27733                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27734            }
27735            program { name: "inc";
27736                signal: "mouse,down,1";
27737                source: "right_bt";
27738                action: SIGNAL_EMIT "elm,action,increment,start" "";
27739            }
27740            program { name: "inc2";
27741                signal: "mouse,up,1";
27742                source: "right_bt";
27743                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27744            }
27745            program {
27746                name:   "left_bt_click";
27747                signal: "mouse,down,1";
27748                source: "left_over2";
27749                action: STATE_SET "clicked" 0.0;
27750                target: "left_bt";
27751            }
27752            program {
27753                name:   "left_bt_unclick";
27754                signal: "mouse,up,1";
27755                source: "left_over2";
27756                action: STATE_SET "default" 0.0;
27757                target: "left_bt";
27758            }
27759            program {
27760                name:   "left_bt_click2";
27761                signal: "mouse,down,1";
27762                source: "left_over3";
27763                action: STATE_SET "clicked" 0.0;
27764                target: "left_over3";
27765            }
27766            program {
27767                name:   "left_bt_unclick2";
27768                signal: "mouse,up,1";
27769                source: "left_over3";
27770                action: STATE_SET "default" 0.0;
27771                transition: DECELERATE 0.5;
27772                target: "left_over3";
27773            }
27774            program {
27775                name:   "left_bt_unclick3";
27776                signal: "mouse,up,1";
27777                source: "left_over2";
27778                action: SIGNAL_EMIT "elm,action,click" "";
27779            }
27780            program {
27781                name:   "left_bt_pressed_anim";
27782                signal: "elm,left,anim,activate";
27783                source: "elm";
27784                action: STATE_SET "clicked" 0.0;
27785                target: "left_bt";
27786                target: "left_over3";
27787                after: "left_bt_unpressed_anim";
27788            }
27789            program {
27790                name:   "left_bt_unpressed_anim";
27791                action: STATE_SET "default" 0.0;
27792                transition: DECELERATE 0.5;
27793                target: "left_bt";
27794                target: "left_over3";
27795            }
27796
27797            program {
27798                name:   "right_bt_click";
27799                signal: "mouse,down,1";
27800                source: "right_over2";
27801                action: STATE_SET "clicked" 0.0;
27802                target: "right_bt";
27803            }
27804            program {
27805                name:   "right_bt_unclick";
27806                signal: "mouse,up,1";
27807                source: "right_over2";
27808                action: STATE_SET "default" 0.0;
27809                target: "right_bt";
27810            }
27811            program {
27812                name:   "right_bt_click2";
27813                signal: "mouse,down,1";
27814                source: "right_over3";
27815                action: STATE_SET "clicked" 0.0;
27816                target: "right_over3";
27817            }
27818            program {
27819                name:   "right_bt_unclick2";
27820                signal: "mouse,up,1";
27821                source: "right_over3";
27822                action: STATE_SET "default" 0.0;
27823                transition: DECELERATE 0.5;
27824                target: "right_over3";
27825            }
27826            program {
27827                name:   "right_bt_unclick3";
27828                signal: "mouse,up,1";
27829                source: "right_over2";
27830                action: SIGNAL_EMIT "elm,action,click" "";
27831            }
27832            program {
27833                name:   "right_bt_pressed_anim";
27834                signal: "elm,right,anim,activate";
27835                source: "elm";
27836                action: STATE_SET "clicked" 0.0;
27837                target: "right_bt";
27838                target: "right_over3";
27839                after: "right_bt_unpressed_anim";
27840            }
27841            program {
27842                name:   "right_bt_unpressed_anim";
27843                action: STATE_SET "default" 0.0;
27844                transition: DECELERATE 0.5;
27845                target: "right_bt";
27846                target: "right_over3";
27847            }
27848
27849            program { name: "disable";
27850                signal: "elm,state,disabled";
27851                source: "elm";
27852                action: STATE_SET "disabled" 0.0;
27853                target: "left_bt";
27854                target: "left_over1";
27855                target: "left_over2";
27856                target: "right_bt";
27857                target: "right_over1";
27858                target: "right_over2";
27859                target: "disabler";
27860                after: "disable_text";
27861            }
27862            program { name: "disable_text";
27863                script {
27864                    new st[31];
27865                    new Float:vl;
27866                    get_state(PART:"elm.text", st, 30, vl);
27867                    if (!strcmp(st, "active"))
27868                    set_state(PART:"elm.text", "disabled_active", 0.0);
27869                    else
27870                    set_state(PART:"elm.text", "disabled", 0.0);
27871
27872                    get_state(PART:"elm.swallow.entry", st, 30, vl);
27873                    if (!strcmp(st, "active"))
27874                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
27875                    else
27876                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
27877                }
27878            }
27879            program { name: "enable";
27880                signal: "elm,state,enabled";
27881                source: "elm";
27882                action: STATE_SET "default" 0.0;
27883                target: "left_bt";
27884                target: "left_over1";
27885                target: "left_over2";
27886                target: "right_bt";
27887                target: "right_over1";
27888                target: "right_over2";
27889                target: "disabler";
27890                after: "enable_text";
27891            }
27892            program { name: "enable_text";
27893                script {
27894                    new st[31];
27895                    new Float:vl;
27896                    get_state(PART:"elm.text", st, 30, vl);
27897                    if (!strcmp(st, "disabled_active"))
27898                    set_state(PART:"elm.text", "active", 0.0);
27899                    else
27900                    set_state(PART:"elm.text", "default", 0.0);
27901
27902                    get_state(PART:"elm.swallow.entry", st, 30, vl);
27903                    if (!strcmp(st, "disabled_active"))
27904                    set_state(PART:"elm.swallow.entry", "active", 0.0);
27905                    else
27906                    set_state(PART:"elm.swallow.entry", "default", 0.0);
27907                }
27908            }
27909            program { name: "active";
27910                signal: "elm,state,active";
27911                source: "elm";
27912                action: STATE_SET "active" 0.0;
27913                target: "elm.text";
27914                target: "elm.swallow.entry";
27915            }
27916            program { name: "inactive";
27917                signal: "elm,state,inactive";
27918                source: "elm";
27919                action: STATE_SET "default" 0.0;
27920                target: "elm.text";
27921                target: "elm.swallow.entry";
27922            }
27923            program { name: "toggle_text";
27924                signal: "mouse,up,1";
27925                source: "button_events";
27926                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
27927            }
27928            program { name: "to_rtl";
27929                signal: "edje,state,rtl";
27930                source: "edje";
27931                action: STATE_SET "rtl" 0.0;
27932                target: "right_bt_icon";
27933                target: "left_bt_icon";
27934            }
27935            program { name: "to_ltr";
27936                signal: "edje,state,ltr";
27937                source: "edje";
27938                action: STATE_SET "default" 0.0;
27939                target: "right_bt_icon";
27940                target: "left_bt_icon";
27941            }
27942        }
27943    }
27944
27945 ///////////////////////////////////////////////////////////////////////////////
27946    group { name: "elm/spinner/base/vertical";
27947        images {
27948            image: "shelf_inset.png" COMP;
27949            image: "bt_hilight.png" COMP;
27950            image: "bt_shine.png" COMP;
27951            image: "bt_glow.png" COMP;
27952            image: "bt_dis_base.png" COMP;
27953            image: "bt_dis_hilight.png" COMP;
27954            image: "up.png" COMP;
27955            image: "down.png" COMP;
27956            image: "bt_spinner_up.png" COMP;
27957            image: "bt_spinner_down.png" COMP;
27958            image: "bt_spinner_hilight.png" COMP;
27959        }
27960        parts {
27961            part { name: "bg";
27962                type: RECT;
27963                description { state: "default" 0.0;
27964                    min: 0 30;
27965                    rel1.offset: 1 1;
27966                    rel2.offset: -2 -2;
27967                    color: 255 255 255 0;
27968                }
27969            }
27970            part { name: "conf_over";
27971                mouse_events:  0;
27972                description { state: "default" 0.0;
27973                    rel1 {
27974                      to: "bg";
27975                      relative: 0.0 0.0;
27976                    }
27977                    rel2 {
27978                       to: "bg";
27979                    }
27980                    image {
27981                        normal: "shelf_inset.png";
27982                        border: 7 7 7 7;
27983                        middle: 0;
27984                    }
27985                    fill.smooth : 0;
27986                }
27987            }
27988            part { name: "down_bt";
27989                mouse_events:  1;
27990                description { state: "default" 0.0;
27991                    fixed: 1 1;
27992                    rel1 {
27993                        to: "up_bt";
27994                        relative: 0 1;
27995                        offset: 0 1;
27996                    }
27997                    rel2 {
27998                        to_y: "bg";
27999                        to_x: "up_bt";
28000                        relative: 1 1;
28001                        offset: -1 -4;
28002                    }
28003                    align: 1.0 0.5;
28004                    min: 24 16;
28005                    image {
28006                        normal: "bt_spinner_down.png";
28007                        border: 6 6 6 6;
28008                    }
28009                    fill.smooth : 0;
28010                }
28011                description { state: "clicked" 0.0;
28012                    inherit: "default" 0.0;
28013                    image.normal: "bt_spinner_down.png";
28014                    image.middle: SOLID;
28015                }
28016                description { state: "disabled" 0.0;
28017                    inherit:  "default" 0.0;
28018                    image {
28019                        normal: "bt_dis_base.png";
28020                        border: 4 4 4 4;
28021                    }
28022                }
28023            }
28024            part { name: "down_over3";
28025                mouse_events: 1;
28026                repeat_events: 1;
28027                description { state: "default" 0.0;
28028                    color: 255 255 255 0;
28029                    rel1.to: "down_bt";
28030                    rel2.to: "down_bt";
28031                    image {
28032                        normal: "bt_glow.png";
28033                        border: 12 12 12 12;
28034                    }
28035                    fill.smooth : 0;
28036                }
28037                description { state: "clicked" 0.0;
28038                    inherit:  "default" 0.0;
28039                    visible: 1;
28040                    color: 255 255 255 255;
28041                }
28042            }
28043            part { name: "up_bt";
28044                mouse_events:  1;
28045                description { state: "default" 0.0;
28046                    fixed: 1 0;
28047                    rel1 { to: "bg";
28048                        relative: 0 0;
28049                        offset: 0 2;
28050                    }
28051                    rel2 { to: "bg";
28052                        relative: 1 0.5;
28053                        offset: -3 0;
28054                    }
28055                    align: 1.0 0.5;
28056                    min: 24 16;
28057                    aspect: 1.5 1.0;
28058                    aspect_preference: BOTH;
28059                    image {
28060                        normal: "bt_spinner_up.png";
28061                        border: 6 6 6 6;
28062                    }
28063                    fill.smooth : 0;
28064                }
28065                description { state: "clicked" 0.0;
28066                    inherit: "default" 0.0;
28067                    image.normal: "bt_spinner_up.png";
28068                    image.middle: SOLID;
28069                }
28070                description { state: "disabled" 0.0;
28071                    inherit:  "default" 0.0;
28072                    image {
28073                        normal: "bt_dis_base.png";
28074                        border: 4 4 4 4;
28075                    }
28076                }
28077            }
28078            part { name: "up_over1";
28079                mouse_events: 0;
28080                description { state: "default" 0.0;
28081                    rel1.to: "up_bt";
28082                    rel2 { to: "up_bt";
28083                        relative: 1.0 0.5;
28084                    }
28085                    image {
28086                        normal: "bt_spinner_hilight.png";
28087                        border: 7 7 7 0;
28088                    }
28089                }
28090                description { state: "disabled" 0.0;
28091                    inherit:  "default" 0.0;
28092                    image {
28093                        normal: "bt_dis_hilight.png";
28094                        border: 4 4 4 0;
28095                    }
28096                }
28097            }
28098            part { name: "up_over3";
28099                mouse_events: 1;
28100                repeat_events: 1;
28101                description { state: "default" 0.0;
28102                    color: 255 255 255 0;
28103                    rel1.to: "up_bt";
28104                    rel2.to: "up_bt";
28105                    image {
28106                        normal: "bt_glow.png";
28107                        border: 12 12 12 12;
28108                    }
28109                    fill.smooth : 0;
28110                }
28111                description { state: "clicked" 0.0;
28112                    inherit:  "default" 0.0;
28113                    visible: 1;
28114                    color: 255 255 255 255;
28115                }
28116            }
28117            part { name: "down_bt_icon";
28118                repeat_events: 1;
28119                description { state: "default" 0.0;
28120                    rel1.to: "down_bt";
28121                    rel1.offset: 5 3;
28122                    rel2.to: "down_bt";
28123                    rel2.offset: -6 -3;
28124                    align: 0.5 0.5;
28125                    image.normal: "down.png";
28126                }
28127            }
28128            part { name: "up_bt_icon";
28129                repeat_events: 1;
28130                description { state: "default" 0.0;
28131                    rel1.to: "up_bt";
28132                    rel1.offset: 5 3;
28133                    rel2.to: "up_bt";
28134                    rel2.offset: -6 -3;
28135                    align: 0.5 0.5;
28136                    image.normal: "up.png";
28137                }
28138            }
28139            part { name: "elm.text";
28140                type: TEXT;
28141                mouse_events: 0;
28142                scale: 1;
28143                description { state: "default" 0.0;
28144                    visible: 1;
28145                    align: 0.0 0.5;
28146                    rel1 { relative: 0.0 0.0;
28147                        offset: 3 2;
28148                        to_x: "bg";
28149                        to_y: "bg";
28150                    }
28151                    rel2 { relative: 0.0 1.0;
28152                        offset: -3 -2;
28153                        to_x: "down_bt";
28154                        to_y: "bg";
28155                    }
28156                    color: 0 0 0 255;
28157                    text {
28158                        font: "Sans,Edje-Vera";
28159                        size: 10;
28160                        min: 1 1;
28161                        align: 0.5 0.5;
28162                    }
28163                }
28164                description { state: "active" 0.0;
28165                    inherit: "default" 0.0;
28166                    visible: 0;
28167                }
28168                description { state: "disabled_active" 0.0;
28169                    inherit: "default" 0.0;
28170                    color: 0 0 0 128;
28171                    color3: 0 0 0 0;
28172                }
28173                description { state: "disabled" 0.0;
28174                    inherit: "default" 0.0;
28175                    color: 0 0 0 128;
28176                    color3: 0 0 0 0;
28177                }
28178            }
28179            part { name: "elm.dragable.slider";
28180                type: RECT;
28181                mouse_events: 0;
28182                scale: 1;
28183                dragable {
28184                    x: 1 1 0;
28185                    y: 0 0 0;
28186                }
28187                description { state: "default" 0.0;
28188                    rel1.to: "bg";
28189                    rel2.to: "bg";
28190                    fixed: 1 1;
28191                    color: 0 0 0 0;
28192                }
28193            }
28194            part { name: "button_events";
28195                type: RECT;
28196                dragable {
28197                    events: "elm.dragable.slider";
28198                }
28199                mouse_events: 1;
28200                description { state: "default" 0.0;
28201                    rel1.to: "elm.text";
28202                    rel2.to: "elm.text";
28203                    color: 0 0 0 0;
28204                }
28205            }
28206            part { name: "elm.swallow.entry";
28207                type: SWALLOW;
28208                description { state: "default" 0.0;
28209                    visible: 0;
28210                    align: 0.5 0.5;
28211                    rel1 { relative: 0.0 0.5;
28212                        offset: 3 2;
28213                        to: "bg";
28214                    }
28215                    rel2 { relative: 1.0 0.5;
28216                        offset: -3 -2;
28217                        to: "bg";
28218                    }
28219                    fixed: 1 1;
28220                    color: 0 0 0 0;
28221                }
28222                description { state: "active" 0.0;
28223                    inherit: "default" 0.0;
28224                    visible: 1;
28225                    color: 255 255 255 255;
28226                }
28227                description { state: "disabled_active" 0.0;
28228                    inherit: "default" 0.0;
28229                    visible: 0;
28230                }
28231                description { state: "disabled" 0.0;
28232                    inherit: "default" 0.0;
28233                    visible: 0;
28234                }
28235            }
28236            part { name: "disabler";
28237                type: RECT;
28238                description { state: "default" 0.0;
28239                    color: 0 0 0 0;
28240                    visible: 0;
28241                }
28242                description { state: "disabled" 0.0;
28243                    inherit: "default" 0.0;
28244                    visible: 1;
28245                }
28246            }
28247        }
28248        programs {
28249            program { name: "text_show";
28250                signal: "elm,state,text,visible";
28251                source: "elm";
28252                action:  STATE_SET "visible" 0.0;
28253                target: "elm.text";
28254            }
28255            program { name: "text_hide";
28256                signal: "elm,state,text,hidden";
28257                source: "elm";
28258                action:  STATE_SET "default" 0.0;
28259                target: "elm.text";
28260            }
28261            program { name: "dec";
28262                signal: "mouse,down,1";
28263                source: "down_bt";
28264                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28265            }
28266            program { name: "dec2";
28267                signal: "mouse,up,1";
28268                source: "down_bt";
28269                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28270            }
28271            program { name: "inc";
28272                signal: "mouse,down,1";
28273                source: "up_bt";
28274                action: SIGNAL_EMIT "elm,action,increment,start" "";
28275            }
28276            program { name: "inc2";
28277                signal: "mouse,up,1";
28278                source: "up_bt";
28279                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28280            }
28281            program {
28282                name:   "down_bt_click2";
28283                signal: "mouse,down,1";
28284                source: "down_over3";
28285                action: STATE_SET "clicked" 0.0;
28286                target: "down_over3";
28287            }
28288            program {
28289                name:   "down_bt_unclick2";
28290                signal: "mouse,up,1";
28291                source: "down_over3";
28292                action: STATE_SET "default" 0.0;
28293                transition: DECELERATE 0.5;
28294                target: "down_over3";
28295            }
28296            program {
28297                name:   "up_bt_click2";
28298                signal: "mouse,down,1";
28299                source: "up_over3";
28300                action: STATE_SET "clicked" 0.0;
28301                target: "up_over3";
28302            }
28303            program {
28304                name:   "up_bt_unclick2";
28305                signal: "mouse,up,1";
28306                source: "up_over3";
28307                action: STATE_SET "default" 0.0;
28308                transition: DECELERATE 0.5;
28309                target: "up_over3";
28310            }
28311            program { name: "disable";
28312                signal: "elm,state,disabled";
28313                source: "elm";
28314                action: STATE_SET "disabled" 0.0;
28315                target: "down_bt";
28316                target: "up_bt";
28317                target: "disabler";
28318                after: "disable_text";
28319            }
28320            program { name: "disable_text";
28321                script {
28322                    new st[31];
28323                    new Float:vl;
28324                    get_state(PART:"elm.text", st, 30, vl);
28325                    if (!strcmp(st, "active"))
28326                    set_state(PART:"elm.text", "disabled_active", 0.0);
28327                    else
28328                    set_state(PART:"elm.text", "disabled", 0.0);
28329
28330                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28331                    if (!strcmp(st, "active"))
28332                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28333                    else
28334                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28335                }
28336            }
28337            program { name: "enable";
28338                signal: "elm,state,enabled";
28339                source: "elm";
28340                action: STATE_SET "default" 0.0;
28341                target: "down_bt";
28342                target: "up_bt";
28343                target: "disabler";
28344                after: "enable_text";
28345            }
28346            program { name: "enable_text";
28347                script {
28348                    new st[31];
28349                    new Float:vl;
28350                    get_state(PART:"elm.text", st, 30, vl);
28351                    if (!strcmp(st, "disabled_active"))
28352                    set_state(PART:"elm.text", "active", 0.0);
28353                    else
28354                    set_state(PART:"elm.text", "default", 0.0);
28355
28356                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28357                    if (!strcmp(st, "disabled_active"))
28358                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28359                    else
28360                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28361                }
28362            }
28363            program { name: "active";
28364                signal: "elm,state,active";
28365                source: "elm";
28366                action: STATE_SET "active" 0.0;
28367                target: "elm.text";
28368                target: "elm.swallow.entry";
28369            }
28370            program { name: "inactive";
28371                signal: "elm,state,inactive";
28372                source: "elm";
28373                action: STATE_SET "default" 0.0;
28374                target: "elm.text";
28375                target: "elm.swallow.entry";
28376            }
28377            program { name: "toggle_text";
28378                signal: "mouse,up,1";
28379                source: "button_events";
28380                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28381            }
28382        }
28383    }
28384
28385
28386    ///////////////////////////////////////////////////////////////////////////////
28387    group { name: "elm/index/base/vertical/default";
28388        images {
28389            image: "bt_base1.png" COMP;
28390            image: "bt_base2.png" COMP;
28391            image: "bt_hilight.png" COMP;
28392            image: "bt_shine.png" COMP;
28393        }
28394        parts {
28395            part { name: "clip";
28396                type: RECT;
28397                mouse_events:  0;
28398                description { state: "default" 0.0;
28399                    visible:  0;
28400                    color: 255 255 255 0;
28401                }
28402                description { state: "active" 0.0;
28403                    visible:  1;
28404                    color: 255 255 255 255;
28405                }
28406            }
28407            part { name: "clip2";
28408                type: RECT;
28409                mouse_events:  0;
28410                clip_to: "clip";
28411                description { state: "default" 0.0;
28412                    visible: 0;
28413                    color: 255 255 255 0;
28414                }
28415                description { state: "active" 0.0;
28416                    visible:  1;
28417                    color: 255 255 255 255;
28418                }
28419            }
28420            part { name: "elm.swallow.index.0";
28421                type: SWALLOW;
28422                clip_to: "clip";
28423                description { state: "default" 0.0;
28424                    align: 1.0 0.5;
28425                    fixed: 1 1;
28426                    rel1 {
28427                        relative: 1.0 0.5;
28428                        offset: -1 5;
28429                    }
28430                    rel2 {
28431                        relative: 1.0 0.5;
28432                        offset: -1 -6;
28433                    }
28434                }
28435            }
28436            part { name: "button_image";
28437                mouse_events: 1;
28438                clip_to: "clip";
28439                description { state: "default" 0.0;
28440                    rel1 {
28441                        to: "elm.text.body";
28442                        offset: -5 -5;
28443                    }
28444                    rel2 {
28445                        to: "elm.text";
28446                        offset: 4 4;
28447                    }
28448                    image {
28449                        normal: "bt_base2.png";
28450                        border: 7 7 7 7;
28451                    }
28452                    image.middle: SOLID;
28453                }
28454            }
28455            part { name: "elm.text.body";
28456                type: TEXT;
28457                effect: SOFT_SHADOW;
28458                mouse_events: 0;
28459                scale: 1;
28460                clip_to: "clip";
28461                description { state: "default" 0.0;
28462                    align: 1.0 0.5;
28463                    fixed: 1 1;
28464                    rel1 {
28465                        to: "elm.text";
28466                        relative: 0.0 0.0;
28467                        offset: 5 0;
28468                    }
28469                    rel2 {
28470                        to: "elm.text";
28471                        relative: 0.0 1.0;
28472                        offset: 5 -1;
28473                    }
28474                    color: 224 224 224 255;
28475                    color3: 0 0 0 64;
28476                    text {
28477                        font:     "Sans,Edje-Vera";
28478                        size:     20;
28479                        min:      1 1;
28480                        align:    1.0 0.5;
28481                    }
28482                }
28483            }
28484            part { name: "elm.text";
28485                type: TEXT;
28486                effect: SOFT_SHADOW;
28487                mouse_events: 0;
28488                scale: 1;
28489                clip_to: "clip";
28490                description { state: "default" 0.0;
28491                    align: 1.0 0.5;
28492                    fixed: 1 1;
28493                    rel1 {
28494                        to_x: "elm.swallow.event.0";
28495                        to_y: "elm.dragable.pointer";
28496                        relative: 0.0 0.5;
28497                        offset: -16 0;
28498                    }
28499                    rel2 {
28500                        to_x: "elm.swallow.event.0";
28501                        to_y: "elm.dragable.pointer";
28502                        relative: 0.0 0.5;
28503                        offset: -16 -1;
28504                    }
28505                    color: 255 0 0 255;
28506                    color3: 0 0 0 64;
28507                    text {
28508                        font:     "Sans,Edje-Vera";
28509                        size:     20;
28510                        min:      1 1;
28511                        align:    1.0 0.5;
28512                    }
28513                }
28514            }
28515            part {        name: "over1";
28516                mouse_events: 0;
28517                clip_to: "clip";
28518                description { state: "default" 0.0;
28519                    rel1 {
28520                        to: "button_image";
28521                    }
28522                    rel2 {
28523                        to: "button_image";
28524                        relative: 1.0 0.5;
28525                    }
28526                    image {
28527                        normal: "bt_hilight.png";
28528                        border: 7 7 7 0;
28529                    }
28530                }
28531            }
28532            part { name: "over2";
28533                mouse_events: 1;
28534                repeat_events: 1;
28535                ignore_flags: ON_HOLD;
28536                clip_to: "clip";
28537                description { state: "default" 0.0;
28538                    rel1 {
28539                        to: "button_image";
28540                    }
28541                    rel2 {
28542                        to: "button_image";
28543                    }
28544                    image {
28545                        normal: "bt_shine.png";
28546                        border: 7 7 7 7;
28547                    }
28548                }
28549            }
28550            part { name: "elm.dragable.pointer";
28551                type: RECT;
28552                mouse_events: 0;
28553                dragable {
28554                    x: 1 1 0;
28555                    y: 1 1 0;
28556                }
28557                clip_to: "clip";
28558                description { state: "default" 0.0;
28559                    fixed: 1 1;
28560                    min: 8 8;
28561                    max: 8 8;
28562                    visible: 0;
28563                    rel1 {
28564                        relative: 0.0 0.0;
28565                        offset:   0 0;
28566                    }
28567                    rel2 {
28568                        relative: 0.0 0.0;
28569                        offset:   0 0;
28570                    }
28571                }
28572            }
28573            part { name: "elm.swallow.event.0";
28574                type: SWALLOW;
28575                description { state: "default" 0.0;
28576                    align: 1.0 0.5;
28577                    fixed: 1 1;
28578                    rel1 {
28579                        relative: 1.0 0.0;
28580                        offset: -1 0;
28581                    }
28582                    rel2 {
28583                        relative: 1.0 1.0;
28584                        offset: -1 -1;
28585                    }
28586                }
28587            }
28588        }
28589        programs {
28590            program { name: "active";
28591                signal: "elm,state,active";
28592                source: "elm";
28593                action: STATE_SET "active" 0.0;
28594                transition: DECELERATE 0.5;
28595                target: "clip";
28596            }
28597            program { name: "inactive";
28598                signal: "elm,state,inactive";
28599                source: "elm";
28600                action: STATE_SET "default" 0.0;
28601                transition: DECELERATE 0.5;
28602                target: "clip";
28603            }
28604        }
28605    }
28606
28607    group { name: "elm/index/item/vertical/default";
28608        data.item: "stacking" "above";
28609        data.item: "selectraise" "on";
28610        images {
28611            image: "ilist_1.png" COMP;
28612            image: "ilist_item_shadow.png" COMP;
28613        }
28614        parts {
28615            part {
28616                name: "base_sh";
28617                mouse_events: 0;
28618                description {
28619                    state: "default" 0.0;
28620                    align: 0.0 0.0;
28621                    min: 0 10;
28622                    fixed: 1 1;
28623                    rel1 {
28624                        to: "base";
28625                        relative: 0.0 1.0;
28626                        offset: 0 0;
28627                    }
28628                    rel2 {
28629                        to: "base";
28630                        relative: 1.0 1.0;
28631                        offset: -1 0;
28632                    }
28633                    image {
28634                        normal: "ilist_item_shadow.png";
28635                    }
28636                    fill.smooth: 0;
28637                }
28638            }
28639            part {
28640                name: "base";
28641                mouse_events: 0;
28642                description {
28643                    state: "default" 0.0;
28644                    image {
28645                        normal: "ilist_1.png";
28646                        border: 2 2 2 2;
28647                    }
28648                    fill.smooth: 0;
28649                }
28650                description { state: "active" 0.0;
28651                    inherit: "default" 0.0;
28652                    rel1 {
28653                        offset: -16 0;
28654                    }
28655                }
28656            }
28657            part { name: "elm.text";
28658                type:           TEXT;
28659                mouse_events:   0;
28660                scale: 1;
28661                description {
28662                    state: "default" 0.0;
28663                           //               min: 16 16;
28664                    rel1 {
28665                        to: "base";
28666                        relative: 0.0  0.0;
28667                        offset:   4 4;
28668                    }
28669                    rel2 {
28670                        to: "base";
28671                        relative: 0.5  1.0;
28672                        offset:   -1 -1;
28673                    }
28674                    color: 0 0 0 128;
28675                    text {
28676                        font: "Sans";
28677                        size: 10;
28678                        min: 1 1;
28679                             //                  min: 0 1;
28680                        align: 0.5 0.5;
28681                    }
28682                }
28683                description { state: "active" 0.0;
28684                    inherit: "default" 0.0;
28685                    color: 0 0 0 255;
28686                }
28687            }
28688        }
28689        programs {
28690            program { name: "active";
28691                signal: "elm,state,active";
28692                source: "elm";
28693                action: STATE_SET "active" 0.0;
28694                transition: DECELERATE 0.5;
28695                target: "elm.text";
28696                target: "base";
28697            }
28698            program { name: "inactive";
28699                signal: "elm,state,inactive";
28700                source: "elm";
28701                action: STATE_SET "default" 0.0;
28702                transition: DECELERATE 0.5;
28703                target: "elm.text";
28704                target: "base";
28705            }
28706        }
28707    }
28708
28709    group { name: "elm/index/item_odd/vertical/default";
28710        data.item: "stacking" "below";
28711        images {
28712            image: "ilist_2.png" COMP;
28713        }
28714        parts {
28715            part {
28716                name: "base";
28717                mouse_events: 0;
28718                description {
28719                    state: "default" 0.0;
28720                    image {
28721                        normal: "ilist_2.png";
28722                        border: 2 2 2 2;
28723                    }
28724                    fill.smooth: 0;
28725                }
28726                description { state: "active" 0.0;
28727                    inherit: "default" 0.0;
28728                    rel1 {
28729                        offset: -16 0;
28730                    }
28731                }
28732            }
28733            part { name: "elm.text";
28734                type:           TEXT;
28735                mouse_events:   0;
28736                scale: 1;
28737                description {
28738                    state: "default" 0.0;
28739                           //               min: 16 16;
28740                    rel1 {
28741                        to: "base";
28742                        relative: 0.0  0.0;
28743                        offset:   4 4;
28744                    }
28745                    rel2 {
28746                        to: "base";
28747                        relative: 0.5  1.0;
28748                        offset:   -1 -1;
28749                    }
28750                    color: 0 0 0 128;
28751                    text {
28752                        font: "Sans";
28753                        size: 10;
28754                        min: 1 1;
28755                             //                  min: 0 1;
28756                        align: 0.5 0.5;
28757                    }
28758                }
28759                description { state: "active" 0.0;
28760                    inherit: "default" 0.0;
28761                    color: 0 0 0 255;
28762                }
28763            }
28764        }
28765        programs {
28766            program { name: "active";
28767                signal: "elm,state,active";
28768                source: "elm";
28769                action: STATE_SET "active" 0.0;
28770                transition: DECELERATE 0.5;
28771                target: "elm.text";
28772                target: "base";
28773            }
28774            program { name: "inactive";
28775                signal: "elm,state,inactive";
28776                source: "elm";
28777                action: STATE_SET "default" 0.0;
28778                transition: DECELERATE 0.5;
28779                target: "elm.text";
28780                target: "base";
28781            }
28782        }
28783    }
28784
28785 ///////////////////////////////////////////////////////////////////////////////
28786    group { name: "elm/gengrid/item/default/default";
28787       data.item: "labels" "elm.text";
28788       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28789       images {
28790          image: "bt_sm_base1.png" COMP;
28791          image: "bt_sm_shine.png" COMP;
28792          image: "bt_sm_hilight.png" COMP;
28793          image: "ilist_1.png" COMP;
28794          image: "ilist_item_shadow.png" COMP;
28795       }
28796       parts {
28797          part { name: "event";
28798             type: RECT;
28799             repeat_events: 1;
28800             description {
28801                state: "default" 0.0;
28802                color: 0 0 0 0;
28803             }
28804          }
28805          part { name: "base_sh";
28806             mouse_events: 0;
28807             description { state: "default" 0.0;
28808                align: 0.0 0.0;
28809                min: 0 10;
28810                fixed: 1 1;
28811                rel1 {
28812                   to: "base";
28813                   relative: 0.0 1.0;
28814                   offset: 0 0;
28815                }
28816                rel2 {
28817                   to: "base";
28818                   relative: 1.0 1.0;
28819                   offset: -1 0;
28820                }
28821                image {
28822                   normal: "ilist_item_shadow.png";
28823                }
28824                fill.smooth: 0;
28825             }
28826          }
28827          part { name: "base";
28828             mouse_events: 0;
28829             description { state: "default" 0.0;
28830                image {
28831                   normal: "ilist_1.png";
28832                   border: 2 2 2 2;
28833                }
28834                fill.smooth: 0;
28835             }
28836          }
28837          part { name: "bg";
28838             clip_to: "disclip";
28839             mouse_events: 0;
28840             description { state: "default" 0.0;
28841                visible: 0;
28842                color: 255 255 255 0;
28843                rel1 {
28844                   relative: 0.0 0.0;
28845                   offset: -5 -5;
28846                }
28847                rel2 {
28848                   relative: 1.0 1.0;
28849                   offset: 4 4;
28850                }
28851                image {
28852                   normal: "bt_sm_base1.png";
28853                   border: 6 6 6 6;
28854                }
28855                image.middle: SOLID;
28856             }
28857             description { state: "selected" 0.0;
28858                inherit: "default" 0.0;
28859                visible: 1;
28860                color: 255 255 255 255;
28861                rel1 {
28862                   relative: 0.0 0.0;
28863                   offset: -2 -2;
28864                }
28865                rel2 {
28866                   relative: 1.0 1.0;
28867                   offset: 1 1;
28868                }
28869             }
28870          }
28871          part { name: "elm.swallow.pad";
28872             type: SWALLOW;
28873             description { state: "default" 0.0;
28874                fixed: 1 0;
28875                align: 0.0 0.5;
28876                rel1 {
28877                   relative: 0.0  1.0;
28878                   offset:   0    -10;
28879                }
28880                rel2 {
28881                   to_y: "elm.text";
28882                   relative: 0.0  0.0;
28883                   offset:   -1   -1;
28884                }
28885             }
28886          }
28887          part { name: "elm.swallow.icon";
28888             clip_to: "disclip";
28889             type: SWALLOW;
28890             description { state: "default" 0.0;
28891                fixed: 1 0;
28892                align: 0.5 0.5;
28893                rel1 {
28894                   relative: 0.0  0.0;
28895                   offset:   -1    4;
28896                }
28897                rel2 {
28898                   to_y: "elm.swallow.pad";
28899                   relative: 1.0  0.0;
28900                   offset:   -1   -5;
28901                }
28902             }
28903          }
28904          part { name: "elm.swallow.end";
28905             clip_to: "disclip";
28906             type: SWALLOW;
28907             description { state: "default" 0.0;
28908                fixed: 1 0;
28909                align: 1.0 0.0;
28910                aspect: 1.0 1.0;
28911                aspect_preference: HORIZONTAL;
28912                rel1 {
28913                   relative: 1.0 0.0;
28914                   offset: -5 -5;
28915                }
28916                rel2 {
28917                   relative: 1.0 1.0;
28918                   offset: 5 5;
28919                }
28920             }
28921          }
28922          part { name: "elm.text";
28923             clip_to: "disclip";
28924             type: TEXT;
28925             effect: SOFT_SHADOW;
28926             mouse_events: 0;
28927             scale: 1;
28928             description { state: "default" 0.0;
28929                rel1 {
28930                   relative: 0.0  1.0;
28931                   offset: 0 0;
28932                }
28933                rel2 {
28934                   relative: 1.0  1.0;
28935                   offset: -5 -5;
28936                }
28937                color: 0 0 0 255;
28938                color3: 0 0 0 0;
28939                text {
28940                   font: "Sans";
28941                   size: 10;
28942                   min: 0 1;
28943                   align: 0.5 0.0;
28944                   text_class: "grid_item";
28945                }
28946             }
28947             description { state: "selected" 0.0;
28948                inherit: "default" 0.0;
28949                color: 224 224 224 255;
28950                color3: 0 0 0 64;
28951             }
28952          }
28953          part { name: "fg1";
28954             clip_to: "disclip";
28955             mouse_events: 0;
28956             description { state: "default" 0.0;
28957                visible: 0;
28958                color: 255 255 255 0;
28959                rel1.to: "bg";
28960                rel2.relative: 1.0 0.5;
28961                rel2.to: "bg";
28962                image {
28963                   normal: "bt_sm_hilight.png";
28964                   border: 6 6 6 0;
28965                }
28966             }
28967             description { state: "selected" 0.0;
28968                inherit: "default" 0.0;
28969                visible: 1;
28970                color: 255 255 255 255;
28971             }
28972          }
28973          part { name: "fg2";
28974             clip_to: "disclip";
28975             mouse_events: 0;
28976             description { state: "default" 0.0;
28977                visible: 0;
28978                color: 255 255 255 0;
28979                rel1.to: "bg";
28980                rel2.to: "bg";
28981                image {
28982                   normal: "bt_sm_shine.png";
28983                   border: 6 6 6 0;
28984                }
28985             }
28986             description { state: "selected" 0.0;
28987                inherit: "default" 0.0;
28988                visible: 1;
28989                color: 255 255 255 255;
28990             }
28991          }
28992          part { name: "disclip";
28993             type: RECT;
28994             description { state: "default" 0.0;
28995                rel1.to: "bg";
28996                rel2.to: "bg";
28997             }
28998             description { state: "disabled" 0.0;
28999                inherit: "default" 0.0;
29000                color: 255 255 255 64;
29001             }
29002          }
29003       }
29004       programs {
29005          // signal: elm,state,%s,active
29006          //   a "check" item named %s went active
29007          // signal: elm,state,%s,passive
29008          //   a "check" item named %s went passive
29009          // default is passive
29010          program { name:    "go_active";
29011             signal:  "elm,state,selected";
29012             source:  "elm";
29013             action:  STATE_SET "selected" 0.0;
29014             target:  "bg";
29015             target:  "fg1";
29016             target:  "fg2";
29017             target:  "elm.text";
29018          }
29019          program { name:    "go_passive";
29020             signal:  "elm,state,unselected";
29021             source:  "elm";
29022             action:  STATE_SET "default" 0.0;
29023             target:  "bg";
29024             target:  "fg1";
29025             target:  "fg2";
29026             target:  "elm.text";
29027             transition: LINEAR 0.1;
29028          }
29029          program { name:    "go_disabled";
29030             signal:  "elm,state,disabled";
29031             source:  "elm";
29032             action:  STATE_SET "disabled" 0.0;
29033             target:  "disclip";
29034          }
29035          program { name:    "go_enabled";
29036             signal:  "elm,state,enabled";
29037             source:  "elm";
29038             action:  STATE_SET "default" 0.0;
29039             target:  "disclip";
29040          }
29041       }
29042    }
29043    group { name: "elm/gengrid/item/default_style/default";
29044        styles
29045        {
29046            style { name: "gengrid_style";
29047                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29048                tag:  "br" "\n";
29049                tag:  "ps" "ps";
29050                tag:  "hilight" "+ font=Sans:style=Bold";
29051                tag:  "b" "+ font=Sans:style=Bold";
29052                tag:  "tab" "\t";
29053            }
29054            style { name: "gengrid_selected_style";
29055                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29056                tag:  "br" "\n";
29057                tag:  "ps" "ps";
29058                tag:  "hilight" "+ font=Sans:style=Bold";
29059                tag:  "b" "+ font=Sans:style=Bold";
29060                tag:  "tab" "\t";
29061            }
29062        }
29063        data.item: "labels" "elm.text";
29064        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29065        images {
29066            image: "bt_sm_base1.png" COMP;
29067            image: "bt_sm_shine.png" COMP;
29068            image: "bt_sm_hilight.png" COMP;
29069            image: "ilist_1.png" COMP;
29070            image: "ilist_item_shadow.png" COMP;
29071        }
29072        parts {
29073            part { name: "event";
29074                type: RECT;
29075                repeat_events: 1;
29076                description { state: "default" 0.0;
29077                    color: 0 0 0 0;
29078                }
29079            }
29080            part { name: "base_sh";
29081                mouse_events: 0;
29082                description { state: "default" 0.0;
29083                    align: 0.0 0.0;
29084                    min: 0 10;
29085                    fixed: 1 1;
29086                    rel1 {
29087                        to: "base";
29088                        relative: 0.0 1.0;
29089                        offset: 0 0;
29090                    }
29091                    rel2 {
29092                        to: "base";
29093                        relative: 1.0 1.0;
29094                        offset: -1 0;
29095                    }
29096                    image {
29097                        normal: "ilist_item_shadow.png";
29098                    }
29099                    fill.smooth: 0;
29100                }
29101            }
29102            part { name: "base";
29103                mouse_events: 0;
29104                description { state: "default" 0.0;
29105                    min: 16 28;
29106                    image {
29107                        normal: "ilist_1.png";
29108                        border: 2 2 2 2;
29109                    }
29110                    fill.smooth: 0;
29111                }
29112            }
29113            part { name: "bg";
29114                clip_to: "disclip";
29115                mouse_events: 0;
29116                description { state: "default" 0.0;
29117                    visible: 0;
29118                    color: 255 255 255 0;
29119                    rel1 {
29120                        relative: 0.0 0.0;
29121                        offset: -5 -5;
29122                    }
29123                    rel2 {
29124                        relative: 1.0 1.0;
29125                        offset: 4 4;
29126                    }
29127                    image {
29128                        normal: "bt_sm_base1.png";
29129                        border: 6 6 6 6;
29130                    }
29131                    image.middle: SOLID;
29132                }
29133                description { state: "selected" 0.0;
29134                    inherit: "default" 0.0;
29135                    visible: 1;
29136                    color: 255 255 255 255;
29137                    rel1 {
29138                        relative: 0.0 0.0;
29139                        offset: -2 -2;
29140                    }
29141                    rel2 {
29142                        relative: 1.0 1.0;
29143                        offset: 1 1;
29144                    }
29145                }
29146            }
29147            part { name: "elm.swallow.pad";
29148                type: SWALLOW;
29149                description { state: "default" 0.0;
29150                    fixed: 1 0;
29151                    align: 0.0 0.5;
29152                    rel1 {
29153                        relative: 0.0  0.0;
29154                        offset:   4    4;
29155                    }
29156                    rel2 {
29157                        relative: 0.0  1.0;
29158                        offset:   4   -5;
29159                    }
29160                }
29161            }
29162            part { name: "elm.swallow.icon";
29163                clip_to: "disclip";
29164                type: SWALLOW;
29165                description { state: "default" 0.0;
29166                    fixed: 1 0;
29167                    align: 0.0 0.5;
29168                    rel1 {
29169                        to_x: "elm.swallow.pad";
29170                        relative: 1.0  0.0;
29171                        offset:   -1    4;
29172                    }
29173                    rel2 {
29174                        to_x: "elm.swallow.pad";
29175                        relative: 1.0  1.0;
29176                        offset:   -1   -5;
29177                    }
29178                }
29179            }
29180            part { name: "elm.swallow.end";
29181                clip_to: "disclip";
29182                type: SWALLOW;
29183                description { state: "default" 0.0;
29184                    fixed: 1 0;
29185                    align: 1.0 0.5;
29186                    aspect: 1.0 1.0;
29187                    aspect_preference: VERTICAL;
29188                    rel1 {
29189                        relative: 1.0  0.0;
29190                        offset:   -5    4;
29191                    }
29192                    rel2 {
29193                        relative: 1.0  1.0;
29194                        offset:   -5   -5;
29195                    }
29196                }
29197            }
29198            part { name: "elm.text";
29199                clip_to: "disclip";
29200                type: TEXTBLOCK;
29201                mouse_events: 0;
29202                scale: 1;
29203                description {
29204                    state: "default" 0.0;
29205                    align: 0.0 0.5;
29206                    fixed: 0 1;
29207                    rel1 {
29208                        to_x: "elm.swallow.icon";
29209                        to_y: "base";
29210                        relative: 1.0  0.5;
29211                        offset:   0 4;
29212                    }
29213                    rel2 {
29214                        to_x: "elm.swallow.end";
29215                        to_y: "base";
29216                        relative: 0.0  0.5;
29217                        offset:   -1 -5;
29218                    }
29219                    text {
29220                        style: "gengrid_style";
29221                        min: 1 1;
29222                    }
29223                }
29224                description { state: "selected" 0.0;
29225                    inherit: "default" 0.0;
29226                    text {
29227                        style: "gengrid_selected_style";
29228                    }
29229                }
29230            }
29231            part { name: "fg1";
29232                clip_to: "disclip";
29233                mouse_events: 0;
29234                description { state: "default" 0.0;
29235                    visible: 0;
29236                    color: 255 255 255 0;
29237                    rel1.to: "bg";
29238                    rel2.relative: 1.0 0.5;
29239                    rel2.to: "bg";
29240                    image {
29241                        normal: "bt_sm_hilight.png";
29242                        border: 6 6 6 0;
29243                    }
29244                }
29245                description { state: "selected" 0.0;
29246                    inherit: "default" 0.0;
29247                    visible: 1;
29248                    color: 255 255 255 255;
29249                }
29250            }
29251            part { name: "fg2";
29252                clip_to: "disclip";
29253                mouse_events: 0;
29254                description { state: "default" 0.0;
29255                    visible: 0;
29256                    color: 255 255 255 0;
29257                    rel1.to: "bg";
29258                    rel2.to: "bg";
29259                    image {
29260                        normal: "bt_sm_shine.png";
29261                        border: 6 6 6 0;
29262                    }
29263                }
29264                description { state: "selected" 0.0;
29265                    inherit: "default" 0.0;
29266                    visible: 1;
29267                    color: 255 255 255 255;
29268                }
29269            }
29270            part { name: "disclip";
29271                type: RECT;
29272                description { state: "default" 0.0;
29273                    rel1.to: "bg";
29274                    rel2.to: "bg";
29275                }
29276                description { state: "disabled" 0.0;
29277                    inherit: "default" 0.0;
29278                    color: 255 255 255 64;
29279                }
29280            }
29281        }
29282        programs {
29283            // signal: elm,state,%s,active
29284            //   a "check" item named %s went active
29285            // signal: elm,state,%s,passive
29286            //   a "check" item named %s went passive
29287            // default is passive
29288            program { name:    "go_active";
29289                signal:  "elm,state,selected";
29290                source:  "elm";
29291                action:  STATE_SET "selected" 0.0;
29292                target:  "bg";
29293                target:  "fg1";
29294                target:  "fg2";
29295                target:  "elm.text";
29296            }
29297            program { name:    "go_passive";
29298                signal:  "elm,state,unselected";
29299                source:  "elm";
29300                action:  STATE_SET "default" 0.0;
29301                target:  "bg";
29302                target:  "fg1";
29303                target:  "fg2";
29304                target:  "elm.text";
29305                transition: LINEAR 0.1;
29306            }
29307            program { name:    "go_disabled";
29308                signal:  "elm,state,disabled";
29309                source:  "elm";
29310                action:  STATE_SET "disabled" 0.0;
29311                target:  "disclip";
29312            }
29313            program { name:    "go_enabled";
29314                signal:  "elm,state,enabled";
29315                source:  "elm";
29316                action:  STATE_SET "default" 0.0;
29317                target:  "disclip";
29318            }
29319        }
29320    }
29321
29322    group { name: "elm/gengrid/item/up/default";
29323       data.item: "labels" "elm.text";
29324       images {
29325           image: "bt_sm_base1.png" COMP;
29326           image: "bt_sm_shine.png" COMP;
29327           image: "bt_sm_hilight.png" COMP;
29328           image: "arrow_up.png" COMP;
29329       }
29330       parts {
29331          part { name: "event";
29332             type: RECT;
29333             repeat_events: 1;
29334             description { state: "default" 0.0;
29335                color: 0 0 0 0;
29336             }
29337          }
29338          part { name: "bg";
29339             clip_to: "disclip";
29340             mouse_events: 0;
29341             description { state: "default" 0.0;
29342                visible: 0;
29343                color: 255 255 255 0;
29344                rel1.offset: -3 -3;
29345                rel2.offset: 2 2;
29346                image { normal: "bt_sm_base1.png";
29347                   border: 6 6 6 6;
29348                   middle: SOLID;
29349                }
29350             }
29351             description { state: "selected" 0.0;
29352                inherit: "default" 0.0;
29353                visible: 1;
29354                color: 255 255 255 255;
29355             }
29356          }
29357          part { name: "image";
29358              type: IMAGE;
29359              mouse_events: 0;
29360              description { state: "default" 0.0;
29361                  aspect_preference: BOTH;
29362                  aspect: 1.0 1.0;
29363                  image.normal: "arrow_up.png";
29364                  rel2 {
29365                      to_y: "elm.text";
29366                      relative: 1.0 0.0;
29367                      offset: -1 -2;
29368                  }
29369              }
29370          }
29371          part { name: "elm.text";
29372             clip_to: "disclip";
29373             type: TEXT;
29374             effect: SOFT_SHADOW;
29375             mouse_events: 0;
29376             scale: 1;
29377             description { state: "default" 0.0;
29378                rel1 {
29379                   relative: 0.0  1.0;
29380                   offset: 20 -25;
29381                }
29382                rel2 {
29383                   relative: 1.0  1.0;
29384                   offset: -21 -3;
29385                }
29386                color: 0 0 0 255;
29387                color3: 0 0 0 0;
29388                text {
29389                   font: "Sans";
29390                   size: 10;
29391                   min: 0 1;
29392                   align: 0.5 0.0;
29393                   text_class: "grid_item";
29394                }
29395             }
29396             description { state: "selected" 0.0;
29397                inherit: "default" 0.0;
29398                color: 224 224 224 255;
29399                color3: 0 0 0 64;
29400             }
29401          }
29402          part { name: "fg1";
29403             clip_to: "disclip";
29404             mouse_events: 0;
29405             description { state: "default" 0.0;
29406                visible: 0;
29407                color: 255 255 255 0;
29408                rel1.offset: -3 -3;
29409                rel2 {
29410                    relative: 1.0 0.5;
29411                    offset: 2 -1;
29412                }
29413                image {
29414                   normal: "bt_sm_hilight.png";
29415                   border: 6 6 6 0;
29416                }
29417             }
29418             description { state: "selected" 0.0;
29419                inherit: "default" 0.0;
29420                visible: 1;
29421                color: 255 255 255 255;
29422             }
29423          }
29424          part { name: "fg2";
29425             clip_to: "disclip";
29426             mouse_events: 0;
29427             description { state: "default" 0.0;
29428                visible: 0;
29429                color: 255 255 255 0;
29430                rel1.offset: -3 -3;
29431                rel2.offset: 2 2;
29432                image {
29433                   normal: "bt_sm_shine.png";
29434                   border: 6 6 6 0;
29435                }
29436             }
29437             description { state: "selected" 0.0;
29438                inherit: "default" 0.0;
29439                visible: 1;
29440                color: 255 255 255 255;
29441             }
29442          }
29443          part { name: "disclip";
29444             type: RECT;
29445             description { state: "default" 0.0;
29446                rel1.to: "bg";
29447                rel2.to: "bg";
29448             }
29449             description { state: "disabled" 0.0;
29450                inherit: "default" 0.0;
29451                color: 255 255 255 64;
29452             }
29453          }
29454       }
29455       programs {
29456          program { name:    "go_active";
29457             signal:  "elm,state,selected";
29458             source:  "elm";
29459             action:  STATE_SET "selected" 0.0;
29460             target:  "bg";
29461             target:  "fg1";
29462             target:  "fg2";
29463             target:  "elm.text";
29464          }
29465          program { name:    "go_passive";
29466             signal:  "elm,state,unselected";
29467             source:  "elm";
29468             action:  STATE_SET "default" 0.0;
29469             target:  "bg";
29470             target:  "fg1";
29471             target:  "fg2";
29472             target:  "elm.text";
29473             transition: LINEAR 0.1;
29474          }
29475          program { name:    "go_disabled";
29476             signal:  "elm,state,disabled";
29477             source:  "elm";
29478             action:  STATE_SET "disabled" 0.0;
29479             target:  "disclip";
29480          }
29481          program { name:    "go_enabled";
29482             signal:  "elm,state,enabled";
29483             source:  "elm";
29484             action:  STATE_SET "default" 0.0;
29485             target:  "disclip";
29486          }
29487       }
29488    }
29489
29490    group { name: "elm/gengrid/item/album-preview/default";
29491       data.item: "labels" "elm.text";
29492       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29493       data.item: "states" "have_files";
29494       images {
29495          image: "bt_sm_base1.png" COMP;
29496          image: "bt_sm_shine.png" COMP;
29497          image: "bt_sm_hilight.png" COMP;
29498          image: "icon_folder.png" COMP;
29499       }
29500       parts {
29501          part { name: "event";
29502             type: RECT;
29503             repeat_events: 1;
29504             description { state: "default" 0.0;
29505                color: 0 0 0 0;
29506             }
29507          }
29508          part { name: "bg";
29509             clip_to: "disclip";
29510             mouse_events: 0;
29511             description { state: "default" 0.0;
29512                visible: 0;
29513                color: 255 255 255 0;
29514                rel1.offset: -3 -3;
29515                rel2.offset: 2 2;
29516                image {
29517                   normal: "bt_sm_base1.png";
29518                   border: 6 6 6 6;
29519                   middle: SOLID;
29520                }
29521             }
29522             description { state: "selected" 0.0;
29523                inherit: "default" 0.0;
29524                visible: 1;
29525                color: 255 255 255 255;
29526             }
29527          }
29528          part { name: "image";
29529              type: IMAGE;
29530              mouse_events: 0;
29531              description { state: "default" 0.0;
29532                  aspect_preference: BOTH;
29533                  aspect: 1.0 1.0;
29534                  image.normal: "icon_folder.png";
29535                  rel2 {
29536                      to_y: "elm.text";
29537                      relative: 1.0 0.0;
29538                      offset: -1 -2;
29539                  }
29540              }
29541          }
29542          part { name: "have-files-clipper";
29543              type: RECT;
29544              description { state: "default" 0.0;
29545                  color: 255 255 255 0;
29546                  visible: 0;
29547              }
29548              description { state: "visible" 0.0;
29549                  inherit: "default" 0.0;
29550                  color: 255 255 255 255;
29551                  visible: 1;
29552              }
29553          }
29554          part { name: "icon_box_margin";
29555              type: RECT;
29556              mouse_events: 0;
29557              clip_to: "have-files-clipper";
29558              description { state: "default" 0.0;
29559                  color: 0 0 0 255;
29560                  rel1 {
29561                      to: "icon_box";
29562                      offset: -1 -1;
29563                  }
29564                  rel2 {
29565                      to: "icon_box";
29566                      offset: 0 0;
29567                  }
29568              }
29569          }
29570          part { name: "icon_box";
29571              type: RECT;
29572              mouse_events: 0;
29573              clip_to: "have-files-clipper";
29574              description { state: "default" 0.0;
29575                  color: 255 255 255 255;
29576                  align: 1.0 1.0;
29577                  min: 32 32;
29578                  rel1 {
29579                      relative: 0.25 0.25;
29580                      offset: 0 0;
29581                  }
29582                  rel2 {
29583                      relative: 1.0 0.0;
29584                      offset: -11 -4;
29585                      to_y: "elm.text";
29586                  }
29587              }
29588          }
29589          part { name: "elm.swallow.icon.1";
29590              type: SWALLOW;
29591              mouse_events: 0;
29592              clip_to: "have-files-clipper";
29593              description { state: "default" 0.0;
29594                rel1 {
29595                   relative: 0.0  0.0;
29596                   to: "icon_box";
29597                }
29598                rel2 {
29599                   relative: 0.5  0.5;
29600                   offset: -1 -1;
29601                   to: "icon_box";
29602                }
29603             }
29604          }
29605          part { name: "elm.swallow.icon.2";
29606              type: SWALLOW;
29607              mouse_events: 0;
29608              clip_to: "have-files-clipper";
29609              description { state: "default" 0.0;
29610                rel1 {
29611                   relative: 0.5  0.0;
29612                   to: "icon_box";
29613                }
29614                rel2 {
29615                   relative: 1.0  0.5;
29616                   offset: -1 -1;
29617                   to: "icon_box";
29618                }
29619             }
29620          }
29621          part { name: "elm.swallow.icon.3";
29622              type: SWALLOW;
29623              mouse_events: 0;
29624              clip_to: "have-files-clipper";
29625              description { state: "default" 0.0;
29626                rel1 {
29627                   relative: 0.0  0.5;
29628                   to: "icon_box";
29629                }
29630                rel2 {
29631                   relative: 0.5  1.0;
29632                   offset: -1 -1;
29633                   to: "icon_box";
29634                }
29635             }
29636          }
29637          part { name: "elm.swallow.icon.4";
29638              type: SWALLOW;
29639              mouse_events: 0;
29640              clip_to: "have-files-clipper";
29641              description { state: "default" 0.0;
29642                rel1 {
29643                   relative: 0.5  0.5;
29644                   to: "icon_box";
29645                }
29646                rel2 {
29647                   relative: 1.0  1.0;
29648                   offset: -1 -1;
29649                   to: "icon_box";
29650                }
29651             }
29652          }
29653          part { name: "elm.text";
29654             clip_to: "disclip";
29655             type: TEXT;
29656             effect: SOFT_SHADOW;
29657             mouse_events: 0;
29658             scale: 1;
29659             description { state: "default" 0.0;
29660                rel1 {
29661                   relative: 0.0  1.0;
29662                   offset: 20 -30;
29663                }
29664                rel2 {
29665                   relative: 1.0  1.0;
29666                   offset: -21 -15;
29667                }
29668                color: 0 0 0 255;
29669                color3: 0 0 0 0;
29670                text {
29671                   font: "Sans";
29672                   size: 10;
29673                   min: 0 1;
29674                   align: 0.5 0.0;
29675                   text_class: "grid_item";
29676                }
29677             }
29678             description { state: "selected" 0.0;
29679                 inherit: "default" 0.0;
29680                 color: 255 255 255 255;
29681             }
29682          }
29683          part { name: "fg1";
29684             clip_to: "disclip";
29685             mouse_events: 0;
29686             description { state: "default" 0.0;
29687                visible: 0;
29688                color: 255 255 255 0;
29689                rel1.offset: -3 -3;
29690                rel2 {
29691                    relative: 1.0 0.5;
29692                    offset: 2 -1;
29693                }
29694                image {
29695                   normal: "bt_sm_hilight.png";
29696                   border: 6 6 6 0;
29697                }
29698             }
29699             description { state: "selected" 0.0;
29700                inherit: "default" 0.0;
29701                visible: 1;
29702                color: 255 255 255 255;
29703             }
29704          }
29705          part { name: "fg2";
29706             clip_to: "disclip";
29707             mouse_events: 0;
29708             description { state: "default" 0.0;
29709                visible: 0;
29710                color: 255 255 255 0;
29711                rel1.offset: -3 -3;
29712                rel2.offset: 2 2;
29713                image {
29714                   normal: "bt_sm_shine.png";
29715                   border: 6 6 6 0;
29716                }
29717             }
29718             description { state: "selected" 0.0;
29719                inherit: "default" 0.0;
29720                visible: 1;
29721                color: 255 255 255 255;
29722             }
29723          }
29724          part { name: "disclip";
29725             type: RECT;
29726             description { state: "default" 0.0;
29727                rel1.to: "bg";
29728                rel2.to: "bg";
29729             }
29730             description { state: "disabled" 0.0;
29731                inherit: "default" 0.0;
29732                color: 255 255 255 64;
29733             }
29734          }
29735       }
29736       programs {
29737          program { name:    "go_active";
29738             signal:  "elm,state,selected";
29739             source:  "elm";
29740             action:  STATE_SET "selected" 0.0;
29741             target:  "bg";
29742             target:  "fg1";
29743             target:  "fg2";
29744             target:  "elm.text";
29745          }
29746          program { name:    "go_passive";
29747             signal:  "elm,state,unselected";
29748             source:  "elm";
29749             action:  STATE_SET "default" 0.0;
29750             target:  "bg";
29751             target:  "fg1";
29752             target:  "fg2";
29753             target:  "elm.text";
29754             transition: LINEAR 0.1;
29755          }
29756          program { name:    "go_disabled";
29757             signal:  "elm,state,disabled";
29758             source:  "elm";
29759             action:  STATE_SET "disabled" 0.0;
29760             target:  "disclip";
29761          }
29762          program { name:    "go_enabled";
29763             signal:  "elm,state,enabled";
29764             source:  "elm";
29765             action:  STATE_SET "default" 0.0;
29766             target:  "disclip";
29767          }
29768          program {
29769              signal: "elm,state,have_files,active";
29770              source: "elm";
29771              action: STATE_SET "visible" 0.0;
29772              target: "have-files-clipper";
29773          }
29774       }
29775    }
29776
29777    group { name: "elm/gengrid/item/thumb/default";
29778        data {
29779            item: "icons" "elm.swallow.icon";
29780            item: "labels" "elm.text";
29781        }
29782        images {
29783            image: "bt_sm_base1.png" COMP;
29784            image: "bt_sm_shine.png" COMP;
29785            image: "bt_sm_hilight.png" COMP;
29786            image: "thumb_shadow.png" COMP;
29787        }
29788        parts {
29789            part { name: "event";
29790                type: RECT;
29791                repeat_events: 1;
29792                description { state: "default" 0.0;
29793                    color: 0 0 0 0;
29794                }
29795            }
29796            part { name: "bg";
29797                mouse_events: 0;
29798                description { state: "default" 0.0;
29799                    visible: 0;
29800                    color: 255 255 255 0;
29801                    rel1.offset: -3 -3;
29802                    rel2.offset: 2 2;
29803                    image {
29804                        normal: "bt_sm_base1.png";
29805                        border: 6 6 6 6;
29806                        middle: SOLID;
29807                    }
29808                }
29809                description { state: "selected" 0.0;
29810                    inherit: "default" 0.0;
29811                    visible: 1;
29812                    color: 255 255 255 255;
29813                }
29814            }
29815            part { name: "border-shadow";
29816                type: IMAGE;
29817                mouse_events: 0;
29818                description { state: "default" 0.0;
29819                    rel1 {
29820                        to: "elm.swallow.icon";
29821                        offset: -18 -18;
29822                    }
29823                    rel2 {
29824                        to_x: "elm.swallow.icon";
29825                        to_y: "elm.text";
29826                        offset: 17 17;
29827                    }
29828                    image {
29829                        normal: "thumb_shadow.png";
29830                        border: 17 17 17 17;
29831                        middle: NONE;
29832                    }
29833                }
29834            }
29835            part { name: "border";
29836                type: RECT;
29837                mouse_events: 0;
29838                description { state: "default" 0.0;
29839                    rel1 {
29840                        to: "border-shadow";
29841                        offset: 16 16;
29842                    }
29843                    rel2 {
29844                        to: "border-shadow";
29845                        offset: -15 -15;
29846                    }
29847                }
29848            }
29849            part { name: "elm.swallow.icon";
29850                type: SWALLOW;
29851                mouse_events: 0;
29852                description { state: "default" 0.0;
29853                    aspect_preference: BOTH;
29854                    aspect: 1.0 1.0;
29855                    rel1.offset: 0 8;
29856                    rel2 {
29857                        to_y: "elm.text";
29858                        relative: 1.0 0.0;
29859                        offset: -1 -2;
29860                    }
29861                }
29862            }
29863            part { name: "elm.text";
29864                type: TEXT;
29865                effect: SOFT_SHADOW;
29866                mouse_events: 0;
29867                scale: 1;
29868                description { state: "default" 0.0;
29869                    color: 0 0 0 255;
29870                    color3: 0 0 0 0;
29871                    align: 0.5 1.0;
29872                    rel1 {
29873                        relative: 0.0 1.0;
29874                        offset: 20 -30;
29875                    }
29876                    rel2 {
29877                        relative: 1.0 1.0;
29878                        offset: -21 -15;
29879                    }
29880                    text {
29881                        font: "Sans";
29882                        size: 10;
29883                        min: 0 1;
29884                        align: 0.5 0.0;
29885                        text_class: "grid_item";
29886                    }
29887                }
29888            }
29889            part { name: "fg1";
29890                mouse_events: 0;
29891                description { state: "default" 0.0;
29892                    visible: 0;
29893                    color: 255 255 255 0;
29894                    rel1.offset: -3 -3;
29895                    rel2 {
29896                        relative: 1.0 0.5;
29897                        offset: 2 -1;
29898                    }
29899                    image {
29900                        normal: "bt_sm_hilight.png";
29901                        border: 6 6 6 0;
29902                    }
29903                }
29904                description { state: "selected" 0.0;
29905                    inherit: "default" 0.0;
29906                    visible: 1;
29907                    color: 255 255 255 255;
29908                }
29909            }
29910            part { name: "fg2";
29911                mouse_events: 0;
29912                description { state: "default" 0.0;
29913                    visible: 0;
29914                    color: 255 255 255 0;
29915                    rel1.offset: -3 -3;
29916                    rel2.offset: 2 2;
29917                    image {
29918                        image: "bt_sm_shine.png";
29919                        border: 6 6 6 0;
29920                    }
29921                }
29922                description { state: "selected" 0.0;
29923                    inherit: "default" 0.0;
29924                    visible: 1;
29925                    color: 255 255 255 255;
29926                }
29927            }
29928        }
29929        programs {
29930            program {
29931                signal: "elm,state,selected";
29932                source: "elm";
29933                action: STATE_SET "selected" 0.0;
29934                target: "bg";
29935                target: "fg1";
29936                target: "fg2";
29937            }
29938            program {
29939                signal: "elm,state,unselected";
29940                source: "elm";
29941                action:  STATE_SET "default" 0.0;
29942                target: "bg";
29943                target: "fg1";
29944                target: "fg2";
29945                transition: LINEAR 0.1;
29946            }
29947        }
29948    }
29949
29950 ///////////////////////////////////////////////////////////////////////////////
29951    group { name: "elm/photocam/base/default";
29952        script {
29953            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
29954            public timer0(val) {
29955                new v;
29956                v = get_int(sbvis_v);
29957                if (v) {
29958                    v = get_int(sbalways_v);
29959                    if (!v) {
29960                        emit("do-hide-vbar", "");
29961                        set_int(sbvis_v, 0);
29962                    }
29963                }
29964                v = get_int(sbvis_h);
29965                if (v) {
29966                    v = get_int(sbalways_h);
29967                    if (!v) {
29968                        emit("do-hide-hbar", "");
29969                        set_int(sbvis_h, 0);
29970                    }
29971                }
29972                set_int(sbvis_timer, 0);
29973                return 0;
29974            }
29975        }
29976        images {
29977            image: "shelf_inset.png" COMP;
29978            image: "bt_sm_base2.png" COMP;
29979            image: "bt_sm_shine.png" COMP;
29980            image: "bt_sm_hilight.png" COMP;
29981            image: "busy-1.png" COMP;
29982            image: "busy-2.png" COMP;
29983            image: "busy-3.png" COMP;
29984            image: "busy-4.png" COMP;
29985            image: "busy-5.png" COMP;
29986            image: "busy-6.png" COMP;
29987            image: "busy-7.png" COMP;
29988            image: "busy-8.png" COMP;
29989            image: "busy-9.png" COMP;
29990        }
29991        parts {
29992            part { name: "bg";
29993                type: RECT;
29994                description { state: "default" 0.0;
29995                    rel1.offset: 1 1;
29996                    rel2.offset: -2 -2;
29997                    color: 255 255 255 0;
29998                }
29999            }
30000            part { name: "clipper";
30001                type: RECT;
30002                mouse_events: 0;
30003                description { state: "default" 0.0;
30004                    rel1.to: "bg";
30005                    rel2.to: "bg";
30006                }
30007            }
30008            part { name: "elm.swallow.content";
30009                clip_to: "clipper";
30010                type: SWALLOW;
30011                description { state: "default" 0.0;
30012                    rel1.offset: 1 1;
30013                    rel2.offset: -2 -2;
30014                }
30015            }
30016            part { name: "busy_clip";
30017                type: RECT;
30018                mouse_events: 0;
30019                description { state: "default" 0.0;
30020                    visible: 0;
30021                    color: 255 255 255 0;
30022                }
30023                description { state: "active" 0.0;
30024                    visible: 1;
30025                    color: 255 255 255 255;
30026                }
30027            }
30028            part { name: "busy";
30029                clip_to: "busy_clip";
30030                mouse_events: 0;
30031                description { state: "default" 0.0;
30032                    fixed: 1 1;
30033                    min: 32 32;
30034                    aspect: 1.0 1.0;
30035                    align: 1.0 1.0;
30036                    aspect_preference: BOTH;
30037                    rel1 {
30038                        relative: 0.9 0.9;
30039                        offset:   -9 -9;
30040                    }
30041                    rel2 {
30042                        relative: 0.9 0.9;
30043                        offset:   -9 -9;
30044                    }
30045                    image {
30046                        normal: "busy-9.png";
30047                        tween:  "busy-1.png";
30048                        tween:  "busy-2.png";
30049                        tween:  "busy-3.png";
30050                        tween:  "busy-4.png";
30051                        tween:  "busy-5.png";
30052                        tween:  "busy-6.png";
30053                        tween:  "busy-7.png";
30054                        tween:  "busy-8.png";
30055                    }
30056                }
30057            }
30058            part { name: "conf_over";
30059                mouse_events:  0;
30060                description { state: "default" 0.0;
30061                    rel1.offset: 0 0;
30062                    rel2.offset: -1 -1;
30063                    image {
30064                        normal: "shelf_inset.png";
30065                        border: 7 7 7 7;
30066                        middle: 0;
30067                    }
30068                    fill.smooth : 0;
30069                }
30070            }
30071            part { name: "sb_vbar_clip_master";
30072                type: RECT;
30073                mouse_events: 0;
30074                description { state: "default" 0.0;
30075                }
30076                description { state: "hidden" 0.0;
30077                    visible: 0;
30078                    color: 255 255 255 0;
30079                }
30080            }
30081            part { name: "sb_vbar_clip";
30082                clip_to: "sb_vbar_clip_master";
30083                type: RECT;
30084                mouse_events: 0;
30085                description { state: "default" 0.0;
30086                }
30087                description { state: "hidden" 0.0;
30088                    visible: 0;
30089                    color: 255 255 255 0;
30090                }
30091            }
30092            part { name: "sb_vbar";
30093                type: RECT;
30094                mouse_events: 0;
30095                description { state: "default" 0.0;
30096                    fixed: 1 1;
30097                    visible: 0;
30098                    min: 10 17;
30099                    align: 1.0 0.0;
30100                    rel1 {
30101                        relative: 1.0 0.0;
30102                        offset:   -2 0;
30103                    }
30104                    rel2 {
30105                        relative: 1.0 0.0;
30106                        offset:   -2 -1;
30107                        to_y:     "sb_hbar";
30108                    }
30109                }
30110            }
30111            part { name: "elm.dragable.vbar";
30112                clip_to: "sb_vbar_clip";
30113                mouse_events: 0;
30114                dragable {
30115                    x: 0 0 0;
30116                    y: 1 1 0;
30117                    confine: "sb_vbar";
30118                }
30119                description { state: "default" 0.0;
30120                    fixed: 1 1;
30121                    min: 10 17;
30122                    max: 10 99999;
30123                    rel1 {
30124                        relative: 0.5  0.5;
30125                        offset:   0    0;
30126                        to: "sb_vbar";
30127                    }
30128                    rel2 {
30129                        relative: 0.5  0.5;
30130                        offset:   0    0;
30131                        to: "sb_vbar";
30132                    }
30133                    image {
30134                        normal: "bt_sm_base2.png";
30135                        border: 6 6 6 6;
30136                        middle: SOLID;
30137                    }
30138                }
30139            }
30140            part { name: "sb_vbar_over1";
30141                clip_to: "sb_vbar_clip";
30142                mouse_events: 0;
30143                description { state: "default" 0.0;
30144                    rel1.to: "elm.dragable.vbar";
30145                    rel2.relative: 1.0 0.5;
30146                    rel2.to: "elm.dragable.vbar";
30147                    image {
30148                        normal: "bt_sm_hilight.png";
30149                        border: 6 6 6 0;
30150                    }
30151                }
30152            }
30153            part { name: "sb_vbar_over2";
30154                clip_to: "sb_vbar_clip";
30155                mouse_events: 0;
30156                description { state: "default" 0.0;
30157                    rel1.to: "elm.dragable.vbar";
30158                    rel2.to: "elm.dragable.vbar";
30159                    image {
30160                        normal: "bt_sm_shine.png";
30161                        border: 6 6 6 0;
30162                    }
30163                }
30164            }
30165
30166            part { name: "sb_hbar_clip_master";
30167                type: RECT;
30168                mouse_events: 0;
30169                description { state: "default" 0.0;
30170                }
30171                description { state: "hidden" 0.0;
30172                    visible: 0;
30173                    color: 255 255 255 0;
30174                }
30175            }
30176            part { name: "sb_hbar_clip";
30177                clip_to: "sb_hbar_clip_master";
30178                type: RECT;
30179                mouse_events: 0;
30180                description { state: "default" 0.0;
30181                }
30182                description { state: "hidden" 0.0;
30183                    visible: 0;
30184                    color: 255 255 255 0;
30185                }
30186            }
30187            part { name: "sb_hbar";
30188                type: RECT;
30189                mouse_events: 0;
30190                description { state: "default" 0.0;
30191                    fixed: 1 1;
30192                    visible: 0;
30193                    min: 17 10;
30194                    align: 0.0 1.0;
30195                    rel1 {
30196                        relative: 0.0 1.0;
30197                        offset:   0 -2;
30198                    }
30199                    rel2 {
30200                        relative: 0.0 1.0;
30201                        offset:   -1 -2;
30202                        to_x:     "sb_vbar";
30203                    }
30204                }
30205            }
30206            part { name: "elm.dragable.hbar";
30207                clip_to: "sb_hbar_clip";
30208                mouse_events: 0;
30209                dragable {
30210                    x: 1 1 0;
30211                    y: 0 0 0;
30212                    confine: "sb_hbar";
30213                }
30214                description { state: "default" 0.0;
30215                    fixed: 1 1;
30216                    min: 17 10;
30217                    max: 99999 10;
30218                    rel1 {
30219                        relative: 0.5  0.5;
30220                        offset:   0    0;
30221                        to: "sb_hbar";
30222                    }
30223                    rel2 {
30224                        relative: 0.5  0.5;
30225                        offset:   0    0;
30226                        to: "sb_hbar";
30227                    }
30228                    image {
30229                        normal: "bt_sm_base2.png";
30230                        border: 4 4 4 4;
30231                        middle: SOLID;
30232                    }
30233                }
30234            }
30235            part { name: "sb_hbar_over1";
30236                clip_to: "sb_hbar_clip";
30237                mouse_events: 0;
30238                description { state: "default" 0.0;
30239                    rel1.to: "elm.dragable.hbar";
30240                    rel2.relative: 1.0 0.5;
30241                    rel2.to: "elm.dragable.hbar";
30242                    image {
30243                        normal: "bt_sm_hilight.png";
30244                        border: 4 4 4 0;
30245                    }
30246                }
30247            }
30248            part { name: "sb_hbar_over2";
30249                clip_to: "sb_hbar_clip";
30250                mouse_events: 0;
30251                description { state: "default" 0.0;
30252                    rel1.to: "elm.dragable.hbar";
30253                    rel2.to: "elm.dragable.hbar";
30254                    image {
30255                        normal: "bt_sm_shine.png";
30256                        border: 4 4 4 0;
30257                    }
30258                }
30259            }
30260        }
30261        programs {
30262            program { name: "load";
30263                signal: "load";
30264                source: "";
30265                script {
30266                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30267                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30268                    set_int(sbvis_h, 0);
30269                    set_int(sbvis_v, 0);
30270                    set_int(sbalways_v, 0);
30271                    set_int(sbalways_h, 0);
30272                    set_int(sbvis_timer, 0);
30273                }
30274            }
30275
30276            program { name: "vbar_show";
30277                signal: "elm,action,show,vbar";
30278                source: "elm";
30279                action:  STATE_SET "default" 0.0;
30280                target: "sb_vbar_clip_master";
30281            }
30282            program { name: "vbar_hide";
30283                signal: "elm,action,hide,vbar";
30284                source: "elm";
30285                action:  STATE_SET "hidden" 0.0;
30286                target: "sb_vbar_clip_master";
30287            }
30288            program { name: "vbar_show_always";
30289                signal: "elm,action,show_always,vbar";
30290                source: "elm";
30291                script {
30292                    new v;
30293                    v = get_int(sbvis_v);
30294                    v |= get_int(sbalways_v);
30295                    if (!v) {
30296                        set_int(sbalways_v, 1);
30297                        emit("do-show-vbar", "");
30298                        set_int(sbvis_v, 1);
30299                    }
30300                }
30301            }
30302            program { name: "vbar_show_notalways";
30303                signal: "elm,action,show_notalways,vbar";
30304                source: "elm";
30305                script {
30306                    new v;
30307                    v = get_int(sbalways_v);
30308                    if (v) {
30309                        set_int(sbalways_v, 0);
30310                        v = get_int(sbvis_v);
30311                        if (!v) {
30312                            emit("do-hide-vbar", "");
30313                            set_int(sbvis_v, 0);
30314                        }
30315                    }
30316                }
30317            }
30318            program { name: "sb_vbar_show";
30319                signal: "do-show-vbar";
30320                source: "";
30321                action:  STATE_SET "default" 0.0;
30322                transition: LINEAR 0.5;
30323                target: "sb_vbar_clip";
30324            }
30325            program { name: "sb_vbar_hide";
30326                signal: "do-hide-vbar";
30327                source: "";
30328                action:  STATE_SET "hidden" 0.0;
30329                transition: LINEAR 0.5;
30330                target: "sb_vbar_clip";
30331            }
30332
30333            program { name: "hbar_show";
30334                signal: "elm,action,show,hbar";
30335                source: "elm";
30336                action:  STATE_SET "default" 0.0;
30337                target: "sb_hbar_clip_master";
30338            }
30339            program { name: "hbar_hide";
30340                signal: "elm,action,hide,hbar";
30341                source: "elm";
30342                action:  STATE_SET "hidden" 0.0;
30343                target: "sb_hbar_clip_master";
30344            }
30345            program { name: "hbar_show_always";
30346                signal: "elm,action,show_always,hbar";
30347                source: "elm";
30348                script {
30349                    new v;
30350                    v = get_int(sbvis_h);
30351                    v |= get_int(sbalways_h);
30352                    if (!v) {
30353                        set_int(sbalways_h, 1);
30354                        emit("do-show-hbar", "");
30355                        set_int(sbvis_h, 1);
30356                    }
30357                }
30358            }
30359            program { name: "hbar_show_notalways";
30360                signal: "elm,action,show_notalways,hbar";
30361                source: "elm";
30362                script {
30363                    new v;
30364                    v = get_int(sbalways_h);
30365                    if (v) {
30366                        set_int(sbalways_h, 0);
30367                        v = get_int(sbvis_h);
30368                        if (!v) {
30369                            emit("do-hide-hbar", "");
30370                            set_int(sbvis_h, 0);
30371                        }
30372                    }
30373                }
30374            }
30375            program { name: "sb_hbar_show";
30376                signal: "do-show-hbar";
30377                source: "";
30378                action:  STATE_SET "default" 0.0;
30379                transition: LINEAR 0.5;
30380                target: "sb_hbar_clip";
30381            }
30382            program { name: "sb_hbar_hide";
30383                signal: "do-hide-hbar";
30384                source: "";
30385                action:  STATE_SET "hidden" 0.0;
30386                transition: LINEAR 0.5;
30387                target: "sb_hbar_clip";
30388            }
30389
30390            program { name: "scroll";
30391                signal: "elm,action,scroll";
30392                source: "elm";
30393                script {
30394                    new v;
30395                    v = get_int(sbvis_v);
30396                    v |= get_int(sbalways_v);
30397                    if (!v) {
30398                        emit("do-show-vbar", "");
30399                        set_int(sbvis_v, 1);
30400                    }
30401                    v = get_int(sbvis_h);
30402                    v |= get_int(sbalways_h);
30403                    if (!v) {
30404                        emit("do-show-hbar", "");
30405                        set_int(sbvis_h, 1);
30406                    }
30407                    v = get_int(sbvis_timer);
30408                    if (v > 0) cancel_timer(v);
30409                    v = timer(1.0, "timer0", 0);
30410                    set_int(sbvis_timer, v);
30411                }
30412            }
30413            program { name: "go1";
30414                signal: "elm,state,busy,start";
30415                source: "elm";
30416                action: STATE_SET "active" 0.0;
30417                transition: SINUSOIDAL 1.0;
30418                target:  "busy_clip";
30419            }
30420            program { name: "go2";
30421                signal: "elm,state,busy,start";
30422                source: "elm";
30423                action: STATE_SET "default" 0.0;
30424                transition: LINEAR 0.5;
30425                target: "busy";
30426                after:  "go2";
30427            }
30428            program { name: "stop1";
30429                signal: "elm,state,busy,stop";
30430                source: "elm";
30431                action: STATE_SET "default" 0.0;
30432                transition: SINUSOIDAL 1.0;
30433                target: "busy_clip";
30434                after: "stop2";
30435            }
30436          program { name: "stop2";
30437             action: ACTION_STOP;
30438             target: "go2";
30439          }
30440       }
30441    }
30442
30443    ///////////////////////////////////////////////////////////////////////////////
30444    group { name: "elm/map/base/default";
30445        script {
30446            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30447            public timer0(val) {
30448                new v;
30449                v = get_int(sbvis_v);
30450                if (v) {
30451                    v = get_int(sbalways_v);
30452                    if (!v) {
30453                        emit("do-hide-vbar", "");
30454                        set_int(sbvis_v, 0);
30455                    }
30456                }
30457                v = get_int(sbvis_h);
30458                if (v) {
30459                    v = get_int(sbalways_h);
30460                    if (!v) {
30461                        emit("do-hide-hbar", "");
30462                        set_int(sbvis_h, 0);
30463                    }
30464                }
30465                set_int(sbvis_timer, 0);
30466                return 0;
30467            }
30468        }
30469        images {
30470            image: "shelf_inset.png" COMP;
30471            image: "bt_sm_base2.png" COMP;
30472            image: "bt_sm_shine.png" COMP;
30473            image: "bt_sm_hilight.png" COMP;
30474            image: "busy-1.png" COMP;
30475            image: "busy-2.png" COMP;
30476            image: "busy-3.png" COMP;
30477            image: "busy-4.png" COMP;
30478            image: "busy-5.png" COMP;
30479            image: "busy-6.png" COMP;
30480            image: "busy-7.png" COMP;
30481            image: "busy-8.png" COMP;
30482            image: "busy-9.png" COMP;
30483        }
30484        parts {
30485            part { name: "bg";
30486                type: RECT;
30487                description { state: "default" 0.0;
30488                    rel1.offset: 1 1;
30489                    rel2.offset: -2 -2;
30490                    color: 255 255 255 0;
30491                }
30492            }
30493            part { name: "clipper";
30494                type: RECT;
30495                mouse_events: 0;
30496                description { state: "default" 0.0;
30497                    rel1.to: "bg";
30498                    rel2.to: "bg";
30499                }
30500            }
30501            part { name: "elm.swallow.content";
30502                clip_to: "clipper";
30503                type: SWALLOW;
30504                description { state: "default" 0.0;
30505                    rel1.offset: 1 1;
30506                    rel2.offset: -2 -2;
30507                }
30508            }
30509            part { name: "busy_clip";
30510                type: RECT;
30511                mouse_events: 0;
30512                description { state: "default" 0.0;
30513                    visible: 0;
30514                    color: 255 255 255 0;
30515                }
30516                description { state: "active" 0.0;
30517                    visible: 1;
30518                    color: 255 255 255 255;
30519                }
30520            }
30521            part { name: "busy";
30522                clip_to: "busy_clip";
30523                mouse_events: 0;
30524                description { state: "default" 0.0;
30525                    fixed: 1 1;
30526                    min: 32 32;
30527                    aspect: 1.0 1.0;
30528                    align: 1.0 1.0;
30529                    aspect_preference: BOTH;
30530                    rel1 {
30531                        relative: 0.9 0.9;
30532                        offset:   -9 -9;
30533                    }
30534                    rel2 {
30535                        relative: 0.9 0.9;
30536                        offset:   -9 -9;
30537                    }
30538                    image {
30539                        normal: "busy-9.png";
30540                        tween:  "busy-1.png";
30541                        tween:  "busy-2.png";
30542                        tween:  "busy-3.png";
30543                        tween:  "busy-4.png";
30544                        tween:  "busy-5.png";
30545                        tween:  "busy-6.png";
30546                        tween:  "busy-7.png";
30547                        tween:  "busy-8.png";
30548                    }
30549                }
30550            }
30551            part { name: "conf_over";
30552                mouse_events:  0;
30553                description { state: "default" 0.0;
30554                    rel1.offset: 0 0;
30555                    rel2.offset: -1 -1;
30556                    image {
30557                        normal: "shelf_inset.png";
30558                        border: 7 7 7 7;
30559                        middle: 0;
30560                    }
30561                    fill.smooth : 0;
30562                }
30563            }
30564            part { name: "sb_vbar_clip_master";
30565                type: RECT;
30566                mouse_events: 0;
30567                description { state: "default" 0.0;
30568                }
30569                description { state: "hidden" 0.0;
30570                    visible: 0;
30571                    color: 255 255 255 0;
30572                }
30573            }
30574            part { name: "sb_vbar_clip";
30575                clip_to: "sb_vbar_clip_master";
30576                type: RECT;
30577                mouse_events: 0;
30578                description { state: "default" 0.0;
30579                }
30580                description { state: "hidden" 0.0;
30581                    visible: 0;
30582                    color: 255 255 255 0;
30583                }
30584            }
30585            part { name: "sb_vbar";
30586                type: RECT;
30587                mouse_events: 0;
30588                description { state: "default" 0.0;
30589                    fixed: 1 1;
30590                    visible: 0;
30591                    min: 10 17;
30592                    align: 1.0 0.0;
30593                    rel1 {
30594                        relative: 1.0 0.0;
30595                        offset:   -2 0;
30596                    }
30597                    rel2 {
30598                        relative: 1.0 0.0;
30599                        offset:   -2 -1;
30600                        to_y:     "sb_hbar";
30601                    }
30602                }
30603            }
30604            part { name: "elm.dragable.vbar";
30605                clip_to: "sb_vbar_clip";
30606                mouse_events: 0;
30607                dragable {
30608                    x: 0 0 0;
30609                    y: 1 1 0;
30610                    confine: "sb_vbar";
30611                }
30612                description { state: "default" 0.0;
30613                    fixed: 1 1;
30614                    min: 10 17;
30615                    max: 10 99999;
30616                    rel1 {
30617                        relative: 0.5  0.5;
30618                        offset:   0    0;
30619                        to: "sb_vbar";
30620                    }
30621                    rel2 {
30622                        relative: 0.5  0.5;
30623                        offset:   0    0;
30624                        to: "sb_vbar";
30625                    }
30626                    image {
30627                        normal: "bt_sm_base2.png";
30628                        border: 6 6 6 6;
30629                        middle: SOLID;
30630                    }
30631                }
30632            }
30633            part { name: "sb_vbar_over1";
30634                clip_to: "sb_vbar_clip";
30635                mouse_events: 0;
30636                description { state: "default" 0.0;
30637                    rel1.to: "elm.dragable.vbar";
30638                    rel2.relative: 1.0 0.5;
30639                    rel2.to: "elm.dragable.vbar";
30640                    image {
30641                        normal: "bt_sm_hilight.png";
30642                        border: 6 6 6 0;
30643                    }
30644                }
30645            }
30646            part { name: "sb_vbar_over2";
30647                clip_to: "sb_vbar_clip";
30648                mouse_events: 0;
30649                description { state: "default" 0.0;
30650                    rel1.to: "elm.dragable.vbar";
30651                    rel2.to: "elm.dragable.vbar";
30652                    image {
30653                        normal: "bt_sm_shine.png";
30654                        border: 6 6 6 0;
30655                    }
30656                }
30657            }
30658
30659            part { name: "sb_hbar_clip_master";
30660                type: RECT;
30661                mouse_events: 0;
30662                description { state: "default" 0.0;
30663                }
30664                description { state: "hidden" 0.0;
30665                    visible: 0;
30666                    color: 255 255 255 0;
30667                }
30668            }
30669            part { name: "sb_hbar_clip";
30670                clip_to: "sb_hbar_clip_master";
30671                type: RECT;
30672                mouse_events: 0;
30673                description { state: "default" 0.0;
30674                }
30675                description { state: "hidden" 0.0;
30676                    visible: 0;
30677                    color: 255 255 255 0;
30678                }
30679            }
30680            part { name: "sb_hbar";
30681                type: RECT;
30682                mouse_events: 0;
30683                description { state: "default" 0.0;
30684                    fixed: 1 1;
30685                    visible: 0;
30686                    min: 17 10;
30687                    align: 0.0 1.0;
30688                    rel1 {
30689                        relative: 0.0 1.0;
30690                        offset:   0 -2;
30691                    }
30692                    rel2 {
30693                        relative: 0.0 1.0;
30694                        offset:   -1 -2;
30695                        to_x:     "sb_vbar";
30696                    }
30697                }
30698            }
30699            part { name: "elm.dragable.hbar";
30700                clip_to: "sb_hbar_clip";
30701                mouse_events: 0;
30702                dragable {
30703                    x: 1 1 0;
30704                    y: 0 0 0;
30705                    confine: "sb_hbar";
30706                }
30707                description { state: "default" 0.0;
30708                    fixed: 1 1;
30709                    min: 17 10;
30710                    max: 99999 10;
30711                    rel1 {
30712                        relative: 0.5  0.5;
30713                        offset:   0    0;
30714                        to: "sb_hbar";
30715                    }
30716                    rel2 {
30717                        relative: 0.5  0.5;
30718                        offset:   0    0;
30719                        to: "sb_hbar";
30720                    }
30721                    image {
30722                        normal: "bt_sm_base2.png";
30723                        border: 4 4 4 4;
30724                        middle: SOLID;
30725                    }
30726                }
30727            }
30728            part { name: "sb_hbar_over1";
30729                clip_to: "sb_hbar_clip";
30730                mouse_events: 0;
30731                description { state: "default" 0.0;
30732                    rel1.to: "elm.dragable.hbar";
30733                    rel2.relative: 1.0 0.5;
30734                    rel2.to: "elm.dragable.hbar";
30735                    image {
30736                        normal: "bt_sm_hilight.png";
30737                        border: 4 4 4 0;
30738                    }
30739                }
30740            }
30741            part { name: "sb_hbar_over2";
30742                clip_to: "sb_hbar_clip";
30743                mouse_events: 0;
30744                description { state: "default" 0.0;
30745                    rel1.to: "elm.dragable.hbar";
30746                    rel2.to: "elm.dragable.hbar";
30747                    image {
30748                        normal: "bt_sm_shine.png";
30749                        border: 4 4 4 0;
30750                    }
30751                }
30752            }
30753        }
30754        programs {
30755            program { name: "load";
30756                signal: "load";
30757                source: "";
30758                script {
30759                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30760                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30761                    set_int(sbvis_h, 0);
30762                    set_int(sbvis_v, 0);
30763                    set_int(sbalways_v, 0);
30764                    set_int(sbalways_h, 0);
30765                    set_int(sbvis_timer, 0);
30766                }
30767            }
30768
30769            program { name: "vbar_show";
30770                signal: "elm,action,show,vbar";
30771                source: "elm";
30772                action:  STATE_SET "default" 0.0;
30773                target: "sb_vbar_clip_master";
30774            }
30775            program { name: "vbar_hide";
30776                signal: "elm,action,hide,vbar";
30777                source: "elm";
30778                action:  STATE_SET "hidden" 0.0;
30779                target: "sb_vbar_clip_master";
30780            }
30781            program { name: "vbar_show_always";
30782                signal: "elm,action,show_always,vbar";
30783                source: "elm";
30784                script {
30785                    new v;
30786                    v = get_int(sbvis_v);
30787                    v |= get_int(sbalways_v);
30788                    if (!v) {
30789                        set_int(sbalways_v, 1);
30790                        emit("do-show-vbar", "");
30791                        set_int(sbvis_v, 1);
30792                    }
30793                }
30794            }
30795            program { name: "vbar_show_notalways";
30796                signal: "elm,action,show_notalways,vbar";
30797                source: "elm";
30798                script {
30799                    new v;
30800                    v = get_int(sbalways_v);
30801                    if (v) {
30802                        set_int(sbalways_v, 0);
30803                        v = get_int(sbvis_v);
30804                        if (!v) {
30805                            emit("do-hide-vbar", "");
30806                            set_int(sbvis_v, 0);
30807                        }
30808                    }
30809                }
30810            }
30811            program { name: "sb_vbar_show";
30812                signal: "do-show-vbar";
30813                source: "";
30814                action:  STATE_SET "default" 0.0;
30815                transition: LINEAR 0.5;
30816                target: "sb_vbar_clip";
30817            }
30818            program { name: "sb_vbar_hide";
30819                signal: "do-hide-vbar";
30820                source: "";
30821                action:  STATE_SET "hidden" 0.0;
30822                transition: LINEAR 0.5;
30823                target: "sb_vbar_clip";
30824            }
30825
30826            program { name: "hbar_show";
30827                signal: "elm,action,show,hbar";
30828                source: "elm";
30829                action:  STATE_SET "default" 0.0;
30830                target: "sb_hbar_clip_master";
30831            }
30832            program { name: "hbar_hide";
30833                signal: "elm,action,hide,hbar";
30834                source: "elm";
30835                action:  STATE_SET "hidden" 0.0;
30836                target: "sb_hbar_clip_master";
30837            }
30838            program { name: "hbar_show_always";
30839                signal: "elm,action,show_always,hbar";
30840                source: "elm";
30841                script {
30842                    new v;
30843                    v = get_int(sbvis_h);
30844                    v |= get_int(sbalways_h);
30845                    if (!v) {
30846                        set_int(sbalways_h, 1);
30847                        emit("do-show-hbar", "");
30848                        set_int(sbvis_h, 1);
30849                    }
30850                }
30851            }
30852            program { name: "hbar_show_notalways";
30853                signal: "elm,action,show_notalways,hbar";
30854                source: "elm";
30855                script {
30856                    new v;
30857                    v = get_int(sbalways_h);
30858                    if (v) {
30859                        set_int(sbalways_h, 0);
30860                        v = get_int(sbvis_h);
30861                        if (!v) {
30862                            emit("do-hide-hbar", "");
30863                            set_int(sbvis_h, 0);
30864                        }
30865                    }
30866                }
30867            }
30868            program { name: "sb_hbar_show";
30869                signal: "do-show-hbar";
30870                source: "";
30871                action:  STATE_SET "default" 0.0;
30872                transition: LINEAR 0.5;
30873                target: "sb_hbar_clip";
30874            }
30875            program { name: "sb_hbar_hide";
30876                signal: "do-hide-hbar";
30877                source: "";
30878                action:  STATE_SET "hidden" 0.0;
30879                transition: LINEAR 0.5;
30880                target: "sb_hbar_clip";
30881            }
30882
30883            program { name: "scroll";
30884                signal: "elm,action,scroll";
30885                source: "elm";
30886                script {
30887                    new v;
30888                    v = get_int(sbvis_v);
30889                    v |= get_int(sbalways_v);
30890                    if (!v) {
30891                        emit("do-show-vbar", "");
30892                        set_int(sbvis_v, 1);
30893                    }
30894                    v = get_int(sbvis_h);
30895                    v |= get_int(sbalways_h);
30896                    if (!v) {
30897                        emit("do-show-hbar", "");
30898                        set_int(sbvis_h, 1);
30899                    }
30900                    v = get_int(sbvis_timer);
30901                    if (v > 0) cancel_timer(v);
30902                    v = timer(1.0, "timer0", 0);
30903                    set_int(sbvis_timer, v);
30904                }
30905            }
30906            program { name: "go1";
30907                signal: "elm,state,busy,start";
30908                source: "elm";
30909                action: STATE_SET "active" 0.0;
30910                transition: SINUSOIDAL 1.0;
30911                target:  "busy_clip";
30912            }
30913            program { name: "go2";
30914                signal: "elm,state,busy,start";
30915                source: "elm";
30916                action: STATE_SET "default" 0.0;
30917                transition: LINEAR 0.5;
30918                target: "busy";
30919                after:  "go2";
30920            }
30921            program { name: "stop1";
30922                signal: "elm,state,busy,stop";
30923                source: "elm";
30924                action: STATE_SET "default" 0.0;
30925                transition: SINUSOIDAL 1.0;
30926                target: "busy_clip";
30927                after: "stop2";
30928            }
30929          program { name: "stop2";
30930             action: ACTION_STOP;
30931             target: "go2";
30932          }
30933       }
30934    }
30935    group { name: "elm/map/marker/radio/default";
30936         data {
30937             item: size_w 24;
30938             item: size_h 24;
30939             item: size_max_w 58;
30940             item: size_max_h 58;
30941         }
30942         images {
30943                 image: "map_item.png" COMP;
30944         }
30945         parts {
30946             part { name: "whole";
30947                 description { state: "default" 0.0;
30948                 }
30949             }
30950             part { name: "base";
30951                 ignore_flags: ON_HOLD;
30952                 description { state: "default" 0.0;
30953                     image.normal: "map_item.png";
30954                 }
30955             }
30956             part { name: "elm.icon";
30957                 type: SWALLOW;
30958                 clip_to: "whole";
30959                 mouse_events:  0;
30960                 description { state: "default" 0.0;
30961                     rel1.relative: 0.27 0.27;
30962                     rel2.relative: 0.73 0.73;
30963                 }
30964             }
30965             part { name: "elm.text";
30966                 type:          TEXT;
30967                 effect:        SOFT_SHADOW;
30968                 mouse_events:  0;
30969                 scale: 1;
30970                 description { state: "default" 0.0;
30971                     align:    0.5 0.5;
30972                     color: 224 224 224 255;
30973                     color3: 0 0 0 64;
30974                     rel1.relative: 0.28 0.25;
30975                     rel2.relative: 0.75 0.75;
30976                     text {
30977                         font:     "Sans,Edje-Vera";
30978                         size:     10;
30979                         min:      0 0;
30980                         align:    0.5 0.5;
30981                     }
30982                 }
30983             }
30984        }
30985        programs {
30986             program { name: "open";
30987                 signal: "mouse,clicked,1";
30988                 source: "base";
30989                 action: SIGNAL_EMIT "open" "elm";
30990             }
30991             program { name: "bringin";
30992                 signal: "mouse,down,1,double";
30993                 source: "base";
30994                 action: SIGNAL_EMIT "bringin" "elm";
30995             }
30996        }
30997    }
30998    group { name: "elm/map/marker/radio2/default";
30999         data {
31000             item: size_w 24;
31001             item: size_h 24;
31002             item: size_max_w 58;
31003             item: size_max_h 58;
31004         }
31005         images {
31006                 image: "map_item_2.png" COMP;
31007         }
31008         parts {
31009             part { name: "base";
31010                 ignore_flags: ON_HOLD;
31011                 description { state: "default" 0.0;
31012                     image.normal: "map_item_2.png";
31013                 }
31014             }
31015             part { name: "elm.text";
31016                 type:          TEXT;
31017                 effect:        SOFT_SHADOW;
31018                 mouse_events:  0;
31019                 scale: 1;
31020                 description { state: "default" 0.0;
31021                     align:    0.5 0.5;
31022                     color: 224 224 224 255;
31023                     color3: 0 0 0 64;
31024                     rel1.relative: 0.28 0.25;
31025                     rel2.relative: 0.75 0.75;
31026                     text {
31027                         font:     "Sans,Edje-Vera";
31028                         size:     10;
31029                         min:      0 0;
31030                         align:    0.5 0.5;
31031                     }
31032                 }
31033             }
31034        }
31035        programs {
31036             program { name: "open";
31037                 signal: "mouse,clicked,1";
31038                 source: "base";
31039                 action: SIGNAL_EMIT "open" "elm";
31040             }
31041             program { name: "bringin";
31042                 signal: "mouse,down,1,double";
31043                 source: "base";
31044                 action: SIGNAL_EMIT "bringin" "elm";
31045             }
31046        }
31047    }
31048    group { name: "elm/map/marker/empty/default";
31049         data {
31050             item: size_w 22;
31051             item: size_h 22;
31052             item: size_max_w 64;
31053             item: size_max_h 64;
31054         }
31055         parts {
31056             part { name: "whole";
31057                 description { state: "default" 0.0;
31058                 }
31059             }
31060             part { name: "base";
31061                 ignore_flags: ON_HOLD;
31062                 description { state: "default" 0.0;
31063                 }
31064             }
31065             part { name: "elm.icon";
31066                 type: SWALLOW;
31067                 clip_to: "whole";
31068                 mouse_events:  0;
31069                 description { state: "default" 0.0;
31070                 }
31071             }
31072             part { name: "elm.text";
31073                 type:          TEXT;
31074                 effect:        SOFT_SHADOW;
31075                 mouse_events:  0;
31076                 scale: 1;
31077                 description { state: "default" 0.0;
31078                     align:    0.5 0.5;
31079                     color: 224 224 224 255;
31080                     color3: 0 0 0 64;
31081                     rel1.relative: 0.28 0.25;
31082                     rel2.relative: 0.75 0.75;
31083                     text {
31084                         font:     "Sans,Edje-Vera";
31085                         size:     10;
31086                         min:      0 0;
31087                         align:    0.5 0.5;
31088                     }
31089                 }
31090             }
31091        }
31092        programs {
31093             program { name: "open";
31094                 signal: "mouse,clicked,1";
31095                 source: "base";
31096                 action: SIGNAL_EMIT "open" "elm";
31097             }
31098             program { name: "bringin";
31099                 signal: "mouse,down,1,double";
31100                 source: "base";
31101                 action: SIGNAL_EMIT "bringin" "elm";
31102             }
31103        }
31104    }
31105    group { name: "elm/map/marker_bubble/default";
31106     images {
31107       image: "bubble.png" COMP;
31108       image: "bubble_shine.png" COMP;
31109     }
31110     data {
31111             item: size_w 400;
31112             item: size_h 100;
31113         }
31114     parts {
31115     part { name: "clipper";
31116         mouse_events:  1;
31117         description { state: "default" 0.0;
31118           color: 255 255 255 0;
31119         }
31120         description { state: "show" 0.0;
31121             inherit: "default" 0.0;
31122             color: 255 255 255 255;
31123         }
31124       }
31125      part { name: "base0";
31126         mouse_events:  0;
31127         clip_to: "clipper";
31128         description { state: "default" 0.0;
31129           image {
31130             normal: "bubble.png";
31131             border: 11 36 10 19;
31132           }
31133           image.middle: SOLID;
31134           fill.smooth: 0;
31135         }
31136         description { state: "rtl" 0.0;
31137            inherit: "default" 0.0;
31138            image {
31139               normal: "bubble_4.png";
31140               border: 11 36 18 9;
31141            }
31142         }
31143       }
31144       part { name: "elm.swallow.content";
31145         type: SWALLOW;
31146         clip_to: "clipper";
31147         description { state: "default" 0.0;
31148             align: 0.5 0.5;
31149           rel1 {
31150             offset: 9 8;
31151           }
31152           rel2 {
31153             offset: -10 -17;
31154           }
31155         }
31156       }
31157       part { name: "shine";
31158         mouse_events:  0;
31159         clip_to: "clipper";
31160         description { state:    "default" 0.0;
31161           rel1 {
31162             to: "base0";
31163           }
31164           rel2 {
31165             to: "base0";
31166             relative: 1.0 0.5;
31167           }
31168           image {
31169             normal: "bubble_shine.png";
31170             border: 5 5 5 0;
31171           }
31172           fill.smooth: 0;
31173         }
31174         }
31175     }
31176     programs {
31177         program { name: "show";
31178             signal: "show";
31179             action: STATE_SET "show" 0.0;
31180             target: "clipper";
31181             transition: ACCELERATE 0.5;
31182         }
31183     }
31184   }
31185
31186 /////////////////////////////////////////////////////////////////////////////
31187 // PANES
31188 /////////////////////////////////////////////////////////////////////////////
31189   group {
31190      name: "elm/panes/vertical/default";
31191       images {
31192          image: "bt_base1.png" COMP;
31193          image: "bt_base2.png" COMP;
31194          image: "bt_hilight.png" COMP;
31195          image: "bt_shine.png" COMP;
31196          image: "bt_glow.png" COMP;
31197          image: "bt_dis_base.png" COMP;
31198          image: "bt_dis_hilight.png" COMP;
31199          image: "arrow_right.png" COMP;
31200          image: "arrow_left.png" COMP;
31201       }
31202      parts
31203        {
31204           part
31205             {
31206                name: "whole";
31207                type: RECT;
31208                mouse_events: 0;
31209                description
31210                  {
31211                     state: "default" 0.0;
31212                     visible: 0;
31213                  }
31214             }
31215
31216          //2 contents
31217           part
31218             {
31219                name: "whole_left";
31220                type: RECT;
31221                mouse_events: 0;
31222                description
31223                  {
31224                     state: "default" 0.0;
31225                     rel2.to_x: "elm.bar";
31226                     rel2.relative: 0.0 1.0;
31227                     visible: 1;
31228                  }
31229             }
31230           part
31231             {
31232                name: "elm.swallow.left";
31233                type: SWALLOW;
31234                clip_to: "whole_left";
31235                description
31236                  {
31237                     state: "default" 0.0;
31238                     rel1.to: "whole_left";
31239                     rel2.to: "whole_left";
31240                  }
31241             }
31242
31243             part
31244             {
31245                name: "whole_right";
31246                type: RECT;
31247                mouse_events: 0;
31248                description
31249                  {
31250                     state: "default" 0.0;
31251                     rel1.to_x: "elm.bar";
31252                     rel1.relative: 1.0 0.0;
31253                     visible: 1;
31254                  }
31255             }
31256           part
31257             {
31258                name: "elm.swallow.right";
31259                type: SWALLOW;
31260                clip_to: "whole_right";
31261                description
31262                  {
31263                     state: "default" 0.0;
31264                     rel1.to: "whole_right";
31265                     rel2.to: "whole_right";
31266                  }
31267             }
31268          //BAR
31269          part { name: "elm.bar";
31270             mouse_events: 1;
31271             dragable {
31272                confine: "whole";
31273                x: 1 1 1;
31274                y: 0 0 0;
31275             }
31276             description { state: "default" 0.0;
31277                max: 15 9999;
31278                min: 15 100;
31279                rel1.relative: 0.0 0.5;
31280                rel2.relative: 1.0 0.5;
31281                image {
31282                   normal: "bt_base2.png";
31283                   border: 7 7 7 7;
31284                }
31285                image.middle: SOLID;
31286             }
31287             description { state: "clicked" 0.0;
31288                inherit: "default" 0.0;
31289                image.normal: "bt_base1.png";
31290                image.middle: SOLID;
31291             }
31292             description { state: "disabled" 0.0;
31293                inherit:  "default" 0.0;
31294                image {
31295                   normal: "bt_dis_base.png";
31296                   border: 4 4 4 4;
31297                }
31298             }
31299          }
31300          part {          name: "over1";
31301             mouse_events: 0;
31302             description { state: "default" 0.0;
31303             rel1.to: "elm.bar";
31304             rel2.to: "elm.bar";
31305                rel2.relative: 1.0 0.5;
31306                image {
31307                   normal: "bt_hilight.png";
31308                   border: 7 7 7 0;
31309                }
31310             }
31311             description { state: "disabled" 0.0;
31312                inherit:  "default" 0.0;
31313                image {
31314                   normal: "bt_dis_hilight.png";
31315                   border: 4 4 4 0;
31316                }
31317             }
31318          }
31319          part { name: "over2";
31320             mouse_events: 1;
31321             repeat_events: 1;
31322             ignore_flags: ON_HOLD;
31323             description { state: "default" 0.0;
31324             rel1.to: "elm.bar";
31325             rel2.to: "elm.bar";
31326                image {
31327                   normal: "bt_shine.png";
31328                   border: 7 7 7 7;
31329                }
31330             }
31331             description { state: "disabled" 0.0;
31332                inherit:  "default" 0.0;
31333                visible: 0;
31334             }
31335          }
31336          part { name: "over3";
31337             mouse_events: 1;
31338             repeat_events: 1;
31339             description { state: "default" 0.0;
31340                color: 255 255 255 0;
31341             rel1.to: "elm.bar";
31342             rel2.to: "elm.bar";
31343                image {
31344                   normal: "bt_glow.png";
31345                   border: 12 12 12 12;
31346                }
31347                fill.smooth : 0;
31348             }
31349             description { state: "clicked" 0.0;
31350                inherit:  "default" 0.0;
31351                visible: 1;
31352                color: 255 255 255 255;
31353             }
31354          }
31355
31356          //Arrow
31357          part {
31358             name: "arrow_right";
31359             repeat_events: 1;
31360             description { state: "default" 0.0;
31361                 min: 45 45;
31362                 max: 45 45;
31363                 color: 255 255 255 0;
31364
31365                 rel1.relative: 1.0 0.5;
31366                 rel1.to_x: "elm.bar";
31367                 rel1.offset: 45/2 -45/2;
31368
31369                 rel2.relative: 1.0 0.5;
31370                 rel2.to_x: "elm.bar";
31371                 rel2.offset: 45/2 45/2;
31372
31373                 image.normal: "arrow_right.png";
31374
31375                 fixed: 1 1;
31376             }
31377             description { state: "default" 0.1;
31378                 inherit: "default" 0.0;
31379                 image.normal: "arrow_left.png";
31380             }
31381             description { state: "anim_1" 0.0;
31382                 inherit: "default" 0.0;
31383                 color: 255 255 255 200;
31384                 rel1.offset: (45/2 + 10) -45/2;
31385                 rel2.offset: (45/2 +10) 45/2;
31386             }
31387             description { state: "anim_1" 0.1;
31388                 inherit: "default" 0.0;
31389                 image.normal: "arrow_left.png";
31390                 color: 255 255 255 200;
31391                 rel1.offset: (45/2 + 10) -45/2;
31392                 rel2.offset: (45/2 +10) 45/2;
31393             }
31394             description { state: "anim_2" 0.0;
31395                 inherit: "default" 0.0;
31396                 color: 255 255 255 0;
31397                 rel1.offset: (45/2 + 20) -45/2;
31398                 rel2.offset: (45/2 + 20) 45/2;
31399             }
31400             description { state: "anim_2" 0.1;
31401                 inherit: "default" 0.0;
31402                 image.normal: "arrow_left.png";
31403                 color: 255 255 255 0;
31404                 rel1.offset: (45/2 + 20) -45/2;
31405                 rel2.offset: (45/2 + 20) 45/2;
31406             }
31407          }
31408         part {
31409             name: "arrow_left";
31410             repeat_events: 1;
31411             description { state: "default" 0.0;
31412                 min: 45 45;
31413                 max: 45 45;
31414                 color: 255 255 255 0;
31415
31416                 rel1.relative: 0.0 0.5;
31417                 rel1.to_x: "elm.bar";
31418                 rel1.offset: -45/2 -45/2;
31419
31420                 rel2.relative: 0.0 0.5;
31421                 rel2.to_x: "elm.bar";
31422                 rel2.offset: -45/2 45/2;
31423
31424                 image.normal: "arrow_left.png";
31425
31426                 fixed: 1 1;
31427             }
31428             description { state: "default" 0.1;
31429                 inherit: "default" 0.0;
31430                 image.normal: "arrow_right.png";
31431             }
31432             description { state: "anim_1" 0.0;
31433                 inherit: "default" 0.0;
31434                 color: 255 255 255 200;
31435                 rel1.offset: (-45/2 - 10) -45/2;
31436                 rel2.offset: (-45/2 - 10) 45/2;
31437             }
31438             description { state: "anim_1" 0.1;
31439                 inherit: "default" 0.0;
31440                 image.normal: "arrow_right.png";
31441                 color: 255 255 255 200;
31442                 rel1.offset: (-45/2 - 10) -45/2;
31443                 rel2.offset: (-45/2 - 10) 45/2;
31444             }
31445             description { state: "anim_2" 0.0;
31446                 inherit: "default" 0.0;
31447                 color: 255 255 255 0;
31448                 rel1.offset: (-45/2 - 20) -45/2;
31449                 rel2.offset: (-45/2 - 20) 45/2;
31450             }
31451             description { state: "anim_2" 0.1;
31452                 inherit: "default" 0.0;
31453                 image.normal: "arrow_right.png";
31454                 color: 255 255 255 0;
31455                 rel1.offset: (-45/2 - 20) -45/2;
31456                 rel2.offset: (-45/2 - 20) 45/2;
31457             }
31458          }
31459
31460        }
31461         programs {
31462          program {
31463             name:   "button_click";
31464             signal: "mouse,down,1";
31465             source: "over2";
31466             action: SIGNAL_EMIT "elm,action,press" "";
31467             after: "button_click_anim";
31468             after: "arrow_anim_start";
31469          }
31470          program {
31471             name:   "button_click_anim";
31472             action: STATE_SET "clicked" 0.0;
31473             target: "elm.bar";
31474          }
31475          program {
31476             name:   "button_unclick";
31477             signal: "mouse,up,1";
31478             source: "over2";
31479             action: SIGNAL_EMIT "elm,action,unpress" "";
31480             after: "button_unclick_anim";
31481             after: "arrow_anim_stop";
31482          }
31483          program {
31484             name:   "button_unclick_anim";
31485             action: STATE_SET "default" 0.0;
31486             target: "elm.bar";
31487          }
31488          program {
31489             name:   "button_click2";
31490             signal: "mouse,down,1";
31491             source: "over3";
31492             action: STATE_SET "clicked" 0.0;
31493             target: "over3";
31494          }
31495          program {
31496             name:   "button_unclick2";
31497             signal: "mouse,up,1";
31498             source: "over3";
31499             action: STATE_SET "default" 0.0;
31500             transition: DECELERATE 0.5;
31501             target: "over3";
31502          }
31503          program {
31504             name:   "button_unclick3";
31505             signal: "mouse,up,1";
31506             source: "over2";
31507             action: SIGNAL_EMIT "elm,action,click" "";
31508          }
31509          program {
31510             name:   "button_down_double";
31511             signal: "mouse,down,1,double";
31512             source: "over3";
31513             action: SIGNAL_EMIT "elm,action,click,double" "";
31514          }
31515
31516          //arrows animation
31517          program {
31518             name: "arrow_anim_start";
31519             script {
31520                new st[31];
31521                new Float:vl;
31522                get_state(PART:"arrow_left", st, 30, vl);
31523                if (vl == 0.0) {
31524                   run_program(PROGRAM:"arrow_anim_start_ltr");
31525                }
31526                else {
31527                   run_program(PROGRAM:"arrow_anim_start_rtl");
31528                }
31529             }
31530          }
31531          program {
31532             name: "arrow_anim_stop";
31533             script {
31534                new st[31];
31535                new Float:vl;
31536                get_state(PART:"arrow_left", st, 30, vl);
31537                if (vl == 0.0) {
31538                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31539                }
31540                else {
31541                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31542                }
31543             }
31544          }
31545
31546          program {
31547             name: "arrow_anim_start_ltr";
31548             action: STATE_SET "anim_1" 0.0;
31549             target: "arrow_right";
31550             target: "arrow_left";
31551             transition: LINEAR 0.6;
31552             after: "arrow_anim_1_ltr";
31553          }
31554          program {
31555             name: "arrow_anim_1_ltr";
31556             action: STATE_SET "anim_2" 0.0;
31557             target: "arrow_right";
31558             target: "arrow_left";
31559             transition: LINEAR 0.6;
31560             after: "arrow_anim_2_ltr";
31561          }
31562          program {
31563             name: "arrow_anim_2_ltr";
31564             action: STATE_SET "default" 0.0;
31565             target: "arrow_right";
31566             target: "arrow_left";
31567             after: "arrow_anim_start_ltr";
31568          }
31569          program {
31570             name: "arrow_anim_stop_ltr";
31571             action: ACTION_STOP;
31572             target: "arrow_anim_start_ltr";
31573             target: "arrow_anim_1_ltr";
31574             target: "arrow_anim_2_ltr";
31575             after: "arrow_anim_stop_1_ltr";
31576          }
31577          program {
31578             name: "arrow_anim_stop_1_ltr";
31579             action: STATE_SET "default" 0.0;
31580             target: "arrow_right";
31581             target: "arrow_left";
31582             transition: DECELERATE 0.4;
31583         }
31584          program {
31585             name: "arrow_anim_start_rtl";
31586             action: STATE_SET "anim_1" 0.1;
31587             target: "arrow_right";
31588             target: "arrow_left";
31589             transition: LINEAR 0.6;
31590             after: "arrow_anim_1_rtl";
31591          }
31592          program {
31593             name: "arrow_anim_1_rtl";
31594             action: STATE_SET "anim_2" 0.1;
31595             target: "arrow_right";
31596             target: "arrow_left";
31597             transition: LINEAR 0.6;
31598             after: "arrow_anim_2_rtl";
31599          }
31600          program {
31601             name: "arrow_anim_2_rtl";
31602             action: STATE_SET "default" 0.1;
31603             target: "arrow_right";
31604             target: "arrow_left";
31605             after: "arrow_anim_start_rtl";
31606          }
31607          program {
31608             name: "arrow_anim_stop_rtl";
31609             action: ACTION_STOP;
31610             target: "arrow_anim_start_rtl";
31611             target: "arrow_anim_1_rtl";
31612             target: "arrow_anim_2_rtl";
31613             after: "arrow_anim_stop_1_rtl";
31614          }
31615          program {
31616             name: "arrow_anim_stop_1_rtl";
31617             action: STATE_SET "default" 0.1;
31618             target: "arrow_right";
31619             target: "arrow_left";
31620             transition: DECELERATE 0.4;
31621         }
31622          program { name: "to_rtl";
31623             signal: "edje,state,rtl";
31624             source: "edje";
31625             script {
31626                new st[31];
31627                new Float:vl;
31628                get_state(PART:"arrow_left", st, 30, vl);
31629                if (vl == 0.0) {
31630                   set_state(PART:"arrow_left", st, 0.1);
31631                }
31632                get_state(PART:"arrow_right", st, 30, vl);
31633                if (vl == 0.0) {
31634                   set_state(PART:"arrow_right", st, 0.1);
31635                }
31636             }
31637          }
31638          program { name: "to_ltr";
31639             signal: "edje,state,ltr";
31640             source: "edje";
31641             script {
31642                new st[31];
31643                new Float:vl;
31644                get_state(PART:"arrow_left", st, 30, vl);
31645                if (vl == 0.1) {
31646                   set_state(PART:"arrow_left", st, 0.0);
31647                }
31648                get_state(PART:"arrow_right", st, 30, vl);
31649                if (vl == 0.1) {
31650                   set_state(PART:"arrow_right", st, 0.0);
31651                }
31652             }
31653          }
31654       }
31655   }
31656
31657   group {
31658      name: "elm/panes/horizontal/default";
31659       images {
31660          image: "bt_base1.png" COMP;
31661          image: "bt_base2.png" COMP;
31662          image: "bt_hilight.png" COMP;
31663          image: "bt_shine.png" COMP;
31664          image: "bt_glow.png" COMP;
31665          image: "bt_dis_base.png" COMP;
31666          image: "bt_dis_hilight.png" COMP;
31667          image: "arrow_up.png" COMP;
31668          image: "arrow_down.png" COMP;
31669       }
31670      parts
31671        {
31672           part
31673             {
31674                name: "whole";
31675                type: RECT;
31676                mouse_events: 0;
31677                description
31678                  {
31679                     state: "default" 0.0;
31680                     visible: 0;
31681                  }
31682             }
31683
31684          //2 contents
31685           part
31686             {
31687                name: "whole_left";
31688                type: RECT;
31689                mouse_events: 0;
31690                description
31691                  {
31692                     state: "default" 0.0;
31693                     rel2.to_y: "elm.bar";
31694                     rel2.relative: 1.0 0.0;
31695                     visible: 1;
31696                  }
31697             }
31698           part
31699             {
31700                name: "elm.swallow.left";
31701                type: SWALLOW;
31702                clip_to: "whole_left";
31703                description
31704                  {
31705                     state: "default" 0.0;
31706                     rel1.to: "whole_left";
31707                     rel2.to: "whole_left";
31708                  }
31709             }
31710
31711             part
31712             {
31713                name: "whole_right";
31714                type: RECT;
31715                mouse_events: 0;
31716                description
31717                  {
31718                     state: "default" 0.0;
31719                     rel1.to_y: "elm.bar";
31720                     rel1.relative: 0.0 1.0;
31721                     visible: 1;
31722                  }
31723             }
31724           part
31725             {
31726                name: "elm.swallow.right";
31727                type: SWALLOW;
31728                clip_to: "whole_right";
31729                description
31730                  {
31731                     state: "default" 0.0;
31732                     rel1.to: "whole_right";
31733                     rel2.to: "whole_right";
31734                  }
31735             }
31736          //BAR
31737          part { name: "elm.bar";
31738             mouse_events: 1;
31739             dragable {
31740                confine: "whole";
31741                x: 0 0 0;
31742                y: 1 1 1;
31743             }
31744             description { state: "default" 0.0;
31745                max: 999 15;
31746                min: 100 15;
31747                rel1.relative: 0.5 0.0;
31748                rel2.relative: 0.5 1.0;
31749                image {
31750                   normal: "bt_base2.png";
31751                   border: 7 7 7 7;
31752                }
31753                image.middle: SOLID;
31754             }
31755             description { state: "clicked" 0.0;
31756                inherit: "default" 0.0;
31757                image.normal: "bt_base1.png";
31758                image.middle: SOLID;
31759             }
31760             description { state: "disabled" 0.0;
31761                inherit:  "default" 0.0;
31762                image {
31763                   normal: "bt_dis_base.png";
31764                   border: 4 4 4 4;
31765                }
31766             }
31767          }
31768          part {          name: "over1";
31769             mouse_events: 0;
31770             description { state: "default" 0.0;
31771             rel1.to: "elm.bar";
31772             rel2.to: "elm.bar";
31773                rel2.relative: 1.0 0.5;
31774                image {
31775                   normal: "bt_hilight.png";
31776                   border: 7 7 7 0;
31777                }
31778             }
31779             description { state: "disabled" 0.0;
31780                inherit:  "default" 0.0;
31781                image {
31782                   normal: "bt_dis_hilight.png";
31783                   border: 4 4 4 0;
31784                }
31785             }
31786          }
31787          part { name: "over2";
31788             mouse_events: 1;
31789             repeat_events: 1;
31790             ignore_flags: ON_HOLD;
31791             description { state: "default" 0.0;
31792             rel1.to: "elm.bar";
31793             rel2.to: "elm.bar";
31794                image {
31795                   normal: "bt_shine.png";
31796                   border: 7 7 7 7;
31797                }
31798             }
31799             description { state: "disabled" 0.0;
31800                inherit:  "default" 0.0;
31801                visible: 0;
31802             }
31803          }
31804          part { name: "over3";
31805             mouse_events: 1;
31806             repeat_events: 1;
31807             description { state: "default" 0.0;
31808                color: 255 255 255 0;
31809             rel1.to: "elm.bar";
31810             rel2.to: "elm.bar";
31811                image {
31812                   normal: "bt_glow.png";
31813                   border: 12 12 12 12;
31814                }
31815                fill.smooth : 0;
31816             }
31817             description { state: "clicked" 0.0;
31818                inherit:  "default" 0.0;
31819                visible: 1;
31820                color: 255 255 255 255;
31821             }
31822          }
31823
31824          //Arrow
31825          part {
31826             name: "arrow_right";
31827             repeat_events: 1;
31828             description { state: "default" 0.0;
31829                 min: 45 45;
31830                 max: 45 45;
31831                 color: 255 255 255 0;
31832
31833                 rel1.relative: 0.5 1.0;
31834                 rel1.to_y: "elm.bar";
31835                 rel1.offset: -45/2 45/2;
31836
31837                 rel2.relative: 0.5 1.0;
31838                 rel2.to_y: "elm.bar";
31839                 rel2.offset: 45/2 45/2;
31840
31841                 image.normal: "arrow_down.png";
31842
31843                 fixed: 1 1;
31844             }
31845             description { state: "anim_1" 0.0;
31846                 inherit: "default" 0.0;
31847                 color: 255 255 255 200;
31848                 rel1.offset: -45/2 (45/2 +10);
31849                 rel2.offset: 45/2 (45/2 +10);
31850             }
31851             description { state: "anim_2" 0.0;
31852                 inherit: "default" 0.0;
31853                 color: 255 255 255 0;
31854                 rel1.offset: -45/2 (45/2 + 20);
31855                 rel2.offset: 45/2 (45/2 + 20);
31856             }
31857          }
31858         part {
31859             name: "arrow_left";
31860             repeat_events: 1;
31861             description { state: "default" 0.0;
31862                 min: 45 45;
31863                 max: 45 45;
31864                 color: 255 255 255 0;
31865
31866                 rel1.relative: 0.5 0.0;
31867                 rel1.to_y: "elm.bar";
31868                 rel1.offset: -45/2 -45/2;
31869
31870                 rel2.relative: 0.5 0.0;
31871                 rel2.to_y: "elm.bar";
31872                 rel2.offset: 45/2 -45/2;
31873
31874                 image.normal: "arrow_up.png";
31875
31876                 fixed: 1 1;
31877             }
31878             description { state: "anim_1" 0.0;
31879                 inherit: "default" 0.0;
31880                 color: 255 255 255 200;
31881                 rel1.offset: -45/2 (-45/2 - 10);
31882                 rel2.offset: 45/2 (-45/2 - 10);
31883             }
31884             description { state: "anim_2" 0.0;
31885                 inherit: "default" 0.0;
31886                 color: 255 255 255 0;
31887                 rel1.offset: -45/2 (-45/2 - 20);
31888                 rel2.offset: 45/2 (-45/2 - 20);
31889             }
31890          }
31891
31892        }
31893         programs {
31894          program {
31895             name:   "button_click";
31896             signal: "mouse,down,1";
31897             source: "over2";
31898             action: SIGNAL_EMIT "elm,action,press" "";
31899             after: "button_click_anim";
31900             after: "arrow_anim_start";
31901          }
31902          program {
31903             name:   "button_click_anim";
31904             action: STATE_SET "clicked" 0.0;
31905             target: "elm.bar";
31906          }
31907          program {
31908             name:   "button_unclick";
31909             signal: "mouse,up,1";
31910             source: "over2";
31911             action: SIGNAL_EMIT "elm,action,unpress" "";
31912             after: "button_unclick_anim";
31913             after: "arrow_anim_stop";
31914          }
31915          program {
31916             name:   "button_unclick_anim";
31917             action: STATE_SET "default" 0.0;
31918             target: "elm.bar";
31919          }
31920          program {
31921             name:   "button_click2";
31922             signal: "mouse,down,1";
31923             source: "over3";
31924             action: STATE_SET "clicked" 0.0;
31925             target: "over3";
31926          }
31927          program {
31928             name:   "button_unclick2";
31929             signal: "mouse,up,1";
31930             source: "over3";
31931             action: STATE_SET "default" 0.0;
31932             transition: DECELERATE 0.5;
31933             target: "over3";
31934          }
31935          program {
31936             name:   "button_unclick3";
31937             signal: "mouse,up,1";
31938             source: "over2";
31939             action: SIGNAL_EMIT "elm,action,click" "";
31940          }
31941          program {
31942             name:   "button_down_double";
31943             signal: "mouse,down,1,double";
31944             source: "over3";
31945             action: SIGNAL_EMIT "elm,action,click,double" "";
31946          }
31947
31948          //arrows animation
31949          program {
31950             name: "arrow_anim_start";
31951             action: STATE_SET "anim_1" 0.0;
31952             target: "arrow_right";
31953             target: "arrow_left";
31954             transition: LINEAR 0.6;
31955             after: "arrow_anim_1";
31956          }
31957          program {
31958             name: "arrow_anim_1";
31959             action: STATE_SET "anim_2" 0.0;
31960             target: "arrow_right";
31961             target: "arrow_left";
31962             transition: LINEAR 0.6;
31963             after: "arrow_anim_2";
31964          }
31965          program {
31966             name: "arrow_anim_2";
31967             action: STATE_SET "default" 0.0;
31968             target: "arrow_right";
31969             target: "arrow_left";
31970             after: "arrow_anim_start";
31971          }
31972          program {
31973             name: "arrow_anim_stop";
31974             action: ACTION_STOP;
31975             target: "arrow_anim_start";
31976             target: "arrow_anim_1";
31977             target: "arrow_anim_2";
31978             after: "arrow_anim_stop_1";
31979          }
31980          program {
31981             name: "arrow_anim_stop_1";
31982             action: STATE_SET "default" 0.0;
31983             target: "arrow_right";
31984             target: "arrow_left";
31985             transition: DECELERATE 0.4;
31986         }
31987       }
31988   }
31989
31990
31991
31992 /////////////////////////////////////////////////////////////////////////////
31993 // PANEL
31994 /////////////////////////////////////////////////////////////////////////////
31995   group {
31996      name: "elm/panel/base/left";
31997      alias: "elm/panel/base/top";
31998      images
31999        {
32000           image: "bt_base1.png" COMP;
32001           image: "bt_hilight.png" COMP;
32002           image: "bt_shine.png" COMP;
32003           image: "bt_glow.png" COMP;
32004           image: "bt_dis_base.png" COMP;
32005           image: "icon_arrow_left.png" COMP;
32006           image: "icon_arrow_right.png" COMP;
32007        }
32008        data {
32009           item: "focus_highlight" "on";
32010        }
32011      parts
32012        {
32013             part { name: "focus_highlight";
32014                description { state: "default" 0.0;
32015                   visible: 0;
32016                   color: 255 255 255 0;
32017                   rel1 {
32018                      to: "btn";
32019                      offset: -8 -8;
32020                   }
32021                   rel2 {
32022                      to: "btn";
32023                      offset: 7 7;
32024                   }
32025                   image {
32026                      normal: "frame_2.png";
32027                      border: 5 5 32 26;
32028                      middle: 0;
32029                   }
32030                }
32031                description { state: "enabled" 0.0;
32032                   inherit: "default" 0.0;
32033                   visible: 1;
32034                   color: 255 255 255 255;
32035                }
32036             }
32037           part
32038             {
32039                name: "bg";
32040                type: RECT;
32041                mouse_events: 0;
32042                description
32043                  {
32044                     state: "default" 0.0;
32045                     color: 255 255 255 0;
32046                     rel1.relative: 0.0 0.0;
32047                     rel1.offset: 0 0;
32048                     rel2.relative: 1.0 1.0;
32049                     rel2.offset: -1 -1;
32050                  }
32051                description
32052                  {
32053                     state: "hidden" 0.0;
32054                     inherit: "default" 0.0;
32055                     rel1.relative: -1.0 0.0;
32056                     rel1.offset: 21 0;
32057                     rel2.relative: 0.0 1.0;
32058                     rel2.offset: 20 -1;
32059                  }
32060             }
32061           part
32062             {
32063                name: "base";
32064                type: IMAGE;
32065                mouse_events: 0;
32066                description
32067                  {
32068                     state: "default" 0.0;
32069                     rel1.to: "bg";
32070                     rel2.to: "bg";
32071                     rel2.offset: -20 -1;
32072                     image
32073                       {
32074                          normal: "bt_dis_base.png";
32075                          border: 4 4 4 4;
32076                       }
32077                  }
32078             }
32079           part
32080             {
32081                name: "clipper";
32082                type: RECT;
32083                mouse_events: 0;
32084                description
32085                  {
32086                     state: "default" 0.0;
32087                     rel1
32088                       {
32089                          offset: 4 4;
32090                          to: "base";
32091                       }
32092                     rel2
32093                       {
32094                          offset: -5 -5;
32095                          to: "base";
32096                       }
32097                  }
32098             }
32099           part
32100             {
32101                name: "elm.swallow.content";
32102                type: SWALLOW;
32103                clip_to: "clipper";
32104                description
32105                  {
32106                     state: "default" 0.0;
32107                     rel1.to: "clipper";
32108                     rel2.to: "clipper";
32109                  }
32110             }
32111           part
32112             {
32113                name: "btn";
32114                type: IMAGE;
32115                mouse_events: 1;
32116                description
32117                  {
32118                     state: "default" 0.0;
32119                     max: 32 48;
32120                     fixed: 1 1;
32121                     align: 0.0 0.5;
32122                     rel1
32123                       {
32124                          relative: 1.0 0.0;
32125                          offset: -3 0;
32126                          to_x: "base";
32127                       }
32128                     rel2.to_x: "bg";
32129                     image
32130                       {
32131                          normal: "bt_base1.png";
32132                          border: 0 5 4 12;
32133                       }
32134                     fill.smooth: 0;
32135                  }
32136                description
32137                  {
32138                     state: "clicked" 0.0;
32139                     inherit: "default" 0.0;
32140                  }
32141             }
32142           part
32143             {
32144                name: "btn_over";
32145                type: IMAGE;
32146                mouse_events: 0;
32147                description
32148                  {
32149                     state: "default" 0.0;
32150                     rel1.to: "btn";
32151                     rel2
32152                       {
32153                          relative: 1.0 0.5;
32154                          to: "btn";
32155                       }
32156                     image
32157                       {
32158                          normal: "bt_hilight.png";
32159                          border: 0 7 7 0;
32160                       }
32161                  }
32162             }
32163           part
32164             {
32165                name: "btn_over2";
32166                type: IMAGE;
32167                mouse_events: 1;
32168                repeat_events: 1;
32169                ignore_flags: ON_HOLD;
32170                description
32171                  {
32172                     state: "default" 0.0;
32173                     rel1.to: "btn";
32174                     rel2.to: "btn";
32175                     image
32176                       {
32177                          normal: "bt_shine.png";
32178                          border: 0 7 7 7;
32179                     }
32180                  }
32181             }
32182           part
32183             {
32184                name: "btn_over3";
32185                type: IMAGE;
32186                mouse_events: 1;
32187                repeat_events: 1;
32188                description
32189                  {
32190                     state: "default" 0.0;
32191                     color: 255 255 255 0;
32192                     rel1.to: "btn";
32193                     rel2.to: "btn";
32194                     image
32195                       {
32196                        normal: "bt_glow.png";
32197                        border: 12 12 12 12;
32198                     }
32199                   fill.smooth: 0;
32200                }
32201              description
32202                {
32203                   state: "clicked" 0.0;
32204                   inherit: "default" 0.0;
32205                   visible: 1;
32206                   color: 255 255 255 255;
32207                }
32208             }
32209           part
32210             {
32211                name: "btn_icon";
32212                type: IMAGE;
32213                repeat_events: 1;
32214                description
32215                  {
32216                     state: "default" 0.0;
32217                     rel1.to: "btn";
32218                     rel2.to: "btn";
32219                     align: 0.5 0.5;
32220                     min: 16 16;
32221                     max: 16 16;
32222                     image.normal: "icon_arrow_left.png";
32223                  }
32224                description
32225                  {
32226                     state: "hidden" 0.0;
32227                     inherit: "default" 0.0;
32228                     image.normal: "icon_arrow_right.png";
32229                  }
32230             }
32231        }
32232      programs
32233        {
32234           program
32235             {
32236                name: "show";
32237                signal: "elm,action,show";
32238                source: "elm";
32239                action: STATE_SET "default" 0.0;
32240                target: "bg";
32241                target: "btn_icon";
32242                transition: LINEAR 0.5;
32243             }
32244           program
32245             {
32246                name: "hide";
32247                signal: "elm,action,hide";
32248                source: "elm";
32249                action: STATE_SET "hidden" 0.0;
32250                target: "bg";
32251                target: "btn_icon";
32252                transition: LINEAR 0.5;
32253             }
32254           program
32255             {
32256                name: "btn_click";
32257                signal: "mouse,down,1";
32258                source: "btn_over2";
32259                action: STATE_SET "clicked" 0.0;
32260                target: "btn";
32261             }
32262           program
32263             {
32264                name: "btn_unclick";
32265                signal: "mouse,up,1";
32266                source: "btn_over2";
32267                action: STATE_SET "default" 0.0;
32268                target: "btn";
32269             }
32270           program
32271             {
32272                name: "btn_click2";
32273                signal: "mouse,down,1";
32274                source: "btn_over3";
32275                action: STATE_SET "clicked" 0.0;
32276                target: "btn_over3";
32277             }
32278           program
32279             {
32280                name: "btn_unclick2";
32281                signal: "mouse,up,1";
32282                source: "btn_over3";
32283                action: STATE_SET "default" 0.0;
32284                transition: DECELERATE 0.5;
32285                target: "btn_over3";
32286             }
32287           program
32288             {
32289                name: "btn_unclick3";
32290                signal: "mouse,clicked,1";
32291                source: "btn_over2";
32292                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32293             }
32294          program { name: "highlight_show";
32295             signal: "elm,action,focus_highlight,show";
32296             source: "elm";
32297             action: STATE_SET "enabled" 0.0;
32298             transition: ACCELERATE 0.3;
32299             target: "focus_highlight";
32300          }
32301          program { name: "highlight_hide";
32302             signal: "elm,action,focus_highlight,hide";
32303             source: "elm";
32304             action: STATE_SET "default" 0.0;
32305             transition: DECELERATE 0.3;
32306             target: "focus_highlight";
32307          }
32308        }
32309   }
32310
32311   group {
32312      name: "elm/panel/base/right";
32313      alias: "elm/panel/base/bottom";
32314      images
32315        {
32316           image: "bt_base1.png" COMP;
32317           image: "bt_hilight.png" COMP;
32318           image: "bt_shine.png" COMP;
32319           image: "bt_glow.png" COMP;
32320           image: "bt_dis_base.png" COMP;
32321           image: "icon_arrow_left.png" COMP;
32322           image: "icon_arrow_right.png" COMP;
32323        }
32324      parts
32325        {
32326             part { name: "focus_highlight";
32327                description { state: "default" 0.0;
32328                   visible: 0;
32329                   color: 255 255 255 0;
32330                   rel1 {
32331                      to: "btn";
32332                      offset: -8 -8;
32333                   }
32334                   rel2 {
32335                      to: "btn";
32336                      offset: 7 7;
32337                   }
32338                   image {
32339                      normal: "frame_2.png";
32340                      border: 5 5 32 26;
32341                      middle: 0;
32342                   }
32343                }
32344                description { state: "enabled" 0.0;
32345                   inherit: "default" 0.0;
32346                   visible: 1;
32347                   color: 255 255 255 255;
32348                }
32349             }
32350           part
32351             {
32352                name: "bg";
32353                type: RECT;
32354                mouse_events: 0;
32355                description
32356                  {
32357                     state: "default" 0.0;
32358                     color: 255 255 255 0;
32359                     rel1.relative: 0.0 0.0;
32360                     rel1.offset: 0 0;
32361                     rel2.relative: 1.0 1.0;
32362                     rel2.offset: -1 -1;
32363                  }
32364                description
32365                  {
32366                     state: "hidden" 0.0;
32367                     inherit: "default" 0.0;
32368                     rel1.relative: 1.0 0.0;
32369                     rel1.offset: -22 0;
32370                     rel2.relative: 2.0 1.0;
32371                     rel2.offset: -23 -1;
32372                  }
32373             }
32374           part
32375             {
32376                name: "base";
32377                type: IMAGE;
32378                mouse_events: 0;
32379                description
32380                  {
32381                     state: "default" 0.0;
32382                     rel1.to: "bg";
32383                     rel1.offset: 20 0;
32384                     rel2.to: "bg";
32385                     image
32386                       {
32387                          normal: "bt_dis_base.png";
32388                          border: 4 4 4 4;
32389                       }
32390                  }
32391             }
32392           part
32393             {
32394                name: "clipper";
32395                type: RECT;
32396                mouse_events: 0;
32397                description
32398                  {
32399                     state: "default" 0.0;
32400                     rel1
32401                       {
32402                          offset: 4 4;
32403                          to: "base";
32404                       }
32405                     rel2
32406                       {
32407                          offset: -5 -5;
32408                          to: "base";
32409                       }
32410                  }
32411             }
32412           part
32413             {
32414                name: "elm.swallow.content";
32415                type: SWALLOW;
32416                clip_to: "clipper";
32417                description
32418                  {
32419                     state: "default" 0.0;
32420                     rel1.to: "clipper";
32421                     rel2.to: "clipper";
32422                  }
32423             }
32424           part
32425             {
32426                name: "btn";
32427                type: IMAGE;
32428                mouse_events: 1;
32429                description
32430                  {
32431                     state: "default" 0.0;
32432                     max: 32 48;
32433                     fixed: 1 1;
32434                     align: 1 0.5;
32435                     rel1
32436                       {
32437                          to_x: "bg";
32438                       }
32439                     rel2
32440                       {
32441                          offset: 2 0;
32442                          relative: 0.0 1;
32443                          to_x: "base";
32444                       }
32445                     image
32446                       {
32447                          normal: "bt_base1.png";
32448                          border: 5 0 4 12;
32449                       }
32450                     fill.smooth: 0;
32451                  }
32452                description
32453                  {
32454                     state: "clicked" 0.0;
32455                     inherit: "default" 0.0;
32456                  }
32457             }
32458           part
32459             {
32460                name: "btn_over";
32461                type: IMAGE;
32462                mouse_events: 0;
32463                description
32464                  {
32465                     state: "default" 0.0;
32466                     rel1.to: "btn";
32467                     rel2
32468                       {
32469                          relative: 1.0 0.5;
32470                          to: "btn";
32471                       }
32472                     image
32473                       {
32474                          normal: "bt_hilight.png";
32475                          border: 7 0 7 0;
32476                       }
32477                  }
32478             }
32479           part
32480             {
32481                name: "btn_over2";
32482                type: IMAGE;
32483                mouse_events: 1;
32484                repeat_events: 1;
32485                ignore_flags: ON_HOLD;
32486                description
32487                  {
32488                     state: "default" 0.0;
32489                     rel1.to: "btn";
32490                     rel2.to: "btn";
32491                     image
32492                       {
32493                          normal: "bt_shine.png";
32494                          border: 7 0 7 7;
32495                     }
32496                  }
32497             }
32498           part
32499             {
32500                name: "btn_over3";
32501                type: IMAGE;
32502                mouse_events: 1;
32503                repeat_events: 1;
32504                description
32505                  {
32506                     state: "default" 0.0;
32507                     color: 255 255 255 0;
32508                     rel1.to: "btn";
32509                     rel2.to: "btn";
32510                     image
32511                       {
32512                        normal: "bt_glow.png";
32513                        border: 12 12 12 12;
32514                     }
32515                   fill.smooth: 0;
32516                }
32517              description
32518                {
32519                   state: "clicked" 0.0;
32520                   inherit: "default" 0.0;
32521                   visible: 1;
32522                   color: 255 255 255 255;
32523                }
32524             }
32525           part
32526             {
32527                name: "btn_icon";
32528                type: IMAGE;
32529                repeat_events: 1;
32530                description
32531                  {
32532                     state: "default" 0.0;
32533                     rel1.to: "btn";
32534                     rel2.to: "btn";
32535                     align: 0.5 0.5;
32536                     min: 16 16;
32537                     max: 16 16;
32538                     image.normal: "icon_arrow_right.png";
32539                  }
32540                description
32541                  {
32542                     state: "hidden" 0.0;
32543                     inherit: "default" 0.0;
32544                     image.normal: "icon_arrow_left.png";
32545                  }
32546             }
32547        }
32548      programs
32549        {
32550           program
32551             {
32552                name: "show";
32553                signal: "elm,action,show";
32554                source: "elm";
32555                action: STATE_SET "default" 0.0;
32556                target: "bg";
32557                target: "btn_icon";
32558                transition: LINEAR 0.5;
32559             }
32560           program
32561             {
32562                name: "hide";
32563                signal: "elm,action,hide";
32564                source: "elm";
32565                action: STATE_SET "hidden" 0.0;
32566                target: "bg";
32567                target: "btn_icon";
32568                transition: LINEAR 0.5;
32569             }
32570           program
32571             {
32572                name: "btn_click";
32573                signal: "mouse,down,1";
32574                source: "btn_over2";
32575                action: STATE_SET "clicked" 0.0;
32576                target: "btn";
32577             }
32578           program
32579             {
32580                name: "btn_unclick";
32581                signal: "mouse,up,1";
32582                source: "btn_over2";
32583                action: STATE_SET "default" 0.0;
32584                target: "btn";
32585             }
32586           program
32587             {
32588                name: "btn_click2";
32589                signal: "mouse,down,1";
32590                source: "btn_over3";
32591                action: STATE_SET "clicked" 0.0;
32592                target: "btn_over3";
32593             }
32594           program
32595             {
32596                name: "btn_unclick2";
32597                signal: "mouse,up,1";
32598                source: "btn_over3";
32599                action: STATE_SET "default" 0.0;
32600                transition: DECELERATE 0.5;
32601                target: "btn_over3";
32602             }
32603           program
32604             {
32605                name: "btn_unclick3";
32606                signal: "mouse,up,1";
32607                source: "btn_over2";
32608                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32609             }
32610          program { name: "highlight_show";
32611             signal: "elm,action,focus";
32612             source: "elm";
32613             action: STATE_SET "enabled" 0.0;
32614             transition: ACCELERATE 0.3;
32615             target: "focus_highlight";
32616          }
32617          program { name: "highlight_hide";
32618             signal: "elm,action,unfocus";
32619             source: "elm";
32620             action: STATE_SET "default" 0.0;
32621             transition: DECELERATE 0.3;
32622             target: "focus_highlight";
32623          }
32624        }
32625   }
32626
32627 ///////////////////////////////////////////////////////////////////////////////
32628   group { name: "elm/conformant/base/default";
32629      parts {
32630         part { name: "elm.swallow.shelf";
32631            type: SWALLOW;
32632            description { state: "default" 0.0;
32633               fixed: 1 1;
32634               align: 0.0 0.0;
32635               rel2.relative: 1.0 0.0;
32636            }
32637         }
32638         part { name: "elm.swallow.content";
32639            type: SWALLOW;
32640            description { state: "default" 0.0;
32641               align: 0.5 0.5;
32642               rel1.relative: 0.0 1.0;
32643               rel1.to_y: "elm.swallow.shelf";
32644               rel2.relative: 1.0 0.0;
32645               rel2.to_y: "elm.swallow.panel";
32646            }
32647         }
32648         part { name: "elm.swallow.panel";
32649            type: SWALLOW;
32650            description { state: "default" 0.0;
32651               fixed: 1 1;
32652               align: 0.0 1.0;
32653               rel1.relative: 0.0 1.0;
32654            }
32655         }
32656      }
32657   }
32658
32659 /////////////////////////////////////////////////////////////////////////////
32660 // CALENDAR
32661 /////////////////////////////////////////////////////////////////////////////
32662 #define CH(_pos) \
32663          part { name: "ch_"#_pos".base"; \
32664             type: RECT; \
32665             description { state: "default" 0.0; \
32666                rel1 { \
32667                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32668                   to: "header"; \
32669                } \
32670                rel2 { \
32671                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32672                   to: "header"; \
32673                } \
32674                color: 0 0 0 0; \
32675                visible: 0; \
32676             } \
32677          } \
32678          part { name: "ch_"#_pos".text"; \
32679             type: TEXT; \
32680             effect: SOFT_SHADOW; \
32681             mouse_events: 0; \
32682             scale: 1; \
32683             clip_to: "ch_"#_pos".clipper"; \
32684             description { \
32685                state: "default" 0.0; \
32686                rel1.to: "ch_"#_pos".base"; \
32687                rel2.to: "ch_"#_pos".base"; \
32688                color: 0 0 0 255; \
32689                color3: 0 0 0 0; \
32690                text { \
32691                   font: "Sans"; \
32692                   size: 10; \
32693                   min: 1 1; \
32694                   align: 0.5 0.5; \
32695                } \
32696             } \
32697          } \
32698          part { name: "ch_"#_pos".clipper"; \
32699             type: RECT; \
32700             description { state: "default" 0.0; \
32701                rel1.to: "ch_"#_pos".base"; \
32702                rel2.to: "ch_"#_pos".base"; \
32703             } \
32704          }
32705
32706 #define CIT(_pos) \
32707          part { name: "cit_"#_pos".rect"; \
32708             type: RECT; \
32709             description { state: "default" 0.0; \
32710                rel1 { \
32711                   relative: (_pos % 7 * 7 / 8 / 6) \
32712                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32713                   to: "base"; \
32714                } \
32715                rel2 { \
32716                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32717                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32718                   to: "base"; \
32719                } \
32720                color: 0 0 0 0; \
32721                visible: 0; \
32722             } \
32723          } \
32724          part { \
32725             name: "cit_"#_pos".event"; \
32726             type: RECT; \
32727             repeat_events: 1; \
32728             description { \
32729                rel1.to: "cit_"#_pos".rect"; \
32730                rel2.to: "cit_"#_pos".rect"; \
32731                state: "default" 0.0; \
32732                color: 0 0 0 0; \
32733             } \
32734          } \
32735          part { name: "cit_"#_pos".shelf"; \
32736             type: RECT; \
32737             mouse_events: 0; \
32738             description { state: "default" 0.0; \
32739                rel1 { \
32740                   to: "cit_"#_pos".bg"; \
32741                   offset: -1 -1; \
32742                } \
32743                rel2 { \
32744                   to: "cit_"#_pos".bg"; \
32745                } \
32746                color: 200 200 200 255; \
32747             } \
32748          } \
32749          part { name: "cit_"#_pos".hd"; \
32750             type: RECT; \
32751             mouse_events: 0; \
32752             description { state: "default" 0.0; \
32753                rel1 { \
32754                   to: "cit_"#_pos".bg"; \
32755                   offset: -1 -1; \
32756                } \
32757                rel2 { \
32758                   to: "cit_"#_pos".bg"; \
32759                } \
32760                visible: 0; \
32761                color: 160 0 0 255; \
32762             } \
32763             description { state: "visible" 0.0; \
32764                inherit: "default" 0.0; \
32765                visible: 1; \
32766             } \
32767          } \
32768          part { \
32769             name: "cit_"#_pos".base_sh"; \
32770             mouse_events: 0; \
32771             description { \
32772                state: "default" 0.0; \
32773                align: 0.0 0.0; \
32774                min: 0 1; \
32775                rel1 { \
32776                   to: "cit_"#_pos".base"; \
32777                   relative: 0.0 1.0; \
32778                   offset: 0 0; \
32779                } \
32780                rel2 { \
32781                   to: "cit_"#_pos".base"; \
32782                   relative: 1.0 1.05; \
32783                   offset: -1 0; \
32784                } \
32785                image { \
32786                   normal: "ilist_item_shadow.png"; \
32787                } \
32788                fill.smooth: 0; \
32789             } \
32790          } \
32791          part { \
32792             name: "cit_"#_pos".base"; \
32793             mouse_events: 0; \
32794             description { \
32795                state: "default" 0.0; \
32796                rel1.to: "cit_"#_pos".rect"; \
32797                rel2.to: "cit_"#_pos".rect"; \
32798                rel2.offset: -1 -1; \
32799                image { \
32800                   normal: "ilist_1.png"; \
32801                   border: 2 2 2 2; \
32802                } \
32803                fill.smooth: 0; \
32804             } \
32805             description { \
32806                state: "today" 0.0; \
32807                inherit: "default" 0.0; \
32808                image.normal: "ilist_2.png"; \
32809                color: 240 240 240 255; \
32810             } \
32811          } \
32812          part { name: "cit_"#_pos".bg"; \
32813             mouse_events: 0; \
32814             description { state: "default" 0.0; \
32815                visible: 0; \
32816                color: 255 255 255 0; \
32817                rel1 { \
32818                   to: "cit_"#_pos".rect"; \
32819                   relative: 0.0 0.0; \
32820                } \
32821                rel2 { \
32822                   to: "cit_"#_pos".rect"; \
32823                   relative: 1.0 1.0; \
32824                   offset: -1 -1; \
32825                } \
32826                image { \
32827                   normal: "bt_sm_base1.png"; \
32828                   border: 6 6 6 6; \
32829                } \
32830                image.middle: SOLID; \
32831             } \
32832             description { state: "selected" 0.0; \
32833                inherit: "default" 0.0; \
32834                visible: 1; \
32835                color: 255 255 255 255; \
32836             } \
32837          } \
32838          part { name: "cit_"#_pos".text"; \
32839             type: TEXT; \
32840             effect: SOFT_SHADOW; \
32841             mouse_events: 0; \
32842             scale: 1; \
32843             description { \
32844                state: "default" 0.0; \
32845                rel1.to: "cit_"#_pos".bg"; \
32846                rel2.to: "cit_"#_pos".bg"; \
32847                color: 0 0 0 255; \
32848                color3: 0 0 0 0; \
32849                text { \
32850                   font: "Sans"; \
32851                   size: 10; \
32852                   min: 1 1; \
32853                   align: 0.5 0.5; \
32854                } \
32855             } \
32856             description { state: "selected" 0.0; \
32857                inherit: "default" 0.0; \
32858                color: 224 224 224 255; \
32859                color3: 0 0 0 64; \
32860             } \
32861          } \
32862          part { name: "cit_"#_pos".fg1"; \
32863             mouse_events: 0; \
32864             description { state: "default" 0.0; \
32865                visible: 0; \
32866                color: 255 255 255 0; \
32867                rel1.to: "cit_"#_pos".bg"; \
32868                rel2.relative: 1.0 0.5; \
32869                rel2.to: "cit_"#_pos".bg"; \
32870                image { \
32871                   normal: "bt_sm_hilight.png"; \
32872                   border: 6 6 6 0; \
32873                } \
32874             } \
32875             description { state: "selected" 0.0; \
32876                inherit: "default" 0.0; \
32877                visible: 1; \
32878                color: 255 255 255 255; \
32879             } \
32880          } \
32881          part { name: "cit_"#_pos".fg2"; \
32882             mouse_events: 0; \
32883             description { state: "default" 0.0; \
32884                visible: 0; \
32885                color: 255 255 255 0; \
32886                rel1.to: "cit_"#_pos".bg"; \
32887                rel2.to: "cit_"#_pos".bg"; \
32888                image { \
32889                   normal: "bt_sm_shine.png"; \
32890                   border: 6 6 6 0; \
32891                } \
32892             } \
32893             description { state: "selected" 0.0; \
32894                inherit: "default" 0.0; \
32895                visible: 1; \
32896                color: 255 255 255 255; \
32897             } \
32898          } \
32899          part { name: "cit_"#_pos".check"; \
32900             mouse_events: 0; \
32901             description { state: "default" 0.0; \
32902                rel1 { \
32903                   to: "cit_"#_pos".bg"; \
32904                   relative: 0.7 0.6; \
32905                   offset: 1 1; \
32906                } \
32907                rel2 { \
32908                   to: "cit_"#_pos".bg"; \
32909                   relative: 1.1 1.2; \
32910                   offset: -2 -2; \
32911                } \
32912                aspect: 1 1; \
32913                visible: 0; \
32914                color: 255 0 0 255; \
32915                image.normal: "check.png"; \
32916             } \
32917             description { state: "visible" 0.0; \
32918                inherit: "default" 0.0; \
32919                visible: 1; \
32920             } \
32921          } \
32922       programs { \
32923          program { \
32924             name:    "cit_"#_pos".go_active"; \
32925             signal:  "cit_"#_pos",selected"; \
32926             source:  "elm"; \
32927             action:  STATE_SET "selected" 0.0; \
32928             target:  "cit_"#_pos".bg"; \
32929             target:  "cit_"#_pos".fg1"; \
32930             target:  "cit_"#_pos".fg2"; \
32931             target:  "cit_"#_pos".text"; \
32932          } \
32933          program { \
32934             name:    "cit_"#_pos".go_passive"; \
32935             signal:  "cit_"#_pos",unselected"; \
32936             source:  "elm"; \
32937             action:  STATE_SET "default" 0.0; \
32938             target:  "cit_"#_pos".bg"; \
32939             target:  "cit_"#_pos".fg1"; \
32940             target:  "cit_"#_pos".fg2"; \
32941             target:  "cit_"#_pos".text"; \
32942          } \
32943          program { \
32944             name:    "cit_"#_pos".is_today"; \
32945             signal:  "cit_"#_pos",today"; \
32946             source:  "elm"; \
32947             action:  STATE_SET "today" 0.0; \
32948             target: "cit_"#_pos".base"; \
32949          } \
32950          program { \
32951             name:    "cit_"#_pos".not_today"; \
32952             signal:  "cit_"#_pos",not_today"; \
32953             source:  "elm"; \
32954             action:  STATE_SET "default" 0.0; \
32955             target: "cit_"#_pos".base"; \
32956          } \
32957          program { \
32958             source: "cit_"#_pos".clicked"; \
32959             signal: "mouse,clicked,1"; \
32960             source: "cit_"#_pos".event"; \
32961             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
32962          } \
32963          program { \
32964             name:    "cit_"#_pos".clear"; \
32965             signal:  "cit_"#_pos",clear"; \
32966             source:  "elm"; \
32967             action:  STATE_SET "default" 0.0; \
32968             target: "cit_"#_pos".check"; \
32969             target: "cit_"#_pos".hd"; \
32970          } \
32971          program { \
32972             name:    "cit_"#_pos".checked"; \
32973             signal:  "cit_"#_pos",checked"; \
32974             source:  "elm"; \
32975             action:  STATE_SET "visible" 0.0; \
32976             target: "cit_"#_pos".check"; \
32977          } \
32978          program { \
32979             name:    "cit_"#_pos".holiday"; \
32980             signal:  "cit_"#_pos",holiday"; \
32981             source:  "elm"; \
32982             action:  STATE_SET "visible" 0.0; \
32983             target: "cit_"#_pos".hd"; \
32984          } \
32985       }
32986
32987    group { name: "elm/calendar/base/default";
32988        images {
32989            image: "shelf_inset.png" COMP;
32990            image: "bt_base1.png" COMP;
32991            image: "bt_hilight.png" COMP;
32992            image: "bt_shine.png" COMP;
32993            image: "bt_glow.png" COMP;
32994            image: "bt_dis_base.png" COMP;
32995            image: "bt_dis_hilight.png" COMP;
32996            image: "sp_bt_l.png" COMP;
32997            image: "sp_bt_r.png" COMP;
32998            image: "bt_sm_base1.png" COMP;
32999            image: "bt_sm_shine.png" COMP;
33000            image: "bt_sm_hilight.png" COMP;
33001            image: "ilist_1.png" COMP;
33002            image: "ilist_2.png" COMP;
33003            image: "ilist_item_shadow.png" COMP;
33004            image: "check.png" COMP;
33005        }
33006        parts {
33007            part { name: "bg";
33008                type: RECT;
33009                description { state: "default" 0.0;
33010                    min: 0 30;
33011                    rel1.offset: 1 1;
33012                    rel2.offset: -2 -2;
33013                    color: 255 255 255 0;
33014                    align: 0.0 0.5;
33015                }
33016            }
33017            part { name: "spinner-base";
33018                type: RECT;
33019                mouse_events: 0;
33020                description { state: "default" 0.0;
33021                    min: 24 24;
33022                    max: 999999 24;
33023                    rel1.to: "bg";
33024                    rel1.offset: 6 6;
33025                    rel2.to: "bg";
33026                    rel2.offset: -7 -7;
33027                    color: 255 255 255 0;
33028                    align: 0.0 0.0;
33029                }
33030            }
33031            part { name: "conf_over_spinner";
33032                mouse_events:  0;
33033                description { state: "default" 0.0;
33034                    rel1.to: "spinner-base";
33035                    rel1.offset: -3 -3;
33036                    rel2.to: "spinner-base";
33037                    rel2.offset: 2 2;
33038                    image {
33039                        normal: "shelf_inset.png";
33040                        border: 7 7 7 7;
33041                        middle: 0;
33042                    }
33043                    fill.smooth : 0;
33044                }
33045            }
33046            part { name: "table-base";
33047                type: RECT;
33048                mouse_events: 0;
33049                description { state: "default" 0.0;
33050                    min: 256 220;
33051                    rel1.to_x: "bg";
33052                    rel1.to_y: "spinner-base";
33053                    rel1.offset: 6 6;
33054                    rel1.relative: 0 1;
33055                    rel2.to: "bg";
33056                    rel2.offset: -7 -7;
33057                    color: 255 255 255 0;
33058                }
33059            }
33060            part { name: "conf_over_table";
33061                mouse_events:  0;
33062                description { state: "default" 0.0;
33063                    rel1.to: "table-base";
33064                    rel1.offset: -3 -3;
33065                    rel2.to: "table-base";
33066                    rel2.offset: 2 2;
33067                    image {
33068                        normal: "shelf_inset.png";
33069                        border: 7 7 7 7;
33070                        middle: 0;
33071                    }
33072                    fill.smooth : 0;
33073                }
33074            }
33075            part { name: "header";
33076                type: RECT;
33077                mouse_events: 0;
33078                description { state: "default" 0.0;
33079                    rel1.to: "table-base";
33080                    rel1.relative: 0 0;
33081                    rel2.to: "table-base";
33082                    rel2.relative: 1 0.1;
33083                    color: 255 255 255 0;
33084                }
33085            }
33086            part { name: "base";
33087                type: RECT;
33088                mouse_events: 0;
33089                description { state: "default" 0.0;
33090                    rel1.to_x: "table-base";
33091                    rel1.to_y: "header";
33092                    rel1.relative: 0 1;
33093                    rel1.offset: 3 0;
33094                    rel2.to: "table-base";
33095                    rel2.offset: -3 0;
33096                    color: 255 255 255 0;
33097                }
33098            }
33099            part { name: "left_bt";
33100                mouse_events:  1;
33101                description { state: "default" 0.0;
33102                    rel1 { to: "spinner-base";
33103                        offset: 2 2;
33104                    }
33105                    rel2 { to: "spinner-base";
33106                        offset: -3 -3;
33107                    }
33108                    align: 0.0 0.5;
33109                    min: 24 24;
33110                    max: 24 24;
33111                    fixed: 1 1;
33112                    image {
33113                        normal: "bt_base1.png";
33114                        border: 6 6 6 6;
33115                    }
33116                    fill.smooth : 0;
33117                }
33118                description { state: "clicked" 0.0;
33119                    inherit: "default" 0.0;
33120                    image.normal: "bt_base1.png";
33121                    image.middle: SOLID;
33122                }
33123            }
33124            part { name: "left_over1";
33125                mouse_events: 0;
33126                description { state: "default" 0.0;
33127                    rel1.to: "left_bt";
33128                    rel2 { to: "left_bt";
33129                        relative: 1.0 0.5;
33130                    }
33131                    image {
33132                        normal: "bt_hilight.png";
33133                        border: 7 7 7 0;
33134                    }
33135                }
33136            }
33137            part { name: "left_over2";
33138                mouse_events: 1;
33139                repeat_events: 1;
33140                description { state: "default" 0.0;
33141                    rel1.to: "left_bt";
33142                    rel2.to: "left_bt";
33143                    image {
33144                        normal: "bt_shine.png";
33145                        border: 7 7 7 7;
33146                    }
33147                }
33148            }
33149            part { name: "left_over3";
33150                mouse_events: 1;
33151                repeat_events: 1;
33152                description { state: "default" 0.0;
33153                    color: 255 255 255 0;
33154                    rel1.to: "left_bt";
33155                    rel2.to: "left_bt";
33156                    image {
33157                        normal: "bt_glow.png";
33158                        border: 12 12 12 12;
33159                    }
33160                    fill.smooth : 0;
33161                }
33162                description { state: "clicked" 0.0;
33163                    inherit:  "default" 0.0;
33164                    visible: 1;
33165                    color: 255 255 255 255;
33166                }
33167            }
33168            part { name: "right_bt";
33169                mouse_events:  1;
33170                description { state: "default" 0.0;
33171                    rel1 { to: "spinner-base";
33172                        offset: -27 3;
33173                    }
33174                    rel2 { to: "spinner-base";
33175                        offset: -3 -3;
33176                    }
33177                    align: 1.0 0.5;
33178                    min: 24 24;
33179                    max: 24 24;
33180                    fixed: 1 1;
33181                    image {
33182                        normal: "bt_base1.png";
33183                        border: 5 5 4 12;
33184                    }
33185                    fill.smooth : 0;
33186                }
33187                description { state: "clicked" 0.0;
33188                    inherit: "default" 0.0;
33189                    image.normal: "bt_base1.png";
33190                    image.middle: SOLID;
33191                }
33192            }
33193            part { name: "right_over1";
33194                mouse_events: 0;
33195                description { state: "default" 0.0;
33196                    rel1.to: "right_bt";
33197                    rel2 { to: "right_bt";
33198                        relative: 1.0 0.5;
33199                    }
33200                    image {
33201                        normal: "bt_hilight.png";
33202                        border: 7 7 7 0;
33203                    }
33204                }
33205            }
33206            part { name: "right_over2";
33207                mouse_events: 1;
33208                repeat_events: 1;
33209                description { state: "default" 0.0;
33210                    rel1.to: "right_bt";
33211                    rel2.to: "right_bt";
33212                    image {
33213                        normal: "bt_shine.png";
33214                        border: 7 7 7 7;
33215                    }
33216                }
33217            }
33218            part { name: "right_over3";
33219                mouse_events: 1;
33220                repeat_events: 1;
33221                description { state: "default" 0.0;
33222                    color: 255 255 255 0;
33223                    rel1.to: "right_bt";
33224                    rel2.to: "right_bt";
33225                    image {
33226                        normal: "bt_glow.png";
33227                        border: 12 12 12 12;
33228                    }
33229                    fill.smooth : 0;
33230                }
33231                description { state: "clicked" 0.0;
33232                    inherit:  "default" 0.0;
33233                    visible: 1;
33234                    color: 255 255 255 255;
33235                }
33236            }
33237            part { name: "left_bt_icon";
33238                repeat_events: 1;
33239                description { state: "default" 0.0;
33240                    rel1.to: "left_bt";
33241                    rel2.to: "left_bt";
33242                    align: 0.5 0.5;
33243                    min: 16 16;
33244                    max: 16 16;
33245                    image.normal: "sp_bt_l.png";
33246                }
33247                description { state: "rtl" 0.0;
33248                    inherit: "default" 0.0;
33249                    image.normal: "sp_bt_r.png";
33250                }
33251            }
33252            part { name: "right_bt_icon";
33253                repeat_events: 1;
33254                description { state: "default" 0.0;
33255                    rel1.to: "right_bt";
33256                    rel2.to: "right_bt";
33257                    align: 0.5 0.5;
33258                    min: 16 16;
33259                    max: 16 16;
33260                    image.normal: "sp_bt_r.png";
33261                }
33262                description { state: "rtl" 0.0;
33263                    inherit: "default" 0.0;
33264                    image.normal: "sp_bt_l.png";
33265                }
33266            }
33267            part { name: "month_text";
33268                type: TEXT;
33269                mouse_events: 0;
33270                scale: 1;
33271                description { state: "default" 0.0;
33272                    align: 0 0.5;
33273                    fixed: 1 1;
33274                    rel1 { relative: 1.0 0.0;
33275                        offset: 3 2;
33276                        to: "left_bt";
33277                        to_y: "spinner-base";
33278                    }
33279                    rel2 { relative: 0.0 1.0;
33280                        offset: -3 -2;
33281                        to_x: "right_bt";
33282                        to_y: "spinner-base";
33283                    }
33284                    color: 0 0 0 255;
33285                    text {
33286                        font: "Sans,Edje-Vera";
33287                        size: 12;
33288                        min: 1 1;
33289                        align: 0.5 0.5;
33290                    }
33291                }
33292            }
33293            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33294            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33295            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33296            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33297            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33298            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33299            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33300        }
33301        programs {
33302            program { name: "dec_start";
33303                signal: "mouse,down,1";
33304                source: "left_bt";
33305                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33306            }
33307            program { name: "dec_stop";
33308                signal: "mouse,up,1";
33309                source: "left_bt";
33310                action: SIGNAL_EMIT "elm,action,stop" "";
33311            }
33312            program { name: "inc_start";
33313                signal: "mouse,down,1";
33314                source: "right_bt";
33315                action: SIGNAL_EMIT "elm,action,increment,start" "";
33316            }
33317            program { name: "inc_stop";
33318                signal: "mouse,up,1";
33319                source: "right_bt";
33320                action: SIGNAL_EMIT "elm,action,stop" "";
33321            }
33322            program {
33323                name:   "left_bt_click";
33324                signal: "mouse,down,1";
33325                source: "left_over2";
33326                action: STATE_SET "clicked" 0.0;
33327                target: "left_bt";
33328            }
33329            program {
33330                name:   "left_bt_unclick";
33331                signal: "mouse,up,1";
33332                source: "left_over2";
33333                action: STATE_SET "default" 0.0;
33334                target: "left_bt";
33335            }
33336            program {
33337                name:   "left_bt_click2";
33338                signal: "mouse,down,1";
33339                source: "left_over3";
33340                action: STATE_SET "clicked" 0.0;
33341                target: "left_over3";
33342            }
33343            program {
33344                name:   "left_bt_unclick2";
33345                signal: "mouse,up,1";
33346                source: "left_over3";
33347                action: STATE_SET "default" 0.0;
33348                transition: DECELERATE 0.5;
33349                target: "left_over3";
33350            }
33351            program {
33352                name:   "right_bt_click";
33353                signal: "mouse,down,1";
33354                source: "right_over2";
33355                action: STATE_SET "clicked" 0.0;
33356                target: "right_bt";
33357            }
33358            program {
33359                name:   "right_bt_unclick";
33360                signal: "mouse,up,1";
33361                source: "right_over2";
33362                action: STATE_SET "default" 0.0;
33363                target: "right_bt";
33364            }
33365            program {
33366                name:   "right_bt_click2";
33367                signal: "mouse,down,1";
33368                source: "right_over3";
33369                action: STATE_SET "clicked" 0.0;
33370                target: "right_over3";
33371            }
33372            program {
33373                name:   "right_bt_unclick2";
33374                signal: "mouse,up,1";
33375                source: "right_over3";
33376                action: STATE_SET "default" 0.0;
33377                transition: DECELERATE 0.5;
33378                target: "right_over3";
33379            }
33380            program { name: "to_rtl";
33381                signal: "edje,state,rtl";
33382                source: "edje";
33383                action: STATE_SET "rtl" 0.0;
33384                target: "right_bt_icon";
33385                target: "left_bt_icon";
33386            }
33387            program { name: "to_ltr";
33388                signal: "edje,state,ltr";
33389                source: "edje";
33390                action: STATE_SET "default" 0.0;
33391                target: "right_bt_icon";
33392                target: "left_bt_icon";
33393            }
33394        }
33395    }
33396
33397 #undef CIT
33398 #undef CH
33399
33400 ////////////////////////////////////////////////////////////////////////////////
33401 // colorselector
33402 ////////////////////////////////////////////////////////////////////////////////
33403    group { name: "elm/colorselector/bg/default";
33404       parts {
33405          part { name: "elm.colorbar_0";
33406             type: SWALLOW;
33407             mouse_events: 1;
33408             description { state: "default" 0.0;
33409                min: 120 30;
33410                rel1.relative: 0.0 0.00653594771;
33411                rel2.relative: 1.0 0.254901961;
33412             }
33413          }
33414          part { name: "elm.colorbar_1";
33415             type: SWALLOW;
33416             mouse_events: 1;
33417             description { state: "default" 0.0;
33418                min: 120 30;
33419                rel1.relative: 0.0 0.254901961;
33420                rel2.relative: 1.0 0.503267974;
33421             }
33422          }
33423          part { name: "elm.colorbar_2";
33424             type: SWALLOW;
33425             mouse_events: 1;
33426             description { state: "default" 0.0;
33427                min: 120 30;
33428                rel1.relative: 0.0 0.503267974;
33429                rel2.relative: 1.0 0.751633987;
33430             }
33431          }
33432          part { name: "elm.colorbar_3";
33433             type: SWALLOW;
33434             mouse_events: 1;
33435             description { state: "default" 0.0;
33436                min: 120 30;
33437                rel1.relative: 0.0 0.751633987;
33438                rel2.relative: 1.0 1.0;
33439             }
33440          }
33441       }
33442    }
33443
33444    group { name: "elm/colorselector/base/default";
33445       parts {
33446          part { name: "elm.bar_bg";
33447             type: SWALLOW;
33448             mouse_events: 0;
33449             description { state: "default" 0.0;
33450                min: 60 22;
33451                rel1 {
33452                   relative: 0.0 0.8;
33453                   to_x: "elm.arrow_bg";
33454                   to_y: "elm.arrow_icon";
33455                   offset: 0 0;
33456                }
33457                rel2 {
33458                   relative: 1.0 0.83;
33459                   to_x: "elm.arrow_bg";
33460                   offset: 0 0;
33461                }
33462             }
33463          }
33464          part { name: "elm.bar";
33465             type: SWALLOW;
33466             mouse_events: 0;
33467             description { state: "default" 0.0;
33468                rel1.to: "elm.bar_bg";
33469                rel2.to: "elm.bar_bg";
33470             }
33471          }
33472          part { name: "elm.arrow_bg";
33473             type: SWALLOW;
33474             mouse_events: 1;
33475             description { state: "default" 0.0;
33476                rel1 {
33477                   relative: 1.0 0.17;
33478                   offset: 3 0;
33479                   to_x: "elm.l_button";
33480                }
33481                rel2 {
33482                   relative: 0.0 0.83;
33483                      offset: -4 0;
33484                   to_x: "elm.r_button";
33485                }
33486             }
33487          }
33488          part { name: "elm.arrow";
33489             type: RECT;
33490             mouse_events: 1;
33491             scale: 1;
33492             description { state: "default" 0.0;
33493                min: 1 1;
33494                fixed: 1 1;
33495                align: 0 0;
33496                rel1 {
33497                   to_x: "elm.arrow_bg";
33498                }
33499                rel2 {
33500                   relative: 0.0 0.17;
33501                   to_x: "elm.arrow_bg";
33502                }
33503                color: 0 0 0 0;
33504                visible: 0;
33505             }
33506             dragable {
33507                confine: "elm.arrow_bg";
33508                x: 1 1 0;
33509                y: 0 0 0;
33510             }
33511          }
33512          part { name: "elm.arrow_icon";
33513             type: SWALLOW;
33514             mouse_events: 0;
33515             description { state: "default" 0.0;
33516                min: 25 15;
33517                max: 25 15;
33518                fixed: 1 1;
33519                align: 0.5 0;
33520                rel1 {
33521                   to_x: "elm.arrow";
33522                }
33523                rel2 {
33524                   relative: 1.0 0.0;
33525                   offset: 0 10;
33526                   to_x: "elm.arrow";
33527                }
33528             }
33529          }
33530          part { name: "event";
33531             type: RECT;
33532             mouse_events: 1;
33533             description { state: "default" 0.0;
33534                rel1 {
33535                   to: "elm.arrow_icon";
33536                }
33537                rel2 {
33538                   to_x: "elm.arrow_icon";
33539                   to_y: "elm.arrow_bg";
33540                   offset: 0 0;
33541                }
33542                color: 0 0 0 0;
33543             }
33544             dragable {
33545                events: "elm.arrow";
33546             }
33547          }
33548          part { name: "elm.l_button";
33549             type: SWALLOW;
33550             mouse_events: 1;
33551             scale: 1;
33552             description { state: "default" 0.0;
33553                min: 24 24;
33554                fixed: 1 1;
33555                rel1 {
33556                   relative: 0.0 0.0;
33557                   to_y: "elm.bar_bg";
33558                }
33559                rel2 {
33560                   relative: 0.0 1.0;
33561                   to_y: "elm.bar_bg";
33562                }
33563                align: 0.0 0.5;
33564             }
33565          }
33566          part { name: "elm.r_button";
33567             type: SWALLOW;
33568             mouse_events: 1;
33569             scale: 1;
33570             description {
33571                state: "default" 0.0;
33572                min: 24 24;
33573                fixed: 1 1;
33574                rel1 {
33575                   relative: 1.0 0.0;
33576                   to_y: "elm.bar_bg";
33577                }
33578                rel2 {
33579                   relative: 1.0 1.0;
33580                   to_y: "elm.bar_bg";
33581                }
33582                align: 1.0 0.5;
33583             }
33584          }
33585       }
33586    }
33587
33588    group{ name: "elm/colorselector/image/colorbar_0";
33589       images {
33590          image: "color_picker_color.png" COMP;
33591       }
33592       parts {
33593          part { name: "colorbar_0_image";
33594             type: IMAGE;
33595             mouse_events: 1;
33596             description { state: "default" 0.0;
33597                rel2.offset: -1 -1;
33598                image.normal: "color_picker_color.png";
33599             }
33600          }
33601       }
33602    }
33603
33604    group { name: "elm/colorselector/image/colorbar_1";
33605       images {
33606          image: "color_picker_opacity.png" COMP;
33607       }
33608       parts {
33609          part { name: "colorbar_1_image";
33610             type: IMAGE;
33611             mouse_events: 1;
33612             description { state: "default" 0.0;
33613                rel2.offset: -1 -1;
33614                image.normal: "color_picker_opacity.png";
33615             }
33616          }
33617       }
33618    }
33619
33620    group { name: "elm/colorselector/image/colorbar_2";
33621       images {
33622          image: "color_picker_brightness.png" COMP;
33623       }
33624       parts {
33625          part { name: "colorbar_2_image";
33626             type: IMAGE;
33627             mouse_events: 1;
33628             description { state: "default" 0.0;
33629                rel2.offset: -1 -1;
33630                image.normal: "color_picker_brightness.png";
33631             }
33632          }
33633       }
33634    }
33635
33636    group { name: "elm/colorselector/image/colorbar_3";
33637       images {
33638          image: "color_picker_alpha.png" COMP;
33639       }
33640       parts {
33641          part { name: "colorbar_3_image";
33642             type: IMAGE;
33643             mouse_events: 1;
33644             description { state: "default" 0.0;
33645                rel2.offset: -1 -1;
33646                image.normal: "color_picker_alpha.png";
33647             }
33648          }
33649       }
33650    }
33651
33652    group { name: "elm/colorselector/bg_image/colorbar_3";
33653       images {
33654          image: "color_picker_alpha_bg.png" COMP;
33655       }
33656       parts {
33657          part { name: "colorbar_3_image";
33658             type: IMAGE;
33659             mouse_events: 1;
33660             description { state: "default" 0.0;
33661                rel2.offset: -1 -1;
33662                image.normal: "color_picker_alpha_bg.png";
33663             }
33664          }
33665       }
33666    }
33667
33668    group { name: "elm/colorselector/image/updown";
33669       images {
33670          image: "icon_arrow_down.png" COMP;
33671       }
33672       parts {
33673          part { name: "bg";
33674             type: RECT;
33675             mouse_events: 1;
33676             description { state: "default" 0.0;
33677                color: 0 0 0 0;
33678             }
33679          }
33680          part { name: "arrow_image";
33681             type: IMAGE;
33682             mouse_events: 1;
33683             description { state: "default" 0.0;
33684                image.normal: "icon_arrow_down.png";
33685             }
33686          }
33687       }
33688    }
33689
33690    group { name: "elm/colorselector/button/left";
33691       images {
33692          image: "bt_base1.png" COMP;
33693          image: "bt_shine.png" COMP;
33694          image: "sp_bt_l.png" COMP;
33695       }
33696       parts {
33697          part { name: "button_image";
33698             mouse_events: 1;
33699             description { state: "default" 0.0;
33700                image.normal: "bt_base1.png";
33701                image.border: 6 6 6 6;
33702                image.middle: SOLID;
33703             }
33704
33705             description { state: "clicked" 0.0;
33706                inherit: "default" 0.0;
33707                image.normal: "bt_shine.png";
33708                image.border: 6 6 6 6;
33709                image.middle: SOLID;
33710             }
33711          }
33712          part { name: "btn_over";
33713             type: IMAGE;
33714             mouse_events: 0;
33715             description { state: "default" 0.0;
33716                rel1.to: "button_image";
33717                rel2 {
33718                   relative: 1.0 0.5;
33719                   to: "button_image";
33720                }
33721                image {
33722                   normal: "bt_hilight.png";
33723                   border: 7 7 7 0;
33724                }
33725             }
33726          }
33727          part { name: "btn_over2";
33728             type: IMAGE;
33729             mouse_events: 1;
33730             repeat_events: 1;
33731             ignore_flags: ON_HOLD;
33732             description { state: "default" 0.0;
33733                rel1.to: "button_image";
33734                rel2.to: "button_image";
33735                image {
33736                   normal: "bt_shine.png";
33737                   border: 7 7 7 7;
33738                }
33739             }
33740          }
33741          part { name: "focus_image";
33742             type: IMAGE;
33743             description { state: "default" 0.0;
33744                color: 255 255 255 0;
33745                rel1.to: "button_image";
33746                rel2.to: "button_image";
33747                image {
33748                   normal: "bt_glow.png";
33749                   border: 12 12 12 12;
33750                }
33751                fill.smooth: 0;
33752
33753             }
33754             description { state: "clicked" 0.0;
33755                inherit: "default" 0.0;
33756                visible: 1;
33757                color: 255 255 255 255;
33758             }
33759          }
33760          part { name: "left_arrow";
33761             mouse_events: 1;
33762             description { state: "default" 0.0;
33763                min: 16 16;
33764                max: 16 16;
33765                image.normal: "sp_bt_l.png";
33766             }
33767          }
33768       }
33769
33770       programs {
33771          program {
33772             name:   "button_down";
33773             signal: "elm,state,left,button,down";
33774             source: "left_button";
33775             action: STATE_SET "clicked" 0.0;
33776             target: "button_image";
33777             target: "focus_image";
33778          }
33779          program {
33780             name:   "button_up";
33781             signal: "elm,state,left,button,up";
33782             source: "left_button";
33783             action: STATE_SET "default" 0.0;
33784             target: "button_image";
33785             target: "focus_image";
33786          }
33787       }
33788    }
33789
33790    group { name: "elm/colorselector/button/right";
33791       images {
33792          image: "bt_base1.png" COMP;
33793          image: "bt_shine.png" COMP;
33794          image: "sp_bt_r.png" COMP;
33795       }
33796       parts {
33797          part { name: "button_image";
33798             mouse_events: 1;
33799             description { state: "default" 0.0;
33800                image.normal: "bt_base1.png";
33801                image.border: 6 6 6 6;
33802                image.middle: SOLID;
33803             }
33804
33805             description { state: "clicked" 0.0;
33806                inherit: "default" 0.0;
33807                image.normal: "bt_shine.png";
33808                image.border: 6 6 6 6;
33809                image.middle: SOLID;
33810             }
33811          }
33812          part { name: "btn_over";
33813             type: IMAGE;
33814             mouse_events: 0;
33815             description { state: "default" 0.0;
33816                rel1.to: "button_image";
33817                rel2 {
33818                   relative: 1.0 0.5;
33819                   to: "button_image";
33820                }
33821                image {
33822                   normal: "bt_hilight.png";
33823                   border: 7 7 7 0;
33824                }
33825             }
33826          }
33827          part { name: "btn_over2";
33828             type: IMAGE;
33829             mouse_events: 1;
33830             repeat_events: 1;
33831             ignore_flags: ON_HOLD;
33832             description { state: "default" 0.0;
33833                rel1.to: "button_image";
33834                rel2.to: "button_image";
33835                image {
33836                   normal: "bt_shine.png";
33837                   border: 7 7 7 7;
33838                }
33839             }
33840          }
33841          part { name: "focus_image";
33842             type: IMAGE;
33843             description { state: "default" 0.0;
33844                color: 255 255 255 0;
33845                rel1.to: "button_image";
33846                rel2.to: "button_image";
33847                image {
33848                   normal: "bt_glow.png";
33849                   border: 12 12 12 12;
33850                }
33851                fill.smooth: 0;
33852
33853             }
33854             description { state: "clicked" 0.0;
33855                inherit: "default" 0.0;
33856                visible: 1;
33857                color: 255 255 255 255;
33858             }
33859          }
33860          part { name: "right_arrow";
33861             mouse_events: 1;
33862             description { state: "default" 0.0;
33863                min: 16 16;
33864                max: 16 16;
33865                image.normal: "sp_bt_r.png";
33866             }
33867          }
33868       }
33869
33870       programs {
33871          program {
33872             name:   "button_down";
33873             signal: "elm,state,right,button,down";
33874             source: "right_button";
33875             action: STATE_SET "clicked" 0.0;
33876             target: "button_image";
33877             target: "focus_image";
33878          }
33879          program {
33880             name:   "button_up";
33881             signal: "elm,state,right,button,up";
33882             source: "right_button";
33883             action: STATE_SET "default" 0.0;
33884             target: "button_image";
33885             target: "focus_image";
33886          }
33887       }
33888    }
33889
33890 ///////////////////////////////////////////////////////////////////////////////
33891 #define FLIP_PICKER_MAX_LEN (50)
33892 #define FLIP_PICKER_MAX_LEN_STR "50"
33893
33894    group { name: "elm/flipselector/base/default";
33895       images {
33896          image: "flip_base.png" COMP;
33897          image: "flip_base_shad.png" COMP;
33898          image: "flip_shad.png" COMP;
33899          image: "arrow_up.png" COMP;
33900          image: "arrow_down.png" COMP;
33901          image: "flip_t.png" COMP;
33902          image: "flip_b.png" COMP;
33903       }
33904
33905       data {
33906          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
33907       }
33908
33909       //FIXME: quick successive clicks on, say, up, lead to nastiness
33910       script {
33911          public cur, prev, next, lock;
33912
33913          public animator_bottom_down(val, Float:pos) {
33914             new tmp[FLIP_PICKER_MAX_LEN];
33915
33916             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
33917             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
33918                             0.0);
33919             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
33920                             0.0);
33921
33922             if (pos >= 1.0) {
33923                set_state(PART:"shadow", "default", 0.0);
33924                set_int(lock, 0);
33925
33926                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
33927                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
33928                   replace_str(next, 0, "");
33929                   message(MSG_STRING, 1, tmp);
33930                }
33931             }
33932          }
33933
33934          public animator_top_down(val, Float:pos) {
33935             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
33936             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
33937                             0.0);
33938             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
33939                             0.0);
33940
33941             if (pos >= 1.0)
33942                anim(0.2, "animator_bottom_down", val);
33943          }
33944
33945          public animator_bottom_up(val, Float:pos) {
33946             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
33947             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
33948                             0.0);
33949             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
33950                             0.0);
33951
33952             if (pos >= 1.0)
33953                anim(0.2, "animator_top_up", val);
33954          }
33955
33956          public animator_top_up(val, Float:pos) {
33957             new tmp[FLIP_PICKER_MAX_LEN];
33958
33959             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
33960             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
33961                             0.0);
33962             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
33963                             0.0);
33964
33965             if (pos >= 1.0) {
33966                set_state(PART:"shadow", "default", 0.0);
33967                set_int(lock, 0);
33968
33969                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
33970                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
33971                   replace_str(next, 0, "");
33972                   message(MSG_STRING, 2, tmp);
33973                }
33974             }
33975          }
33976
33977          public message(Msg_Type:type, id, ...) {
33978             /* flip down */
33979             if ((type == MSG_STRING) && (id == 1)) {
33980                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
33981
33982                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
33983
33984                if (get_int(lock) == 1) {
33985                   replace_str(next, 0, value);
33986                   return;
33987                }
33988
33989                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
33990
33991                set_text(PART:"bottom_b", tmp);
33992
33993                set_state(PART:"top", "shrink", 0.0);
33994                set_text(PART:"top", tmp);
33995                set_state(PART:"top", "default", 0.0);
33996                set_text(PART:"top", tmp);
33997
33998                replace_str(prev, 0, tmp);
33999
34000                set_state(PART:"bottom", "default", 0.0);
34001                set_text(PART:"bottom", value);
34002                set_state(PART:"bottom", "shrink", 0.0);
34003                set_text(PART:"bottom", value);
34004
34005                set_text(PART:"top_b", value);
34006
34007                replace_str(cur, 0, value);
34008
34009                set_state(PART:"bottom_sheet", "shrink", 0.0);
34010                set_state(PART:"top_sheet", "default", 0.0);
34011
34012                set_int(lock, 1);
34013                set_state(PART:"shadow", "default", 0.0);
34014                anim(0.2, "animator_top_down", 1);
34015             }
34016
34017             /* flip up */
34018             if ((type == MSG_STRING) && (id == 2)) {
34019                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34020
34021                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34022
34023                if (get_int(lock) == 1) {
34024                   replace_str(next, 0, value);
34025                   return;
34026                }
34027
34028                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34029
34030                set_text(PART:"top_b", tmp);
34031
34032                set_state(PART:"bottom", "shrink", 0.0);
34033                set_text(PART:"bottom", tmp);
34034                set_state(PART:"bottom", "default", 0.0);
34035                set_text(PART:"bottom", tmp);
34036
34037                replace_str(prev, 0, tmp);
34038
34039                set_state(PART:"top", "default", 0.0);
34040                set_text(PART:"top", value);
34041                set_state(PART:"top", "shrink", 0.0);
34042                set_text(PART:"top", value);
34043
34044                set_text(PART:"bottom_b", value);
34045
34046                replace_str(cur, 0, value);
34047
34048                set_state(PART:"bottom_sheet", "default", 0.0);
34049                set_state(PART:"top_sheet", "shrink", 0.0);
34050
34051                set_int(lock, 1);
34052                set_state(PART:"shadow", "full", 0.0);
34053                anim(0.2, "animator_bottom_up", 1);
34054             }
34055          }
34056       }
34057
34058       parts {
34059          part { name: "shad";
34060             mouse_events: 0;
34061             description { state: "default" 0.0;
34062                rel1.offset: -4 -4;
34063                rel1.to: "base";
34064                rel2.offset: 3 3;
34065                rel2.to: "base";
34066                image {
34067                   normal: "flip_base_shad.png";
34068                   border: 8 8 8 8;
34069                }
34070             }
34071          }
34072
34073          part { name: "base";
34074             scale: 1;
34075             description { state: "default" 0.0;
34076                rel1.offset: 4 4;
34077                rel2.offset: -5 -5;
34078                min: 24 48;
34079                image.normal: "flip_base.png";
34080             }
34081          }
34082
34083          part { name: "b";
34084             type: RECT;
34085             mouse_events: 1;
34086             description { state: "default" 0.0;
34087                rel1.to: "base";
34088                rel1.relative: 0.0 0.5;
34089                rel2.to: "base";
34090                color: 0 0 0 0;
34091             }
34092             description { state: "hidden" 0.0;
34093                inherit: "default" 0.0;
34094                visible: 0;
34095             }
34096          }
34097
34098          part { name: "t";
34099             type: RECT;
34100             mouse_events: 1;
34101             description { state: "default" 0.0;
34102                rel1.to: "base";
34103                rel2.to: "base";
34104                rel2.relative: 1.0 0.5;
34105                color: 0 0 0 0;
34106             }
34107             description { state: "hidden" 0.0;
34108                inherit: "default" 0.0;
34109                visible: 0;
34110             }
34111          }
34112
34113          part { name: "bottom_sheet_static";
34114             mouse_events: 0;
34115             description { state: "default" 0.0;
34116                visible: 1;
34117                rel1.to: "b";
34118                rel2.to: "b";
34119                image.normal: "flip_b.png";
34120             }
34121          }
34122
34123          part { name: "bottom_b";
34124             mouse_events: 0;
34125             clip_to: "bottom_clipper";
34126             type: TEXT;
34127             scale: 1;
34128             description { state: "default" 0.0;
34129                rel1.to: "base";
34130                rel2.to: "base";
34131                color: 0 0 0 255;
34132                color2: 0 0 0 255;
34133                text {
34134                   font: "Sans:style=Bold,Edje-Vera-Bold";
34135                   size: 30;
34136                   min: 1 1;
34137                   align: 0.5 0.5;
34138                }
34139             }
34140          }
34141
34142          part { name: "shadow";
34143             mouse_events: 0;
34144             description { state: "default" 0.0;
34145                rel1.to: "b";
34146                rel2.to: "b";
34147                rel2.relative: 1.0 0.0;
34148                image.normal: "flip_shad.png";
34149             }
34150             description { state: "half" 0.0;
34151                inherit: "default" 0.0;
34152                rel2.relative: 1.0 0.5;
34153             }
34154             description { state: "full" 0.0;
34155                inherit: "default" 0.0;
34156                rel2.relative: 1.0 1.0;
34157             }
34158          }
34159
34160          part { name: "bottom_sheet";
34161             mouse_events: 0;
34162             description { state: "default" 0.0;
34163                visible: 1;
34164                rel1.to: "b";
34165                rel2.to: "b";
34166                image.normal: "flip_b.png";
34167             }
34168             description { state: "shrink" 0.0;
34169                inherit: "default" 0.0;
34170                visible: 0;
34171                rel2.relative: 1.0 0.0;
34172             }
34173          }
34174
34175          part { name: "bottom";
34176             mouse_events: 0;
34177             clip_to: "bottom_clipper";
34178             type: TEXT;
34179             scale: 1;
34180             description { state: "default" 0.0;
34181                rel1.to: "base";
34182                rel2.to: "base";
34183                color: 0 0 0 255;
34184                color2: 0 0 0 255;
34185                text {
34186                   font: "Sans:style=Bold,Edje-Vera-Bold";
34187                   size: 30;
34188                   min: 1 1;
34189                   align: 0.5 0.5;
34190                }
34191             }
34192             description { state: "shrink" 0.0;
34193                inherit: "default" 0.0;
34194                color: 128 128 128 255;
34195                visible: 0;
34196                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34197             }
34198          }
34199
34200          part { name: "top_sheet_static";
34201             mouse_events: 0;
34202             description { state: "default" 0.0;
34203                visible: 1;
34204                rel1.to: "t";
34205                rel2.to: "t";
34206                image.normal: "flip_t.png";
34207             }
34208          }
34209
34210          part { name: "top_b";
34211             mouse_events: 0;
34212             clip_to: "top_clipper";
34213             type: TEXT;
34214             scale: 1;
34215             description { state: "default" 0.0;
34216                rel1.to: "base";
34217                rel2.to: "base";
34218                color: 0 0 0 255;
34219                color2: 0 0 0 255;
34220                text {
34221                   font: "Sans:style=Bold,Edje-Vera-Bold";
34222                   size: 30;
34223                   min: 1 1;
34224                   align: 0.5 0.5;
34225                   source: "top";
34226                }
34227             }
34228          }
34229
34230          part { name: "top_sheet";
34231             mouse_events: 0;
34232             description { state: "default" 0.0;
34233                visible: 1;
34234                rel1.to: "t";
34235                rel2.to: "t";
34236                image.normal: "flip_t.png";
34237             }
34238             description { state: "shrink" 0.0;
34239                inherit: "default" 0.0;
34240                color: 128 128 128 255;
34241                visible: 0;
34242                rel1.relative: 0.0 1.0;
34243             }
34244          }
34245
34246          part { name: "top";
34247             mouse_events: 0;
34248             clip_to: "top_clipper";
34249             type: TEXT;
34250             scale: 1;
34251             description { state: "default" 0.0;
34252                rel1.to: "base";
34253                rel2.to: "base";
34254                color: 0 0 0 255;
34255                color2: 0 0 0 255;
34256                text {
34257                   font: "Sans:style=Bold,Edje-Vera-Bold";
34258                   size: 30;
34259                   min: 1 1;
34260                   align: 0.5 0.5;
34261                }
34262             }
34263             description { state: "shrink" 0.0;
34264                inherit: "default" 0.0;
34265                visible: 0;
34266                rel1.relative: 0.0 0.5;
34267             }
34268          }
34269
34270          part { name: "arrow_top";
34271             mouse_events: 0;
34272             scale: 1;
34273             description { state: "default" 0.0;
34274                min: 15 15;
34275                max: 15 15;
34276                align: 0.5 0.0;
34277                rel1.to: "t";
34278                rel2.to: "t";
34279                image.normal: "arrow_up.png";
34280             }
34281             description { state: "hidden" 0.0;
34282                inherit: "default" 0.0;
34283                visible: 0;
34284             }
34285          }
34286          part { name: "arrow_bottom";
34287             mouse_events: 0;
34288             scale: 1;
34289             description { state: "default" 0.0;
34290                min: 15 15;
34291                max: 15 15;
34292                align: 0.5 1.0;
34293                rel1.to: "b";
34294                rel2.to: "b";
34295                image.normal: "arrow_down.png";
34296             }
34297             description { state: "hidden" 0.0;
34298                inherit: "default" 0.0;
34299                visible: 0;
34300             }
34301          }
34302
34303          part {
34304             type: RECT;
34305             mouse_events: 0;
34306             name: "top_clipper";
34307             description {
34308                state: "default" 0.0;
34309                rel1.to: "t";
34310                rel2.to: "t";
34311                visible: 1;
34312             }
34313          }
34314
34315          part {
34316             type: RECT;
34317             mouse_events: 0;
34318             name: "bottom_clipper";
34319             description {
34320                state: "default" 0.0;
34321                rel1.to: "b";
34322                rel2.to: "b";
34323                visible: 1;
34324             }
34325          }
34326       }
34327
34328       programs {
34329          program { name: "load";
34330             signal: "load";
34331             source: "";
34332             script {
34333                append_str(cur, "");
34334                append_str(prev, "");
34335                append_str(next, "");
34336                set_int(lock, 0);
34337             }
34338          }
34339
34340          program { name: "hide_arrows";
34341             signal: "elm,state,button,hidden";
34342             source: "elm";
34343             action: STATE_SET "hidden" 0.0;
34344             target: "arrow_top";
34345             target: "arrow_bottom";
34346             target: "t";
34347             target: "b";
34348          }
34349
34350          program { name: "show_arrows";
34351             signal: "elm,state,button,visible";
34352             source: "elm";
34353             action: STATE_SET "default" 0.0;
34354             target: "arrow_top";
34355             target: "arrow_bottom";
34356             target: "t";
34357             target: "b";
34358          }
34359
34360          program { name: "up";
34361             signal: "mouse,down,1";
34362             source: "t";
34363             action: SIGNAL_EMIT "elm,action,up,start" "";
34364          }
34365          program { name: "up,stop";
34366             signal: "mouse,up,1";
34367             source: "t";
34368             action: SIGNAL_EMIT "elm,action,up,stop" "";
34369          }
34370          program { name: "down";
34371             signal: "mouse,down,1";
34372             source: "b";
34373             action: SIGNAL_EMIT "elm,action,down,start" "";
34374          }
34375          program { name: "down,stop";
34376             signal: "mouse,up,1";
34377             source: "b";
34378             action: SIGNAL_EMIT "elm,action,down,stop" "";
34379          }
34380       }
34381    }
34382
34383 ////////////////////////////////////////////////////////////////////////////////
34384 // diskselector
34385 ////////////////////////////////////////////////////////////////////////////////
34386    group { name: "elm/diskselector/base/default";
34387       images {
34388          image: "bar_shine.png" COMP;
34389       }
34390
34391       parts {
34392          part { name: "bg";
34393             type: RECT;
34394             mouse_events: 0;
34395             description { state: "default" 0.0;
34396                color: 0 0 0 255;
34397             }
34398          }
34399          part { name: "shine_left";
34400             mouse_events:  0;
34401             description { state: "default" 0.0;
34402                rel1.to: "bg";
34403                rel1.relative: -0.1 0;
34404                rel2.to: "bg";
34405                rel2.relative: 0.1 1;
34406                image.normal: "bar_shine.png";
34407                color: 255 255 255 120;
34408             }
34409          }
34410          part { name: "shine_center";
34411             mouse_events:  0;
34412             description { state: "default" 0.0;
34413                rel1.to: "bg";
34414                rel1.relative: 0.2 0;
34415                rel2.to: "bg";
34416                rel2.relative: 0.8 1;
34417                image.normal: "bar_shine.png";
34418                color: 255 255 255 180;
34419             }
34420          }
34421          part { name: "shine_right";
34422             mouse_events:  0;
34423             description { state: "default" 0.0;
34424                rel1.to: "bg";
34425                rel1.relative: 0.9 0;
34426                rel2.to: "bg";
34427                rel2.relative: 1.1 1;
34428                image.normal: "bar_shine.png";
34429                color: 255 255 255 120;
34430             }
34431          }
34432          part { name: "clipper";
34433             type: RECT;
34434             mouse_events: 0;
34435             description { state: "default" 0.0;
34436                rel1.to: "bg";
34437                rel2.to: "bg";
34438                rel1.offset: 2 2;
34439                rel2.offset: -3 -3;
34440             }
34441          }
34442          part { name: "elm.swallow.content";
34443             clip_to: "clipper";
34444             type: SWALLOW;
34445             description { state: "default" 0.0;
34446                rel1.to: "bg";
34447                rel2.to: "bg";
34448             }
34449          }
34450       }
34451    }
34452
34453    group { name: "elm/diskselector/item/default";
34454
34455       data {
34456          item: "len_threshold" "14";
34457          item: "display_item_num" "3";
34458          item: "min_height" "-1";
34459          item: "min_width" "-1";
34460       }
34461
34462       parts {
34463          part { name: "elm.swallow.icon";
34464             type: SWALLOW;
34465             description { state: "default" 0.0;
34466                fixed: 1 0;
34467                align: 0.0 0.5;
34468                rel1 {
34469                   relative: 0 0;
34470                   offset: 4 4;
34471                }
34472                rel2 {
34473                   relative: 0 1;
34474                   offset: 4 -5;
34475                }
34476             }
34477             description { state: "show" 0.0;
34478                inherit: "default" 0.0;
34479             }
34480             description { state: "default_small" 0.0;
34481                inherit: "default" 0.0;
34482                rel1.relative: 0 0.2;
34483                rel2.relative: 0 0.8;
34484             }
34485             description { state: "left_side" 0.0;
34486                inherit: "default" 0.0;
34487                rel1.relative: 0 0.2;
34488                rel2.relative: 0 0.8;
34489                color: 255 255 255 160;
34490             }
34491             description { state: "right_side" 0.0;
34492                inherit: "left_side" 0.0;
34493                rel1.relative: 0.4 0.2;
34494                rel2.relative: 0.4 0.8;
34495                color: 255 255 255 160;
34496             }
34497          }
34498          part { name: "elm.text";
34499             type: TEXT;
34500             mouse_events: 0;
34501             scale: 1;
34502             description { state: "default" 0.0;
34503                rel1.relative: 1 0.0;
34504                rel1.to_x: "elm.swallow.icon";
34505                rel2.relative: 1.0 1.0;
34506                color: 255 255 255 255;
34507                visible: 0;
34508                text {
34509                   font: "Sans,Edje-Vera";
34510                   size: 13;
34511                   align: 0.5 0.5;
34512                   min: 0 1;
34513                }
34514             }
34515             description { state: "show" 0.0;
34516                inherit: "default" 0.0;
34517                visible: 1;
34518             }
34519             description { state: "default_small" 0.0;
34520                inherit: "default" 0.0;
34521                visible: 1;
34522                text.size: 10;
34523             }
34524             description { state: "left_side" 0.0;
34525                inherit: "default" 0.0;
34526                color: 172 172 172 255;
34527                text.size: 10;
34528                visible: 1;
34529                text.align: 0.2 0.5;
34530             }
34531             description { state: "right_side" 0.0;
34532                inherit: "default" 0.0;
34533                color: 172 172 172 255;
34534                visible: 1;
34535                text.size: 10;
34536                text.align: 0.8 0.5;
34537             }
34538          }
34539       }
34540
34541       programs {
34542          program { name: "center_text";
34543             signal: "elm,state,center";
34544             source: "elm";
34545             action: STATE_SET "show" 0.0;
34546             target: "elm.text";
34547             target: "elm.swallow.icon";
34548          }
34549          program { name: "center_small_text";
34550             signal: "elm,state,center_small";
34551             source: "elm";
34552             action: STATE_SET "default_small" 0.0;
34553             target: "elm.text";
34554             target: "elm.swallow.icon";
34555          }
34556          program { name: "l_side_text";
34557             signal: "elm,state,left_side";
34558             source: "elm";
34559             action: STATE_SET "left_side" 0.0;
34560             target: "elm.text";
34561             target: "elm.swallow.icon";
34562          }
34563          program { name: "r_side_text";
34564             signal: "elm,state,right_side";
34565             source: "elm";
34566             action: STATE_SET "right_side" 0.0;
34567             target: "elm.text";
34568             target: "elm.swallow.icon";
34569          }
34570       }
34571    }
34572
34573    group { name: "elm/entry/path/separator/default";
34574       images.image: "arrow_right.png" COMP;
34575       parts {
34576          part { name: "icon";
34577             mouse_events: 0;
34578             description { state: "default" 0.0;
34579                image.normal: "arrow_right.png";
34580                max: 64 64;
34581                aspect: 1.0 1.0;
34582             }
34583          }
34584       }
34585    }
34586
34587    group { name: "elm/fileselector/base/default";
34588       data {
34589          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34590       }
34591       parts {
34592          part { name: "elm.swallow.up";
34593             type: SWALLOW;
34594             description { state: "default" 0.0;
34595                align: 0.0 0.0;
34596                min: 10 10;
34597                fixed: 1 1;
34598                rel2 {
34599                   relative: 0.0 0.0;
34600                   offset: 0 0;
34601                }
34602             }
34603          }
34604          part { name: "elm.swallow.home";
34605             type: SWALLOW;
34606             description { state: "default" 0.0;
34607                align: 0.0 0.0;
34608                min: 10 10;
34609                fixed: 1 1;
34610                rel1 {
34611                   to: "elm.swallow.up";
34612                   relative: 1.0 0.0;
34613                   offset: 5 0;
34614                }
34615                rel2 {
34616                   to: "elm.swallow.up";
34617                   relative: 1.0 1.0;
34618                   offset: 20 -1;
34619                }
34620             }
34621          }
34622          part { name: "elm.swallow.files";
34623             type: SWALLOW;
34624             description { state: "default" 0.0;
34625                align: 1.0 0.0;
34626                min: 10 10;
34627                fixed: 1 1;
34628                rel1 {
34629                   to_y: "elm.swallow.home";
34630                   relative: 0.0 1.0;
34631                   offset: 0 0;
34632                }
34633                rel2 {
34634                   to_y: "elm.swallow.path";
34635                   relative: 1.0 0.0;
34636                   offset: -1 -1;
34637                }
34638             }
34639          }
34640          part { name: "elm.swallow.path";
34641             type: SWALLOW;
34642             description { state: "default" 0.0;
34643                align: 0.5 1.0;
34644                fixed: 1 1;
34645                rel1 {
34646                   to_y: "elm.swallow.filename";
34647                   relative: 0.0 0.0;
34648                   offset: 0 -1;
34649                }
34650                rel2 {
34651                   to_y: "elm.swallow.filename";
34652                   relative: 1.0 0.0;
34653                   offset: -1 -1;
34654                }
34655             }
34656          }
34657          part { name: "elm.swallow.filename";
34658             type: SWALLOW;
34659             description { state: "default" 0.0;
34660                align: 0.5 1.0;
34661                fixed: 1 1;
34662                rel1 {
34663                   to_y: "elm.swallow.ok";
34664                   relative: 0.0 0.0;
34665                   offset: 0 -1;
34666                }
34667                rel2 {
34668                   to_y: "elm.swallow.ok";
34669                   relative: 1.0 0.0;
34670                   offset: -1 -1;
34671                }
34672             }
34673          }
34674          part { name: "elm.swallow.cancel";
34675             type: SWALLOW;
34676             description { state: "default" 0.0;
34677                align: 1.0 1.0;
34678                fixed: 1 1;
34679                rel1 {
34680                   to: "elm.swallow.ok";
34681                   relative: 0.0 0.0;
34682                   offset: -3 0;
34683                }
34684                rel2 {
34685                   to: "elm.swallow.ok";
34686                   relative: 0.0 1.0;
34687                   offset: -3 -1;
34688                }
34689             }
34690          }
34691          part { name: "elm.swallow.ok";
34692             type: SWALLOW;
34693             description { state: "default" 0.0;
34694                align: 1.0 1.0;
34695                fixed: 1 1;
34696                rel1 {
34697                   relative: 1.0 1.0;
34698                   offset: -1 -1;
34699                }
34700             }
34701          }
34702       }
34703    }
34704
34705    group { name: "elm/fileselector_entry/base/default";
34706       parts {
34707          part { name: "elm.swallow.entry";
34708             type: SWALLOW;
34709             description { state: "default" 0.0;
34710                align: 0.0 0.0;
34711                min: 50 10;
34712                rel2 { to_x: "elm.swallow.button";
34713                   relative: 0.0 1.0;
34714                   offset: -1 -1;
34715                }
34716             }
34717          }
34718          part { name: "elm.swallow.button";
34719             type: SWALLOW;
34720             description { state: "default" 0.0;
34721                align: 1.0 0.0;
34722                min: 10 10;
34723                fixed: 1 1;
34724                rel1 {
34725                   relative: 1.0 0.0;
34726                   offset: -21 0;
34727                }
34728             }
34729          }
34730       }
34731    }
34732
34733 ////////////////////////////////////////////////////////////////////////
34734 // Standard layouts to be used                                        //
34735 ////////////////////////////////////////////////////////////////////////
34736    /* application with toolbar and main content area */
34737    group { name: "elm/layout/application/toolbar-content";
34738       parts {
34739          part { name: "elm.swallow.content";
34740             type: SWALLOW;
34741             description { state: "default" 0.0;
34742                rel1 { to_y: "elm.external.toolbar";
34743                   relative: 0.0 1.0;
34744                   offset: -1 1;
34745                }
34746             }
34747          }
34748
34749          part { name: "elm.external.toolbar";
34750             type: EXTERNAL;
34751             source: "elm/toolbar";
34752             description { state: "default" 0.0;
34753                align: 0.5 0.0;
34754                fixed: 0 1;
34755                rel2 {
34756                   relative: 1.0 0.0;
34757                   offset: -1 47;
34758                }
34759             }
34760          }
34761       }
34762    }
34763
34764    /* application with toolbar and main content area with a back button and title area */
34765    group { name: "elm/layout/application/toolbar-content-back";
34766       parts {
34767          part { name: "elm.swallow.content";
34768             type: SWALLOW;
34769             description { state: "default" 0.0;
34770                rel1 { to_y: "title_clipper";
34771                   relative: 0.0 1.0;
34772                   offset: -1 1;
34773                }
34774             }
34775          }
34776
34777          part { name: "elm.external.toolbar";
34778             type: EXTERNAL;
34779             source: "elm/toolbar";
34780             description { state: "default" 0.0;
34781                fixed: 0 1;
34782                align: 0.5 0.0;
34783                rel2 {
34784                   relative: 1.0 0.0;
34785                   offset: -1 47;
34786                }
34787             }
34788          }
34789          part { name: "title_clipper";
34790             type: RECT;
34791             description { state: "default" 0.0;
34792                visible: 1;
34793                rel1 {
34794                   to_y: "back";
34795                }
34796                rel2 {
34797                   to_y: "back";
34798                }
34799             }
34800             description { state: "hidden" 0.0;
34801                inherit: "default" 0.0;
34802                visible: 0;
34803                rel2 {
34804                   relative: 1.0 0.0;
34805                }
34806             }
34807          }
34808          part { name: "back_clipper";
34809             type: RECT;
34810             clip_to: "title_clipper";
34811             description { state: "default" 0.0;
34812                visible: 1;
34813             }
34814             description { state: "hidden" 0.0;
34815                visible: 0;
34816             }
34817          }
34818          part { name: "back";
34819             type: EXTERNAL;
34820             source: "elm/button";
34821             clip_to: "back_clipper";
34822             description { state: "default" 0.0;
34823                align: 0.0 0.0;
34824                fixed: 1 1;
34825                rel1 { to_y: "elm.external.toolbar";
34826                   relative: 0.0 1.0;
34827                   offset: 0 1;
34828                }
34829                rel2 { to_y: "elm.external.toolbar";
34830                   relative: 0.0 1.0;
34831                   offset: 50 32;
34832                }
34833                params.string: "label" "Back";
34834             }
34835          }
34836          programs {
34837             program {
34838                signal: "clicked";
34839                source: "back";
34840                action: SIGNAL_EMIT "elm,action,back" "";
34841             }
34842             program {
34843                signal: "elm,back,hide";
34844                source: "elm";
34845                action: STATE_SET "hidden" 0.0;
34846                target: "back_clipper";
34847             }
34848             program {
34849                signal: "elm,back,show";
34850                source: "elm";
34851                action: STATE_SET "default" 0.0;
34852                target: "back_clipper";
34853             }
34854             program {
34855                signal: "elm,title,hide";
34856                source: "elm";
34857                action: STATE_SET "hidden" 0.0;
34858                transition: LINEAR 0.1;
34859                target: "title_clipper";
34860             }
34861             program {
34862                signal: "elm,title,show";
34863                source: "elm";
34864                action: STATE_SET "default" 0.0;
34865                target: "title_clipper";
34866             }
34867          }
34868
34869          part { name: "elm.swallow.end";
34870             type: SWALLOW;
34871             description { state: "default" 0.0;
34872                align: 1.0 0.0;
34873                fixed: 1 1;
34874                rel1 { to_y: "elm.external.toolbar";
34875                   relative: 1.0 1.0;
34876                   offset: -2 1;
34877                }
34878                rel2 { to_y: "elm.external.toolbar";
34879                   relative: 1.0 1.0;
34880                   offset: -1 32;
34881                }
34882             }
34883          }
34884
34885          part { name: "elm.text.title";
34886             type: TEXT;
34887             effect: SOFT_SHADOW;
34888             scale: 1;
34889             description { state: "default" 0.0;
34890                rel1 { to_y: "elm.external.toolbar";
34891                   to_x: "back";
34892                   relative: 1.0 1.0;
34893                   offset: 2 1;
34894                }
34895                rel2 { to_y: "back";
34896                   to_x: "elm.swallow.end";
34897                   relative: 0.0 1.0;
34898                   offset: -3 -1;
34899                }
34900                text {
34901                   font: "Sans:style=Bold";
34902                   size: 12;
34903                }
34904             }
34905          }
34906       }
34907    }
34908
34909    /* application with toolbar and main content area with a back and next buttons and title area */
34910    group { name: "elm/layout/application/toolbar-content-back-next";
34911       parts {
34912          part { name: "elm.swallow.content";
34913             type: SWALLOW;
34914             description { state: "default" 0.0;
34915                rel1 { to_y: "title_clipper";
34916                   relative: 0.0 1.0;
34917                   offset: -1 1;
34918                }
34919             }
34920          }
34921
34922          part { name: "elm.external.toolbar";
34923             type: EXTERNAL;
34924             source: "elm/toolbar";
34925             description { state: "default" 0.0;
34926                fixed: 0 1;
34927                align: 0.5 0.0;
34928                rel2 {
34929                   relative: 1.0 0.0;
34930                   offset: -1 47;
34931                }
34932             }
34933          }
34934          part { name: "title_clipper";
34935             type: RECT;
34936             description { state: "default" 0.0;
34937                visible: 1;
34938                rel1 {
34939                   to_y: "back";
34940                }
34941                rel2 {
34942                   to_y: "back";
34943                }
34944             }
34945             description { state: "hidden" 0.0;
34946                inherit: "default" 0.0;
34947                visible: 0;
34948                rel2 {
34949                   relative: 1.0 0.0;
34950                }
34951             }
34952          }
34953          part { name: "back";
34954             type: EXTERNAL;
34955             source: "elm/button";
34956             clip_to: "back_clipper";
34957             description { state: "default" 0.0;
34958                align: 0.0 0.0;
34959                fixed: 1 1;
34960                rel1 { to_y: "elm.external.toolbar";
34961                   relative: 0.0 1.0;
34962                   offset: 0 1;
34963                }
34964                rel2 { to_y: "elm.external.toolbar";
34965                   relative: 0.0 1.0;
34966                   offset: 50 32;
34967                }
34968                params.string: "label" "Back";
34969             }
34970          }
34971          part { name: "back_clipper";
34972             type: RECT;
34973             clip_to: "title_clipper";
34974             description { state: "default" 0.0;
34975                visible: 1;
34976             }
34977             description { state: "hidden" 0.0;
34978                visible: 0;
34979             }
34980          }
34981          part { name: "next";
34982             type: EXTERNAL;
34983             source: "elm/button";
34984             clip_to: "next_clipper";
34985             description { state: "default" 0.0;
34986                align: 1.0 0.0;
34987                fixed: 1 1;
34988                rel1 { to_y: "elm.external.toolbar";
34989                   relative: 1.0 1.0;
34990                   offset: -2 1;
34991                }
34992                rel2 { to_y: "elm.external.toolbar";
34993                   relative: 1.0 1.0;
34994                   offset: -1 32;
34995                }
34996                params.string: "label" "Next";
34997            }
34998          }
34999          part { name: "next_clipper";
35000             type: RECT;
35001             clip_to: "title_clipper";
35002             description { state: "default" 0.0;
35003                visible: 1;
35004             }
35005             description { state: "hidden" 0.0;
35006                visible: 0;
35007             }
35008          }
35009          programs {
35010             program {
35011                signal: "clicked";
35012                source: "back";
35013                action: SIGNAL_EMIT "elm,action,back" "";
35014             }
35015             program {
35016                signal: "elm,title,hide";
35017                source: "elm";
35018                action: STATE_SET "hidden" 0.0;
35019                transition: LINEAR 0.1;
35020                target: "title_clipper";
35021             }
35022             program {
35023                signal: "elm,title,show";
35024                source: "elm";
35025                action: STATE_SET "default" 0.0;
35026                target: "title_clipper";
35027             }
35028             program {
35029                signal: "elm,back,hide";
35030                source: "elm";
35031                action: STATE_SET "hidden" 0.0;
35032                target: "back_clipper";
35033             }
35034             program {
35035                signal: "elm,back,show";
35036                source: "elm";
35037                action: STATE_SET "default" 0.0;
35038                target: "back_clipper";
35039             }
35040             program {
35041                signal: "clicked";
35042                source: "next";
35043                action: SIGNAL_EMIT "elm,action,next" "";
35044             }
35045             program {
35046                signal: "elm,next,hide";
35047                source: "elm";
35048                action: STATE_SET "hidden" 0.0;
35049                target: "next_clipper";
35050             }
35051             program {
35052                signal: "elm,next,show";
35053                source: "elm";
35054                action: STATE_SET "default" 0.0;
35055                target: "next_clipper";
35056             }
35057          }
35058          part { name: "elm.text.title";
35059             type: TEXT;
35060             effect: SOFT_SHADOW;
35061             scale: 1;
35062             clip_to: "title_clipper";
35063             description { state: "default" 0.0;
35064                rel1 { to_y: "elm.external.toolbar";
35065                   to_x: "back";
35066                   relative: 1.0 1.0;
35067                   offset: 2 1;
35068                }
35069                rel2 { to_y: "back";
35070                   to_x: "next";
35071                   relative: 0.0 1.0;
35072                   offset: -3 -1;
35073                }
35074                text {
35075                   font: "Sans:style=Bold";
35076                   size: 12;
35077                }
35078             }
35079          }
35080       }
35081    }
35082    /* application with a main content area with a back button and title area */
35083    group { name: "elm/layout/application/content-back";
35084       parts {
35085          part { name: "elm.swallow.content";
35086             type: SWALLOW;
35087             description { state: "default" 0.0;
35088                rel1 { to_y: "title_clipper";
35089                   relative: 0.0 1.0;
35090                   offset: -1 1;
35091                }
35092             }
35093          }
35094          part { name: "title_clipper";
35095             type: RECT;
35096             description { state: "default" 0.0;
35097                visible: 1;
35098                rel1 {
35099                   to_y: "back";
35100                }
35101                rel2 {
35102                   to_y: "back";
35103                }
35104             }
35105             description { state: "hidden" 0.0;
35106                inherit: "default" 0.0;
35107                visible: 0;
35108                rel2 {
35109                   relative: 1.0 0.0;
35110                }
35111             }
35112          }
35113          part { name: "back_clipper";
35114             type: RECT;
35115             clip_to: "title_clipper";
35116             description { state: "default" 0.0;
35117                visible: 1;
35118             }
35119             description { state: "hidden" 0.0;
35120                visible: 0;
35121             }
35122          }
35123          part { name: "back";
35124             type: EXTERNAL;
35125             source: "elm/button";
35126             clip_to: "back_clipper";
35127             description { state: "default" 0.0;
35128                align: 0.0 0.0;
35129                fixed: 1 1;
35130                rel1 {
35131                   relative: 0.0 0.0;
35132                   offset: 0 1;
35133                }
35134                rel2 {
35135                   relative: 0.0 0.0;
35136                   offset: 50 32;
35137                }
35138                params.string: "label" "Back";
35139             }
35140          }
35141          programs {
35142             program {
35143                signal: "clicked";
35144                source: "back";
35145                action: SIGNAL_EMIT "elm,action,back" "";
35146             }
35147             program {
35148                signal: "elm,back,hide";
35149                source: "elm";
35150                action: STATE_SET "hidden" 0.0;
35151                target: "back_clipper";
35152             }
35153             program {
35154                signal: "elm,back,show";
35155                source: "elm";
35156                action: STATE_SET "default" 0.0;
35157                target: "back_clipper";
35158             }
35159             program {
35160                signal: "elm,title,hide";
35161                source: "elm";
35162                action: STATE_SET "hidden" 0.0;
35163                transition: LINEAR 0.1;
35164                target: "title_clipper";
35165             }
35166             program {
35167                signal: "elm,title,show";
35168                source: "elm";
35169                action: STATE_SET "default" 0.0;
35170                target: "title_clipper";
35171             }
35172          }
35173
35174          part { name: "elm.swallow.end";
35175             type: SWALLOW;
35176             description { state: "default" 0.0;
35177                align: 1.0 0.0;
35178                fixed: 1 1;
35179                rel1 {
35180                   relative: 1.0 0.0;
35181                   offset: -2 1;
35182                }
35183                rel2 {
35184                   relative: 1.0 1.0;
35185                   offset: -1 32;
35186                }
35187             }
35188          }
35189
35190          part { name: "elm.text.title";
35191             type: TEXT;
35192             effect: SOFT_SHADOW;
35193             scale: 1;
35194             description { state: "default" 0.0;
35195                rel1 {
35196                   to_x: "back";
35197                   relative: 1.0 0.0;
35198                   offset: 2 1;
35199                }
35200                rel2 { to_y: "back";
35201                   to_x: "elm.swallow.end";
35202                   relative: 0.0 1.0;
35203                   offset: -3 -1;
35204                }
35205                text {
35206                   font: "Sans:style=Bold";
35207                   size: 12;
35208                }
35209             }
35210          }
35211       }
35212    }
35213
35214    /* application with a main content area with a back and next buttons and title area */
35215    group { name: "elm/layout/application/content-back-next";
35216       parts {
35217          part { name: "elm.swallow.content";
35218             type: SWALLOW;
35219             description { state: "default" 0.0;
35220                rel1 { to_y: "title_clipper";
35221                   relative: 0.0 1.0;
35222                   offset: -1 1;
35223                }
35224             }
35225          }
35226
35227          part { name: "title_clipper";
35228             type: RECT;
35229             description { state: "default" 0.0;
35230                visible: 1;
35231                rel1 {
35232                   to_y: "back";
35233                }
35234                rel2 {
35235                   to_y: "back";
35236                }
35237             }
35238             description { state: "hidden" 0.0;
35239                inherit: "default" 0.0;
35240                visible: 0;
35241                rel2 {
35242                   relative: 1.0 0.0;
35243                }
35244             }
35245          }
35246          part { name: "back";
35247             type: EXTERNAL;
35248             source: "elm/button";
35249             clip_to: "back_clipper";
35250             description { state: "default" 0.0;
35251                align: 0.0 0.0;
35252                fixed: 1 1;
35253                rel1 {
35254                   relative: 0.0 0.0;
35255                   offset: 0 1;
35256                }
35257                rel2 {
35258                   relative: 0.0 0.0;
35259                   offset: 50 32;
35260                }
35261                params.string: "label" "Back";
35262             }
35263          }
35264          part { name: "back_clipper";
35265             type: RECT;
35266             clip_to: "title_clipper";
35267             description { state: "default" 0.0;
35268                visible: 1;
35269             }
35270             description { state: "hidden" 0.0;
35271                visible: 0;
35272             }
35273          }
35274          part { name: "next";
35275             type: EXTERNAL;
35276             source: "elm/button";
35277             clip_to: "next_clipper";
35278             description { state: "default" 0.0;
35279                align: 1.0 0.0;
35280                fixed: 1 1;
35281                rel1 {
35282                   relative: 1.0 0.0;
35283                   offset: -2 1;
35284                }
35285                rel2 {
35286                   relative: 1.0 0.0;
35287                   offset: -1 32;
35288                }
35289                params.string: "label" "Next";
35290            }
35291          }
35292          part { name: "next_clipper";
35293             type: RECT;
35294             clip_to: "title_clipper";
35295             description { state: "default" 0.0;
35296                visible: 1;
35297             }
35298             description { state: "hidden" 0.0;
35299                visible: 0;
35300             }
35301          }
35302          programs {
35303             program {
35304                signal: "clicked";
35305                source: "back";
35306                action: SIGNAL_EMIT "elm,action,back" "";
35307             }
35308             program {
35309                signal: "elm,title,hide";
35310                source: "elm";
35311                action: STATE_SET "hidden" 0.0;
35312                transition: LINEAR 0.1;
35313                target: "title_clipper";
35314             }
35315             program {
35316                signal: "elm,title,show";
35317                source: "elm";
35318                action: STATE_SET "default" 0.0;
35319                target: "title_clipper";
35320             }
35321             program {
35322                signal: "elm,back,hide";
35323                source: "elm";
35324                action: STATE_SET "hidden" 0.0;
35325                target: "back_clipper";
35326             }
35327             program {
35328                signal: "elm,back,show";
35329                source: "elm";
35330                action: STATE_SET "default" 0.0;
35331                target: "back_clipper";
35332             }
35333             program {
35334                signal: "clicked";
35335                source: "next";
35336                action: SIGNAL_EMIT "elm,action,next" "";
35337             }
35338             program {
35339                signal: "elm,next,hide";
35340                source: "elm";
35341                action: STATE_SET "hidden" 0.0;
35342                target: "next_clipper";
35343             }
35344             program {
35345                signal: "elm,next,show";
35346                source: "elm";
35347                action: STATE_SET "default" 0.0;
35348                target: "next_clipper";
35349             }
35350          }
35351          part { name: "elm.text.title";
35352             type: TEXT;
35353             effect: SOFT_SHADOW;
35354             scale: 1;
35355             clip_to: "title_clipper";
35356             description { state: "default" 0.0;
35357                rel1 {
35358                   to_x: "back";
35359                   relative: 1.0 0.0;
35360                   offset: 2 1;
35361                }
35362                rel2 { to_y: "back";
35363                   to_x: "next";
35364                   relative: 0.0 1.0;
35365                   offset: -3 -1;
35366                }
35367                text {
35368                   font: "Sans:style=Bold";
35369                   size: 12;
35370                }
35371             }
35372          }
35373       }
35374    }
35375
35376    /* application with toolbar and main content area as a vertical box */
35377    group { name: "elm/layout/application/toolbar-vbox";
35378       parts {
35379          part { name: "elm.box.content";
35380             type: BOX;
35381             description { state: "default" 0.0;
35382                rel1 { to_y: "elm.external.toolbar";
35383                   relative: 0.0 1.0;
35384                   offset: -1 1;
35385                }
35386                box.layout: "vertical";
35387             }
35388          }
35389
35390          part { name: "elm.external.toolbar";
35391             type: EXTERNAL;
35392             source: "elm/toolbar";
35393             description { state: "default" 0.0;
35394                align: 0.5 0.0;
35395                fixed: 0 1;
35396                rel2 {
35397                   relative: 1.0 0.0;
35398                   offset: -1 47;
35399                }
35400             }
35401          }
35402       }
35403    }
35404
35405    /* application with toolbar and main content area as a table */
35406    group { name: "elm/layout/application/toolbar-table";
35407       parts {
35408          part { name: "elm.table.content";
35409             type: TABLE;
35410             description { state: "default" 0.0;
35411                rel1 { to_y: "elm.external.toolbar";
35412                   relative: 0.0 1.0;
35413                   offset: -1 1;
35414                }
35415             }
35416          }
35417
35418          part { name: "elm.external.toolbar";
35419             type: EXTERNAL;
35420             source: "elm/toolbar";
35421             description { state: "default" 0.0;
35422                align: 0.5 0.0;
35423                fixed: 0 1;
35424                rel2 {
35425                   relative: 1.0 0.0;
35426                   offset: -1 47;
35427                }
35428             }
35429          }
35430       }
35431    }
35432
35433 ///////////////////////////////////////////////////////////////////////////////
35434    group { name: "elm/segment_control/base/default";
35435 #define SEGMENT_TYPE_SINGLE 1
35436 #define SEGMENT_TYPE_LEFT 2
35437 #define SEGMENT_TYPE_MIDDLE 3
35438 #define SEGMENT_TYPE_RIGHT 4
35439 #define SEGMENT_STATE_NORMAL 1
35440 #define SEGMENT_STATE_PRESSED 2
35441 #define SEGMENT_STATE_SELECTED 3
35442 #define SEGMENT_STATUS_ENABLED 0
35443 #define SEGMENT_STATUS_DISABLED 1
35444       parts {
35445          part { name: "bg";
35446             type: RECT;
35447             mouse_events: 0;
35448             scale: 1;
35449             description {
35450                state: "default" 0.0;
35451                color: 0 0 0 0;
35452                min: 100 40;
35453             }
35454          }
35455       }
35456    }
35457    group { name: "elm/segment_control/item/default";
35458       data.item: "label.wrap.part" "label.bg";
35459       styles {
35460          style { name: "seg_text_style_normal";
35461             base: "font=Sans font_size=16 style=shadow \
35462             shadow_color=#2924224d \
35463             align=center \
35464             color=#ffffffff wrap=char text_class=label";
35465             tag:  "br" "\n";
35466             tag:  "hilight" "+ font=Sans:style=Bold";
35467             tag:  "tab" "\t";
35468          }
35469          style { name: "seg_text_style_selected";
35470             base: "font=Sans:style=Bold font_size=16 style=shadow \
35471             shadow_color=#aaaaaa4d \
35472             align=center \
35473             color=#111111ff wrap=char text_class=label";
35474             tag:  "br" "\n";
35475             tag:  "hilight" "+ font=Sans:style=Bold";
35476             tag:  "b" "+ font=Sans:style=Bold";
35477             tag:  "tab" "\t";
35478          }
35479          style { name: "seg_text_style_disabled";
35480             base: "font=Sans:style=Medium font_size=16 style=shadow \
35481             shadow_color=#2924224d \
35482             align=center color=#2924224d \
35483             wrap=char text_class=label";
35484             tag:  "br" "\n";
35485             tag:  "hilight" "+ font=Sans:style=Bold";
35486             tag:  "b" "+ font=Sans:style=Bold";
35487             tag:  "tab" "\t";
35488          }
35489       }
35490       images {
35491          image: "seg_single_pressed.png" COMP;
35492          image: "seg_single_selected.png" COMP;
35493          image: "seg_single_normal.png" COMP;
35494
35495          image: "seg_left_pressed.png" COMP;
35496          image: "seg_left_selected.png" COMP;
35497          image: "seg_left_normal.png" COMP;
35498
35499          image: "seg_middle_pressed.png" COMP;
35500          image: "seg_middle_selected.png" COMP;
35501          image: "seg_middle_normal.png" COMP;
35502
35503          image: "seg_right_pressed.png" COMP;
35504          image: "seg_right_selected.png" COMP;
35505          image: "seg_right_normal.png" COMP;
35506       }
35507       parts {
35508          part { name: "segment";
35509             mouse_events: 1;
35510             scale: 1;
35511             description { state: "default" 0.0;
35512                min: 1 1;
35513                visible: 0;
35514                image {
35515                   normal: "seg_single_normal.png";
35516                   border: 7 7 7 7;
35517                   border_scale: 1;
35518                   middle: 1;
35519                }
35520             }
35521             description { state: "default_single" 0.0;
35522                inherit: "default" 0.0;
35523                visible: 1;
35524                image {
35525                   normal: "seg_single_normal.png";
35526                   border: 7 7 7 7;
35527                }
35528             }
35529             description { state: "default_left" 0.0;
35530                inherit: "default" 0.0;
35531                visible: 1;
35532                image {
35533                normal: "seg_left_normal.png";
35534                   border:  6 1 7 7;
35535                }
35536             }
35537             description { state: "default_right" 0.0;
35538                inherit: "default" 0.0;
35539                visible: 1;
35540                image {
35541                   normal: "seg_right_normal.png";
35542                   border: 1 6 7 7;
35543                }
35544             }
35545             description { state: "default_middle" 0.0;
35546                inherit: "default" 0.0;
35547                visible: 1;
35548                image {
35549                   normal: "seg_middle_normal.png";
35550                   border: 2 2 2 2;
35551                }
35552             }
35553             description { state: "pressed_single" 0.0;
35554                inherit: "default" 0.0;
35555                visible: 1;
35556                image {
35557                   normal: "seg_single_pressed.png";
35558                   border: 7 7 7 7;
35559                }
35560             }
35561             description { state: "pressed_left" 0.0;
35562                inherit: "default" 0.0;
35563                visible: 1;
35564                image {
35565                   normal: "seg_left_pressed.png";
35566                   border:  6 1 7 7;
35567                }
35568             }
35569             description { state: "pressed_right" 0.0;
35570                inherit: "default" 0.0;
35571                visible: 1;
35572                image {
35573                   normal: "seg_right_pressed.png";
35574                   border: 1 6 7 7;
35575                }
35576             }
35577             description { state: "pressed_middle" 0.0;
35578                inherit: "default" 0.0;
35579                visible: 1;
35580                image {
35581                   normal: "seg_middle_pressed.png";
35582                   border: 1 1 2 2;
35583                }
35584             }
35585             description { state: "selected_single" 0.0;
35586                inherit: "default" 0.0;
35587                visible: 1;
35588                image {
35589                   normal: "seg_single_selected.png";
35590                   border: 7 7 7 7;
35591                }
35592             }
35593             description { state: "selected_left" 0.0;
35594                inherit: "default" 0.0;
35595                visible: 1;
35596                image {
35597                   normal: "seg_left_selected.png";
35598                   border:  6 3 7 7;
35599                }
35600             }
35601             description { state: "selected_right" 0.0;
35602                inherit: "default" 0.0;
35603                visible: 1;
35604                image {
35605                   normal: "seg_right_selected.png";
35606                   border: 3 6 7 7;
35607                }
35608             }
35609             description { state: "selected_middle" 0.0;
35610                inherit: "default" 0.0;
35611                visible: 1;
35612                image {
35613                   normal: "seg_middle_selected.png";
35614                   border: 3 3 3 3;
35615                }
35616             }
35617          }
35618          part { name: "padding_left";
35619             type: RECT;
35620             scale: 1;
35621             mouse_events: 0;
35622             description { state: "default" 0.0;
35623                align: 0.0 0.0;
35624                rel1.relative: 0.0 0.0;
35625                rel2.relative: 0.0 1.0;
35626                min: 2 2;
35627                max: 2 2;
35628                fixed: 1 0;
35629                color: 0 0 0 0;
35630             }
35631          }
35632          part { name: "padding_right";
35633             type: RECT;
35634             scale: 1;
35635             mouse_events: 0;
35636             description { state: "default" 0.0;
35637                align: 1.0 0.0;
35638                rel1.relative: 1.0 0.0;
35639                rel2.relative: 1.0 1.0;
35640                min: 2 2;
35641                max: 2 2;
35642                fixed: 1 0;
35643                color: 0 0 0 0;
35644             }
35645          }
35646          part { name: "padding_top";
35647             type: RECT;
35648             scale: 1;
35649             mouse_events: 0;
35650             description { state: "default" 0.0;
35651                align: 0.0 0.0;
35652                rel1.relative: 0.0 0.0;
35653                rel2.relative: 1.0 0.0;
35654                min: 2 2;
35655                max: 2 2;
35656                fixed: 0 1;
35657                color: 0 0 0 0;
35658             }
35659          }
35660          part { name: "padding_bottom";
35661             type: RECT;
35662             scale: 1;
35663             mouse_events: 0;
35664             description { state: "default" 0.0;
35665                align: 1.0 1.0;
35666                rel1.relative: 0.0 1.0;
35667                rel2.relative: 1.0 1.0;
35668                min: 2 2;
35669                max: 2 2;
35670                fixed: 0 1;
35671                color: 0 0 0 0;
35672             }
35673          }
35674          part { name: "icon.bg";
35675             type: RECT;
35676             scale: 1;
35677             mouse_events: 0;
35678             description { state: "default" 0.0;
35679                visible: 1;
35680                fixed: 1 0;
35681                rel1 {
35682                   to_x: "padding_left";
35683                   to_y: "padding_top";
35684                   relative: 1.0 1.0;
35685                }
35686                rel2 {
35687                   to: "elm.swallow.icon";
35688                   relative: 1.0 1.0;
35689                }
35690                align: 0.0 0.5;
35691                color: 0 0 0 0;
35692             }
35693          }
35694          part { name: "padding_icon_text";
35695             type: RECT;
35696             scale: 1;
35697             mouse_events: 0;
35698             description { state: "default" 0.0; //when only icon or no icon is there
35699                align: 0.0 0.0;
35700                rel1 {
35701                   to: "icon.bg";
35702                   relative: 1.0 0.0;
35703                }
35704                rel2 {
35705                   to: "icon.bg";
35706                   relative: 1.0 1.0;
35707                }
35708                fixed: 1 0;
35709                min: 0 0;
35710                color: 0 0 0 0;
35711             }
35712             description { state: "icononly" 0.0;
35713                inherit: "default" 0.0;
35714             }
35715             description { state: "visible" 0.0; //when icon is visible
35716                inherit: "default" 0.0;
35717                min: 2 0;
35718             }
35719          }
35720          part { name: "elm.swallow.icon";
35721             type: SWALLOW;
35722             scale: 1;
35723             description { state: "default" 0.0;
35724                visible: 0;
35725                align: 0.0 0.5;
35726                rel1 {
35727                   to_x: "padding_left";
35728                   to_y: "padding_top";
35729                   relative: 1.0 1.0;
35730                }
35731                rel2 {
35732                   to_y: "padding_bottom";
35733                   relative: 0.0 0.0;
35734                }
35735                fixed: 1 0;
35736                aspect: 1.0 1.0;
35737                aspect_preference: BOTH;
35738             }
35739             description { state: "visible" 0.0;
35740                inherit: "default" 0.0;
35741                visible: 1;
35742                rel2 {
35743                   to_y: "padding_bottom";
35744                   relative: 0.3 0.0;
35745                }
35746             }
35747             description { state: "icononly" 0.0;
35748                inherit: "default" 0.0;
35749                visible: 1;
35750                rel2 {
35751                   to_x: "padding_right";
35752                   to_y: "padding_bottom";
35753                   relative: 0.0 0.0;
35754                }
35755                align: 0.5 0.5;
35756             }
35757          }
35758          part { name: "elm.text";
35759             type: TEXT;
35760             mouse_events: 0;
35761             scale: 1;
35762             description {
35763                state: "default" 0.0;
35764                visible: 0;
35765                fixed: 1 1;
35766                min: 1 1;
35767                rel1 {
35768                   to_x: "padding_icon_text";
35769                   relative: 1.0 1.0;
35770                }
35771                rel2 {
35772                   to_x: "padding_right";
35773                   relative: 0.0 0.0;
35774                }
35775                color: 224 224 224 255;
35776                color3: 0 0 0 64;
35777                text {
35778                   font: "Sans";
35779                   ellipsis: 0.0;
35780                   fit: 1 1;
35781                   size: 24;
35782                   size_range: 8 36;
35783                   min: 0 1;
35784                }
35785             }
35786             description { state: "normal" 0.0;
35787                inherit: "default" 0.0;
35788                visible: 1;
35789             }
35790             description { state: "pressed" 0.0;
35791                inherit: "default" 0.0;
35792                visible: 1;
35793                color: 0 0 0 255;
35794             }
35795             description { state: "selected" 0.0;
35796                inherit: "default" 0.0;
35797                visible: 1;
35798                color: 50 50 50 255;
35799             }
35800             description { state: "disabled" 0.0;
35801                inherit: "default" 0.0;
35802                visible: 1;
35803                color: 200 200 200 255;
35804             }
35805          }
35806          part { name: "disabler";
35807             repeat_events: 0;
35808             scale: 1;
35809             description { state: "default" 0.0;
35810                visible: 0;
35811                fixed: 1 1;
35812                min: 1 1;
35813                align: 0.0 0.5;
35814                rel1 { relative: 0.0 0.0; to: "segment";}
35815                rel2 { relative: 1.0 1.0; to: "segment";}
35816                color: 255 255 255 150;
35817             }
35818             description { state: "disabled_single" 0.0;
35819                inherit: "default" 0.0;
35820                visible: 1;
35821                image {
35822                   normal: "seg_single_normal.png";
35823                   border: 7 7 7 7;
35824                }
35825             }
35826             description { state: "disabled_left" 0.0;
35827                inherit: "default" 0.0;
35828                visible: 1;
35829                image {
35830                   normal: "seg_left_normal.png";
35831                   border:  6 1 7 7;
35832                }
35833             }
35834             description { state: "disabled_right" 0.0;
35835                inherit: "default" 0.0;
35836                visible: 1;
35837                image {
35838                   normal: "seg_right_normal.png";
35839                   border: 1 6 7 7;
35840                }
35841             }
35842             description { state: "disabled_middle" 0.0;
35843                inherit: "default" 0.0;
35844                visible: 1;
35845                image {
35846                   normal: "seg_middle_normal.png";
35847                   border: 2 2 2 2;
35848                }
35849             }
35850          }
35851       }
35852       programs {
35853          script {
35854             public seg_type; // Single, Left, Middle, Right.
35855             public seg_state; // Normal/Default, Pressed, Selected.
35856             public seg_status;// Enabled/Default, Disabled
35857
35858             public update_state() {
35859                new type, state, disabled;
35860                type = get_int(seg_type);
35861                state = get_int(seg_state);
35862                disabled = get_int(seg_status);
35863
35864                if(state == SEGMENT_STATE_NORMAL)
35865                  {
35866                     if(type == SEGMENT_TYPE_SINGLE)
35867                       set_state(PART:"segment", "default_single", 0.0);
35868                     else if(type == SEGMENT_TYPE_LEFT)
35869                       set_state(PART:"segment", "default_left", 0.0);
35870                     else if(type == SEGMENT_TYPE_MIDDLE)
35871                       set_state(PART:"segment", "default_middle", 0.0);
35872                     else if(type == SEGMENT_TYPE_RIGHT)
35873                       set_state(PART:"segment", "default_right", 0.0);
35874                     set_state(PART:"elm.text", "normal", 0.0);
35875                  }
35876                else if(state == SEGMENT_STATE_PRESSED)
35877                  {
35878                     if(type == SEGMENT_TYPE_SINGLE)
35879                       set_state(PART:"segment", "pressed_single", 0.0);
35880                     else if(type == SEGMENT_TYPE_LEFT)
35881                       set_state(PART:"segment", "pressed_left", 0.0);
35882                     else if(type == SEGMENT_TYPE_MIDDLE)
35883                       set_state(PART:"segment", "pressed_middle", 0.0);
35884                     else if(type == SEGMENT_TYPE_RIGHT)
35885                       set_state(PART:"segment", "pressed_right", 0.0);
35886                     set_state(PART:"elm.text", "pressed", 0.0);
35887                  }
35888                else if(state == SEGMENT_STATE_SELECTED)
35889                  {
35890                     if(type == SEGMENT_TYPE_SINGLE)
35891                       set_state(PART:"segment", "selected_single", 0.0);
35892                     else if(type == SEGMENT_TYPE_LEFT)
35893                       set_state(PART:"segment", "selected_left", 0.0);
35894                     else if(type == SEGMENT_TYPE_MIDDLE)
35895                       set_state(PART:"segment", "selected_middle", 0.0);
35896                     else if(type == SEGMENT_TYPE_RIGHT)
35897                       set_state(PART:"segment", "selected_right", 0.0);
35898                     set_state(PART:"elm.text", "selected", 0.0);
35899                  }
35900                if(disabled == SEGMENT_STATUS_DISABLED)
35901                  {
35902                     if(type == SEGMENT_TYPE_SINGLE)
35903                       set_state(PART:"disabler", "disabled_single", 0.0);
35904                     else if(type == SEGMENT_TYPE_LEFT)
35905                       set_state(PART:"disabler", "disabled_left", 0.0);
35906                     else if(type == SEGMENT_TYPE_MIDDLE)
35907                       set_state(PART:"disabler", "disabled_middle", 0.0);
35908                     else if(type == SEGMENT_TYPE_RIGHT)
35909                       set_state(PART:"disabler", "disabled_right", 0.0);
35910                     set_state(PART:"elm.text", "disabled", 0.0);
35911                  }
35912             }
35913          }
35914          program {
35915             name: "segment_type_s";
35916             signal: "elm,type,segment,single";
35917             source: "elm";
35918             script {
35919                set_int(seg_type, SEGMENT_TYPE_SINGLE);
35920                update_state();
35921             }
35922          }
35923          program {
35924             name: "segment_type_l";
35925             signal: "elm,type,segment,left";
35926             source: "elm";
35927             script {
35928                set_int(seg_type, SEGMENT_TYPE_LEFT);
35929                update_state();
35930             }
35931          }
35932          program {
35933             name: "segment_type_m";
35934             signal: "elm,type,segment,middle";
35935             source: "elm";
35936             script {
35937                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
35938                update_state();
35939             }
35940          }
35941          program {
35942             name: "segment_type_r";
35943             signal: "elm,type,segment,right";
35944             source: "elm";
35945             script {
35946                set_int(seg_type, SEGMENT_TYPE_RIGHT);
35947                update_state();
35948             }
35949          }
35950          program {
35951             name: "normal_segment";
35952             signal: "elm,state,segment,normal";
35953             source: "elm";
35954             script {
35955                set_int(seg_state, SEGMENT_STATE_NORMAL);
35956                update_state();
35957             }
35958          }
35959          program {
35960             name: "pressed_segment";
35961             signal: "elm,state,segment,pressed";
35962             source: "elm";
35963             script {
35964                set_int(seg_state, SEGMENT_STATE_PRESSED);
35965                update_state();
35966             }
35967          }
35968          program {
35969             name: "selected_segment";
35970             signal: "elm,state,segment,selected";
35971             source: "elm";
35972             script {
35973                set_int(seg_state, SEGMENT_STATE_SELECTED);
35974                update_state();
35975             }
35976          }
35977          program { name: "disable_segment";
35978             signal: "elm,state,disabled";
35979             source: "elm";
35980             script {
35981                set_int(seg_status, SEGMENT_STATUS_DISABLED);
35982                update_state();
35983             }
35984          }
35985          program { name: "enable_segment";
35986             signal: "elm,state,enabled";
35987             source: "elm";
35988             script {
35989                set_int(seg_status, SEGMENT_STATUS_ENABLED);
35990                update_state();
35991             }
35992          }
35993          program { name: "text_show";
35994             signal: "elm,state,text,visible";
35995             source: "elm";
35996             script {
35997                new st[31];
35998                new Float:vl;
35999                get_state(PART:"elm.swallow.icon", st, 30, vl);
36000                if (!strcmp(st, "icononly"))
36001                  {
36002                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36003                     set_state(PART:"padding_icon_text", "visible", 0.0);
36004                  }
36005                get_state(PART:"elm.text", st, 30, vl);
36006                if (!strcmp(st, "selected"))
36007                   set_state(PART:"elm.text", "selected", 0.0);
36008                else
36009                   set_state(PART:"elm.text", "normal", 0.0);
36010             }
36011          }
36012          program { name: "text_hide";
36013             signal: "elm,state,text,hidden";
36014             source: "elm";
36015             script {
36016                new st[31];
36017                new Float:vl;
36018                get_state(PART:"elm.swallow.icon", st, 30, vl);
36019                if (!strcmp(st, "visible"))
36020                  {
36021                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36022                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36023                  }
36024                set_state(PART:"elm.text", "default", 0.0);
36025             }
36026          }
36027          program { name: "icon_show";
36028             signal: "elm,state,icon,visible";
36029             source: "elm";
36030             script {
36031                new st[31];
36032                new Float:vl;
36033                get_state(PART:"elm.text", st, 30, vl);
36034                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36035                  {
36036                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36037                     set_state(PART:"padding_icon_text", "visible", 0.0);
36038                  }
36039                else
36040                  {
36041                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36042                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36043                  }
36044             }
36045          }
36046          program { name: "icon_hide";
36047             signal: "elm,state,icon,hidden";
36048             source: "elm";
36049             action:  STATE_SET "default" 0.0;
36050             target: "elm.swallow.icon";
36051          }
36052       }
36053 #undef SEGMENT_TYPE_SINGLE
36054 #undef SEGMENT_TYPE_LEFT
36055 #undef SEGMENT_TYPE_MIDDLE
36056 #undef SEGMENT_TYPE_RIGHT
36057 #undef SEGMENT_STATE_NORMAL
36058 #undef SEGMENT_STATE_PRESSED
36059 #undef SEGMENT_STATE_SELECTED
36060 #undef SEGMENT_STATUS_ENABLED
36061 #undef SEGMENT_STATUS_DISABLED
36062    }
36063
36064    /* a simple title layout, with a label and two icons */
36065    group { name: "elm/layout/application/titlebar";
36066       images {
36067          image: "toolbar_sel.png" COMP;
36068       }
36069       parts {
36070          part { name: "base";
36071             mouse_events: 0;
36072             scale: 1;
36073             description { state: "default" 0.0;
36074                min: 0 33;
36075                max: 99999 33;
36076                align: 0.5 0.0;
36077                rel1.offset: -1 0;
36078                rel2.offset: 1 0;
36079                image {
36080                   normal: "toolbar_sel.png";
36081                   border: 3 3 0 0;
36082                }
36083             }
36084          }
36085          part { name: "elm.swallow.content";
36086             type: SWALLOW;
36087             description { state: "default" 0.0;
36088                visible: 1;
36089                rel1 {
36090                   to: "base";
36091                   relative: 0.0 1.0;
36092                }
36093             }
36094          }
36095          part { name: "elm.swallow.icon";
36096             type: SWALLOW;
36097             scale: 1;
36098             description { state: "default" 0.0;
36099                visible: 0;
36100                fixed: 1 1;
36101                align: 0.0 0.0;
36102                rel1 {
36103                   to: "base";
36104                   relative: 0.0 0.0;
36105                   offset: 4 0;
36106                }
36107                rel2 {
36108                   to: "base";
36109                   relative: 0.0 1.0;
36110                }
36111             }
36112             description { state: "visible" 0.0;
36113                inherit: "default" 0.0;
36114                visible: 1;
36115             }
36116          }
36117          part { name: "elm.swallow.end";
36118             type: SWALLOW;
36119             scale: 1;
36120             description { state: "default" 0.0;
36121                visible: 0;
36122                fixed: 1 1;
36123                align: 1.0 0.0;
36124                rel1 {
36125                   to: "base";
36126                   relative: 1.0 0.0;
36127                   offset: 0 0;
36128                }
36129                rel2 {
36130                   to: "base";
36131                   relative: 1.0 1.0;
36132                   offset: -5 -1;
36133                }
36134             }
36135             description { state: "visible" 0.0;
36136                inherit: "default" 0.0;
36137                visible: 1;
36138             }
36139          }
36140          part { name: "elm.text";
36141             type: TEXT;
36142             effect: SOFT_SHADOW;
36143             mouse_events: 0;
36144             scale: 1;
36145             description { state: "default" 0.0;
36146                fixed: 1 1;
36147                rel1 {
36148                   to_x: "elm.swallow.icon";
36149                   to_y: "base";
36150                   relative: 1.0 0.0;
36151                }
36152                rel2 {
36153                   to_x: "elm.swallow.end";
36154                   to_y: "base";
36155                   relative: 0.0 1.0;
36156                }
36157                text {
36158                   font: "Sans";
36159                   size: 12;
36160                   min: 0 0;
36161                   align: 0.5 0.5;
36162                   text_class: "title_bar";
36163                }
36164             }
36165          }
36166       }
36167       programs {
36168          program { name: "show_icon";
36169             signal: "elm,state,icon,visible";
36170             source: "elm";
36171             action: STATE_SET "visible" 0.0;
36172             target: "elm.swallow.icon";
36173          }
36174          program { name: "hide_icon";
36175             signal: "elm,state,icon,hidden";
36176             source: "elm";
36177             action: STATE_SET "default" 0.0;
36178             target: "elm.swallow.icon";
36179          }
36180          program { name: "show_end";
36181             signal: "elm,state,end,visible";
36182             source: "elm";
36183             action: STATE_SET "visible" 0.0;
36184             target: "elm.swallow.end";
36185          }
36186          program { name: "hide_end";
36187             signal: "elm,state,end,hidden";
36188             source: "elm";
36189             action: STATE_SET "default" 0.0;
36190             target: "elm.swallow.end";
36191          }
36192       }
36193    }
36194 }
36195
36196
36197
36198