Elementary default.edc: Fixed genlist item styles. TEXT part does not need to have...
[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-mixedwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_mixedwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=mixed 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_mixedwrap";
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_mixedwrap";
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_mixedwrap";
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-charwrap/default";
8469       styles
8470       {
8471          style { name: "entry_textblock_style_charwrap";
8472             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8473             tag:  "br" "\n";
8474             tag:  "ps" "ps";
8475             tag:  "tab" "\t";
8476             tag:  "em" "+ font=Sans:style=Oblique";
8477             tag:  "b" "+ font=Sans:style=Bold";
8478             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8479             tag:  "hilight" "+ font=Sans:style=Bold";
8480          }
8481          style { name: "entry_textblock_disabled_style_charwrap";
8482             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8483             tag:  "br" "\n";
8484             tag:  "ps" "ps";
8485             tag:  "tab" "\t";
8486             tag:  "em" "+ font=Sans:style=Oblique";
8487             tag:  "b" "+ font=Sans:style=Bold";
8488             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8489             tag:  "hilight" "+ font=Sans:style=Bold";
8490          }
8491       }
8492       parts {
8493          part { name: "elm.text";
8494             type: TEXTBLOCK;
8495             mouse_events: 1;
8496             scale: 1;
8497             entry_mode: EDITABLE;
8498             select_mode: EXPLICIT;
8499             multiline: 1;
8500             source: "elm/entry/selection/default"; // selection under
8501 //          source2: "X"; // selection over
8502 //          source3: "X"; // cursor under
8503             source4: "elm/entry/cursor/default"; // cursorover
8504             source5: "elm/entry/anchor/default"; // anchor under
8505 //          source6: "X"; // anchor over
8506             description { state: "default" 0.0;
8507                fixed: 1 0;
8508                text {
8509                   style: "entry_textblock_style_charwrap";
8510                   min: 0 1;
8511                   align: 0.0 0.0;
8512                }
8513             }
8514             description { state: "disabled" 0.0;
8515                inherit: "default" 0.0;
8516                text {
8517                   style: "entry_textblock_disabled_style_charwrap";
8518                   min: 0 1;
8519                }
8520             }
8521          }
8522       }
8523       programs {
8524          program { name: "focus";
8525             signal: "load";
8526             source: "";
8527             action: FOCUS_SET;
8528             target: "elm.text";
8529          }
8530          program { name: "disable";
8531             signal: "elm,state,disabled";
8532             source: "elm";
8533             action: STATE_SET "disabled" 0.0;
8534             target: "elm.text";
8535          }
8536          program { name: "enable";
8537             signal: "elm,state,enabled";
8538             source: "elm";
8539             action: STATE_SET "default" 0.0;
8540             target: "elm.text";
8541          }
8542       }
8543    }
8544
8545    group { name: "elm/entry/base-nowrap/default";
8546       parts {
8547          part { name: "elm.text";
8548             type: TEXTBLOCK;
8549             mouse_events: 1;
8550             scale: 1;
8551             entry_mode: EDITABLE;
8552             select_mode: EXPLICIT;
8553             multiline: 1;
8554             source: "elm/entry/selection/default"; // selection under
8555             source4: "elm/entry/cursor/default"; // cursorover
8556             source5: "elm/entry/anchor/default"; // anchor under
8557             description { state: "default" 0.0;
8558                text {
8559                   style: "entry_textblock_style";
8560                   min: 1 1;
8561                   align: 0.0 0.0;
8562                }
8563             }
8564             description { state: "disabled" 0.0;
8565                inherit: "default" 0.0;
8566                text {
8567                   style: "entry_textblock_disabled_style";
8568                   min: 0 1;
8569                }
8570             }
8571          }
8572 /*
8573          part { name: "sel";
8574             type: RECT;
8575             mouse_events: 0;
8576             description { state: "default" 0.0;
8577                align: 1.0 1.0;
8578                max: 16 16;
8579                aspect: 1.0 1.0;
8580                color: 255 0 0 0;
8581             }
8582             description { state: "visible" 0.0;
8583                inherit: "default" 0.0;
8584                color: 255 0 0 50;
8585             }
8586          }
8587  */
8588       }
8589       programs {
8590          program { name: "focus";
8591             signal: "load";
8592             source: "";
8593             action: FOCUS_SET;
8594             target: "elm.text";
8595          }
8596          program { name: "disable";
8597             signal: "elm,state,disabled";
8598             source: "elm";
8599             action: STATE_SET "disabled" 0.0;
8600             target: "elm.text";
8601          }
8602          program { name: "enable";
8603             signal: "elm,state,enabled";
8604             source: "elm";
8605             action: STATE_SET "default" 0.0;
8606             target: "elm.text";
8607          }
8608 /*
8609          program { name: "selmode0";
8610             signal: "elm,state,select,on";
8611             source: "elm";
8612             action: STATE_SET "visible" 0.0;
8613             target: "sel";
8614          }
8615          program { name: "selmode1";
8616             signal: "elm,state,select,off";
8617             source: "elm";
8618             action: STATE_SET "default" 0.0;
8619             target: "sel";
8620          }
8621  */
8622       }
8623    }
8624
8625    group { name: "elm/entry/base-single/default";
8626       styles
8627       {
8628          style { name: "entry_single_textblock_style";
8629             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8630             tag:  "br" "\n";
8631             tag:  "ps" "ps";
8632             tag:  "tab" "\t";
8633             tag:  "em" "+ font=Sans:style=Oblique";
8634             tag:  "b" "+ font=Sans:style=Bold";
8635             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8636             tag:  "hilight" "+ font=Sans:style=Bold";
8637          }
8638          style { name: "entry_single_textblock_disabled_style";
8639             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8640             tag:  "br" "\n";
8641             tag:  "ps" "ps";
8642             tag:  "tab" "\t";
8643             tag:  "em" "+ font=Sans:style=Oblique";
8644             tag:  "b" "+ font=Sans:style=Bold";
8645             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8646             tag:  "hilight" "+ font=Sans:style=Bold";
8647          }
8648       }
8649       parts {
8650          part { name: "elm.text";
8651             type: TEXTBLOCK;
8652             mouse_events: 1;
8653             scale: 1;
8654             entry_mode: EDITABLE;
8655             select_mode: EXPLICIT;
8656             multiline: 0;
8657             source: "elm/entry/selection/default"; // selection under
8658             source4: "elm/entry/cursor/default"; // cursorover
8659             source5: "elm/entry/anchor/default"; // anchor under
8660             description { state: "default" 0.0;
8661                text {
8662                   style: "entry_single_textblock_style";
8663                   min: 1 1;
8664                   max: 0 0;
8665                   align: 0.0 0.5;
8666                }
8667             }
8668             description { state: "disabled" 0.0;
8669                inherit: "default" 0.0;
8670                text {
8671                   style: "entry_single_textblock_disabled_style";
8672                }
8673             }
8674          }
8675       }
8676       programs {
8677          program { name: "focus";
8678             signal: "load";
8679             source: "";
8680             action: FOCUS_SET;
8681             target: "elm.text";
8682          }
8683          program { name: "disable";
8684             signal: "elm,state,disabled";
8685             source: "elm";
8686             action: STATE_SET "disabled" 0.0;
8687             target: "elm.text";
8688          }
8689          program { name: "enable";
8690             signal: "elm,state,enabled";
8691             source: "elm";
8692             action: STATE_SET "default" 0.0;
8693             target: "elm.text";
8694          }
8695       }
8696    }
8697
8698    group { name: "elm/entry/base-single-noedit/default";
8699       parts {
8700          part { name: "elm.text";
8701             type: TEXTBLOCK;
8702             mouse_events: 1;
8703             scale: 1;
8704             entry_mode: PLAIN;
8705             select_mode: EXPLICIT;
8706             multiline: 0;
8707             source: "elm/entry/selection/default"; // selection under
8708             source5: "elm/entry/anchor/default"; // anchor under
8709             description { state: "default" 0.0;
8710                text {
8711                   style: "entry_single_textblock_style";
8712                   min: 1 1;
8713                   max: 0 0;
8714                   align: 0.0 0.5;
8715                }
8716             }
8717             description { state: "disabled" 0.0;
8718                inherit: "default" 0.0;
8719                text {
8720                style: "entry_single_textblock_disabled_style";
8721                }
8722             }
8723          }
8724       }
8725       programs {
8726          program { name: "focus";
8727             signal: "load";
8728             source: "";
8729             action: FOCUS_SET;
8730             target: "elm.text";
8731          }
8732          program { name: "disable";
8733             signal: "elm,state,disabled";
8734             source: "elm";
8735             action: STATE_SET "disabled" 0.0;
8736             target: "elm.text";
8737          }
8738          program { name: "enable";
8739             signal: "elm,state,enabled";
8740             source: "elm";
8741             action: STATE_SET "default" 0.0;
8742             target: "elm.text";
8743          }
8744       }
8745    }
8746
8747    group { name: "elm/entry/base-noedit/default";
8748       parts {
8749          part { name: "elm.text";
8750             type: TEXTBLOCK;
8751             mouse_events: 1;
8752             scale: 1;
8753             entry_mode: PLAIN;
8754             select_mode: EXPLICIT;
8755             multiline: 1;
8756             source: "elm/entry/selection/default"; // selection under
8757             source5: "elm/entry/anchor/default"; // anchor under
8758             description { state: "default" 0.0;
8759                fixed: 1 0;
8760                text {
8761                   style: "entry_textblock_style";
8762                   min: 0 1;
8763                   align: 0.0 0.0;
8764                }
8765             }
8766             description { state: "disabled" 0.0;
8767                inherit: "default" 0.0;
8768                text {
8769                   style: "entry_textblock_disabled_style";
8770                }
8771             }
8772          }
8773       }
8774       programs {
8775          program { name: "focus";
8776             signal: "load";
8777             source: "";
8778             action: FOCUS_SET;
8779             target: "elm.text";
8780          }
8781          program { name: "disable";
8782             signal: "elm,state,disabled";
8783             source: "elm";
8784             action: STATE_SET "disabled" 0.0;
8785             target: "elm.text";
8786          }
8787          program { name: "enable";
8788             signal: "elm,state,enabled";
8789             source: "elm";
8790             action: STATE_SET "default" 0.0;
8791             target: "elm.text";
8792          }
8793       }
8794    }
8795
8796    group { name: "elm/entry/base-noedit-mixedwrap/default";
8797       parts {
8798          part { name: "elm.text";
8799             type: TEXTBLOCK;
8800             mouse_events: 1;
8801             scale: 1;
8802             entry_mode: PLAIN;
8803             select_mode: EXPLICIT;
8804             multiline: 1;
8805             source: "elm/entry/selection/default"; // selection under
8806             source5: "elm/entry/anchor/default"; // anchor under
8807             description { state: "default" 0.0;
8808                fixed: 1 0;
8809                text {
8810                   style: "entry_textblock_style_mixedwrap";
8811                   min: 0 1;
8812                   align: 0.0 0.0;
8813                }
8814             }
8815             description { state: "disabled" 0.0;
8816                inherit: "default" 0.0;
8817                text {
8818                   style: "entry_textblock_disabled_style_mixedwrap";
8819                }
8820             }
8821          }
8822       }
8823       programs {
8824          program { name: "focus";
8825             signal: "load";
8826             source: "";
8827             action: FOCUS_SET;
8828             target: "elm.text";
8829          }
8830          program { name: "disable";
8831             signal: "elm,state,disabled";
8832             source: "elm";
8833             action: STATE_SET "disabled" 0.0;
8834             target: "elm.text";
8835          }
8836          program { name: "enable";
8837             signal: "elm,state,enabled";
8838             source: "elm";
8839             action: STATE_SET "default" 0.0;
8840             target: "elm.text";
8841          }
8842       }
8843    }
8844
8845    group { name: "elm/entry/base-noedit-charwrap/default";
8846       parts {
8847          part { name: "elm.text";
8848             type: TEXTBLOCK;
8849             mouse_events: 1;
8850             scale: 1;
8851             entry_mode: PLAIN;
8852             select_mode: EXPLICIT;
8853             multiline: 1;
8854             source: "elm/entry/selection/default"; // selection under
8855             source5: "elm/entry/anchor/default"; // anchor under
8856             description { state: "default" 0.0;
8857                fixed: 1 0;
8858                text {
8859                   style: "entry_textblock_style_charwrap";
8860                   min: 0 1;
8861                   align: 0.0 0.0;
8862                }
8863             }
8864             description { state: "disabled" 0.0;
8865                inherit: "default" 0.0;
8866                text {
8867                   style: "entry_textblock_disabled_style_charwrap";
8868                }
8869             }
8870          }
8871       }
8872       programs {
8873          program { name: "focus";
8874             signal: "load";
8875             source: "";
8876             action: FOCUS_SET;
8877             target: "elm.text";
8878          }
8879          program { name: "disable";
8880             signal: "elm,state,disabled";
8881             source: "elm";
8882             action: STATE_SET "disabled" 0.0;
8883             target: "elm.text";
8884          }
8885          program { name: "enable";
8886             signal: "elm,state,enabled";
8887             source: "elm";
8888             action: STATE_SET "default" 0.0;
8889             target: "elm.text";
8890          }
8891       }
8892    }
8893
8894    group { name: "elm/entry/base-nowrap-noedit/default";
8895       parts {
8896          part { name: "elm.text";
8897             type: TEXTBLOCK;
8898             mouse_events: 1;
8899             scale: 1;
8900             entry_mode: PLAIN;
8901             select_mode: EXPLICIT;
8902             multiline: 1;
8903             source: "elm/entry/selection/default"; // selection under
8904             source5: "elm/entry/anchor/default"; // anchor under
8905             description { state: "default" 0.0;
8906                text {
8907                   style: "entry_textblock_style";
8908                   min: 1 1;
8909                   align: 0.0 0.0;
8910                }
8911             }
8912             description { state: "disabled" 0.0;
8913                inherit: "default" 0.0;
8914                text {
8915                   style: "entry_textblock_disabled_style";
8916                }
8917             }
8918          }
8919       }
8920       programs {
8921          program { name: "focus";
8922             signal: "load";
8923             source: "";
8924             action: FOCUS_SET;
8925             target: "elm.text";
8926          }
8927          program { name: "disable";
8928             signal: "elm,state,disabled";
8929             source: "elm";
8930             action: STATE_SET "disabled" 0.0;
8931             target: "elm.text";
8932          }
8933          program { name: "enable";
8934             signal: "elm,state,enabled";
8935             source: "elm";
8936             action: STATE_SET "default" 0.0;
8937             target: "elm.text";
8938          }
8939       }
8940    }
8941
8942    group { name: "elm/entry/base-password/default";
8943       parts {
8944          part { name: "elm.text";
8945             type: TEXTBLOCK;
8946             mouse_events: 1;
8947             scale: 1;
8948             entry_mode: PASSWORD;
8949             select_mode: EXPLICIT;
8950             multiline: 0;
8951             source: "elm/entry/selection/default"; // selection under
8952             source4: "elm/entry/cursor/default"; // cursorover
8953             source5: "elm/entry/anchor/default"; // anchor under
8954             description { state: "default" 0.0;
8955                text {
8956                   style: "entry_single_textblock_style";
8957                   repch: "*";
8958                   min: 1 1;
8959                   max: 0 0;
8960                   align: 0.0 0.5;
8961                }
8962             }
8963             description { state: "disabled" 0.0;
8964                inherit: "default" 0.0;
8965                text {
8966                   style: "entry_single_textblock_disabled_style";
8967                }
8968             }
8969          }
8970       }
8971       programs {
8972          program { name: "focus";
8973             signal: "load";
8974             source: "";
8975             action: FOCUS_SET;
8976             target: "elm.text";
8977          }
8978          program { name: "disable";
8979             signal: "elm,state,disabled";
8980             source: "elm";
8981             action: STATE_SET "disabled" 0.0;
8982             target: "elm.text";
8983          }
8984          program { name: "enable";
8985             signal: "elm,state,enabled";
8986             source: "elm";
8987             action: STATE_SET "default" 0.0;
8988             target: "elm.text";
8989          }
8990       }
8991    }
8992
8993    group { name: "elm/entry/cursor/default";
8994       images {
8995          image: "cur_box.png" COMP;
8996          image: "cur_hi.png" COMP;
8997          image: "cur_shad.png" COMP;
8998          image: "cur_shine.png" COMP;
8999          image: "cur_glow.png" COMP;
9000       }
9001       parts {
9002          part { name: "clip2";
9003             type: RECT;
9004             mouse_events: 0;
9005             description { state: "default" 0.0;
9006                rel1.to: "clip";
9007                rel2.to: "clip";
9008                visible: 0;
9009             }
9010             description { state: "focused" 0.0;
9011                inherit: "default" 0.0;
9012                visible: 1;
9013             }
9014          }
9015          part { name: "clip";
9016             type: RECT;
9017             mouse_events: 0;
9018             clip_to: "clip2";
9019             description { state: "default" 0.0;
9020                rel1.offset: -10 0;
9021                rel2.offset: 9 9;
9022             }
9023             description { state: "hidden" 0.0;
9024                inherit: "default" 0.0;
9025                visible: 0;
9026             }
9027          }
9028          part { name: "bg";
9029             mouse_events: 0;
9030             clip_to: "clip";
9031             description { state: "default" 0.0;
9032                rel1.to: "base";
9033                rel1.offset: -2 0;
9034                rel2.to: "base";
9035                rel2.offset: 1 1;
9036                image.border: 2 2 2 2;
9037                image.normal: "cur_shad.png";
9038             }
9039          }
9040          part { name: "base";
9041             mouse_events: 0;
9042             scale: 1;
9043             clip_to: "clip";
9044             description { state: "default" 0.0;
9045                min: 2 2;
9046                align: 0.5 1.0;
9047                rel1.relative: 0.0 1.0;
9048                rel1.offset: 0 -1;
9049                rel2.relative: 1.0 1.0;
9050                rel2.offset: -1 -1;
9051                image.normal: "cur_box.png";
9052             }
9053          }
9054          part { name: "hi";
9055             mouse_events: 0;
9056             clip_to: "clip";
9057             description { state: "default" 0.0;
9058                rel1.to: "base";
9059                rel2.to: "base";
9060                rel2.relative: 1.0 0.5;
9061                image.normal: "cur_hi.png";
9062             }
9063          }
9064          part { name: "shine";
9065             mouse_events: 0;
9066             clip_to: "clip";
9067             clip_to: "clip2";
9068             description { state: "default" 0.0;
9069                rel1.to: "base";
9070                rel2.to: "base";
9071                rel2.relative: 1.0 0.75;
9072                image.border: 2 2 1 0;
9073                image.normal: "cur_shine.png";
9074                fill.smooth: 0;
9075             }
9076          }
9077          part { name: "glow";
9078             mouse_events: 0;
9079             clip_to: "clip2";
9080             description { state: "default" 0.0;
9081                rel1.to: "base";
9082                rel1.relative: 0.0 -2.0;
9083                rel1.offset: -2 0;
9084                rel2.to: "base";
9085                rel2.relative: 1.0 0.0;
9086                rel2.offset: 1 1;
9087                image.border: 2 2 0 4;
9088                image.normal: "cur_glow.png";
9089                fill.smooth: 0;
9090             }
9091             description { state: "hidden" 0.0;
9092                inherit: "default" 0.0;
9093                color: 255 255 255 0;
9094             }
9095          }
9096       }
9097       programs {
9098          program { name: "show";
9099             signal: "show";
9100             source: "";
9101             action: STATE_SET "hidden" 0.0;
9102             in: 1.0 0.0;
9103             transition: DECELERATE 2.0;
9104             target: "glow";
9105             after: "show2";
9106          }
9107          program { name: "show2";
9108             action: STATE_SET "hidden" 0.0;
9109             in: 0.2 0.0;
9110             target: "clip";
9111             after: "show3";
9112          }
9113          program { name: "show3";
9114             action: STATE_SET "default" 0.0;
9115             in: 0.5 0.0;
9116             target: "clip";
9117             after: "show4";
9118          }
9119          program { name: "show4";
9120             action: STATE_SET "default" 0.0;
9121             in: 0.5 0.0;
9122             transition: DECELERATE 0.5;
9123             target: "glow";
9124             after: "show";
9125          }
9126          program { name: "focused";
9127             signal: "elm,action,focus";
9128             source: "elm";
9129             action: STATE_SET "focused" 0.0;
9130             target: "clip2";
9131          }
9132          program { name: "unfocused";
9133             signal: "elm,action,unfocus";
9134             source: "elm";
9135             action: STATE_SET "default" 0.0;
9136             target: "clip2";
9137          }
9138       }
9139    }
9140
9141    group { name: "elm/entry/selection/default";
9142       parts {
9143          part { name: "bg";
9144             type: RECT;
9145             mouse_events: 0;
9146             description { state: "default" 0.0;
9147                color: 128 128 128 128;
9148             }
9149          }
9150       }
9151    }
9152
9153    group { name: "elm/entry/anchor/default";
9154       parts {
9155          part { name: "bg";
9156             type: RECT;
9157             mouse_events: 0;
9158             description { state: "default" 0.0;
9159                color: 128 0 0 64;
9160             }
9161          }
9162       }
9163    }
9164
9165 ///////////////////////////////////////////////////////////////////////////////
9166   group { name: "elm/bubble/top_left/default";
9167     alias: "elm/bubble/base/default";
9168     images {
9169       image: "bubble_3.png" COMP;
9170       image: "bubble_4.png" COMP;
9171       image: "bubble_shine3.png" COMP;
9172       image: "bubble_shine4.png" COMP;
9173     }
9174     parts {
9175       part { name: "event";
9176          type: RECT;
9177          description {
9178             state: "default" 0.0;
9179             color: 0 0 0 0;
9180          }
9181       }
9182       part { name: "elm.swallow.icon";
9183         type: SWALLOW;
9184         description { state: "default" 0.0;
9185           fixed: 1 1;
9186           visible: 0;
9187           align: 0.0 0.0;
9188           aspect: 1.0 1.0;
9189           aspect_preference: VERTICAL;
9190           rel1 {
9191             relative: 0.0 0.0;
9192             offset: 4 4;
9193           }
9194           rel2 {
9195             to_y: "elm.text";
9196             relative: 0.0 1.0;
9197             offset: 4 -1;
9198           }
9199         }
9200         description { state: "visible" 0.0;
9201           inherit: "default" 0.0;
9202           visible: 1;
9203         }
9204       }
9205       part { name: "elm.text";
9206         type: TEXT;
9207         mouse_events:   0;
9208         scale: 1;
9209         description { state: "default" 0.0;
9210           align: 0.0 0.0;
9211           fixed: 0 1;
9212           rel1 {
9213             to_x: "elm.swallow.icon";
9214             relative: 1.0 0.0;
9215             offset: 4 4;
9216           }
9217           rel2 {
9218             to_x: "elm.info";
9219             relative: 0.0 0.0;
9220             offset: -5 4;
9221           }
9222           color: 0 0 0 255;
9223           text {
9224             font: "Sans:style=Bold,Edje-Vera-Bold";
9225             size: 10;
9226             min: 0 1;
9227             max: 0 1;
9228             align: 0.0 0.0;
9229           }
9230         }
9231       }
9232       part { name: "elm.info";
9233         type: TEXT;
9234         mouse_events:   0;
9235         scale: 1;
9236         description { state: "default" 0.0;
9237           align: 1.0 0.0;
9238           fixed: 1 1;
9239           rel1 {
9240             relative: 1.0 0.0;
9241             offset: -5 4;
9242           }
9243           rel2 {
9244             relative: 1.0 0.0;
9245             offset: -5 4;
9246           }
9247           color: 0 0 0 64;
9248           text {
9249             font: "Sans:style=Bold,Edje-Vera-Bold";
9250             size: 10;
9251             min: 1 1;
9252             max: 1 1;
9253             align: 1.0 0.0;
9254           }
9255         }
9256       }
9257       part { name: "base0";
9258         mouse_events:  0;
9259         description { state: "default" 0.0;
9260           rel1 {
9261             to_y: "elm.swallow.icon";
9262             relative: 0.0 1.0;
9263             offset: 0 0;
9264           }
9265           image {
9266             normal: "bubble_3.png";
9267             border: 36 11 18 9;
9268           }
9269           image.middle: SOLID;
9270           fill.smooth: 0;
9271         }
9272         description { state: "rtl" 0.0;
9273            inherit: "default" 0.0;
9274            image {
9275               normal: "bubble_4.png";
9276               border: 11 36 18 9;
9277            }
9278         }
9279       }
9280       part { name: "elm.swallow.content";
9281         type: SWALLOW;
9282         description { state: "default" 0.0;
9283           rel1 {
9284             to: "base0";
9285             offset: 9 16;
9286           }
9287           rel2 {
9288             to: "base0";
9289             offset: -10 -9;
9290           }
9291         }
9292       }
9293       part { name: "shine";
9294         mouse_events:  0;
9295         description { state:    "default" 0.0;
9296           rel1 {
9297             to: "base0";
9298             offset: 5 4;
9299           }
9300           rel2 {
9301             to: "base0";
9302             relative: 1.0 0.5;
9303             offset: -6 7;
9304           }
9305           image {
9306             normal: "bubble_shine3.png";
9307             border: 36 5 14 0;
9308           }
9309           fill.smooth: 0;
9310         }
9311         description { state: "rtl" 0.0;
9312            inherit: "default" 0.0;
9313            image {
9314               normal: "bubble_shine4.png";
9315               border: 5 36 14 0;
9316            }
9317         }
9318       }
9319     }
9320     programs {
9321       program {
9322         name: "icon_show";
9323         signal: "elm,state,icon,visible";
9324         source: "elm";
9325         action: STATE_SET "visible" 0.0;
9326         target: "elm.swallow.icon";
9327       }
9328       program {
9329         name: "icon_hide";
9330         signal: "elm,state,icon,hidden";
9331         source: "elm";
9332         action: STATE_SET "default" 0.0;
9333         target: "elm.swallow.icon";
9334       }
9335       program { name: "to_rtl";
9336          signal: "edje,state,rtl";
9337          source: "edje";
9338          action: STATE_SET "rtl" 0.0;
9339          target: "base0";
9340          target: "shine";
9341       }
9342       program { name: "to_ltr";
9343          signal: "edje,state,ltr";
9344          source: "edje";
9345          action: STATE_SET "default" 0.0;
9346          target: "base0";
9347          target: "shine";
9348       }
9349     }
9350   }
9351
9352   group { name: "elm/bubble/top_right/default";
9353     images {
9354       image: "bubble_3.png" COMP;
9355       image: "bubble_4.png" COMP;
9356       image: "bubble_shine3.png" COMP;
9357       image: "bubble_shine4.png" COMP;
9358     }
9359     parts {
9360       part { name: "event";
9361          type: RECT;
9362          description {
9363             state: "default" 0.0;
9364             color: 0 0 0 0;
9365          }
9366       }
9367       part { name: "elm.swallow.icon";
9368         type: SWALLOW;
9369         description { state: "default" 0.0;
9370           fixed: 1 1;
9371           visible: 0;
9372           align: 1.0 0.0;
9373           aspect: 1.0 1.0;
9374           aspect_preference: VERTICAL;
9375           rel1 {
9376             relative: 1.0 0.0;
9377             offset: -5 4;
9378           }
9379           rel2 {
9380             to_y: "elm.text";
9381             relative: 1.0 1.0;
9382             offset: -5 -1;
9383           }
9384         }
9385         description { state: "visible" 0.0;
9386           inherit: "default" 0.0;
9387           visible: 1;
9388         }
9389       }
9390       part { name: "elm.text";
9391         type: TEXT;
9392         mouse_events:   0;
9393         scale: 1;
9394         description { state: "default" 0.0;
9395           align: 0.0 0.0;
9396           fixed: 0 1;
9397           rel1 {
9398             relative: 0.0 0.0;
9399             offset: 4 4;
9400           }
9401           rel2 {
9402             to_x: "elm.info";
9403             relative: 0.0 0.0;
9404             offset: -5 4;
9405           }
9406           color: 0 0 0 255;
9407           text {
9408             font: "Sans:style=Bold,Edje-Vera-Bold";
9409             size: 10;
9410             min: 0 1;
9411             max: 0 1;
9412             align: 0.0 0.0;
9413           }
9414         }
9415       }
9416       part { name: "elm.info";
9417         type: TEXT;
9418         mouse_events:   0;
9419         scale: 1;
9420         description { state: "default" 0.0;
9421           align: 1.0 0.0;
9422           fixed: 1 1;
9423           rel1 {
9424             relative: 1.0 0.0;
9425             offset: -5 4;
9426           }
9427           rel2 {
9428             to_x: "elm.swallow.icon";
9429             relative: 0.0 0.0;
9430             offset: -5 4;
9431           }
9432           color: 0 0 0 64;
9433           text {
9434             font: "Sans:style=Bold,Edje-Vera-Bold";
9435             size: 10;
9436             min: 1 1;
9437             max: 1 1;
9438             align: 1.0 0.0;
9439           }
9440         }
9441       }
9442       part { name: "base0";
9443         mouse_events:  0;
9444         description { state: "default" 0.0;
9445           rel1 {
9446             to_y: "elm.swallow.icon";
9447             relative: 0.0 1.0;
9448             offset: 0 0;
9449           }
9450           image {
9451             normal: "bubble_4.png";
9452             border: 11 36 18 9;
9453           }
9454           image.middle: SOLID;
9455           fill.smooth: 0;
9456         }
9457         description { state: "rtl" 0.0;
9458            inherit: "default" 0.0;
9459            image {
9460               normal: "bubble_3.png";
9461               border: 36 11 18 9;
9462            }
9463         }
9464       }
9465       part { name: "elm.swallow.content";
9466         type: SWALLOW;
9467         description { state: "default" 0.0;
9468           rel1 {
9469             to: "base0";
9470             offset: 9 16;
9471           }
9472           rel2 {
9473             to: "base0";
9474             offset: -10 -9;
9475           }
9476         }
9477       }
9478       part { name: "shine";
9479         mouse_events:  0;
9480         description { state:    "default" 0.0;
9481           rel1 {
9482             to: "base0";
9483             offset: 5 4;
9484           }
9485           rel2 {
9486             to: "base0";
9487             relative: 1.0 0.5;
9488             offset: -6 7;
9489           }
9490           image {
9491             normal: "bubble_shine4.png";
9492             border: 5 36 14 0;
9493           }
9494           fill.smooth: 0;
9495         }
9496         description { state: "rtl" 0.0;
9497            inherit: "default" 0.0;
9498            image {
9499               normal: "bubble_shine3.png";
9500               border: 36 5 14 0;
9501            }
9502         }
9503       }
9504     }
9505     programs {
9506       program {
9507         name: "icon_show";
9508         signal: "elm,state,icon,visible";
9509         source: "elm";
9510         action: STATE_SET "visible" 0.0;
9511         target: "elm.swallow.icon";
9512       }
9513       program {
9514         name: "icon_hide";
9515         signal: "elm,state,icon,hidden";
9516         source: "elm";
9517         action: STATE_SET "default" 0.0;
9518         target: "elm.swallow.icon";
9519       }
9520       program { name: "to_rtl";
9521          signal: "edje,state,rtl";
9522          source: "edje";
9523          action: STATE_SET "rtl" 0.0;
9524          target: "base0";
9525          target: "shine";
9526       }
9527       program { name: "to_ltr";
9528          signal: "edje,state,ltr";
9529          source: "edje";
9530          action: STATE_SET "default" 0.0;
9531          target: "base0";
9532          target: "shine";
9533       }
9534     }
9535   }
9536
9537   group { name: "elm/bubble/bottom_left/default";
9538     images {
9539       image: "bubble_1.png" COMP;
9540       image: "bubble_2.png" COMP;
9541       image: "bubble_shine.png" COMP;
9542     }
9543     parts {
9544       part { name: "event";
9545          type: RECT;
9546          description {
9547             state: "default" 0.0;
9548             color: 0 0 0 0;
9549          }
9550       }
9551       part { name: "elm.swallow.icon";
9552         type: SWALLOW;
9553         description { state: "default" 0.0;
9554           fixed: 1 1;
9555           visible: 0;
9556           align: 0.0 1.0;
9557           aspect: 1.0 1.0;
9558           aspect_preference: VERTICAL;
9559           rel1 {
9560             to_y: "elm.text";
9561             relative: 0.0 0.0;
9562             offset: 4 0;
9563           }
9564           rel2 {
9565             relative: 0.0 1.0;
9566             offset: 4 -5;
9567           }
9568         }
9569         description { state: "visible" 0.0;
9570           inherit: "default" 0.0;
9571           visible: 1;
9572         }
9573       }
9574       part { name: "elm.text";
9575         type: TEXT;
9576         mouse_events:   0;
9577         scale: 1;
9578         description { state: "default" 0.0;
9579           align: 0.0 1.0;
9580           fixed: 0 1;
9581           rel1 {
9582             to_x: "elm.swallow.icon";
9583             relative: 1.0 1.0;
9584             offset: 4 -5;
9585           }
9586           rel2 {
9587             to_x: "elm.info";
9588             relative: 0.0 1.0;
9589             offset: -5 -5;
9590           }
9591           color: 0 0 0 255;
9592           text {
9593             font: "Sans:style=Bold,Edje-Vera-Bold";
9594             size: 10;
9595             min: 0 1;
9596             max: 0 1;
9597             align: 0.0 1.0;
9598           }
9599         }
9600       }
9601       part { name: "elm.info";
9602         type: TEXT;
9603         mouse_events:   0;
9604         scale: 1;
9605         description { state: "default" 0.0;
9606           align: 1.0 1.0;
9607           fixed: 1 1;
9608           rel1 {
9609             relative: 1.0 1.0;
9610             offset: -5 -5;
9611           }
9612           rel2 {
9613             relative: 1.0 1.0;
9614             offset: -5 -5;
9615           }
9616           color: 0 0 0 64;
9617           text {
9618             font: "Sans:style=Bold,Edje-Vera-Bold";
9619             size: 10;
9620             min: 1 1;
9621             max: 1 1;
9622             align: 1.0 1.0;
9623           }
9624         }
9625       }
9626       part { name: "base0";
9627         mouse_events:  0;
9628         description { state: "default" 0.0;
9629           rel2 {
9630             to_y: "elm.swallow.icon";
9631             relative: 1.0 0.0;
9632             offset: -1 -1;
9633           }
9634           image {
9635             normal: "bubble_1.png";
9636             border: 36 11 10 19;
9637           }
9638           image.middle: SOLID;
9639           fill.smooth: 0;
9640         }
9641         description { state: "rtl" 0.0;
9642            inherit: "default" 0.0;
9643            image {
9644               normal: "bubble_2.png";
9645               border: 11 36 10 19;
9646            }
9647         }
9648       }
9649       part { name: "elm.swallow.content";
9650         type: SWALLOW;
9651         description { state: "default" 0.0;
9652           rel1 {
9653             to: "base0";
9654             offset: 9 8;
9655           }
9656           rel2 {
9657             to: "base0";
9658             offset: -10 -17;
9659           }
9660         }
9661       }
9662       part { name: "shine";
9663         mouse_events:  0;
9664         description { state:    "default" 0.0;
9665           rel1 {
9666             to: "base0";
9667             offset: 5 4;
9668           }
9669           rel2 {
9670             to: "base0";
9671             relative: 1.0 0.5;
9672             offset: -6 -16;
9673           }
9674           image {
9675             normal: "bubble_shine.png";
9676             border: 5 5 5 0;
9677           }
9678           fill.smooth: 0;
9679         }
9680         description { state: "rtl" 0.0;
9681            inherit: "default" 0.0;
9682            image {
9683               normal: "bubble_shine4.png";
9684               border: 5 36 14 0;
9685            }
9686         }
9687       }
9688     }
9689     programs {
9690       program {
9691         name: "icon_show";
9692         signal: "elm,state,icon,visible";
9693         source: "elm";
9694         action: STATE_SET "visible" 0.0;
9695         target: "elm.swallow.icon";
9696       }
9697       program {
9698         name: "icon_hide";
9699         signal: "elm,state,icon,hidden";
9700         source: "elm";
9701         action: STATE_SET "default" 0.0;
9702         target: "elm.swallow.icon";
9703       }
9704       program { name: "to_rtl";
9705          signal: "edje,state,rtl";
9706          source: "edje";
9707          action: STATE_SET "rtl" 0.0;
9708          target: "base0";
9709       }
9710       program { name: "to_ltr";
9711          signal: "edje,state,ltr";
9712          source: "edje";
9713          action: STATE_SET "default" 0.0;
9714          target: "base0";
9715       }
9716     }
9717   }
9718
9719   group { name: "elm/bubble/bottom_right/default";
9720     images {
9721       image: "bubble_1.png" COMP;
9722       image: "bubble_2.png" COMP;
9723       image: "bubble_shine.png" COMP;
9724     }
9725     parts {
9726       part { name: "event";
9727          type: RECT;
9728          description {
9729             state: "default" 0.0;
9730             color: 0 0 0 0;
9731          }
9732       }
9733       part { name: "elm.swallow.icon";
9734         type: SWALLOW;
9735         description { state: "default" 0.0;
9736           fixed: 1 1;
9737           visible: 0.0;
9738           align: 1.0 1.0;
9739           aspect: 1.0 1.0;
9740           aspect_preference: VERTICAL;
9741           rel1 {
9742             to_y: "elm.text";
9743             relative: 1.0 0.0;
9744             offset: -5 0;
9745           }
9746           rel2 {
9747             relative: 1.0 1.0;
9748             offset: -5 -5;
9749           }
9750         }
9751         description { state: "visible" 0.0;
9752           inherit: "default" 0.0;
9753           visible: 1;
9754         }
9755       }
9756       part { name: "elm.text";
9757         type: TEXT;
9758         mouse_events:   0;
9759         scale: 1;
9760         description { state: "default" 0.0;
9761           align: 0.0 1.0;
9762           fixed: 0 1;
9763           rel1 {
9764             relative: 0.0 1.0;
9765             offset: 4 -5;
9766           }
9767           rel2 {
9768             to_x: "elm.info";
9769             relative: 0.0 1.0;
9770             offset: -5 -5;
9771           }
9772           color: 0 0 0 255;
9773           text {
9774             font: "Sans:style=Bold,Edje-Vera-Bold";
9775             size: 10;
9776             min: 0 1;
9777             max: 0 1;
9778             align: 0.0 1.0;
9779           }
9780         }
9781       }
9782       part { name: "elm.info";
9783         type: TEXT;
9784         mouse_events:   0;
9785         scale: 1;
9786         description { state: "default" 0.0;
9787           align: 1.0 1.0;
9788           fixed: 1 1;
9789           rel1 {
9790             relative: 1.0 1.0;
9791             offset: -5 -5;
9792           }
9793           rel2 {
9794             to_x: "elm.swallow.icon";
9795             relative: 0.0 1.0;
9796             offset: -5 -5;
9797           }
9798           color: 0 0 0 64;
9799           text {
9800             font: "Sans:style=Bold,Edje-Vera-Bold";
9801             size: 10;
9802             min: 1 1;
9803             max: 1 1;
9804             align: 1.0 1.0;
9805           }
9806         }
9807       }
9808       part { name: "base0";
9809         mouse_events:  0;
9810         description { state: "default" 0.0;
9811           rel2 {
9812             to_y: "elm.swallow.icon";
9813             relative: 1.0 0.0;
9814             offset: -1 -1;
9815           }
9816           image {
9817             normal: "bubble_2.png";
9818             border: 11 36 10 19;
9819           }
9820           image.middle: SOLID;
9821           fill.smooth: 0;
9822         }
9823         description { state: "rtl" 0.0;
9824            inherit: "default" 0.0;
9825            image {
9826               normal: "bubble_1.png";
9827               border: 36 11 10 19;
9828            }
9829         }
9830       }
9831       part { name: "elm.swallow.content";
9832         type: SWALLOW;
9833         description { state: "default" 0.0;
9834           rel1 {
9835             to: "base0";
9836             offset: 9 8;
9837           }
9838           rel2 {
9839             to: "base0";
9840             offset: -10 -17;
9841           }
9842         }
9843       }
9844       part { name: "shine";
9845         mouse_events:  0;
9846         description { state:    "default" 0.0;
9847           rel1 {
9848             to: "base0";
9849             offset: 5 4;
9850           }
9851           rel2 {
9852             to: "base0";
9853             relative: 1.0 0.5;
9854             offset: -6 -16;
9855           }
9856           image {
9857             normal: "bubble_shine.png";
9858             border: 5 5 5 0;
9859           }
9860           fill.smooth: 0;
9861         }
9862         description { state: "rtl" 0.0;
9863            inherit: "default" 0.0;
9864            image {
9865               normal: "bubble_shine3.png";
9866               border: 36 5 14 0;
9867            }
9868         }
9869       }
9870     }
9871     programs {
9872       program {
9873         name: "icon_show";
9874         signal: "elm,state,icon,visible";
9875         source: "elm";
9876         action: STATE_SET "visible" 0.0;
9877         target: "elm.swallow.icon";
9878       }
9879       program {
9880         name: "icon_hide";
9881         signal: "elm,state,icon,hidden";
9882         source: "elm";
9883         action: STATE_SET "default" 0.0;
9884         target: "elm.swallow.icon";
9885       }
9886       program { name: "to_rtl";
9887          signal: "edje,state,rtl";
9888          source: "edje";
9889          action: STATE_SET "rtl" 0.0;
9890          target: "base0";
9891       }
9892       program { name: "to_ltr";
9893          signal: "edje,state,ltr";
9894          source: "edje";
9895          action: STATE_SET "default" 0.0;
9896          target: "base0";
9897       }
9898     }
9899   }
9900
9901 ///////////////////////////////////////////////////////////////////////////////
9902    group { name: "elm/photo/base/default";
9903       images {
9904          image: "frame_1.png" COMP;
9905          image: "frame_2.png" COMP;
9906          image: "dia_grad.png" COMP;
9907          image: "head.png" COMP;
9908       }
9909       parts {
9910          part { name: "base0";
9911             mouse_events:  0;
9912             description { state: "default" 0.0;
9913                image.normal: "dia_grad.png";
9914                rel1.to: "over";
9915                rel2.to: "over";
9916                fill {
9917                   smooth: 0;
9918                   size {
9919                      relative: 0.0 1.0;
9920                      offset: 64 0;
9921                   }
9922                }
9923             }
9924          }
9925          part { name: "base";
9926             mouse_events:  0;
9927             description { state:    "default" 0.0;
9928                image {
9929                   normal: "frame_2.png";
9930                   border: 5 5 32 26;
9931                   middle: 0;
9932                }
9933                fill.smooth : 0;
9934             }
9935          }
9936          part { name: "head";
9937             mouse_events:  0;
9938             description { state:    "default" 0.0;
9939                rel1.offset: 4 4;
9940                rel2.offset: -5 -5;
9941                aspect: 1.0 1.0;
9942                aspect_preference: BOTH;
9943                image.normal: "head.png";
9944             }
9945          }
9946          part { name: "clip";
9947             mouse_events:  0;
9948             type: RECT;
9949             description { state:    "default" 0.0;
9950                rel1.offset: 4 4;
9951                rel2.offset: -5 -5;
9952                color: 255 255 255 255;
9953             }
9954          }
9955          part { name: "elm.swallow.content";
9956             type: SWALLOW;
9957             clip_to: "clip";
9958             description { state: "default" 0.0;
9959                rel1.offset: 4 4;
9960                rel2.offset: -5 -5;
9961             }
9962          }
9963          part { name: "over";
9964             mouse_events:  0;
9965             description { state:    "default" 0.0;
9966                rel1.offset: 4 4;
9967                rel2.offset: -5 -5;
9968                image {
9969                   normal: "frame_1.png";
9970                   border: 2 2 28 22;
9971                   middle: 0;
9972                }
9973                fill.smooth: 0;
9974             }
9975          }
9976      }
9977    }
9978
9979    group { name: "elm/photo/base/shadow";
9980               images {
9981                         image: "shadow.png" COMP;
9982                         image: "black.png" COMP;
9983               }
9984               script {
9985               public message(Msg_Type:type, id, ...) {
9986                 if( (type==MSG_INT_SET) && (id==0) )
9987                 {
9988                     new w;
9989                     new h;
9990
9991                     custom_state(PART:"size", "default", 0.0);
9992
9993                     w = getarg(2);
9994                     h = getarg(3);
9995                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9996                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9997                     set_state(PART:"size", "custom", 0.0);
9998                 }
9999             }
10000             }
10001               parts {
10002               part { name: "size";
10003                     type: SWALLOW;
10004                     description { state: "default" 0.0;
10005                             rel1.relative: 0.5 0.5;
10006                             rel2.relative: 0.5 0.5;
10007                     }
10008                  }
10009               part {
10010                 name: "shadow";
10011                 type: IMAGE;
10012                 repeat_events: 1;
10013                 description {
10014                     state: "default" 0.0;
10015                     rel1.to: "size";
10016                     rel2.to: "size";
10017                     rel1.relative: -0.06 -0.06;
10018                     rel2.relative: 1.07 1.07;
10019                     image.normal: "shadow.png";
10020                 }
10021             }
10022
10023
10024                  part { name: "elm.swallow.content";
10025                     type: SWALLOW;
10026                     description { state: "default" 0.0;
10027                     rel1.offset: 3 3;
10028                     rel2.offset: -3 -3;
10029                             fixed: 1 1;
10030                     }
10031                  }
10032
10033                  part {
10034                 name: "border";
10035                 type: IMAGE;
10036                 repeat_events: 1;
10037                 description {
10038                     state: "default" 0.0;
10039                     visible: 1;
10040                     color: 0 0 0 255;
10041                     rel1.to: "size";
10042                     rel2.to: "size";
10043                     image.normal: "black.png";
10044                     image.border: 1 1 1 1;
10045                     image.middle: 0;
10046                 }
10047             }
10048                  }
10049    }
10050
10051 ///////////////////////////////////////////////////////////////////////////////
10052    group { name: "elm/thumb/base/default";
10053       images {
10054          image: "frame_1.png" COMP;
10055          image: "frame_2.png" COMP;
10056          image: "dia_grad.png" COMP;
10057          image: "busy-1.png" COMP;
10058          image: "busy-2.png" COMP;
10059          image: "busy-3.png" COMP;
10060          image: "busy-4.png" COMP;
10061          image: "busy-5.png" COMP;
10062          image: "busy-6.png" COMP;
10063          image: "busy-7.png" COMP;
10064          image: "busy-8.png" COMP;
10065          image: "busy-9.png" COMP;
10066       }
10067       parts {
10068          part { name: "base0";
10069             mouse_events:  0;
10070             description { state:        "default" 0.0;
10071                image.normal: "dia_grad.png";
10072                rel1.to: "over";
10073                rel2.to: "over";
10074                fill {
10075                   smooth: 0;
10076                   size {
10077                      relative: 0.0 1.0;
10078                      offset: 64 0;
10079                   }
10080                }
10081             }
10082          }
10083          part { name: "base";
10084             mouse_events:  0;
10085             description { state:        "default" 0.0;
10086                image {
10087                   normal: "frame_2.png";
10088                   border: 5 5 32 26;
10089                   middle: 0;
10090                }
10091                fill.smooth : 0;
10092             }
10093          }
10094          part { name: "clip";
10095             mouse_events:  0;
10096             type: RECT;
10097             description { state:        "default" 0.0;
10098                rel1.offset: 4 4;
10099                rel2.offset: -5 -5;
10100                color: 255 255 255 255;
10101             }
10102          }
10103          part { name: "elm.swallow.content";
10104             type: SWALLOW;
10105             clip_to: "clip";
10106             description { state:        "default" 0.0;
10107                rel1.offset: 4 4;
10108                rel2.offset: -5 -5;
10109             }
10110          }
10111          part { name: "progress";
10112             mouse_events: 0;
10113
10114             clip_to: "clip";
10115             description { state:        "default" 0.0;
10116                min: 32 32;
10117                max: 32 32;
10118                visible: 0;
10119                aspect: 1.0 1.0;
10120                aspect_preference: BOTH;
10121             }
10122             description { state:        "pulse" 0.0;
10123                inherit: "default" 0.0;
10124                visible: 1;
10125                image {
10126                   normal: "busy-9.png";
10127                   tween:  "busy-1.png";
10128                   tween:  "busy-2.png";
10129                   tween:  "busy-3.png";
10130                   tween:  "busy-4.png";
10131                   tween:  "busy-5.png";
10132                   tween:  "busy-6.png";
10133                   tween:  "busy-7.png";
10134                   tween:  "busy-8.png";
10135                   border: 7 7 7 7;
10136                }
10137             }
10138          }
10139          part { name: "over";
10140             mouse_events:  0;
10141             description { state:        "default" 0.0;
10142                rel1.offset: 4 4;
10143                rel2.offset: -5 -5;
10144                image {
10145                   normal: "frame_1.png";
10146                   border: 2 2 28 22;
10147                   middle: 0;
10148                }
10149                fill.smooth: 0;
10150             }
10151          }
10152          programs {
10153             program { name: "start_pulse";
10154                signal: "elm,state,pulse,start";
10155                source: "elm";
10156                action: STATE_SET "pulse" 0.0;
10157                target: "progress";
10158                transition: LINEAR 0.5;
10159                after: "start_pulse";
10160             }
10161             program { name: "stop_pulse";
10162                signal: "elm,state,pulse,stop";
10163                source: "elm";
10164                action: STATE_SET "default" 0.0;
10165                target: "progress";
10166             }
10167          }
10168       }
10169    }
10170
10171    group { name: "elm/thumb/base/noframe";
10172       images {
10173          image: "busy-1.png" COMP;
10174          image: "busy-2.png" COMP;
10175          image: "busy-3.png" COMP;
10176          image: "busy-4.png" COMP;
10177          image: "busy-5.png" COMP;
10178          image: "busy-6.png" COMP;
10179          image: "busy-7.png" COMP;
10180          image: "busy-8.png" COMP;
10181          image: "busy-9.png" COMP;
10182       }
10183       parts {
10184          part { name: "elm.swallow.content";
10185             type: SWALLOW;
10186             description { state: "default" 0.0;
10187                rel1.offset: 4 4;
10188                rel2.offset: -5 -5;
10189             }
10190          }
10191          part { name: "progress";
10192             mouse_events: 0;
10193             description { state:        "default" 0.0;
10194                min: 32 32;
10195                max: 32 32;
10196                visible: 0;
10197                aspect: 1.0 1.0;
10198                aspect_preference: BOTH;
10199             }
10200             description { state:        "pulse" 0.0;
10201                inherit: "default" 0.0;
10202                visible: 1;
10203                image {
10204                   normal: "busy-9.png";
10205                   tween:  "busy-1.png";
10206                   tween:  "busy-2.png";
10207                   tween:  "busy-3.png";
10208                   tween:  "busy-4.png";
10209                   tween:  "busy-5.png";
10210                   tween:  "busy-6.png";
10211                   tween:  "busy-7.png";
10212                   tween:  "busy-8.png";
10213                   border: 7 7 7 7;
10214                }
10215             }
10216          }
10217          programs {
10218             program { name: "start_pulse";
10219                signal: "elm,state,pulse,start";
10220                source: "elm";
10221                action: STATE_SET "pulse" 0.0;
10222                target: "progress";
10223                transition: LINEAR 0.5;
10224                after: "start_pulse";
10225             }
10226             program { name: "stop_pulse";
10227                signal: "elm,state,pulse,stop";
10228                source: "elm";
10229                action: STATE_SET "default" 0.0;
10230                target: "progress";
10231             }
10232          }
10233       }
10234    }
10235
10236
10237 ///////////////////////////////////////////////////////////////////////////////
10238    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10239       images.image: "icon_home.png" COMP; parts { part { name: "base";
10240          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10241             image.normal: "icon_home.png"; } } } }
10242    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10243       images.image: "icon_close.png" COMP; parts { part { name: "base";
10244          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10245             image.normal: "icon_close.png"; } } } }
10246    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10247       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10248          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10249             image.normal: "icon_apps.png"; } } } }
10250    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10251       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10252          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10253             image.normal: "icon_arrow_up.png"; } } } }
10254    group { name: "elm/icon/arrow_down/default";
10255            alias: "elm/icon/toolbar/arrow_down/default";
10256            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10257       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10258          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10259             image.normal: "icon_arrow_down.png"; } } } }
10260    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10261       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10262          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10263             image.normal: "icon_arrow_left.png"; } } } }
10264    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10265       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10266          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10267             image.normal: "icon_arrow_right.png"; } } } }
10268    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10269       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10270          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10271             image.normal: "icon_chat.png"; } } } }
10272    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10273       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10274          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10275             image.normal: "icon_clock.png"; } } } }
10276    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10277       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10278          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10279             image.normal: "icon_delete.png"; } } } }
10280    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10281       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10282          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10283             image.normal: "icon_edit.png"; } } } }
10284    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10285       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10286          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10287             image.normal: "icon_refresh.png"; } } } }
10288    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10289       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10290          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10291             image.normal: "icon_folder.png"; } } } }
10292    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10293       images.image: "icon_file.png" COMP; parts { part { name: "base";
10294          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10295             image.normal: "icon_file.png"; } } } }
10296 ///////////////////////////////////////////////////////////////////////////////
10297    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10298       images.image: "icon_home.png" COMP; parts { part { name: "base";
10299          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10300             image.normal: "icon_home.png"; } } } }
10301    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10302       images.image: "icon_close.png" COMP; parts { part { name: "base";
10303          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10304             image.normal: "icon_close.png"; } } } }
10305    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10306       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10307          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10308             image.normal: "icon_apps.png"; } } } }
10309    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10310       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10311          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10312             image.normal: "icon_arrow_up.png"; } } } }
10313    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10314       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10315          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10316             image.normal: "icon_arrow_down.png"; } } } }
10317    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10318       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10319          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10320             image.normal: "icon_arrow_left.png"; } } } }
10321    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10322       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10323          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10324             image.normal: "icon_arrow_right.png"; } } } }
10325    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10326       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10327          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10328             image.normal: "icon_chat.png"; } } } }
10329    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10330       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10331          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10332             image.normal: "icon_clock.png"; } } } }
10333    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10334       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10335          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10336             image.normal: "icon_delete.png"; } } } }
10337    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10338       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10339          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10340             image.normal: "icon_edit.png"; } } } }
10341    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10342       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10343          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10344             image.normal: "icon_refresh.png"; } } } }
10345    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10346       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10347          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10348             image.normal: "icon_folder.png"; } } } }
10349    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10350       images.image: "icon_file.png" COMP; parts { part { name: "base";
10351          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10352             image.normal: "icon_file.png"; } } } }
10353
10354 ///////////////////////////////////////////////////////////////////////////////
10355    group { name: "elm/toolbar/base/default";
10356       images {
10357          image: "bt_dis_base.png" COMP;
10358          image: "bt_dis_hilight.png" COMP;
10359          image: "bt_dis_shine.png" COMP;
10360          image: "icon_left_arrow.png" COMP;
10361          image: "icon_right_arrow.png" COMP;
10362       }
10363       parts {
10364          part { name: "base";
10365             mouse_events: 1;
10366             description { state: "default" 0.0;
10367                rel1 {
10368                   relative: 0.0 0.0;
10369                   offset: 2 2;
10370                }
10371                rel2.offset: -3 -3;
10372                image {
10373                   normal: "bt_dis_base.png";
10374                   border: 4 4 4 4;
10375                }
10376                image.middle: SOLID;
10377             }
10378          }
10379          part { name: "clipper";
10380             type: RECT;
10381             mouse_events: 0;
10382             description {
10383                state: "default" 0.0;
10384                rel1 {
10385                   to: "base";
10386                   offset: 2 2;
10387                }
10388                rel2 {
10389                   to: "base";
10390                   offset: -3 -3;
10391                }
10392             }
10393          }
10394          part { name: "elm.swallow.content";
10395             clip_to: "clipper";
10396             type: SWALLOW;
10397             description {
10398                state: "default" 0.0;
10399                rel1.to: "clipper";
10400                rel2.to: "clipper";
10401             }
10402          }
10403          part { name: "over2";
10404             mouse_events: 0;
10405             description { state: "default" 0.0;
10406                rel1.to: "base";
10407                rel2.to: "base";
10408                image {
10409                   normal: "bt_dis_shine.png";
10410                   border: 4 4 4 4;
10411                }
10412             }
10413          }
10414          part { name: "over1";
10415             mouse_events: 0;
10416             description { state: "default" 0.0;
10417                rel1.to: "base";
10418                rel2.to: "base";
10419                rel2.relative: 1.0 0.5;
10420                image {
10421                   normal: "bt_dis_hilight.png";
10422                   border: 4 4 4 0;
10423                }
10424                color: 255 255 255 128;
10425             }
10426          }
10427          part { name: "left_arrow";
10428             mouse_events: 0;
10429             description { state: "default" 0.0;
10430                image.normal: "icon_left_arrow.png";
10431                aspect: 1.0 1.0;
10432                aspect_preference: VERTICAL;
10433                align: 0.0 0.5;
10434                min: 32 32;
10435                max: 32 32;
10436             }
10437             description { state: "hidden" 0.0;
10438                inherit: "default" 0.0;
10439                visible: 0;
10440                color: 255 255 255 0;
10441             }
10442          }
10443          part { name: "right_arrow";
10444             mouse_events: 0;
10445             description { state: "default" 0.0;
10446                image.normal: "icon_right_arrow.png";
10447                aspect: 1.0 1.0;
10448                aspect_preference: VERTICAL;
10449                align: 1.0 0.5;
10450                min: 32 32;
10451                max: 32 32;
10452             }
10453             description { state: "hidden" 0.0;
10454                inherit: "default" 0.0;
10455                visible: 0;
10456                color: 255 255 255 0;
10457             }
10458          }
10459          part { name: "event";
10460             type: RECT;
10461             mouse_events: 1;
10462             repeat_events: 1;
10463             description { state: "default" 0.0;
10464                color: 0 0 0 0;
10465             }
10466          }
10467       }
10468       programs {
10469          program { name: "sb_hbar_show";
10470             signal: "elm,action,show,hbar";
10471             source: "elm";
10472             action:  STATE_SET "default" 0.0;
10473             transition: LINEAR 0.5;
10474             target: "left_arrow";
10475             target: "right_arrow";
10476          }
10477          program { name: "sb_hbar_hide";
10478             signal: "elm,action,hide,hbar";
10479             source: "elm";
10480             action:  STATE_SET "hidden" 0.0;
10481             target: "left_arrow";
10482             target: "right_arrow";
10483             transition: LINEAR 0.5;
10484          }
10485       }
10486    }
10487
10488    group { name: "elm/toolbar/item/default";
10489        images {
10490            image: "toolbar_sel.png" COMP;
10491        }
10492        data.item: "transition_animation_on" "1";
10493        parts {
10494            part { name: "label2";
10495                type: TEXT;
10496                mouse_events:  0;
10497                scale: 1;
10498                clip_to: "elm.text.clipper";
10499                description { state: "default" 0.0;
10500                    align: 0.5 1.0;
10501                    fixed: 0 1;
10502                    rel1.to: "elm.text";
10503                    rel2.to: "elm.text";
10504                    color: 0 0 0 255;
10505                    text {
10506                        font: "Sans";
10507                        text_source: "elm.text";
10508                        size: 10;
10509                        min: 1 1;
10510                        align: 0.5 0.5;
10511                        text_class: "toolbar_item";
10512                    }
10513                }
10514                description { state: "selected" 0.0;
10515                    inherit: "default" 0.0;
10516                    visible: 0;
10517                }
10518                description { state: "disabled" 0.0;
10519                    inherit: "default" 0.0;
10520                    color: 0 0 0 128;
10521                    color3: 0 0 0 0;
10522                }
10523                description { state: "disabled_visible" 0.0;
10524                    inherit: "default" 0.0;
10525                    color: 0 0 0 128;
10526                    color3: 0 0 0 0;
10527                    visible: 1;
10528                    text.min: 1 1;
10529                }
10530            }
10531            part { name: "label2_new";
10532                type: TEXT;
10533                mouse_events:  0;
10534                scale: 1;
10535                clip_to: "elm.text_new.clipper";
10536                description { state: "default" 0.0;
10537                    align: 0.5 1.0;
10538                    fixed: 0 1;
10539                    rel1.to: "elm.text_new";
10540                    rel2.to: "elm.text_new";
10541                    color: 0 0 0 255;
10542                    text {
10543                        font: "Sans";
10544                        text_source: "elm.text_new";
10545                        size: 10;
10546                        min: 1 1;
10547                        align: 0.5 0.5;
10548                        text_class: "toolbar_item";
10549                    }
10550                }
10551                description { state: "selected" 0.0;
10552                    inherit: "default" 0.0;
10553                    visible: 0;
10554                }
10555                description { state: "disabled" 0.0;
10556                    inherit: "default" 0.0;
10557                    color: 0 0 0 128;
10558                    color3: 0 0 0 0;
10559                }
10560                description { state: "disabled_visible" 0.0;
10561                    inherit: "default" 0.0;
10562                    color: 0 0 0 128;
10563                    color3: 0 0 0 0;
10564                    visible: 1;
10565                    text.min: 1 1;
10566                }
10567            }
10568            part { name: "bg";
10569                mouse_events: 0;
10570                description { state: "default" 0.0;
10571                    visible: 0;
10572                    color: 255 255 255 0;
10573                    image {
10574                        normal: "toolbar_sel.png";
10575                        border: 3 3 0 0;
10576                    }
10577                    image.middle: SOLID;
10578                    fill.smooth: 0;
10579                }
10580                description { state: "selected" 0.0;
10581                    inherit: "default" 0.0;
10582                    visible: 1;
10583                    color: 255 255 255 255;
10584                }
10585                description { state: "disabled" 0.0;
10586                    inherit: "default" 0.0;
10587                    visible: 0;
10588                    color: 255 255 255 0;
10589                }
10590            }
10591            part { name: "elm.swallow.icon";
10592                type: SWALLOW;
10593                clip_to: "elm.icon.clipper";
10594                description { state: "default" 0.0;
10595                    align: 0.5 0.5;
10596                    fixed: 0 0;
10597                    rel1 {
10598                        relative: 0.0 0.0;
10599                        offset: 2 2;
10600                    }
10601                    rel2 {
10602                        to_y: "elm.text";
10603                        relative: 1.0 0.0;
10604                        offset: -3 -1;
10605                    }
10606                    color: 0 0 0 0;
10607                }
10608            }
10609            part { name: "elm.swallow.icon_new";
10610                type: SWALLOW;
10611                clip_to: "elm.icon_new.clipper";
10612                description { state: "default" 0.0;
10613                    align: 0.5 0.5;
10614                    fixed: 0 0;
10615                    rel1 {
10616                        relative: 0.0 0.0;
10617                        offset: 2 2;
10618                    }
10619                    rel2 {
10620                        to_y: "elm.text_new";
10621                        relative: 1.0 0.0;
10622                        offset: -3 -1;
10623                    }
10624                    color: 0 0 0 0;
10625                }
10626            }
10627            part { name: "elm.text";
10628                type: TEXT;
10629                effect: SOFT_SHADOW;
10630                mouse_events:  0;
10631                scale: 1;
10632                clip_to: "elm.text.clipper";
10633                description { state: "default" 0.0;
10634                    align: 0.5 1.0;
10635                    fixed: 0 1;
10636                    rel1 {
10637                        relative: 0.0 1.0;
10638                        offset:   0 -1;
10639                    }
10640                    rel2 {
10641                        relative: 1.0 1.0;
10642                        offset:   -1 -1;
10643                    }
10644                    visible: 0;
10645                    color: 224 224 224 255;
10646                    color3: 0 0 0 32;
10647                    text {
10648                        font: "Sans:style=Bold";
10649                        size: 10;
10650                        min: 1 1;
10651                        align: 0.5 0.5;
10652                        text_class: "toolbar_item";
10653                    }
10654                }
10655                description { state: "selected" 0.0;
10656                    inherit: "default" 0.0;
10657                    visible: 1;
10658                }
10659                description { state: "visible" 0.0;
10660                    inherit: "default" 0.0;
10661                    visible: 1;
10662                    text.min: 1 1;
10663                }
10664                description { state: "disabled" 0.0;
10665                    inherit: "default" 0.0;
10666                    color: 0 0 0 128;
10667                    color3: 0 0 0 0;
10668                }
10669                description { state: "disabled_visible" 0.0;
10670                    inherit: "default" 0.0;
10671                    color: 0 0 0 128;
10672                    color3: 0 0 0 0;
10673                    visible: 1;
10674                    text.min: 1 1;
10675                }
10676            }
10677            part { name: "elm.text_new";
10678                type: TEXT;
10679                effect: SOFT_SHADOW;
10680                mouse_events:  0;
10681                clip_to: "elm.text_new.clipper";
10682                scale: 1;
10683                description { state: "default" 0.0;
10684                    align: 0.5 1.0;
10685                    fixed: 0 1;
10686                    rel1 {
10687                        relative: 0.0 1.0;
10688                        offset:   0 -1;
10689                    }
10690                    rel2 {
10691                        relative: 1.0 1.0;
10692                        offset:   -1 -1;
10693                    }
10694                    visible: 0;
10695                    color: 224 224 224 255;
10696                    color3: 0 0 0 32;
10697                    text {
10698                        font: "Sans:style=Bold";
10699                        size: 10;
10700                        min: 1 1;
10701                        align: 0.5 0.5;
10702                        text_class: "toolbar_item";
10703                    }
10704                }
10705                description { state: "selected" 0.0;
10706                    inherit: "default" 0.0;
10707                    visible: 1;
10708                }
10709                description { state: "visible" 0.0;
10710                    inherit: "default" 0.0;
10711                    visible: 1;
10712                    text.min: 1 1;
10713                }
10714                description { state: "disabled" 0.0;
10715                    inherit: "default" 0.0;
10716                    color: 0 0 0 128;
10717                    color3: 0 0 0 0;
10718                }
10719                description { state: "disabled_visible" 0.0;
10720                    inherit: "default" 0.0;
10721                    color: 0 0 0 128;
10722                    color3: 0 0 0 0;
10723                    visible: 1;
10724                    text.min: 1 1;
10725                }
10726            }
10727            part { name: "elm.text.clipper";
10728                type: RECT;
10729                description { state: "default" 0.0;
10730                    color: 255 255 255 255;
10731                }
10732                description { state: "animation" 0.0;
10733                    color: 255 255 255 0;
10734                }
10735            }
10736            part { name: "elm.text_new.clipper";
10737                type: RECT;
10738                description { state: "default" 0.0;
10739                    color: 255 255 255 0;
10740                }
10741                description { state: "animation" 0.0;
10742                    color: 255 255 255 255;
10743                }
10744            }
10745            part { name: "elm.icon.clipper";
10746                type: RECT;
10747                description { state: "default" 0.0;
10748                    color: 255 255 255 255;
10749                }
10750                description { state: "animation" 0.0;
10751                    color: 255 255 255 0;
10752                }
10753            }
10754            part { name: "elm.icon_new.clipper";
10755                type: RECT;
10756                description { state: "default" 0.0;
10757                    color: 255 255 255 0;
10758                }
10759                description { state: "animation" 0.0;
10760                    color: 255 255 255 255;
10761                }
10762            }
10763            part { name: "event";
10764                type: RECT;
10765                mouse_events: 1;
10766                ignore_flags: ON_HOLD;
10767                description { state: "default" 0.0;
10768                    color: 0 0 0 0;
10769                }
10770            }
10771        }
10772        programs {
10773            program { name: "go_active";
10774                signal:  "elm,state,selected";
10775                source:  "elm";
10776                action:  STATE_SET "selected" 0.0;
10777                target:  "bg";
10778                target:  "elm.text";
10779                target:  "label2";
10780                target:  "elm.text_new";
10781                target:  "label2_new";
10782                transition: LINEAR 0.2;
10783            }
10784            program { name: "go_passive";
10785                signal:  "elm,state,unselected";
10786                source:  "elm";
10787                action:  STATE_SET "default" 0.0;
10788                target:  "bg";
10789                target:  "elm.text";
10790                target:  "label2";
10791                target:  "elm.text_new";
10792                target:  "label2_new";
10793                transition: LINEAR 0.1;
10794            }
10795            program { name: "go";
10796                signal:  "mouse,up,1";
10797                source:  "event";
10798                action:  SIGNAL_EMIT "elm,action,click" "elm";
10799            }
10800            program { name: "mouse,in";
10801               signal:  "mouse,in";
10802               source:  "event";
10803               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10804            }
10805            program { name: "mouse,out";
10806               signal:  "mouse,out";
10807               source:  "event";
10808               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10809            }
10810            program { name: "disable";
10811                signal: "elm,state,disabled";
10812                source: "elm";
10813                action: STATE_SET "disabled" 0.0;
10814                target: "label2";
10815                target: "label2_new";
10816                target: "bg";
10817                after: "disable_text";
10818            }
10819            program { name: "disable_text";
10820                script {
10821                    new st[31];
10822                    new Float:vl;
10823                    get_state(PART:"elm.text", st, 30, vl);
10824                    if (!strcmp(st, "visible"))
10825                    {
10826                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10827                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10828                    }
10829                    else
10830                    {
10831                       set_state(PART:"elm.text", "disabled", 0.0);
10832                       set_state(PART:"elm.text_new", "disabled", 0.0);
10833                    }
10834                }
10835            }
10836            program { name: "enable";
10837                signal: "elm,state,enabled";
10838                source: "elm";
10839                action: STATE_SET "default" 0.0;
10840                target: "label2";
10841                target: "label2_new";
10842                target: "bg";
10843                after: "enable_text";
10844            }
10845            program { name: "enable_text";
10846                script {
10847                    new st[31];
10848                    new Float:vl;
10849                    get_state(PART:"elm.text", st, 30, vl);
10850                    if (!strcmp(st, "disabled_visible"))
10851                    {
10852                       set_state(PART:"elm.text", "visible", 0.0);
10853                       set_state(PART:"elm.text_new", "visible", 0.0);
10854                    }
10855                    else
10856                    {
10857                       set_state(PART:"elm.text", "default", 0.0);
10858                       set_state(PART:"elm.text_new", "default", 0.0);
10859                    }
10860                }
10861            }
10862            program { name: "label_set,animation,forward";
10863               signal: "elm,state,label_set,forward";
10864               source: "elm";
10865               after: "label_set,animation";
10866            }
10867            program { name: "label_set,animation,backward";
10868               signal: "elm,state,label_set,backward";
10869               source: "elm";
10870               after: "label_set,animation";
10871            }
10872            program { name: "label_set,animation";
10873               signal: "elm,state,label_set";
10874               source: "elm";
10875               action: STATE_SET "animation" 0.0;
10876               target: "elm.text.clipper";
10877               target: "elm.text_new.clipper";
10878               transition: LINEAR 0.2;
10879               after: "label_set,animation,done";
10880            }
10881            program { name: "label_set,animation,done";
10882               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10883            }
10884            program { name: "label,reset";
10885               signal: "elm,state,label,reset";
10886               source: "elm";
10887               action: STATE_SET "default" 0.0;
10888               target: "elm.text.clipper";
10889               target: "elm.text_new.clipper";
10890            }
10891            program { name: "icon_set,animation,forward";
10892               signal: "elm,state,icon_set,forward";
10893               source: "elm";
10894               after: "icon_set,animation";
10895            }
10896            program { name: "icon_set,animation,backward";
10897               signal: "elm,state,icon_set,backward";
10898               source: "elm";
10899               after: "icon_set,animation";
10900            }
10901            program { name: "icon_set,animation";
10902               signal: "elm,state,icon_set";
10903               source: "elm";
10904               action: STATE_SET "animation" 0.0;
10905               target: "elm.icon.clipper";
10906               target: "elm.icon_new.clipper";
10907               transition: LINEAR 0.2;
10908               after: "icon_set,animation,done";
10909            }
10910            program { name: "icon_set,animation,done";
10911               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10912            }
10913            program { name: "icon,reset";
10914               signal: "elm,state,icon,reset";
10915               source: "elm";
10916               action: STATE_SET "default" 0.0;
10917               target: "elm.icon.clipper";
10918               target: "elm.icon_new.clipper";
10919            }
10920        }
10921    }
10922
10923    group { name: "elm/toolbar/separator/default";
10924       images {
10925          image: "toolbar_separator_v.png" COMP;
10926       }
10927       parts {
10928          part { name: "separator"; // separator group
10929             description { state: "default" 0.0;
10930                min: 2 2;
10931                max: 2 9999;
10932                rel1.offset: 4 4;
10933                rel2.offset: -5 -5;
10934                image {
10935                   normal: "toolbar_separator_v.png";
10936                }
10937                fill {
10938                   smooth: 0;
10939                }
10940             }
10941          }
10942       }
10943    }
10944
10945    ///////////////////////////////////////////////////////////////////////////////
10946    group { name: "elm/notify/block_events/default";
10947        parts {
10948            part { name: "block_events";
10949                type: RECT;
10950                description { state: "default" 0.0;
10951                    color: 0 0 0 64;
10952                    visible: 1;
10953                }
10954            }
10955        }
10956            programs {
10957                    program {
10958                                 name: "block_clicked";
10959                                 signal: "mouse,clicked,1";
10960                                 source: "block_events";
10961                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10962                    }
10963            }
10964    }
10965    group { name: "elm/notify/top/default";
10966        //this group is a design similar to the inwin group
10967        images {
10968            image: "shad_circ.png" COMP;
10969            image: "bt_dis_base.png" COMP;
10970            image: "bt_dis_hilight.png" COMP;
10971        }
10972        parts {
10973            part { name: "base";
10974                type: RECT;
10975                mouse_events: 0;
10976                repeat_events: 1;
10977                description { state: "default" 0.0;
10978                    color: 0 0 0 0;
10979                    rel1.offset: 10 10;
10980                    rel2.offset: -10 -10;
10981                    rel1.relative: 0.0 -1.0;
10982                    rel2.relative: 1.0 0.0;
10983                }
10984                description { state: "visible" 0.0;
10985                    inherit: "default" 0.0;
10986                    color: 0 0 0 64;
10987                    rel1.relative: 0.0 0.0;
10988                    rel2.relative: 1.0 1.0;
10989                }
10990            }
10991            part { name: "shad";
10992                mouse_events:  0;
10993                description { state: "default" 0.0;
10994                    image.normal: "shad_circ.png";
10995                    rel1.to: "elm.swallow.content";
10996                    rel1.offset: -64 -64;
10997                    rel2.to: "elm.swallow.content";
10998                    rel2.offset: 63 63;
10999                    fill.smooth: 0;
11000                }
11001            }
11002            part { name: "pop";
11003                mouse_events: 1;
11004                description { state: "default" 0.0;
11005                    rel1.to: "elm.swallow.content";
11006                    rel1.offset: -5 -5;
11007                    rel2.to: "elm.swallow.content";
11008                    rel2.offset: 4 4;
11009                    image {
11010                        normal: "bt_dis_base.png";
11011                        border: 4 4 4 4;
11012                    }
11013                    image.middle: SOLID;
11014                }
11015            }
11016            part { name: "popover";
11017                mouse_events: 0;
11018                description { state: "default" 0.0;
11019                    rel1.to: "pop";
11020                    rel2.to: "pop";
11021                    rel2.relative: 1.0 0.5;
11022                    image {
11023                        normal: "bt_dis_hilight.png";
11024                        border: 4 4 4 0;
11025                    }
11026                }
11027            }
11028            part { name: "elm.swallow.content";
11029                type: SWALLOW;
11030                description { state: "default" 0.0;
11031                    rel1.to: "base";
11032                    rel2.to: "base";
11033                }
11034            }
11035        }
11036        programs {
11037            program { name: "show";
11038                signal: "elm,action,show";
11039                source: "elm";
11040                action: STATE_SET "visible" 0.0;
11041                target: "base";
11042            }
11043            program { name: "show_2";
11044                 signal: "show";
11045                 action: STATE_SET "default" 0.0;
11046                 target: "base";
11047                 after: "show_3";
11048            }
11049            program { name: "show_3";
11050                 signal: "show";
11051                 action: STATE_SET "visible" 0.0;
11052                 target: "base";
11053                 transition: LINEAR 0.5;
11054            }
11055            program { name: "hide";
11056                signal: "elm,action,hide";
11057                source: "elm";
11058                action: STATE_SET "default" 0.0;
11059                target: "base";
11060            }
11061        }
11062    }
11063    group { name: "elm/notify/center/default";
11064        //this group is a design similar to the inwin group
11065        images {
11066            image: "bt_dis_base.png" COMP;
11067        }
11068        parts {
11069            part { name: "base";
11070                type: RECT;
11071                mouse_events: 0;
11072                repeat_events: 1;
11073                description { state: "default" 0.0;
11074                    color: 0 0 0 0;
11075                    rel1.relative: 0.0 0.0;
11076                    rel2.relative: 1.0 1.0;
11077                }
11078            }
11079            part { name: "pop";
11080                mouse_events: 1;
11081                description { state: "default" 0.0;
11082                    rel1.to: "elm.swallow.content";
11083                    rel1.offset: -5 -5;
11084                    rel2.to: "elm.swallow.content";
11085                    rel2.offset: 4 4;
11086                    image {
11087                        normal: "bt_dis_base.png";
11088                        border: 4 4 4 4;
11089                    }
11090                }
11091            }
11092            part { name: "elm.swallow.content";
11093                type: SWALLOW;
11094                description { state: "default" 0.0;
11095                    rel1.to: "base";
11096                    rel2.to: "base";
11097                }
11098            }
11099        }
11100        programs {
11101            program { name: "show";
11102                signal: "elm,action,show";
11103                source: "elm";
11104                action: STATE_SET "default" 0.0;
11105                target: "base";
11106            }
11107            program { name: "show_2";
11108                 signal: "show";
11109                 action: STATE_SET "default" 0.0;
11110                 target: "base";
11111            }
11112            program { name: "hide";
11113                signal: "elm,action,hide";
11114                source: "elm";
11115                action: STATE_SET "default" 0.0;
11116                target: "base";
11117            }
11118        }
11119    }
11120    group { name: "elm/notify/bottom/default";
11121        //this group is a design similar to the inwin group
11122        images {
11123            image: "shad_circ.png" COMP;
11124            image: "bt_dis_base.png" COMP;
11125            image: "bt_dis_hilight.png" COMP;
11126        }
11127        parts {
11128            part { name: "base";
11129                type: RECT;
11130                mouse_events: 0;
11131                repeat_events: 1;
11132                description { state: "default" 0.0;
11133                    color: 0 0 0 0;
11134                    rel1.offset: 10 10;
11135                    rel2.offset: -10 -10;
11136                    rel1.relative: 0.0 1.0;
11137                    rel2.relative: 1.0 2.0;
11138                }
11139                description { state: "visible" 0.0;
11140                    inherit: "default" 0.0;
11141                    color: 0 0 0 64;
11142                    rel1.relative: 0.0 0.0;
11143                    rel2.relative: 1.0 1.0;
11144                }
11145            }
11146            part { name: "shad";
11147                mouse_events:  0;
11148                description { state: "default" 0.0;
11149                    image.normal: "shad_circ.png";
11150                    rel1.to: "elm.swallow.content";
11151                    rel1.offset: -64 -64;
11152                    rel2.to: "elm.swallow.content";
11153                    rel2.offset: 63 63;
11154                    fill.smooth: 0;
11155                }
11156            }
11157            part { name: "pop";
11158                mouse_events: 1;
11159                description { state: "default" 0.0;
11160                    rel1.to: "elm.swallow.content";
11161                    rel1.offset: -5 -5;
11162                    rel2.to: "elm.swallow.content";
11163                    rel2.offset: 4 4;
11164                    image {
11165                        normal: "bt_dis_base.png";
11166                        border: 4 4 4 4;
11167                    }
11168                    image.middle: SOLID;
11169                }
11170            }
11171            part { name: "popover";
11172                mouse_events: 0;
11173                description { state: "default" 0.0;
11174                    rel1.to: "pop";
11175                    rel2.to: "pop";
11176                    rel2.relative: 1.0 0.5;
11177                    image {
11178                        normal: "bt_dis_hilight.png";
11179                        border: 4 4 4 0;
11180                    }
11181                }
11182            }
11183            part { name: "elm.swallow.content";
11184                type: SWALLOW;
11185                description { state: "default" 0.0;
11186                    rel1.to: "base";
11187                    rel2.to: "base";
11188                }
11189            }
11190        }
11191        programs {
11192            program { name: "show";
11193                signal: "elm,action,show";
11194                source: "elm";
11195                action: STATE_SET "visible" 0.0;
11196                target: "base";
11197            }
11198            program { name: "show_2";
11199                 signal: "show";
11200                 action: STATE_SET "default" 0.0;
11201                 target: "base";
11202                 after: "show_3";
11203            }
11204            program { name: "show_3";
11205                 signal: "show";
11206                 action: STATE_SET "visible" 0.0;
11207                 target: "base";
11208                 transition: LINEAR 0.5;
11209            }
11210            program { name: "hide";
11211                signal: "elm,action,hide";
11212                source: "elm";
11213                action: STATE_SET "default" 0.0;
11214                target: "base";
11215            }
11216        }
11217    }
11218    group { name: "elm/notify/left/default";
11219        //this group is a design similar to the inwin group
11220        images {
11221            image: "shad_circ.png" COMP;
11222            image: "bt_dis_base.png" COMP;
11223            image: "bt_dis_hilight.png" COMP;
11224        }
11225        parts {
11226            part { name: "base";
11227                type: RECT;
11228                mouse_events: 0;
11229                repeat_events: 1;
11230                description { state: "default" 0.0;
11231                    color: 0 0 0 0;
11232                    rel1.offset: 10 10;
11233                    rel2.offset: -10 -10;
11234                    rel1.relative: -1.0 0.0;
11235                    rel2.relative: 0.0 1.0;
11236                }
11237                description { state: "visible" 0.0;
11238                    inherit: "default" 0.0;
11239                    color: 0 0 0 64;
11240                    rel1.relative: 0.0 0.0;
11241                    rel2.relative: 1.0 1.0;
11242                }
11243            }
11244            part { name: "shad";
11245                mouse_events:  0;
11246                description { state: "default" 0.0;
11247                    image.normal: "shad_circ.png";
11248                    rel1.to: "elm.swallow.content";
11249                    rel1.offset: -64 -64;
11250                    rel2.to: "elm.swallow.content";
11251                    rel2.offset: 63 63;
11252                    fill.smooth: 0;
11253                }
11254            }
11255            part { name: "pop";
11256                mouse_events: 1;
11257                description { state: "default" 0.0;
11258                    rel1.to: "elm.swallow.content";
11259                    rel1.offset: -5 -5;
11260                    rel2.to: "elm.swallow.content";
11261                    rel2.offset: 4 4;
11262                    image {
11263                        normal: "bt_dis_base.png";
11264                        border: 4 4 4 4;
11265                    }
11266                    image.middle: SOLID;
11267                }
11268            }
11269            part { name: "popover";
11270                mouse_events: 0;
11271                description { state: "default" 0.0;
11272                    rel1.to: "pop";
11273                    rel2.to: "pop";
11274                    rel2.relative: 1.0 0.5;
11275                    image {
11276                        normal: "bt_dis_hilight.png";
11277                        border: 4 4 4 0;
11278                    }
11279                }
11280            }
11281            part { name: "elm.swallow.content";
11282                type: SWALLOW;
11283                description { state: "default" 0.0;
11284                    rel1.to: "base";
11285                    rel2.to: "base";
11286                }
11287            }
11288        }
11289        programs {
11290            program { name: "show";
11291                signal: "elm,action,show";
11292                source: "elm";
11293                action: STATE_SET "visible" 0.0;
11294                target: "base";
11295            }
11296            program { name: "show_2";
11297                signal: "show";
11298                action: STATE_SET "default" 0.0;
11299                target: "base";
11300                after: "show_3";
11301            }
11302            program { name: "show_3";
11303                signal: "show";
11304                action: STATE_SET "visible" 0.0;
11305                target: "base";
11306                transition: LINEAR 0.5;
11307            }
11308            program { name: "hide";
11309                signal: "elm,action,hide";
11310                source: "elm";
11311                action: STATE_SET "default" 0.0;
11312                target: "base";
11313            }
11314        }
11315    }
11316    group { name: "elm/notify/right/default";
11317        //this group is a design similar to the inwin group
11318        images {
11319            image: "shad_circ.png" COMP;
11320            image: "bt_dis_base.png" COMP;
11321            image: "bt_dis_hilight.png" COMP;
11322        }
11323        parts {
11324            part { name: "base";
11325                type: RECT;
11326                mouse_events: 0;
11327                repeat_events: 1;
11328                 description { state: "default" 0.0;
11329                    color: 0 0 0 0;
11330                    rel1.offset: 10 10;
11331                    rel2.offset: -10 -10;
11332                    rel1.relative: 1.0 0.0;
11333                    rel2.relative: 2.0 1.0;
11334                }
11335                description { state: "visible" 0.0;
11336                    inherit: "default" 0.0;
11337                    color: 0 0 0 64;
11338                    rel1.relative: 0.0 0.0;
11339                    rel2.relative: 1.0 1.0;
11340                }
11341            }
11342            part { name: "shad";
11343                mouse_events:  0;
11344                description { state: "default" 0.0;
11345                    image.normal: "shad_circ.png";
11346                    rel1.to: "elm.swallow.content";
11347                    rel1.offset: -64 -64;
11348                    rel2.to: "elm.swallow.content";
11349                    rel2.offset: 63 63;
11350                    fill.smooth: 0;
11351                }
11352            }
11353            part { name: "pop";
11354                mouse_events: 1;
11355                description { state: "default" 0.0;
11356                    rel1.to: "elm.swallow.content";
11357                    rel1.offset: -5 -5;
11358                    rel2.to: "elm.swallow.content";
11359                    rel2.offset: 4 4;
11360                    image {
11361                        normal: "bt_dis_base.png";
11362                        border: 4 4 4 4;
11363                    }
11364                    image.middle: SOLID;
11365                }
11366            }
11367            part { name: "popover";
11368                mouse_events: 0;
11369                description { state: "default" 0.0;
11370                    rel1.to: "pop";
11371                    rel2.to: "pop";
11372                    rel2.relative: 1.0 0.5;
11373                    image {
11374                        normal: "bt_dis_hilight.png";
11375                        border: 4 4 4 0;
11376                    }
11377                }
11378            }
11379            part { name: "elm.swallow.content";
11380                type: SWALLOW;
11381                description { state: "default" 0.0;
11382                    rel1.to: "base";
11383                    rel2.to: "base";
11384                }
11385            }
11386        }
11387        programs {
11388            program { name: "show";
11389                signal: "elm,action,show";
11390                source: "elm";
11391                action: STATE_SET "visible" 0.0;
11392                target: "base";
11393            }
11394            program { name: "show_2";
11395                signal: "show";
11396                action: STATE_SET "default" 0.0;
11397                target: "base";
11398                after: "show_3";
11399            }
11400            program { name: "show_3";
11401                signal: "show";
11402                action: STATE_SET "visible" 0.0;
11403                target: "base";
11404                transition: LINEAR 0.5;
11405            }
11406            program { name: "hide";
11407                signal: "elm,action,hide";
11408                source: "elm";
11409                action: STATE_SET "default" 0.0;
11410                target: "base";
11411            }
11412        }
11413    }
11414    group { name: "elm/notify/top_left/default";
11415        //this group is a design similar to the inwin group
11416        images {
11417            image: "shad_circ.png" COMP;
11418            image: "bt_dis_base.png" COMP;
11419            image: "bt_dis_hilight.png" COMP;
11420        }
11421        parts {
11422            part { name: "base";
11423                type: RECT;
11424                mouse_events: 0;
11425                repeat_events: 1;
11426                 description { state: "default" 0.0;
11427                    color: 0 0 0 0;
11428                    rel1.offset: 10 10;
11429                    rel2.offset: -10 -10;
11430                    rel1.relative: 0.0 -1.0;
11431                    rel2.relative: 1.0 0.0;
11432                }
11433                description { state: "visible" 0.0;
11434                    inherit: "default" 0.0;
11435                    color: 0 0 0 64;
11436                    rel1.relative: 0.0 0.0;
11437                    rel2.relative: 1.0 1.0;
11438                }
11439            }
11440            part { name: "shad";
11441                mouse_events:  0;
11442                description { state: "default" 0.0;
11443                    image.normal: "shad_circ.png";
11444                    rel1.to: "elm.swallow.content";
11445                    rel1.offset: -64 -64;
11446                    rel2.to: "elm.swallow.content";
11447                    rel2.offset: 63 63;
11448                    fill.smooth: 0;
11449                }
11450            }
11451            part { name: "pop";
11452                mouse_events: 1;
11453                description { state: "default" 0.0;
11454                    rel1.to: "elm.swallow.content";
11455                    rel1.offset: -5 -5;
11456                    rel2.to: "elm.swallow.content";
11457                    rel2.offset: 4 4;
11458                    image {
11459                        normal: "bt_dis_base.png";
11460                        border: 4 4 4 4;
11461                    }
11462                    image.middle: SOLID;
11463                }
11464            }
11465            part { name: "popover";
11466                mouse_events: 0;
11467                description { state: "default" 0.0;
11468                    rel1.to: "pop";
11469                    rel2.to: "pop";
11470                    rel2.relative: 1.0 0.5;
11471                    image {
11472                        normal: "bt_dis_hilight.png";
11473                        border: 4 4 4 0;
11474                    }
11475                }
11476            }
11477            part { name: "elm.swallow.content";
11478                type: SWALLOW;
11479                description { state: "default" 0.0;
11480                    rel1.to: "base";
11481                    rel2.to: "base";
11482                }
11483            }
11484        }
11485        programs {
11486            program { name: "show";
11487                signal: "elm,action,show";
11488                source: "elm";
11489                action: STATE_SET "visible" 0.0;
11490                target: "base";
11491            }
11492            program { name: "show_2";
11493                signal: "show";
11494                action: STATE_SET "default" 0.0;
11495                target: "base";
11496                after: "show_3";
11497            }
11498            program { name: "show_3";
11499                signal: "show";
11500                action: STATE_SET "visible" 0.0;
11501                target: "base";
11502                transition: LINEAR 0.5;
11503            }
11504            program { name: "hide";
11505                signal: "elm,action,hide";
11506                source: "elm";
11507                action: STATE_SET "default" 0.0;
11508                target: "base";
11509            }
11510        }
11511    }
11512    group { name: "elm/notify/top_right/default";
11513        //this group is a design similar to the inwin group
11514        images {
11515            image: "shad_circ.png" COMP;
11516            image: "bt_dis_base.png" COMP;
11517            image: "bt_dis_hilight.png" COMP;
11518        }
11519        parts {
11520            part { name: "base";
11521                type: RECT;
11522                mouse_events: 0;
11523                repeat_events: 1;
11524                description { state: "default" 0.0;
11525                    color: 0 0 0 0;
11526                    rel1.offset: 10 10;
11527                    rel2.offset: -10 -10;
11528                    rel1.relative: 0.0 -1.0;
11529                    rel2.relative: 1.0 0.0;
11530                }
11531                description { state: "visible" 0.0;
11532                    inherit: "default" 0.0;
11533                    color: 0 0 0 64;
11534                    rel1.relative: 0.0 0.0;
11535                    rel2.relative: 1.0 1.0;
11536                }
11537            }
11538            part { name: "shad";
11539                mouse_events:  0;
11540                description { state: "default" 0.0;
11541                    image.normal: "shad_circ.png";
11542                    rel1.to: "elm.swallow.content";
11543                    rel1.offset: -64 -64;
11544                    rel2.to: "elm.swallow.content";
11545                    rel2.offset: 63 63;
11546                    fill.smooth: 0;
11547                }
11548            }
11549            part { name: "pop";
11550                mouse_events: 1;
11551                description { state: "default" 0.0;
11552                    rel1.to: "elm.swallow.content";
11553                    rel1.offset: -5 -5;
11554                    rel2.to: "elm.swallow.content";
11555                    rel2.offset: 4 4;
11556                    image {
11557                        normal: "bt_dis_base.png";
11558                        border: 4 4 4 4;
11559                    }
11560                    image.middle: SOLID;
11561                }
11562            }
11563            part { name: "popover";
11564                mouse_events: 0;
11565                description { state: "default" 0.0;
11566                    rel1.to: "pop";
11567                    rel2.to: "pop";
11568                    rel2.relative: 1.0 0.5;
11569                    image {
11570                        normal: "bt_dis_hilight.png";
11571                        border: 4 4 4 0;
11572                    }
11573                }
11574            }
11575            part { name: "elm.swallow.content";
11576                type: SWALLOW;
11577                description { state: "default" 0.0;
11578                    rel1.to: "base";
11579                    rel2.to: "base";
11580                }
11581            }
11582        }
11583        programs {
11584            program { name: "show";
11585                signal: "elm,action,show";
11586                source: "elm";
11587                action: STATE_SET "visible" 0.0;
11588                target: "base";
11589            }
11590            program { name: "show_2";
11591                signal: "show";
11592                action: STATE_SET "default" 0.0;
11593                target: "base";
11594                after: "show_3";
11595            }
11596            program { name: "show_3";
11597                signal: "show";
11598                action: STATE_SET "visible" 0.0;
11599                target: "base";
11600                transition: LINEAR 0.5;
11601            }
11602            program { name: "hide";
11603                signal: "elm,action,hide";
11604                source: "elm";
11605                action: STATE_SET "default" 0.0;
11606                target: "base";
11607            }
11608        }
11609    }
11610    group { name: "elm/notify/bottom_left/default";
11611        //this group is a design similar to the inwin group
11612        images {
11613            image: "shad_circ.png" COMP;
11614            image: "bt_dis_base.png" COMP;
11615            image: "bt_dis_hilight.png" COMP;
11616        }
11617        parts {
11618            part { name: "base";
11619                type: RECT;
11620                mouse_events: 0;
11621                repeat_events: 1;
11622                description { state: "default" 0.0;
11623                    color: 0 0 0 0;
11624                    rel1.offset: 10 10;
11625                    rel2.offset: -10 -10;
11626                    rel1.relative: 0.0 1.0;
11627                    rel2.relative: 1.0 2.0;
11628                }
11629                description { state: "visible" 0.0;
11630                    inherit: "default" 0.0;
11631                    color: 0 0 0 64;
11632                    rel1.relative: 0.0 0.0;
11633                    rel2.relative: 1.0 1.0;
11634                }
11635            }
11636            part { name: "shad";
11637                mouse_events:  0;
11638                description { state: "default" 0.0;
11639                    image.normal: "shad_circ.png";
11640                    rel1.to: "elm.swallow.content";
11641                    rel1.offset: -64 -64;
11642                    rel2.to: "elm.swallow.content";
11643                    rel2.offset: 63 63;
11644                    fill.smooth: 0;
11645                }
11646            }
11647            part { name: "pop";
11648                mouse_events: 1;
11649                description { state: "default" 0.0;
11650                    rel1.to: "elm.swallow.content";
11651                    rel1.offset: -5 -5;
11652                    rel2.to: "elm.swallow.content";
11653                    rel2.offset: 4 4;
11654                    image {
11655                        normal: "bt_dis_base.png";
11656                        border: 4 4 4 4;
11657                    }
11658                    image.middle: SOLID;
11659                }
11660            }
11661            part { name: "popover";
11662                mouse_events: 0;
11663                description { state: "default" 0.0;
11664                    rel1.to: "pop";
11665                    rel2.to: "pop";
11666                    rel2.relative: 1.0 0.5;
11667                    image {
11668                        normal: "bt_dis_hilight.png";
11669                        border: 4 4 4 0;
11670                    }
11671                }
11672            }
11673            part { name: "elm.swallow.content";
11674                type: SWALLOW;
11675                description { state: "default" 0.0;
11676                    rel1.to: "base";
11677                    rel2.to: "base";
11678                }
11679            }
11680        }
11681        programs {
11682            program { name: "show";
11683                signal: "elm,action,show";
11684                source: "elm";
11685                action: STATE_SET "visible" 0.0;
11686                target: "base";
11687            }
11688            program { name: "show_2";
11689                signal: "show";
11690                action: STATE_SET "default" 0.0;
11691                target: "base";
11692                after: "show_3";
11693            }
11694            program { name: "show_3";
11695                signal: "show";
11696                action: STATE_SET "visible" 0.0;
11697                target: "base";
11698                transition: LINEAR 0.5;
11699            }
11700            program { name: "hide";
11701                signal: "elm,action,hide";
11702                source: "elm";
11703                action: STATE_SET "default" 0.0;
11704                target: "base";
11705            }
11706        }
11707    }
11708    group { name: "elm/notify/bottom_right/default";
11709        //this group is a design similar to the inwin group
11710        images {
11711            image: "shad_circ.png" COMP;
11712            image: "bt_dis_base.png" COMP;
11713            image: "bt_dis_hilight.png" COMP;
11714        }
11715        parts {
11716            part { name: "base";
11717                type: RECT;
11718                mouse_events: 0;
11719                repeat_events: 1;
11720               description { state: "default" 0.0;
11721                    color: 0 0 0 0;
11722                    rel1.offset: 10 10;
11723                    rel2.offset: -10 -10;
11724                    rel1.relative: 0.0 1.0;
11725                    rel2.relative: 1.0 2.0;
11726                }
11727                description { state: "visible" 0.0;
11728                    inherit: "default" 0.0;
11729                    color: 0 0 0 64;
11730                    rel1.relative: 0.0 0.0;
11731                    rel2.relative: 1.0 1.0;
11732                }
11733            }
11734            part { name: "shad";
11735                mouse_events:  0;
11736                description { state: "default" 0.0;
11737                    image.normal: "shad_circ.png";
11738                    rel1.to: "elm.swallow.content";
11739                    rel1.offset: -64 -64;
11740                    rel2.to: "elm.swallow.content";
11741                    rel2.offset: 63 63;
11742                    fill.smooth: 0;
11743                }
11744            }
11745            part { name: "pop";
11746                mouse_events: 1;
11747                description { state: "default" 0.0;
11748                    rel1.to: "elm.swallow.content";
11749                    rel1.offset: -5 -5;
11750                    rel2.to: "elm.swallow.content";
11751                    rel2.offset: 4 4;
11752                    image {
11753                        normal: "bt_dis_base.png";
11754                        border: 4 4 4 4;
11755                    }
11756                    image.middle: SOLID;
11757                }
11758            }
11759            part { name: "popover";
11760                mouse_events: 0;
11761                description { state: "default" 0.0;
11762                    rel1.to: "pop";
11763                    rel2.to: "pop";
11764                    rel2.relative: 1.0 0.5;
11765                    image {
11766                        normal: "bt_dis_hilight.png";
11767                        border: 4 4 4 0;
11768                    }
11769                }
11770            }
11771            part { name: "elm.swallow.content";
11772                type: SWALLOW;
11773                description { state: "default" 0.0;
11774                    rel1.to: "base";
11775                    rel2.to: "base";
11776                }
11777            }
11778        }
11779        programs {
11780            program { name: "show";
11781                signal: "elm,action,show";
11782                source: "elm";
11783                action: STATE_SET "visible" 0.0;
11784                target: "base";
11785            }
11786            program { name: "show_2";
11787                signal: "show";
11788                action: STATE_SET "default" 0.0;
11789                target: "base";
11790                after: "show_3";
11791            }
11792            program { name: "show_3";
11793                signal: "show";
11794                action: STATE_SET "visible" 0.0;
11795                target: "base";
11796                transition: LINEAR 0.5;
11797            }
11798            program { name: "hide";
11799                signal: "elm,action,hide";
11800                source: "elm";
11801                action: STATE_SET "default" 0.0;
11802                target: "base";
11803            }
11804        }
11805    }
11806
11807 ///////////////////////////////////////////////////////////////////////////////
11808    group { name: "elm/slideshow/base/default";
11809       data {
11810          item: transitions "fade black_fade horizontal vertical square";
11811          item: layouts "fullscreen not_fullscreen";
11812       }
11813       parts {
11814          part { name: "whole";
11815                  type: RECT;
11816             description {
11817                state: "default" 0.0;
11818                visible: 1;
11819                color: 20 20 20 255;
11820             }
11821          }
11822          part { name: "image_1_whole";
11823             description {
11824                state: "default" 0.0;
11825                color: 255 255 255 255;
11826             }
11827             description {
11828                state: "fade_prev_next" 0.0;
11829                inherit: "default" 0.0;
11830                color: 255 255 255 0;
11831             }
11832             description {
11833                state: "black_fade_prev_next_init" 0.0;
11834                inherit: "default" 0.0;
11835                color: 255 255 255 255;
11836             }
11837             description {
11838                state: "black_fade_prev_next" 0.0;
11839                inherit: "default" 0.0;
11840                color: 0 0 0 255;
11841             }
11842             description {
11843                state: "horizontal_next_init" 0.0;
11844                inherit: "default" 0.0;
11845             }
11846             description {
11847                state: "horizontal_next" 0.0;
11848                inherit: "default" 0.0;
11849                rel1.relative: -1.0 0.0;
11850                rel2.relative: 0.0 1.0;
11851             }
11852             description {
11853                state: "horizontal_prev_init" 0.0;
11854                inherit: "default" 0.0;
11855             }
11856             description {
11857                state: "horizontal_prev" 0.0;
11858                inherit: "default" 0.0;
11859                rel1.relative: 1.0 0.0;
11860                rel2.relative: 2.0 1.0;
11861             }
11862             description {
11863                state: "vertical_next_init" 0.0;
11864                inherit: "default" 0.0;
11865             }
11866             description {
11867                state: "vertical_next" 0.0;
11868                inherit: "default" 0.0;
11869                rel1.relative: 0.0 -1.0;
11870                rel2.relative: 1.0 0.0;
11871             }
11872             description {
11873                state: "vertical_prev_init" 0.0;
11874                inherit: "default" 0.0;
11875             }
11876             description {
11877                state: "vertical_prev" 0.0;
11878                inherit: "default" 0.0;
11879                rel1.relative: 0.0 1.0;
11880                rel2.relative: 1.0 2.0;
11881             }
11882             description {
11883                state: "square_prev_next" 0.0;
11884                inherit: "default" 0.0;
11885                color: 255 255 255 0;
11886             }
11887          }
11888          part { name: "image_2_whole";
11889             description {
11890                state: "default" 0.0;
11891                visible: 1;
11892                color: 255 255 255 0;
11893             }
11894             description {
11895                state: "fade_prev_next" 0.0;
11896                inherit: "default" 0.0;
11897                color: 255 255 255 255;
11898             }
11899             description {
11900                state: "black_fade_prev_next_init" 0.0;
11901                inherit: "default" 0.0;
11902                color: 0 0 0 0;
11903             }
11904             description {
11905                state: "black_fade_prev_next" 0.0;
11906                inherit: "default" 0.0;
11907                color: 255 255 255 255;
11908             }
11909             description {
11910                state: "horizontal_next_init" 0.0;
11911                inherit: "default" 0.0;
11912                rel1.relative: 1.0 0.0;
11913                rel2.relative: 2.0 1.0;
11914                color: 255 255 255 255;
11915             }
11916             description {
11917                state: "horizontal_next" 0.0;
11918                inherit: "default" 0.0;
11919                color: 255 255 255 255;
11920             }
11921             description {
11922                state: "horizontal_prev_init" 0.0;
11923                inherit: "default" 0.0;
11924                rel1.relative: -1.0 0.0;
11925                rel2.relative: 0.0 1.0;
11926                color: 255 255 255 255;
11927             }
11928             description {
11929                state: "horizontal_prev" 0.0;
11930                inherit: "default" 0.0;
11931                color: 255 255 255 255;
11932             }
11933             description {
11934                state: "vertical_next_init" 0.0;
11935                inherit: "default" 0.0;
11936                rel1.relative: 0.0 1.0;
11937                rel2.relative: 1.0 2.0;
11938                color: 255 255 255 255;
11939             }
11940             description {
11941                state: "vertical_next" 0.0;
11942                inherit: "default" 0.0;
11943                color: 255 255 255 255;
11944             }
11945             description {
11946                state: "vertical_prev_init" 0.0;
11947                inherit: "default" 0.0;
11948                rel1.relative: 0.0 -1.0;
11949                rel2.relative: 1.0 0.0;
11950                color: 255 255 255 255;
11951             }
11952             description {
11953                state: "vertical_prev" 0.0;
11954                inherit: "default" 0.0;
11955                color: 255 255 255 255;
11956             }
11957             description {
11958                state: "square_prev_next_init" 0.0;
11959                inherit: "default" 0.0;
11960                rel1.relative: 0.5 0.5;
11961                rel2.relative: 0.5 0.5;
11962                color: 255 255 255 255;
11963             }
11964             description {
11965                state: "square_prev_next" 0.0;
11966                inherit: "default" 0.0;
11967                rel1.relative: 0.0 0.0;
11968                rel2.relative: 1.0 1.0;
11969                color: 255 255 255 255;
11970             }
11971          }
11972          part { name: "elm.swallow.1";
11973             type: SWALLOW;
11974             clip_to: "image_1_whole";
11975             description {
11976                state: "default" 0.0;
11977                rel1.to: "image_1_whole";
11978                rel2.to: "image_1_whole";
11979                color: 255 255 255 255;
11980             }
11981             description {
11982                state: "not_fullscreen" 0.0;
11983                rel1.relative: 0.1 0.1;
11984                rel1.to: "image_1_whole";
11985                rel2.relative: 0.9 0.9;
11986                rel2.to: "image_1_whole";
11987                color: 255 255 255 255;
11988             }
11989          }
11990          part { name: "elm.swallow.2";
11991             type: SWALLOW;
11992             clip_to: "image_2_whole";
11993             description {
11994                state: "default" 0.0;
11995                color: 255 255 255 255;
11996                rel1.to: "image_2_whole";
11997                rel2.to: "image_2_whole";
11998             }
11999             description {
12000                state: "not_fullscreen" 0.0;
12001                color: 255 255 255 255;
12002                rel1.relative: 0.1 0.1;
12003                rel1.to: "image_2_whole";
12004                rel2.relative: 0.9 0.9;
12005                rel2.to: "image_2_whole";
12006             }
12007          }
12008          part { name: "events_catcher";
12009             type: RECT;
12010             repeat_events: 1;
12011             description {
12012                state: "default" 0.0;
12013                visible: 1;
12014                color: 0 0 0 0;
12015             }
12016          }
12017       }
12018       programs {
12019               //Substyle
12020               program { name: "layout_fullscreen";
12021             signal: "layout,fullscreen";
12022             source: "slideshow";
12023             action: STATE_SET "default" 0.0;
12024             target: "elm.swallow.1";
12025             target: "elm.swallow.2";
12026             transition: SINUSOIDAL 1.0;
12027         }
12028         program { name: "layout_not_fullscreen";
12029             signal: "layout,not_fullscreen";
12030             source: "slideshow";
12031             action: STATE_SET "not_fullscreen" 0.0;
12032             target: "elm.swallow.1";
12033             target: "elm.swallow.2";
12034             transition: SINUSOIDAL 1.0;
12035          }
12036                //
12037          program { name: "fade_next";
12038             signal: "fade,next";
12039             source: "slideshow";
12040             action: STATE_SET "default" 0.0;
12041             target: "image_1_whole";
12042             target: "image_2_whole";
12043             after: "fade_next_2";
12044          }
12045          program { name: "fade_next_2";
12046             action: STATE_SET "fade_prev_next" 0.0;
12047             target: "image_1_whole";
12048             target: "image_2_whole";
12049             transition: SINUSOIDAL 1.5;
12050             after: "end";
12051          }
12052          program { name: "fade_previous";
12053             signal: "fade,previous";
12054             source: "slideshow";
12055             action: STATE_SET "default" 0.0;
12056             target: "image_1_whole";
12057             target: "image_2_whole";
12058             after: "fade_previous_2";
12059          }
12060          program { name: "fade_previous_2";
12061             action: STATE_SET "fade_prev_next" 0.0;
12062             target: "image_1_whole";
12063             target: "image_2_whole";
12064             transition: SINUSOIDAL 1.5;
12065             after: "end";
12066          }
12067          program { name: "black_fade_next";
12068             signal: "black_fade,next";
12069             source: "slideshow";
12070             action: STATE_SET "black_fade_prev_next_init" 0.0;
12071             target: "image_1_whole";
12072             target: "image_2_whole";
12073             after: "black_fade_next_2";
12074          }
12075          program { name: "black_fade_next_2";
12076             action: STATE_SET "black_fade_prev_next" 0.0;
12077             target: "image_1_whole";
12078             transition: SINUSOIDAL 0.75;
12079             after: "black_fade_next_3";
12080          }
12081          program { name: "black_fade_next_3";
12082             action: STATE_SET "black_fade_prev_next" 0.0;
12083             target: "image_2_whole";
12084             transition: SINUSOIDAL 0.75;
12085             after: "end";
12086          }
12087          program { name: "black_fade_previous";
12088             signal: "black_fade,previous";
12089             source: "slideshow";
12090             action: STATE_SET "black_fade_prev_next_init" 0.0;
12091             target: "image_1_whole";
12092             target: "image_2_whole";
12093             after: "black_fade_previous_2";
12094          }
12095          program { name: "black_fade_previous_2";
12096             action: STATE_SET "black_fade_prev_next" 0.0;
12097             target: "image_1_whole";
12098             transition: SINUSOIDAL 0.75;
12099             after: "black_fade_previous_3";
12100          }
12101          program { name: "black_fade_previous_3";
12102             action: STATE_SET "black_fade_prev_next" 0.0;
12103             target: "image_2_whole";
12104             transition: SINUSOIDAL 0.75;
12105             after: "end";
12106          }
12107          program { name: "horizontal_next";
12108             signal: "horizontal,next";
12109             source: "slideshow";
12110             action: STATE_SET "horizontal_next_init" 0.0;
12111             target: "image_1_whole";
12112             target: "image_2_whole";
12113             after: "horizontal_next_2";
12114          }
12115          program { name: "horizontal_next_2";
12116             action: STATE_SET "horizontal_next" 0.0;
12117             target: "image_1_whole";
12118             target: "image_2_whole";
12119             transition: SINUSOIDAL 1.5;
12120             after: "end";
12121          }
12122          program { name: "horizontal_previous";
12123             signal: "horizontal,previous";
12124             source: "slideshow";
12125             action: STATE_SET "horizontal_prev_init" 0.0;
12126             target: "image_1_whole";
12127             target: "image_2_whole";
12128             after: "horizontal_previous_2";
12129          }
12130          program { name: "horizontal_previous_2";
12131             action: STATE_SET "horizontal_prev" 0.0;
12132             target: "image_1_whole";
12133             target: "image_2_whole";
12134             transition: SINUSOIDAL 1.5;
12135             after: "end";
12136          }
12137          program { name: "vertical_next";
12138             signal: "vertical,next";
12139             source: "slideshow";
12140             action: STATE_SET "vertical_next_init" 0.0;
12141             target: "image_1_whole";
12142             target: "image_2_whole";
12143             after: "vertical_next_2";
12144          }
12145          program { name: "vertical_next_2";
12146             action: STATE_SET "vertical_next" 0.0;
12147             target: "image_1_whole";
12148             target: "image_2_whole";
12149             transition: SINUSOIDAL 1.5;
12150             after: "end";
12151          }
12152          program { name: "vertical_previous";
12153             signal: "vertical,previous";
12154             source: "slideshow";
12155             action: STATE_SET "vertical_prev_init" 0.0;
12156             target: "image_1_whole";
12157             target: "image_2_whole";
12158             after: "vertical_previous_2";
12159          }
12160          program { name: "vertical_previous_2";
12161             action: STATE_SET "vertical_prev" 0.0;
12162             target: "image_1_whole";
12163             target: "image_2_whole";
12164             transition: SINUSOIDAL 1.5;
12165             after: "end";
12166          }
12167          program { name: "square_next";
12168             signal: "square,next";
12169             source: "slideshow";
12170             action: STATE_SET "square_prev_next_init" 0.0;
12171             target: "image_2_whole";
12172             after: "square_next_2";
12173          }
12174          program { name: "square_next_2";
12175             action: STATE_SET "square_prev_next" 0.0;
12176             target: "image_2_whole";
12177             target: "image_1_whole";
12178             transition: SINUSOIDAL 1.5;
12179             after: "end";
12180          }
12181          program { name: "square_previous";
12182             signal: "square,previous";
12183             source: "slideshow";
12184             action: STATE_SET "square_prev_next_init" 0.0;
12185             target: "image_2_whole";
12186             after: "square_next_2";
12187          }
12188          program { name: "end";
12189             action: SIGNAL_EMIT "end" "slideshow";
12190          }
12191          program { name: "end_signal";
12192             signal: "anim,end";
12193             source: "slideshow";
12194             action: STATE_SET "default" 0.0;
12195             target: "image_1_whole";
12196             target: "image_2_whole";
12197          }
12198       }
12199    }
12200
12201 ///////////////////////////////////////////////////////////////////////////////
12202    group { name: "elm/win/inwin/default";
12203       images {
12204          image: "shad_circ.png" COMP;
12205          image: "bt_dis_base.png" COMP;
12206          image: "bt_dis_hilight.png" COMP;
12207       }
12208       parts {
12209          part { name: "base";
12210             type: RECT;
12211             mouse_events: 1;
12212             description { state: "default" 0.0;
12213                color: 0 0 0 0;
12214             }
12215             description { state: "visible" 0.0;
12216                inherit: "default" 1.0;
12217                color: 0 0 0 64;
12218             }
12219          }
12220          part { name: "shad";
12221             mouse_events:  0;
12222             description { state: "default" 0.0;
12223                image.normal: "shad_circ.png";
12224                rel1.to: "elm.swallow.content";
12225                rel1.offset: -64 -64;
12226                rel2.to: "elm.swallow.content";
12227                rel2.offset: 63 63;
12228                fill.smooth: 0;
12229             }
12230          }
12231          part { name: "pop";
12232             mouse_events: 1;
12233             description { state: "default" 0.0;
12234                rel1.to: "elm.swallow.content";
12235                rel1.offset: -5 -5;
12236                rel2.to: "elm.swallow.content";
12237                rel2.offset: 4 4;
12238                image {
12239                   normal: "bt_dis_base.png";
12240                   border: 4 4 4 4;
12241                }
12242                image.middle: SOLID;
12243             }
12244          }
12245          part { name: "popover";
12246             mouse_events: 0;
12247             description { state: "default" 0.0;
12248                rel1.to: "pop";
12249                rel2.to: "pop";
12250                rel2.relative: 1.0 0.5;
12251                image {
12252                   normal: "bt_dis_hilight.png";
12253                   border: 4 4 4 0;
12254                }
12255             }
12256          }
12257          part { name: "elm.swallow.content";
12258             type: SWALLOW;
12259             description { state: "default" 0.0;
12260                rel1.relative: 0.1 0.1;
12261                rel2.relative: 0.9 0.9;
12262             }
12263          }
12264       }
12265       programs {
12266          program { name: "show";
12267             signal: "elm,action,show";
12268             source: "elm";
12269             action: STATE_SET "visible" 0.0;
12270 //            transition: DECELERATE 0.5;
12271             target: "base";
12272          }
12273          program { name: "hide";
12274             signal: "elm,action,hide";
12275             source: "elm";
12276             action: STATE_SET "default" 0.0;
12277 //            transition: DECELERATE 0.5;
12278             target: "base";
12279          }
12280       }
12281    }
12282
12283    group { name: "elm/win/inwin/minimal";
12284       images {
12285          image: "shad_circ.png" COMP;
12286          image: "bt_dis_base.png" COMP;
12287          image: "bt_dis_hilight.png" COMP;
12288       }
12289       parts {
12290          part { name: "base";
12291             type: RECT;
12292             mouse_events: 1;
12293             description { state: "default" 0.0;
12294                color: 0 0 0 0;
12295             }
12296             description { state: "visible" 0.0;
12297                inherit: "default" 1.0;
12298                color: 0 0 0 64;
12299             }
12300          }
12301          part { name: "shad";
12302             mouse_events:  0;
12303             description { state: "default" 0.0;
12304                image.normal: "shad_circ.png";
12305                rel1.to: "elm.swallow.content";
12306                rel1.offset: -64 -64;
12307                rel2.to: "elm.swallow.content";
12308                rel2.offset: 63 63;
12309                fill.smooth: 0;
12310             }
12311          }
12312          part { name: "pop";
12313             mouse_events: 1;
12314             description { state: "default" 0.0;
12315                rel1.to: "elm.swallow.content";
12316                rel1.offset: -5 -5;
12317                rel2.to: "elm.swallow.content";
12318                rel2.offset: 4 4;
12319                image {
12320                   normal: "bt_dis_base.png";
12321                   border: 4 4 4 4;
12322                }
12323                image.middle: SOLID;
12324             }
12325          }
12326          part { name: "popover";
12327             mouse_events: 0;
12328             description { state: "default" 0.0;
12329                rel1.to: "pop";
12330                rel2.to: "pop";
12331                rel2.relative: 1.0 0.5;
12332                image {
12333                   normal: "bt_dis_hilight.png";
12334                   border: 4 4 4 0;
12335                }
12336             }
12337          }
12338          part { name: "elm.swallow.content";
12339             type: SWALLOW;
12340             description { state: "default" 0.0;
12341                fixed: 1 1;
12342                rel1.relative: 0.5 0.5;
12343                rel2.relative: 0.5 0.5;
12344             }
12345          }
12346       }
12347       programs {
12348          program { name: "show";
12349             signal: "elm,action,show";
12350             source: "elm";
12351             action: STATE_SET "visible" 0.0;
12352 //            transition: DECELERATE 0.5;
12353             target: "base";
12354          }
12355          program { name: "hide";
12356             signal: "elm,action,hide";
12357             source: "elm";
12358             action: STATE_SET "default" 0.0;
12359 //            transition: DECELERATE 0.5;
12360             target: "base";
12361          }
12362       }
12363    }
12364
12365    group { name: "elm/win/inwin/minimal_vertical";
12366       images {
12367          image: "shad_circ.png" COMP;
12368          image: "bt_dis_base.png" COMP;
12369          image: "bt_dis_hilight.png" COMP;
12370       }
12371       parts {
12372          part { name: "base";
12373             type: RECT;
12374             mouse_events: 1;
12375             description { state: "default" 0.0;
12376                color: 0 0 0 0;
12377             }
12378             description { state: "visible" 0.0;
12379                inherit: "default" 1.0;
12380                color: 0 0 0 64;
12381             }
12382          }
12383          part { name: "shad";
12384             mouse_events:  0;
12385             description { state: "default" 0.0;
12386                image.normal: "shad_circ.png";
12387                rel1.to: "elm.swallow.content";
12388                rel1.offset: -64 -64;
12389                rel2.to: "elm.swallow.content";
12390                rel2.offset: 63 63;
12391                fill.smooth: 0;
12392             }
12393          }
12394          part { name: "pop";
12395             mouse_events: 1;
12396             description { state: "default" 0.0;
12397                rel1.to: "elm.swallow.content";
12398                rel1.offset: -5 -5;
12399                rel2.to: "elm.swallow.content";
12400                rel2.offset: 4 4;
12401                image {
12402                   normal: "bt_dis_base.png";
12403                   border: 4 4 4 4;
12404                }
12405                image.middle: SOLID;
12406             }
12407          }
12408          part { name: "popover";
12409             mouse_events: 0;
12410             description { state: "default" 0.0;
12411                rel1.to: "pop";
12412                rel2.to: "pop";
12413                rel2.relative: 1.0 0.5;
12414                image {
12415                   normal: "bt_dis_hilight.png";
12416                   border: 4 4 4 0;
12417                }
12418             }
12419          }
12420          part { name: "elm.swallow.content";
12421             type: SWALLOW;
12422             description { state: "default" 0.0;
12423                fixed: 1 1;
12424                rel1.relative: 0.1 0.5;
12425                rel2.relative: 0.9 0.5;
12426             }
12427          }
12428       }
12429       programs {
12430          program { name: "show";
12431             signal: "elm,action,show";
12432             source: "elm";
12433             action: STATE_SET "visible" 0.0;
12434 //            transition: DECELERATE 0.5;
12435             target: "base";
12436          }
12437          program { name: "hide";
12438             signal: "elm,action,hide";
12439             source: "elm";
12440             action: STATE_SET "default" 0.0;
12441 //            transition: DECELERATE 0.5;
12442             target: "base";
12443          }
12444       }
12445    }
12446
12447 ///////////////////////////////////////////////////////////////////////////////
12448
12449 ///////////////////////////////////////////////////////////////////////////////
12450    group { name: "elm/list/item/default";
12451       data.item: "stacking" "above";
12452       images {
12453          image: "bt_sm_base1.png" COMP;
12454          image: "bt_sm_shine.png" COMP;
12455          image: "bt_sm_hilight.png" COMP;
12456          image: "ilist_1.png" COMP;
12457          image: "ilist_item_shadow.png" COMP;
12458       }
12459       parts {
12460          part {
12461             name:           "event";
12462             type:           RECT;
12463             repeat_events: 1;
12464             description {
12465                state: "default" 0.0;
12466                color: 0 0 0 0;
12467             }
12468          }
12469          part {
12470             name: "base_sh";
12471             mouse_events: 0;
12472             description {
12473                state: "default" 0.0;
12474                align: 0.0 0.0;
12475                min: 0 10;
12476                fixed: 1 1;
12477                rel1 {
12478                   to: "base";
12479                   relative: 0.0 1.0;
12480                   offset: 0 0;
12481                }
12482                rel2 {
12483                   to: "base";
12484                   relative: 1.0 1.0;
12485                   offset: -1 0;
12486                }
12487                image {
12488                   normal: "ilist_item_shadow.png";
12489                }
12490                fill.smooth: 0;
12491             }
12492          }
12493          part {
12494             name: "base";
12495             mouse_events: 0;
12496             description {
12497                state: "default" 0.0;
12498                image {
12499                   normal: "ilist_1.png";
12500                   border: 2 2 2 2;
12501                }
12502                fill.smooth: 0;
12503             }
12504          }
12505          part { name: "bg";
12506             mouse_events: 0;
12507             description { state: "default" 0.0;
12508                visible: 0;
12509                color: 255 255 255 0;
12510                rel1 {
12511                   relative: 0.0 0.0;
12512                   offset: -5 -5;
12513                }
12514                rel2 {
12515                   relative: 1.0 1.0;
12516                   offset: 4 4;
12517                }
12518                image {
12519                   normal: "bt_sm_base1.png";
12520                   border: 6 6 6 6;
12521                }
12522                image.middle: SOLID;
12523             }
12524             description { state: "selected" 0.0;
12525                inherit: "default" 0.0;
12526                visible: 1;
12527                color: 255 255 255 255;
12528                rel1 {
12529                   relative: 0.0 0.0;
12530                   offset: -2 -2;
12531                }
12532                rel2 {
12533                   relative: 1.0 1.0;
12534                   offset: 1 1;
12535                }
12536             }
12537          }
12538          part { name: "elm.swallow.icon";
12539             type: SWALLOW;
12540             description { state: "default" 0.0;
12541                fixed: 1 0;
12542                align: 0.0 0.5;
12543                rel1 {
12544                   relative: 0.0  0.0;
12545                   offset:   4    4;
12546                }
12547                rel2 {
12548                   relative: 0.0  1.0;
12549                   offset:   4   -5;
12550                }
12551             }
12552          }
12553          part { name: "elm.swallow.end";
12554             type: SWALLOW;
12555             description { state: "default" 0.0;
12556                fixed: 1 0;
12557                align: 1.0 0.5;
12558                rel1 {
12559                   relative: 1.0  0.0;
12560                   offset:   -5    4;
12561                }
12562                rel2 {
12563                   relative: 1.0  1.0;
12564                   offset:   -5   -5;
12565                }
12566             }
12567          }
12568          part { name: "elm.text";
12569             type:           TEXT;
12570             effect:         SOFT_SHADOW;
12571             mouse_events:   0;
12572             scale: 1;
12573             description {
12574                state: "default" 0.0;
12575 //               min: 16 16;
12576                rel1 {
12577                   to_x:     "elm.swallow.icon";
12578                   relative: 1.0  0.0;
12579                   offset:   4 4;
12580                }
12581                rel2 {
12582                   to_x:     "elm.swallow.end";
12583                   relative: 0.0  1.0;
12584                   offset:   -1 -5;
12585                }
12586                color: 0 0 0 255;
12587                color3: 0 0 0 0;
12588                text {
12589                   font: "Sans";
12590                   size: 10;
12591                   min: 1 1;
12592 //                  min: 0 1;
12593                   align: -1.0 0.5;
12594                   text_class: "list_item";
12595                }
12596             }
12597             description { state: "selected" 0.0;
12598                inherit: "default" 0.0;
12599                color: 224 224 224 255;
12600                color3: 0 0 0 64;
12601             }
12602          }
12603          part { name: "fg1";
12604             mouse_events: 0;
12605             description { state: "default" 0.0;
12606                visible: 0;
12607                color: 255 255 255 0;
12608                rel1.to: "bg";
12609                rel2.relative: 1.0 0.5;
12610                rel2.to: "bg";
12611                image {
12612                   normal: "bt_sm_hilight.png";
12613                   border: 6 6 6 0;
12614                }
12615             }
12616             description { state: "selected" 0.0;
12617                inherit: "default" 0.0;
12618                visible: 1;
12619                color: 255 255 255 255;
12620             }
12621          }
12622          part { name: "fg2";
12623             mouse_events: 0;
12624             description { state: "default" 0.0;
12625                visible: 0;
12626                color: 255 255 255 0;
12627                rel1.to: "bg";
12628                rel2.to: "bg";
12629                image {
12630                   normal: "bt_sm_shine.png";
12631                   border: 6 6 6 0;
12632                }
12633             }
12634             description { state: "selected" 0.0;
12635                inherit: "default" 0.0;
12636                visible: 1;
12637                color: 255 255 255 255;
12638             }
12639          }
12640       }
12641       programs {
12642          program {
12643             name:    "go_active";
12644             signal:  "elm,state,selected";
12645             source:  "elm";
12646             action:  STATE_SET "selected" 0.0;
12647             target:  "bg";
12648             target:  "fg1";
12649             target:  "fg2";
12650             target:  "elm.text";
12651          }
12652          program {
12653             name:    "go_passive";
12654             signal:  "elm,state,unselected";
12655             source:  "elm";
12656             action:  STATE_SET "default" 0.0;
12657             target:  "bg";
12658             target:  "fg1";
12659             target:  "fg2";
12660             target:  "elm.text";
12661             transition: LINEAR 0.1;
12662          }
12663       }
12664    }
12665    group { name: "elm/list/item_odd/default";
12666       data.item: "stacking" "below";
12667       data.item: "selectraise" "on";
12668       images {
12669          image: "bt_sm_base1.png" COMP;
12670          image: "bt_sm_shine.png" COMP;
12671          image: "bt_sm_hilight.png" COMP;
12672          image: "ilist_2.png" COMP;
12673       }
12674       parts {
12675          part {
12676             name:           "event";
12677             type:           RECT;
12678             repeat_events: 1;
12679             description {
12680                state: "default" 0.0;
12681                color: 0 0 0 0;
12682             }
12683          }
12684          part {
12685             name: "base";
12686             mouse_events: 0;
12687             description {
12688                state: "default" 0.0;
12689                image {
12690                   normal: "ilist_2.png";
12691                   border: 2 2 2 2;
12692                }
12693                fill.smooth: 0;
12694             }
12695          }
12696          part { name: "bg";
12697             mouse_events: 0;
12698             description { state: "default" 0.0;
12699                visible: 0;
12700                color: 255 255 255 0;
12701                rel1 {
12702                   relative: 0.0 0.0;
12703                   offset: -5 -5;
12704                }
12705                rel2 {
12706                   relative: 1.0 1.0;
12707                   offset: 4 4;
12708                }
12709                image {
12710                   normal: "bt_sm_base1.png";
12711                   border: 6 6 6 6;
12712                }
12713                image.middle: SOLID;
12714             }
12715             description { state: "selected" 0.0;
12716                inherit: "default" 0.0;
12717                visible: 1;
12718                color: 255 255 255 255;
12719                rel1 {
12720                   relative: 0.0 0.0;
12721                   offset: -2 -2;
12722                }
12723                rel2 {
12724                   relative: 1.0 1.0;
12725                   offset: 1 1;
12726                }
12727             }
12728          }
12729          part {
12730             name:          "elm.swallow.icon";
12731             type:          SWALLOW;
12732             description { state:    "default" 0.0;
12733                fixed: 1 0;
12734                align:    0.0 0.5;
12735                rel1 {
12736                   relative: 0.0  0.0;
12737                   offset:   4    4;
12738                }
12739                rel2 {
12740                   relative: 0.0  1.0;
12741                   offset:   4   -5;
12742                }
12743             }
12744          }
12745          part {
12746             name:          "elm.swallow.end";
12747             type:          SWALLOW;
12748             description { state:    "default" 0.0;
12749                fixed: 1 0;
12750                align: 1.0 0.5;
12751                rel1 {
12752                   relative: 1.0  0.0;
12753                   offset:   -5    4;
12754                }
12755                rel2 {
12756                   relative: 1.0  1.0;
12757                   offset:   -5   -5;
12758                }
12759             }
12760          }
12761          part {
12762             name:           "elm.text";
12763             type:           TEXT;
12764             effect:         SOFT_SHADOW;
12765             mouse_events:   0;
12766             scale: 1;
12767             description {
12768                state: "default" 0.0;
12769 //               min:      16 16;
12770                rel1 {
12771                   to_x:     "elm.swallow.icon";
12772                   relative: 1.0  0.0;
12773                   offset:   4 4;
12774                }
12775                rel2 {
12776                   to_x:     "elm.swallow.end";
12777                   relative: 0.0  1.0;
12778                   offset:   -1 -5;
12779                }
12780                color: 0 0 0 255;
12781                color3: 0 0 0 0;
12782                text {
12783                   font: "Sans";
12784                   size: 10;
12785                   min: 1 1;
12786 //                  min: 0 1;
12787                   align: -1.0 0.5;
12788                   text_class: "list_item";
12789                }
12790             }
12791             description { state: "selected" 0.0;
12792                inherit: "default" 0.0;
12793                color: 224 224 224 255;
12794                color3: 0 0 0 64;
12795             }
12796          }
12797          part { name: "fg1";
12798             mouse_events: 0;
12799             description { state: "default" 0.0;
12800                visible: 0;
12801                color: 255 255 255 0;
12802                rel1.to: "bg";
12803                rel2.relative: 1.0 0.5;
12804                rel2.to: "bg";
12805                image {
12806                   normal: "bt_sm_hilight.png";
12807                   border: 6 6 6 0;
12808                }
12809             }
12810             description { state: "selected" 0.0;
12811                inherit: "default" 0.0;
12812                visible: 1;
12813                color: 255 255 255 255;
12814             }
12815          }
12816          part { name: "fg2";
12817             mouse_events: 0;
12818             description { state: "default" 0.0;
12819                visible: 0;
12820                color: 255 255 255 0;
12821                rel1.to: "bg";
12822                rel2.to: "bg";
12823                image {
12824                   normal: "bt_sm_shine.png";
12825                   border: 6 6 6 0;
12826                }
12827             }
12828             description { state: "selected" 0.0;
12829                inherit: "default" 0.0;
12830                visible: 1;
12831                color: 255 255 255 255;
12832             }
12833          }
12834       }
12835       programs {
12836          program {
12837             name:    "go_active";
12838             signal:  "elm,state,selected";
12839             source:  "elm";
12840             action:  STATE_SET "selected" 0.0;
12841             target:  "bg";
12842             target:  "fg1";
12843             target:  "fg2";
12844             target:  "elm.text";
12845          }
12846          program {
12847             name:    "go_passive";
12848             signal:  "elm,state,unselected";
12849             source:  "elm";
12850             action:  STATE_SET "default" 0.0;
12851             target:  "bg";
12852             target:  "fg1";
12853             target:  "fg2";
12854             target:  "elm.text";
12855             transition: LINEAR 0.1;
12856          }
12857       }
12858    }
12859    group { name: "elm/list/item_compress/default";
12860       data.item: "stacking" "above";
12861       data.item: "selectraise" "on";
12862       images {
12863          image: "bt_sm_base1.png" COMP;
12864          image: "bt_sm_shine.png" COMP;
12865          image: "bt_sm_hilight.png" COMP;
12866          image: "ilist_1.png" COMP;
12867          image: "ilist_item_shadow.png" COMP;
12868       }
12869       parts {
12870          part {
12871             name:           "event";
12872             type:           RECT;
12873             repeat_events: 1;
12874             description {
12875                state: "default" 0.0;
12876                color: 0 0 0 0;
12877             }
12878          }
12879          part {
12880             name: "base_sh";
12881             mouse_events: 0;
12882             description { state: "default" 0.0;
12883                fixed: 1 1;
12884                align: 0.0 0.0;
12885                min: 0 10;
12886                rel1 {
12887                   to: "base";
12888                   relative: 0.0 1.0;
12889                   offset: 0 0;
12890                }
12891                rel2 {
12892                   to: "base";
12893                   relative: 1.0 1.0;
12894                   offset: -1 0;
12895                }
12896                image {
12897                   normal: "ilist_item_shadow.png";
12898                }
12899                fill.smooth: 0;
12900             }
12901          }
12902          part {
12903             name: "base";
12904             mouse_events: 0;
12905             description {
12906                state: "default" 0.0;
12907                image {
12908                   normal: "ilist_1.png";
12909                   border: 2 2 2 2;
12910                }
12911                fill.smooth: 0;
12912             }
12913          }
12914          part { name: "bg";
12915             mouse_events: 0;
12916             description { state: "default" 0.0;
12917                visible: 0;
12918                color: 255 255 255 0;
12919                rel1 {
12920                   relative: 0.0 0.0;
12921                   offset: -5 -5;
12922                }
12923                rel2 {
12924                   relative: 1.0 1.0;
12925                   offset: 4 4;
12926                }
12927                image {
12928                   normal: "bt_sm_base1.png";
12929                   border: 6 6 6 6;
12930                }
12931                image.middle: SOLID;
12932             }
12933             description { state: "selected" 0.0;
12934                inherit: "default" 0.0;
12935                visible: 1;
12936                color: 255 255 255 255;
12937                rel1 {
12938                   relative: 0.0 0.0;
12939                   offset: -2 -2;
12940                }
12941                rel2 {
12942                   relative: 1.0 1.0;
12943                   offset: 1 1;
12944                }
12945             }
12946          }
12947          part { name:          "elm.swallow.icon";
12948             type:          SWALLOW;
12949             description { state:    "default" 0.0;
12950                fixed: 1 0;
12951                align:    0.0 0.5;
12952                rel1 {
12953                   relative: 0.0  0.0;
12954                   offset:   4    4;
12955                }
12956                rel2 {
12957                   relative: 0.0  1.0;
12958                   offset:   4   -5;
12959                }
12960             }
12961          }
12962          part { name:          "elm.swallow.end";
12963             type:          SWALLOW;
12964             description { state:    "default" 0.0;
12965                fixed: 1 0;
12966                align:    1.0 0.5;
12967                rel1 {
12968                   relative: 1.0  0.0;
12969                   offset:   -5    4;
12970                }
12971                rel2 {
12972                   relative: 1.0  1.0;
12973                   offset:   -5   -5;
12974                }
12975             }
12976          }
12977          part {
12978             name:           "elm.text";
12979             type:           TEXT;
12980             effect:         SOFT_SHADOW;
12981             mouse_events:   0;
12982             scale: 1;
12983             description { state: "default" 0.0;
12984 //               min:      16 16;
12985                rel1 {
12986                   to_x:     "elm.swallow.icon";
12987                   relative: 1.0  0.0;
12988                   offset:   4 4;
12989                }
12990                rel2 {
12991                   to_x:     "elm.swallow.end";
12992                   relative: 0.0  1.0;
12993                   offset:   -1 -5;
12994                }
12995                color: 0 0 0 255;
12996                color3: 0 0 0 0;
12997                text {
12998                   font: "Sans";
12999                   size: 10;
13000 //                  min: 1 1;
13001                   min: 0 1;
13002                   align: 0.0 0.5;
13003                   text_class: "list_item";
13004                }
13005             }
13006             description { state: "selected" 0.0;
13007                inherit: "default" 0.0;
13008                color: 224 224 224 255;
13009                color3: 0 0 0 64;
13010             }
13011          }
13012          part { name: "fg1";
13013             mouse_events: 0;
13014             description { state: "default" 0.0;
13015                visible: 0;
13016                color: 255 255 255 0;
13017                rel1.to: "bg";
13018                rel2.relative: 1.0 0.5;
13019                rel2.to: "bg";
13020                image {
13021                   normal: "bt_sm_hilight.png";
13022                   border: 6 6 6 0;
13023                }
13024             }
13025             description { state: "selected" 0.0;
13026                inherit: "default" 0.0;
13027                visible: 1;
13028                color: 255 255 255 255;
13029             }
13030          }
13031          part { name: "fg2";
13032             mouse_events: 0;
13033             description { state: "default" 0.0;
13034                visible: 0;
13035                color: 255 255 255 0;
13036                rel1.to: "bg";
13037                rel2.to: "bg";
13038                image {
13039                   normal: "bt_sm_shine.png";
13040                   border: 6 6 6 0;
13041                }
13042             }
13043             description { state: "selected" 0.0;
13044                inherit: "default" 0.0;
13045                visible: 1;
13046                color: 255 255 255 255;
13047             }
13048          }
13049       }
13050       programs {
13051          program {
13052             name:    "go_active";
13053             signal:  "elm,state,selected";
13054             source:  "elm";
13055             action:  STATE_SET "selected" 0.0;
13056             target:  "bg";
13057             target:  "fg1";
13058             target:  "fg2";
13059             target:  "elm.text";
13060          }
13061          program {
13062             name:    "go_passive";
13063             signal:  "elm,state,unselected";
13064             source:  "elm";
13065             action:  STATE_SET "default" 0.0;
13066             target:  "bg";
13067             target:  "fg1";
13068             target:  "fg2";
13069             target:  "elm.text";
13070             transition: LINEAR 0.1;
13071          }
13072       }
13073    }
13074    group { name: "elm/list/item_compress_odd/default";
13075       data.item: "stacking" "below";
13076       data.item: "selectraise" "on";
13077       images {
13078          image: "bt_sm_base1.png" COMP;
13079          image: "bt_sm_shine.png" COMP;
13080          image: "bt_sm_hilight.png" COMP;
13081          image: "ilist_2.png" COMP;
13082       }
13083       parts {
13084          part {
13085             name:           "event";
13086             type:           RECT;
13087             repeat_events: 1;
13088             description {
13089                state: "default" 0.0;
13090                color: 0 0 0 0;
13091             }
13092          }
13093          part {
13094             name: "base";
13095             mouse_events: 0;
13096             description {
13097                state: "default" 0.0;
13098                image {
13099                   normal: "ilist_2.png";
13100                   border: 2 2 2 2;
13101                }
13102                fill.smooth: 0;
13103             }
13104          }
13105          part { name: "bg";
13106             mouse_events: 0;
13107             description { state: "default" 0.0;
13108                visible: 0;
13109                color: 255 255 255 0;
13110                rel1 {
13111                   relative: 0.0 0.0;
13112                   offset: -5 -5;
13113                }
13114                rel2 {
13115                   relative: 1.0 1.0;
13116                   offset: 4 4;
13117                }
13118                image {
13119                   normal: "bt_sm_base1.png";
13120                   border: 6 6 6 6;
13121                }
13122                image.middle: SOLID;
13123             }
13124             description { state: "selected" 0.0;
13125                inherit: "default" 0.0;
13126                visible: 1;
13127                color: 255 255 255 255;
13128                rel1 {
13129                   relative: 0.0 0.0;
13130                   offset: -2 -2;
13131                }
13132                rel2 {
13133                   relative: 1.0 1.0;
13134                   offset: 1 1;
13135                }
13136             }
13137          }
13138          part { name:          "elm.swallow.icon";
13139             type:          SWALLOW;
13140             description { state:    "default" 0.0;
13141                fixed: 1 0;
13142                align:    0.0 0.5;
13143                rel1 {
13144                   relative: 0.0  0.0;
13145                   offset:   4    4;
13146                }
13147                rel2 {
13148                   relative: 0.0  1.0;
13149                   offset:   4   -5;
13150                }
13151             }
13152          }
13153          part { name:          "elm.swallow.end";
13154             type:          SWALLOW;
13155             description { state:    "default" 0.0;
13156                fixed: 1 0;
13157                align:    1.0 0.5;
13158                rel1 {
13159                   relative: 1.0  0.0;
13160                   offset:   -5    4;
13161                }
13162                rel2 {
13163                   relative: 1.0  1.0;
13164                   offset:   -5   -5;
13165                }
13166             }
13167          }
13168          part {
13169             name:           "elm.text";
13170             type:           TEXT;
13171             effect:         SOFT_SHADOW;
13172             mouse_events:   0;
13173             scale: 1;
13174             description {
13175                state: "default" 0.0;
13176 //               min:      16 16;
13177                rel1 {
13178                   to_x:     "elm.swallow.icon";
13179                   relative: 1.0  0.0;
13180                   offset:   4 4;
13181                }
13182                rel2 {
13183                   to_x:     "elm.swallow.end";
13184                   relative: 0.0  1.0;
13185                   offset:   -1 -5;
13186                }
13187                color: 0 0 0 255;
13188                color3: 0 0 0 0;
13189                text {
13190                   font: "Sans";
13191                   size: 10;
13192 //                  min: 1 1;
13193                   min: 0 1;
13194                   align: 0.0 0.5;
13195                   text_class: "list_item";
13196                }
13197             }
13198             description { state: "selected" 0.0;
13199                inherit: "default" 0.0;
13200                color: 224 224 224 255;
13201                color3: 0 0 0 64;
13202             }
13203          }
13204          part { name: "fg1";
13205             mouse_events: 0;
13206             description { state: "default" 0.0;
13207                visible: 0;
13208                color: 255 255 255 0;
13209                rel1.to: "bg";
13210                rel2.relative: 1.0 0.5;
13211                rel2.to: "bg";
13212                image {
13213                   normal: "bt_sm_hilight.png";
13214                   border: 6 6 6 0;
13215                }
13216             }
13217             description { state: "selected" 0.0;
13218                inherit: "default" 0.0;
13219                visible: 1;
13220                color: 255 255 255 255;
13221             }
13222          }
13223          part { name: "fg2";
13224             mouse_events: 0;
13225             description { state: "default" 0.0;
13226                visible: 0;
13227                color: 255 255 255 0;
13228                rel1.to: "bg";
13229                rel2.to: "bg";
13230                image {
13231                   normal: "bt_sm_shine.png";
13232                   border: 6 6 6 0;
13233                }
13234             }
13235             description { state: "selected" 0.0;
13236                inherit: "default" 0.0;
13237                visible: 1;
13238                color: 255 255 255 255;
13239             }
13240          }
13241       }
13242       programs {
13243          program {
13244             name:    "go_active";
13245             signal:  "elm,state,selected";
13246             source:  "elm";
13247             action:  STATE_SET "selected" 0.0;
13248             target:  "bg";
13249             target:  "fg1";
13250             target:  "fg2";
13251             target:  "elm.text";
13252          }
13253          program {
13254             name:    "go_passive";
13255             signal:  "elm,state,unselected";
13256             source:  "elm";
13257             action:  STATE_SET "default" 0.0;
13258             target:  "bg";
13259             target:  "fg1";
13260             target:  "fg2";
13261             target:  "elm.text";
13262             transition: LINEAR 0.1;
13263          }
13264       }
13265    }
13266
13267 ///////////////////////////////////////////////////////////////////////////////
13268    group { name: "elm/list/h_item/default";
13269       data.item: "stacking" "above";
13270       images {
13271          image: "bt_sm_base1.png" COMP;
13272          image: "bt_sm_shine.png" COMP;
13273          image: "bt_sm_hilight.png" COMP;
13274          image: "ilist_1_h.png" COMP;
13275          image: "ilist_item_shadow_h.png" COMP;
13276       }
13277       parts {
13278          part {
13279             name: "event";
13280             type: RECT;
13281             repeat_events: 1;
13282             description {
13283                state: "default" 0.0;
13284                color: 0 0 0 0;
13285             }
13286          }
13287          part {
13288             name: "base_sh";
13289             mouse_events: 0;
13290             description {
13291                state: "default" 0.0;
13292                align: 0.0 0.0;
13293                min: 10 0;
13294                fixed: 1 1;
13295                rel1 {
13296                   to: "base";
13297                   relative: 1.0 0.0;
13298                   offset: 0 0;
13299                }
13300                rel2 {
13301                   to: "base";
13302                   relative: 1.0 1.0;
13303                   offset: 0 -1;
13304                }
13305                image {
13306                   normal: "ilist_item_shadow_h.png";
13307                }
13308                fill.smooth: 0;
13309             }
13310          }
13311          part {
13312             name: "base";
13313             mouse_events: 0;
13314             description {
13315                state: "default" 0.0;
13316                image {
13317                   normal: "ilist_1_h.png";
13318                   border: 2 2 2 2;
13319                }
13320                fill.smooth: 0;
13321             }
13322          }
13323          part { name: "bg";
13324             mouse_events: 0;
13325             description { state: "default" 0.0;
13326                visible: 0;
13327                color: 255 255 255 0;
13328                rel1 {
13329                   relative: 0.0 0.0;
13330                   offset: -5 -5;
13331                }
13332                rel2 {
13333                   relative: 1.0 1.0;
13334                   offset: 4 4;
13335                }
13336                image {
13337                   normal: "bt_sm_base1.png";
13338                   border: 6 6 6 6;
13339                }
13340                image.middle: SOLID;
13341             }
13342             description { state: "selected" 0.0;
13343                inherit: "default" 0.0;
13344                visible: 1;
13345                color: 255 255 255 255;
13346                rel1 {
13347                   relative: 0.0 0.0;
13348                   offset: -2 -2;
13349                }
13350                rel2 {
13351                   relative: 1.0 1.0;
13352                   offset: 1 1;
13353                }
13354             }
13355          }
13356          part { name: "elm.swallow.icon";
13357             type: SWALLOW;
13358             description { state: "default" 0.0;
13359                fixed: 0 1;
13360                align: 0.5 0.0;
13361                rel1 {
13362                   relative: 0.0 0.0;
13363                   offset: 4 4;
13364                }
13365                rel2 {
13366                   relative: 1.0 0.0;
13367                   offset: -5 4;
13368                }
13369             }
13370          }
13371          part { name: "elm.swallow.end";
13372             type: SWALLOW;
13373             description { state: "default" 0.0;
13374                fixed: 0 1;
13375                align: 0.5 1.0;
13376                rel1 {
13377                   relative: 0.0 1.0;
13378                   offset: 4 -5;
13379                }
13380                rel2 {
13381                   relative: 1.0 1.0;
13382                   offset: -5 -5;
13383                }
13384             }
13385          }
13386          part { name: "elm.text";
13387             type: TEXT;
13388             effect: SOFT_SHADOW;
13389             mouse_events: 0;
13390             scale: 1;
13391             description {
13392                state: "default" 0.0;
13393                fixed: 0 1;
13394                rel1 {
13395                   to_x: "elm.swallow.icon";
13396                   relative: 0.0 1.0;
13397                   offset: 4 4;
13398                }
13399                rel2 {
13400                   to_x: "elm.swallow.end";
13401                   relative: 1.0 0.0;
13402                   offset: -5 -1;
13403                }
13404                color: 0 0 0 255;
13405                color3: 0 0 0 0;
13406                text {
13407                   font: "Sans";
13408                   size: 10;
13409                   min: 1 1;
13410                   align: 0.5 0.5;
13411                   text_class: "list_item";
13412                }
13413             }
13414             description { state: "selected" 0.0;
13415                inherit: "default" 0.0;
13416                color: 224 224 224 255;
13417                color3: 0 0 0 64;
13418             }
13419          }
13420          part { name: "fg1";
13421             mouse_events: 0;
13422             description { state: "default" 0.0;
13423                visible: 0;
13424                color: 255 255 255 0;
13425                rel1.to: "bg";
13426                rel2.relative: 1.0 0.5;
13427                rel2.to: "bg";
13428                image {
13429                   normal: "bt_sm_hilight.png";
13430                   border: 6 6 6 0;
13431                }
13432             }
13433             description { state: "selected" 0.0;
13434                inherit: "default" 0.0;
13435                visible: 1;
13436                color: 255 255 255 255;
13437             }
13438          }
13439          part { name: "fg2";
13440             mouse_events: 0;
13441             description { state: "default" 0.0;
13442                visible: 0;
13443                color: 255 255 255 0;
13444                rel1.to: "bg";
13445                rel2.to: "bg";
13446                image {
13447                   normal: "bt_sm_shine.png";
13448                   border: 6 6 6 0;
13449                }
13450             }
13451             description { state: "selected" 0.0;
13452                inherit: "default" 0.0;
13453                visible: 1;
13454                color: 255 255 255 255;
13455             }
13456          }
13457       }
13458       programs {
13459          program {
13460             name: "go_active";
13461             signal: "elm,state,selected";
13462             source: "elm";
13463             action: STATE_SET "selected" 0.0;
13464             target: "bg";
13465             target: "fg1";
13466             target: "fg2";
13467             target: "elm.text";
13468          }
13469          program {
13470             name: "go_passive";
13471             signal: "elm,state,unselected";
13472             source: "elm";
13473             action: STATE_SET "default" 0.0;
13474             target: "bg";
13475             target: "fg1";
13476             target: "fg2";
13477             target: "elm.text";
13478             transition: LINEAR 0.1;
13479          }
13480       }
13481    }
13482    group { name: "elm/list/h_item_odd/default";
13483       data.item: "stacking" "below";
13484       data.item: "selectraise" "on";
13485       images {
13486          image: "bt_sm_base1.png" COMP;
13487          image: "bt_sm_shine.png" COMP;
13488          image: "bt_sm_hilight.png" COMP;
13489          image: "ilist_2_h.png" COMP;
13490       }
13491       parts {
13492          part {
13493             name: "event";
13494             type: RECT;
13495             repeat_events: 1;
13496             description {
13497                state: "default" 0.0;
13498                color: 0 0 0 0;
13499             }
13500          }
13501          part {
13502             name: "base";
13503             mouse_events: 0;
13504             description {
13505                state: "default" 0.0;
13506                image {
13507                   normal: "ilist_2_h.png";
13508                   border: 2 2 2 2;
13509                }
13510                fill.smooth: 0;
13511             }
13512          }
13513          part { name: "bg";
13514             mouse_events: 0;
13515             description { state: "default" 0.0;
13516                visible: 0;
13517                color: 255 255 255 0;
13518                rel1 {
13519                   relative: 0.0 0.0;
13520                   offset: -5 -5;
13521                }
13522                rel2 {
13523                   relative: 1.0 1.0;
13524                   offset: 4 4;
13525                }
13526                image {
13527                   normal: "bt_sm_base1.png";
13528                   border: 6 6 6 6;
13529                }
13530                image.middle: SOLID;
13531             }
13532             description { state: "selected" 0.0;
13533                inherit: "default" 0.0;
13534                visible: 1;
13535                color: 255 255 255 255;
13536                rel1 {
13537                   relative: 0.0 0.0;
13538                   offset: -2 -2;
13539                }
13540                rel2 {
13541                   relative: 1.0 1.0;
13542                   offset: 1 1;
13543                }
13544             }
13545          }
13546          part {
13547             name: "elm.swallow.icon";
13548             type: SWALLOW;
13549             description { state: "default" 0.0;
13550                fixed: 0 1;
13551                align: 0.5 0.0;
13552                rel1 {
13553                   relative: 0.0 0.0;
13554                   offset: 4 4;
13555                }
13556                rel2 {
13557                   relative: 1.0 0.0;
13558                   offset: -5 4;
13559                }
13560             }
13561          }
13562          part {
13563             name: "elm.swallow.end";
13564             type: SWALLOW;
13565             description { state: "default" 0.0;
13566                fixed: 0 1;
13567                align: 0.5 1.0;
13568                rel1 {
13569                   relative: 0.0 1.0;
13570                   offset: 4 -5;
13571                }
13572                rel2 {
13573                   relative: 1.0 1.0;
13574                   offset: -5 -5;
13575                }
13576             }
13577          }
13578          part { name: "elm.text";
13579             type: TEXT;
13580             effect: SOFT_SHADOW;
13581             mouse_events: 0;
13582             scale: 1;
13583             description {
13584                state: "default" 0.0;
13585                fixed: 1 1;
13586                rel1 {
13587                   to_x: "elm.swallow.icon";
13588                   relative: 0.0 1.0;
13589                   offset: 4 4;
13590                }
13591                rel2 {
13592                   to_x: "elm.swallow.end";
13593                   relative: 1.0 0.0;
13594                   offset: -5 -1;
13595                }
13596                color: 0 0 0 255;
13597                color3: 0 0 0 0;
13598                text {
13599                   font: "Sans";
13600                   size: 10;
13601                   min: 1 1;
13602                   align: 0.5 0.5;
13603                   text_class: "list_item";
13604                }
13605             }
13606             description { state: "selected" 0.0;
13607                inherit: "default" 0.0;
13608                color: 224 224 224 255;
13609                color3: 0 0 0 64;
13610             }
13611          }
13612          part { name: "fg1";
13613             mouse_events: 0;
13614             description { state: "default" 0.0;
13615                visible: 0;
13616                color: 255 255 255 0;
13617                rel1.to: "bg";
13618                rel2.relative: 1.0 0.5;
13619                rel2.to: "bg";
13620                image {
13621                   normal: "bt_sm_hilight.png";
13622                   border: 6 6 6 0;
13623                }
13624             }
13625             description { state: "selected" 0.0;
13626                inherit: "default" 0.0;
13627                visible: 1;
13628                color: 255 255 255 255;
13629             }
13630          }
13631          part { name: "fg2";
13632             mouse_events: 0;
13633             description { state: "default" 0.0;
13634                visible: 0;
13635                color: 255 255 255 0;
13636                rel1.to: "bg";
13637                rel2.to: "bg";
13638                image {
13639                   normal: "bt_sm_shine.png";
13640                   border: 6 6 6 0;
13641                }
13642             }
13643             description { state: "selected" 0.0;
13644                inherit: "default" 0.0;
13645                visible: 1;
13646                color: 255 255 255 255;
13647             }
13648          }
13649       }
13650       programs {
13651          program {
13652             name: "go_active";
13653             signal: "elm,state,selected";
13654             source: "elm";
13655             action: STATE_SET "selected" 0.0;
13656             target: "bg";
13657             target: "fg1";
13658             target: "fg2";
13659             target: "elm.text";
13660          }
13661          program {
13662             name: "go_passive";
13663             signal: "elm,state,unselected";
13664             source: "elm";
13665             action: STATE_SET "default" 0.0;
13666             target: "bg";
13667             target: "fg1";
13668             target: "fg2";
13669             target: "elm.text";
13670             transition: LINEAR 0.1;
13671          }
13672       }
13673    }
13674    group { name: "elm/list/h_item_compress/default";
13675       data.item: "stacking" "above";
13676       data.item: "selectraise" "on";
13677       images {
13678          image: "bt_sm_base1.png" COMP;
13679          image: "bt_sm_shine.png" COMP;
13680          image: "bt_sm_hilight.png" COMP;
13681          image: "ilist_1_h.png" COMP;
13682          image: "ilist_item_shadow_h.png" COMP;
13683       }
13684       parts {
13685          part {
13686             name: "event";
13687             type: RECT;
13688             repeat_events: 1;
13689             description {
13690                state: "default" 0.0;
13691                color: 0 0 0 0;
13692             }
13693          }
13694          part {
13695             name: "base_sh";
13696             mouse_events: 0;
13697             description { state: "default" 0.0;
13698                fixed: 1 1;
13699                align: 0.0 0.0;
13700                min: 10 0;
13701                rel1 {
13702                   to: "base";
13703                   relative: 1.0 0.0;
13704                   offset: 0 0;
13705                }
13706                rel2 {
13707                   to: "base";
13708                   relative: 1.0 1.0;
13709                   offset: 0 -1;
13710                }
13711                image {
13712                   normal: "ilist_item_shadow_h.png";
13713                }
13714                fill.smooth: 0;
13715             }
13716          }
13717          part {
13718             name: "base";
13719             mouse_events: 0;
13720             description {
13721                state: "default" 0.0;
13722                image {
13723                   normal: "ilist_1_h.png";
13724                   border: 2 2 2 2;
13725                }
13726                fill.smooth: 0;
13727             }
13728          }
13729          part { name: "bg";
13730             mouse_events: 0;
13731             description { state: "default" 0.0;
13732                visible: 0;
13733                color: 255 255 255 0;
13734                rel1 {
13735                   relative: 0.0 0.0;
13736                   offset: -5 -5;
13737                }
13738                rel2 {
13739                   relative: 1.0 1.0;
13740                   offset: 4 4;
13741                }
13742                image {
13743                   normal: "bt_sm_base1.png";
13744                   border: 6 6 6 6;
13745                }
13746                image.middle: SOLID;
13747             }
13748             description { state: "selected" 0.0;
13749                inherit: "default" 0.0;
13750                visible: 1;
13751                color: 255 255 255 255;
13752                rel1 {
13753                   relative: 0.0 0.0;
13754                   offset: -2 -2;
13755                }
13756                rel2 {
13757                   relative: 1.0 1.0;
13758                   offset: 1 1;
13759                }
13760             }
13761          }
13762          part { name: "elm.swallow.icon";
13763             type: SWALLOW;
13764             description { state: "default" 0.0;
13765                fixed: 0 1;
13766                align: 0.5 0.0;
13767                rel1 {
13768                   relative: 0.0 0.0;
13769                   offset: 4 4;
13770                }
13771                rel2 {
13772                   relative: 1.0 0.0;
13773                   offset: -5 4;
13774                }
13775             }
13776          }
13777          part { name: "elm.swallow.end";
13778             type: SWALLOW;
13779             description { state: "default" 0.0;
13780                fixed: 0 1;
13781                align: 0.5 1.0;
13782                rel1 {
13783                   relative: 0.0 1.0;
13784                   offset: 4 -5;
13785                }
13786                rel2 {
13787                   relative: 1.0 1.0;
13788                   offset: -5 -5;
13789                }
13790             }
13791          }
13792          part {
13793             name: "elm.text";
13794             type: TEXT;
13795             effect: SOFT_SHADOW;
13796             mouse_events: 0;
13797             scale: 1;
13798             description { state: "default" 0.0;
13799                fixed: 1 1;
13800                rel1 {
13801                   to_x: "elm.swallow.icon";
13802                   relative: 0.0 1.0;
13803                   offset: 4 4;
13804                }
13805                rel2 {
13806                   to_x: "elm.swallow.end";
13807                   relative: 1.0 0.0;
13808                   offset: -5 -1;
13809                }
13810                color: 0 0 0 255;
13811                color3: 0 0 0 0;
13812                text {
13813                   font: "Sans";
13814                   size: 10;
13815                   min: 1 1;
13816                   align: 0.5 0.5;
13817                   text_class: "list_item";
13818                }
13819             }
13820             description { state: "selected" 0.0;
13821                inherit: "default" 0.0;
13822                color: 224 224 224 255;
13823                color3: 0 0 0 64;
13824             }
13825          }
13826          part { name: "fg1";
13827             mouse_events: 0;
13828             description { state: "default" 0.0;
13829                visible: 0;
13830                color: 255 255 255 0;
13831                rel1.to: "bg";
13832                rel2.relative: 1.0 0.5;
13833                rel2.to: "bg";
13834                image {
13835                   normal: "bt_sm_hilight.png";
13836                   border: 6 6 6 0;
13837                }
13838             }
13839             description { state: "selected" 0.0;
13840                inherit: "default" 0.0;
13841                visible: 1;
13842                color: 255 255 255 255;
13843             }
13844          }
13845          part { name: "fg2";
13846             mouse_events: 0;
13847             description { state: "default" 0.0;
13848                visible: 0;
13849                color: 255 255 255 0;
13850                rel1.to: "bg";
13851                rel2.to: "bg";
13852                image {
13853                   normal: "bt_sm_shine.png";
13854                   border: 6 6 6 0;
13855                }
13856             }
13857             description { state: "selected" 0.0;
13858                inherit: "default" 0.0;
13859                visible: 1;
13860                color: 255 255 255 255;
13861             }
13862          }
13863       }
13864       programs {
13865          program {
13866             name: "go_active";
13867             signal: "elm,state,selected";
13868             source: "elm";
13869             action: STATE_SET "selected" 0.0;
13870             target: "bg";
13871             target: "fg1";
13872             target: "fg2";
13873             target: "elm.text";
13874          }
13875          program {
13876             name: "go_passive";
13877             signal: "elm,state,unselected";
13878             source: "elm";
13879             action: STATE_SET "default" 0.0;
13880             target: "bg";
13881             target: "fg1";
13882             target: "fg2";
13883             target: "elm.text";
13884             transition: LINEAR 0.1;
13885          }
13886       }
13887    }
13888    group { name: "elm/list/h_item_compress_odd/default";
13889       data.item: "stacking" "below";
13890       data.item: "selectraise" "on";
13891       images {
13892          image: "bt_sm_base1.png" COMP;
13893          image: "bt_sm_shine.png" COMP;
13894          image: "bt_sm_hilight.png" COMP;
13895          image: "ilist_2_h.png" COMP;
13896       }
13897       parts {
13898          part {
13899             name: "event";
13900             type: RECT;
13901             repeat_events: 1;
13902             description {
13903                state: "default" 0.0;
13904                color: 0 0 0 0;
13905             }
13906          }
13907          part {
13908             name: "base";
13909             mouse_events: 0;
13910             description {
13911                state: "default" 0.0;
13912                image {
13913                   normal: "ilist_2_h.png";
13914                   border: 2 2 2 2;
13915                }
13916                fill.smooth: 0;
13917             }
13918          }
13919          part { name: "bg";
13920             mouse_events: 0;
13921             description { state: "default" 0.0;
13922                visible: 0;
13923                color: 255 255 255 0;
13924                rel1 {
13925                   relative: 0.0 0.0;
13926                   offset: -5 -5;
13927                }
13928                rel2 {
13929                   relative: 1.0 1.0;
13930                   offset: 4 4;
13931                }
13932                image {
13933                   normal: "bt_sm_base1.png";
13934                   border: 6 6 6 6;
13935                }
13936                image.middle: SOLID;
13937             }
13938             description { state: "selected" 0.0;
13939                inherit: "default" 0.0;
13940                visible: 1;
13941                color: 255 255 255 255;
13942                rel1 {
13943                   relative: 0.0 0.0;
13944                   offset: -2 -2;
13945                }
13946                rel2 {
13947                   relative: 1.0 1.0;
13948                   offset: 1 1;
13949                }
13950             }
13951          }
13952          part { name: "elm.swallow.icon";
13953             type: SWALLOW;
13954             description { state: "default" 0.0;
13955                fixed: 0 1;
13956                align: 0.5 0.0;
13957                rel1 {
13958                   relative: 0.0 0.0;
13959                   offset: 4 4;
13960                }
13961                rel2 {
13962                   relative: 1.0 0.0;
13963                   offset: -5 4;
13964                }
13965             }
13966          }
13967          part { name: "elm.swallow.end";
13968             type: SWALLOW;
13969             description { state: "default" 0.0;
13970                fixed: 0 1;
13971                align: 0.5 1.0;
13972                rel1 {
13973                   relative: 0.0 1.0;
13974                   offset: 4 -5;
13975                }
13976                rel2 {
13977                   relative: 1.0 1.0;
13978                   offset: -5 -5;
13979                }
13980             }
13981          }
13982          part { name: "elm.text";
13983             type: TEXT;
13984             effect: SOFT_SHADOW;
13985             mouse_events: 0;
13986             scale: 1;
13987             description {
13988                state: "default" 0.0;
13989                fixed: 1 1;
13990                rel1 {
13991                   to_x: "elm.swallow.icon";
13992                   relative: 0.0 1.0;
13993                   offset: 4 4;
13994                }
13995                rel2 {
13996                   to_x: "elm.swallow.end";
13997                   relative: 1.0 0.0;
13998                   offset: -5 -1;
13999                }
14000                color: 0 0 0 255;
14001                color3: 0 0 0 0;
14002                text {
14003                   font: "Sans";
14004                   size: 10;
14005                   min: 1 1;
14006                   align: 0.5 0.5;
14007                   text_class: "list_item";
14008                }
14009             }
14010             description { state: "selected" 0.0;
14011                inherit: "default" 0.0;
14012                color: 224 224 224 255;
14013                color3: 0 0 0 64;
14014             }
14015          }
14016          part { name: "fg1";
14017             mouse_events: 0;
14018             description { state: "default" 0.0;
14019                visible: 0;
14020                color: 255 255 255 0;
14021                rel1.to: "bg";
14022                rel2.relative: 1.0 0.5;
14023                rel2.to: "bg";
14024                image {
14025                   normal: "bt_sm_hilight.png";
14026                   border: 6 6 6 0;
14027                }
14028             }
14029             description { state: "selected" 0.0;
14030                inherit: "default" 0.0;
14031                visible: 1;
14032                color: 255 255 255 255;
14033             }
14034          }
14035          part { name: "fg2";
14036             mouse_events: 0;
14037             description { state: "default" 0.0;
14038                visible: 0;
14039                color: 255 255 255 0;
14040                rel1.to: "bg";
14041                rel2.to: "bg";
14042                image {
14043                   normal: "bt_sm_shine.png";
14044                   border: 6 6 6 0;
14045                }
14046             }
14047             description { state: "selected" 0.0;
14048                inherit: "default" 0.0;
14049                visible: 1;
14050                color: 255 255 255 255;
14051             }
14052          }
14053       }
14054       programs {
14055          program {
14056             name: "go_active";
14057             signal: "elm,state,selected";
14058             source: "elm";
14059             action: STATE_SET "selected" 0.0;
14060             target: "bg";
14061             target: "fg1";
14062             target: "fg2";
14063             target: "elm.text";
14064          }
14065          program {
14066             name: "go_passive";
14067             signal: "elm,state,unselected";
14068             source: "elm";
14069             action: STATE_SET "default" 0.0;
14070             target: "bg";
14071             target: "fg1";
14072             target: "fg2";
14073             target: "elm.text";
14074             transition: LINEAR 0.1;
14075          }
14076       }
14077    }
14078
14079 ///////////////////////////////////////////////////////////////////////////////
14080    group { name: "elm/slider/horizontal/default";
14081            alias: "elm/slider/horizontal/disabled";
14082       images {
14083          image: "sl_bg.png" COMP;
14084          image: "sl_bg_over.png" COMP;
14085
14086          image: "sl_units.png" COMP;
14087       }
14088       parts {
14089          part { name: "base";
14090             mouse_events: 0;
14091             description { state: "default" 0.0;
14092                max: 99999 6;
14093                min: 0 6;
14094                rel1 { to: "bg";
14095                   offset: 1 0;
14096                }
14097                rel2 { to: "bg";
14098                   offset: -2 -1;
14099                }
14100                image.normal: "sl_bg.png";
14101                fill.smooth: 0;
14102             }
14103          }
14104          part { name: "level";
14105             type: RECT;
14106             mouse_events: 0;
14107             description { state: "default" 0.0;
14108                fixed: 1 1;
14109                rel1.to: "base";
14110                rel2 {
14111                   to_y: "base";
14112                   to_x: "elm.dragable.slider";
14113                   relative: 0.5 1.0;
14114                }
14115                color: 255 0 0 200;
14116             }
14117             description { state: "inverted" 0.0;
14118                inherit: "default" 0.0;
14119                visible: 0;
14120             }
14121             description { state: "disabled" 0.0;
14122                inherit: "default" 0.0;
14123                color: 255 0 0 100;
14124             }
14125             description { state: "disabled_inverted" 0.0;
14126                inherit: "default" 0.0;
14127                visible: 0;
14128             }
14129          }
14130          part { name: "level2";
14131             type: RECT;
14132             mouse_events: 0;
14133             description { state: "default" 0.0;
14134                fixed: 1 1;
14135                visible: 0;
14136                rel1 {
14137                   to_y: "base";
14138                   to_x: "elm.dragable.slider";
14139                   relative: 0.5 0.0;
14140                }
14141                rel2.to: "base";
14142                color: 255 0 0 200;
14143             }
14144             description { state: "inverted" 0.0;
14145                inherit: "default" 0.0;
14146                visible: 1;
14147             }
14148             description { state: "disabled" 0.0;
14149                inherit: "default" 0.0;
14150             }
14151             description { state: "disabled_inverted" 0.0;
14152                inherit: "default" 0.0;
14153                color: 255 0 0 100;
14154                visible: 1;
14155             }
14156          }
14157          part {
14158             name: "base_over";
14159             mouse_events: 0;
14160             description { state: "default" 0.0;
14161                rel1.to: "base";
14162                rel1.offset: -1 -1;
14163                rel2.to: "base";
14164                rel2.offset: 0 0;
14165                image {
14166                   normal: "sl_bg_over.png";
14167                   border: 3 3 3 3;
14168                }
14169                fill.smooth: 0;
14170             }
14171          }
14172          part { name: "bg";
14173             type: RECT;
14174             mouse_events: 0;
14175             scale: 1;
14176             description { state: "default" 0.0;
14177                visible: 0;
14178                rel1.to: "elm.swallow.bar";
14179                rel2.to: "elm.swallow.bar";
14180                color: 0 0 0 0;
14181             }
14182          }
14183          part { name: "elm.swallow.bar";
14184             type: SWALLOW;
14185             scale: 1;
14186             description { state: "default" 0.0;
14187                min: 48 24;
14188                max: 99999 24;
14189                align: 1.0 0.5;
14190                rel1 {
14191                   to_x: "elm.text";
14192                   relative: 1.0 0.0;
14193                   offset: 8 0;
14194                }
14195                rel2 {
14196                   to_x: "elm.units";
14197                   relative: 0.0 1.0;
14198                   offset: -10 -1;
14199                }
14200             }
14201          }
14202          part { name: "elm.swallow.icon";
14203             type: SWALLOW;
14204             description { state: "default" 0.0;
14205                visible: 0;
14206                align: 0.0 0.5;
14207                rel1 {
14208                   offset: 4 0;
14209                   to_y: "elm.swallow.bar";
14210                }
14211                rel2 {
14212                   offset: 3 -1;
14213                   relative: 0.0 1.0;
14214                   to_y: "elm.swallow.bar";
14215                }
14216             }
14217             description { state: "visible" 0.0;
14218                inherit: "default" 0.0;
14219                visible: 1;
14220                aspect: 1.0 1.0;
14221                aspect_preference: VERTICAL;
14222                rel2.offset: 4 -1;
14223             }
14224          }
14225          part { name: "elm.text";
14226             type: TEXT;
14227             mouse_events: 0;
14228             scale: 1;
14229             description { state: "default" 0.0;
14230                visible: 0;
14231                fixed: 1 1;
14232                align: 0.0 0.5;
14233                rel1.to_x: "elm.swallow.icon";
14234                rel1.relative: 1.0 0.0;
14235                rel1.offset: -1 4;
14236                rel2.to_x: "elm.swallow.icon";
14237                rel2.relative: 1.0 1.0;
14238                rel2.offset: -1 -5;
14239                color: 0 0 0 255;
14240                text {
14241                   font: "Sans,Edje-Vera";
14242                   size: 10;
14243                   min: 0 0;
14244                   align: 0.0 0.5;
14245                }
14246             }
14247             description { state: "visible" 0.0;
14248                inherit: "default" 0.0;
14249                visible: 1;
14250                text.min: 1 1;
14251                rel1.offset: 0 4;
14252                rel2.offset: 0 -5;
14253             }
14254             description { state: "disabled" 0.0;
14255                inherit: "default" 0.0;
14256                color: 255 128 128 128;
14257                visible: 0;
14258             }
14259             description { state: "disabled_visible" 0.0;
14260                inherit: "default" 0.0;
14261                color: 0 0 0 128;
14262                color3: 0 0 0 0;
14263                visible: 1;
14264                text.min: 1 1;
14265             }
14266          }
14267          part {
14268             name: "elm.swallow.end";
14269             type: SWALLOW;
14270             description {
14271                state: "default" 0.0;
14272                visible: 0;
14273                align: 1.0 0.5;
14274                rel1 {
14275                   offset: -4 0;
14276                   relative: 1.0 0.0;
14277                   to_y: "elm.swallow.bar";
14278                }
14279                rel2 {
14280                   offset: -3 -1;
14281                   to_y: "elm.swallow.bar";
14282                }
14283             }
14284             description { state: "visible" 0.0;
14285                inherit: "default" 0.0;
14286                visible: 1;
14287                aspect: 1.0 1.0;
14288                aspect_preference: VERTICAL;
14289                rel2.offset: -4 -1;
14290             }
14291          }
14292          part { name: "units";
14293             mouse_events: 0;
14294             description { state: "default" 0.0;
14295                visible: 0;
14296                rel1 {
14297                   to_x: "elm.units";
14298                   offset: 0 5;
14299                }
14300                rel2 {
14301                   to_x: "elm.units";
14302                   offset: 5 -3;
14303                }
14304                image {
14305                   normal: "sl_units.png";
14306                   border: 0 5 3 8;
14307                }
14308                fill.smooth: 0;
14309             }
14310             description { state: "visible" 0.0;
14311                inherit: "default" 0.0;
14312                visible: 1;
14313             }
14314          }
14315          part { name: "elm.units";
14316             type: TEXT;
14317             mouse_events: 0;
14318             scale: 1;
14319             description { state: "default" 0.0;
14320                visible: 0;
14321                fixed: 1 1;
14322                align: 1.0 0.5;
14323                rel1.to_x: "elm.swallow.end";
14324                rel1.relative: 0.0 0.0;
14325                rel1.offset: 0 8;
14326                rel2.to_x: "elm.swallow.end";
14327                rel2.relative: 0.0 1.0;
14328                rel2.offset: 0 -9;
14329                color: 0 0 0 255;
14330                text {
14331                   font: "Sans,Edje-Vera";
14332                   size: 10;
14333                   min: 0 0;
14334                   align: 0.0 0.5;
14335                }
14336             }
14337             description { state: "visible" 0.0;
14338                inherit: "default" 0.0;
14339                fixed: 1 1;
14340                visible: 1;
14341                text.min: 1 1;
14342                rel1.offset: -5 0;
14343                rel2.offset: -5 -1;
14344             }
14345             description { state: "disabled" 0.0;
14346                inherit: "default" 0.0;
14347                color: 255 128 128 128;
14348                visible: 0;
14349             }
14350             description { state: "disabled_visible" 0.0;
14351                inherit: "default" 0.0;
14352                color: 0 0 0 128;
14353                color3: 0 0 0 0;
14354                visible: 1;
14355                text.min: 1 1;
14356             }
14357          }
14358          part { name: "elm.dragable.slider";
14359             type: GROUP;
14360             source: "elm/slider/horizontal/indicator/default";
14361             mouse_events: 1;
14362             repeat_events: 1;
14363             scale: 1;
14364             dragable {
14365                x: 1 1 0;
14366                y: 0 0 0;
14367                confine: "bg";
14368             }
14369             description { state: "default" 0.0;
14370                min: 0 24;
14371                max: 0 24;
14372                fixed: 1 1;
14373                rel1 {
14374                   relative: 0.5 0.0;
14375                   to_x: "bg";
14376                }
14377                rel2 {
14378                   relative: 0.5 1.0;
14379                   to_x: "bg";
14380                }
14381                color: 255 0 0 100;
14382             }
14383          }
14384           part { name: "disabler";
14385             type: RECT;
14386             description { state: "default" 0.0;
14387                color: 0 0 0 0;
14388                visible: 0;
14389             }
14390             description { state: "disabled" 0.0;
14391                inherit: "default" 0.0;
14392                visible: 1;
14393             }
14394          }
14395       }
14396       programs {
14397          program { name: "text_show";
14398             signal: "elm,state,text,visible";
14399             source: "elm";
14400             action:  STATE_SET "visible" 0.0;
14401             target: "elm.text";
14402          }
14403          program { name: "text_hide";
14404             signal: "elm,state,text,hidden";
14405             source: "elm";
14406             action:  STATE_SET "default" 0.0;
14407             target: "elm.text";
14408          }
14409          program { name: "icon_show";
14410             signal: "elm,state,icon,visible";
14411             source: "elm";
14412             action:  STATE_SET "visible" 0.0;
14413             target: "elm.swallow.icon";
14414          }
14415          program { name: "icon_hide";
14416             signal: "elm,state,icon,hidden";
14417             source: "elm";
14418             action:  STATE_SET "default" 0.0;
14419             target: "elm.swallow.icon";
14420          }
14421           program { name: "end_show";
14422             signal: "elm,state,end,visible";
14423             source: "elm";
14424             action:  STATE_SET "visible" 0.0;
14425             target: "elm.swallow.end";
14426          }
14427          program { name: "end_hide";
14428             signal: "elm,state,end,hidden";
14429             source: "elm";
14430             action:  STATE_SET "default" 0.0;
14431             target: "elm.swallow.end";
14432          }
14433          program { name: "units_show";
14434             signal: "elm,state,units,visible";
14435             source: "elm";
14436             action:  STATE_SET "visible" 0.0;
14437             target: "elm.units";
14438             target: "units";
14439          }
14440          program { name: "units_hide";
14441             signal: "elm,state,units,hidden";
14442             source: "elm";
14443             action:  STATE_SET "default" 0.0;
14444             target: "elm.units";
14445             target: "units";
14446          }
14447          program { name: "invert_on";
14448             signal: "elm,state,inverted,on";
14449             source: "elm";
14450             action:  STATE_SET "inverted" 0.0;
14451             target: "level";
14452             target: "level2";
14453          }
14454          program { name: "invert_off";
14455             signal: "elm,state,inverted,off";
14456             source: "elm";
14457             action:  STATE_SET "default" 0.0;
14458             target: "level";
14459             target: "level2";
14460          }
14461          program {
14462             name:    "go_disabled";
14463             signal:  "elm,state,disabled";
14464             source:  "elm";
14465             action:  STATE_SET "disabled" 0.0;
14466 //            target: "button0";
14467             target: "disabler";
14468             after: "disable_text";
14469             after: "disable_ind";
14470          }
14471
14472          program { name: "disable_ind";
14473             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14474          }
14475          program { name: "disable_text";
14476             script {
14477                new st[31];
14478                new Float:vl;
14479                get_state(PART:"elm.text", st, 30, vl);
14480                if (!strcmp(st, "visible"))
14481                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14482                else
14483                   set_state(PART:"elm.text", "disabled", 0.0);
14484
14485                get_state(PART:"elm.units", st, 30, vl);
14486                if (!strcmp(st, "visible"))
14487                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14488                else
14489                   set_state(PART:"elm.units", "disabled", 0.0);
14490
14491                get_state(PART:"level2", st, 30, vl);
14492                if (!strcmp(st, "inverted"))
14493                {
14494                   set_state(PART:"level", "disabled_inverted", 0.0);
14495                   set_state(PART:"level2", "disabled_inverted", 0.0);
14496                }
14497                else
14498                {
14499                   set_state(PART:"level", "disabled", 0.0);
14500                   set_state(PART:"level2", "disabled", 0.0);
14501                }
14502             }
14503          }
14504          program { name: "enable";
14505             signal: "elm,state,enabled";
14506             source: "elm";
14507             action: STATE_SET "default" 0.0;
14508 //            target: "button0";
14509             target: "disabler";
14510             after: "enable_text";
14511             after: "enable_ind";
14512          }
14513
14514          program { name: "enable_ind";
14515             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14516          }
14517
14518          program { name: "enable_text";
14519             script {
14520                new st[31];
14521                new Float:vl;
14522                get_state(PART:"elm.text", st, 30, vl);
14523                if (!strcmp(st, "disabled_visible"))
14524                   set_state(PART:"elm.text", "visible", 0.0);
14525                else
14526                   set_state(PART:"elm.text", "default", 0.0);
14527
14528                get_state(PART:"elm.units", st, 30, vl);
14529                if (!strcmp(st, "disabled_visible"))
14530                   set_state(PART:"elm.units", "visible", 0.0);
14531                else
14532                   set_state(PART:"elm.units", "default", 0.0);
14533
14534                get_state(PART:"level2", st, 30, vl);
14535                if (!strcmp(st, "disabled_inverted"))
14536                {
14537                   set_state(PART:"level", "inverted", 0.0);
14538                   set_state(PART:"level2", "inverted", 0.0);
14539                }
14540                else
14541                {
14542                   set_state(PART:"level", "default", 0.0);
14543                   set_state(PART:"level2", "default", 0.0);
14544                }
14545             }
14546          }
14547       }
14548    }
14549
14550    group { name: "elm/slider/vertical/default";
14551       images {
14552          image: "slv_bg.png" COMP;
14553          image: "slv_bg_over.png" COMP;
14554
14555          image: "slv_units.png" COMP;
14556       }
14557       parts {
14558          part { name: "base";
14559             mouse_events: 0;
14560             description { state: "default" 0.0;
14561                max: 6 99999;
14562                min: 6 0;
14563                rel1 { to: "bg";
14564                   offset: 1 0;
14565                }
14566                rel2 { to: "bg";
14567                   offset: -2 -1;
14568                }
14569                image.normal: "slv_bg.png";
14570                fill.smooth: 0;
14571             }
14572          }
14573          part { name: "level";
14574             type: RECT;
14575             mouse_events: 0;
14576             description { state: "default" 0.0;
14577                fixed: 1 1;
14578                rel1.to: "base";
14579                rel2 {
14580                   to_x: "base";
14581                   to_y: "elm.dragable.slider";
14582                   relative: 1.0 0.5;
14583                }
14584                color: 255 0 0 200;
14585             }
14586             description { state: "inverted" 0.0;
14587                inherit: "default" 0.0;
14588                visible: 0;
14589             }
14590             description { state: "disabled" 0.0;
14591                inherit: "default" 0.0;
14592                color: 255 0 0 100;
14593             }
14594             description { state: "disabled_inverted" 0.0;
14595                inherit: "default" 0.0;
14596                visible: 0;
14597             }
14598          }
14599          part { name: "level2";
14600             type: RECT;
14601             mouse_events: 0;
14602             description { state: "default" 0.0;
14603                fixed: 1 1;
14604                visible: 0;
14605                rel1 {
14606                   to_x: "base";
14607                   to_y: "elm.dragable.slider";
14608                   relative: 0.0 0.5;
14609                }
14610                rel2.to: "base";
14611                color: 255 0 0 200;
14612             }
14613             description { state: "inverted" 0.0;
14614                inherit: "default" 0.0;
14615                visible: 1;
14616             }
14617             description { state: "disabled" 0.0;
14618                inherit: "default" 0.0;
14619                color: 255 0 0 100;
14620             }
14621             description { state: "disabled_inverted" 0.0;
14622                inherit: "default" 0.0;
14623                color: 255 0 0 100;
14624                visible: 1;
14625             }
14626          }
14627          part {
14628             name: "base_over";
14629             mouse_events: 0;
14630             description { state: "default" 0.0;
14631                rel1.to: "base";
14632                rel1.offset: -1 -1;
14633                rel2.to: "base";
14634                rel2.offset: 0 0;
14635                image {
14636                   normal: "slv_bg_over.png";
14637                   border: 3 3 3 3;
14638                }
14639                fill.smooth: 0;
14640             }
14641          }
14642          part { name: "bg";
14643             type: RECT;
14644             mouse_events: 0;
14645             scale: 1;
14646             description { state: "default" 0.0;
14647                visible: 0;
14648                rel1.to: "elm.swallow.bar";
14649                rel2.to: "elm.swallow.bar";
14650                color: 0 0 0 0;
14651             }
14652          }
14653          part { name: "elm.swallow.bar";
14654             type: SWALLOW;
14655             scale: 1;
14656             description { state: "default" 0.0;
14657                min: 24 48;
14658                max: 24 9999;
14659                align: 0.5 1.0;
14660                rel1 {
14661                   to_y: "elm.text";
14662                   relative: 0.0 1.0;
14663                   offset: 0 10;
14664                }
14665                rel2 {
14666                   to_y: "elm.units";
14667                   relative: 1.0 0.0;
14668                   offset: -1 -8;
14669                }
14670             }
14671          }
14672          part { name: "elm.swallow.icon";
14673             type: SWALLOW;
14674             description { state: "default" 0.0;
14675                visible: 0;
14676                align: 0.5 0.0;
14677                rel1 {
14678                   offset: 0 4;
14679                   to_x: "elm.swallow.bar";
14680                }
14681                rel2 {
14682                   offset: -1 3;
14683                   relative: 1.0 0.0;
14684                   to_x: "elm.swallow.bar";
14685                }
14686             }
14687             description { state: "visible" 0.0;
14688                inherit: "default" 0.0;
14689                visible: 1;
14690                aspect: 1.0 1.0;
14691                aspect_preference: HORIZONTAL;
14692                rel2.offset: -1 4;
14693             }
14694          }
14695          part { name: "elm.text";
14696             type: TEXT;
14697             mouse_events: 0;
14698             scale: 1;
14699             description { state: "default" 0.0;
14700                visible: 0;
14701                fixed: 0 1;
14702                align: 0.5 0.0;
14703                rel1.to_y: "elm.swallow.icon";
14704                rel1.relative: 0.0 1.0;
14705                rel1.offset: 0 -1;
14706                rel2.to_y: "elm.swallow.icon";
14707                rel2.relative: 1.0 1.0;
14708                rel2.offset: -1 -1;
14709                color: 0 0 0 255;
14710                text {
14711                   font: "Sans,Edje-Vera";
14712                   size: 10;
14713                   min: 0 0;
14714                   align: 0.5 0.0;
14715                }
14716             }
14717             description { state: "visible" 0.0;
14718                inherit: "default" 0.0;
14719                visible: 1;
14720                text.min: 1 1;
14721                rel1.offset: 4 0;
14722                rel2.offset: -5 0;
14723             }
14724             description { state: "disabled" 0.0;
14725                inherit: "default" 0.0;
14726                color: 255 128 128 128;
14727                visible: 0;
14728             }
14729             description { state: "disabled_visible" 0.0;
14730                inherit: "default" 0.0;
14731                color: 0 0 0 128;
14732                color3: 0 0 0 0;
14733                visible: 1;
14734                text.min: 1 1;
14735             }
14736          }
14737          part {
14738             name: "elm.swallow.end";
14739             type: SWALLOW;
14740             description {
14741                state: "default" 0.0;
14742                visible: 0;
14743                align: 0.5 1.0;
14744                rel1 {
14745                   offset: 0 -4;
14746                   relative: 0.0 1.0;
14747                   to_x: "elm.swallow.bar";
14748                }
14749                rel2 {
14750                   offset: -1 -3;
14751                   to_x: "elm.swallow.bar";
14752                }
14753             }
14754             description { state: "visible" 0.0;
14755                inherit: "default" 0.0;
14756                visible: 1;
14757                aspect: 1.0 1.0;
14758                aspect_preference: HORIZONTAL;
14759                rel2.offset: -1 -4;
14760             }
14761          }
14762          part { name: "units";
14763             mouse_events: 0;
14764             description { state: "default" 0.0;
14765                visible: 0;
14766                rel1 {
14767                   to: "elm.units";
14768                   offset: -8 0;
14769                }
14770                rel2 {
14771                   to: "elm.units";
14772                   offset: 7 8;
14773                }
14774                image {
14775                   normal: "slv_units.png";
14776                   border: 8 8 0 9;
14777                }
14778                fill.smooth: 0;
14779             }
14780             description { state: "visible" 0.0;
14781                inherit: "default" 0.0;
14782                visible: 1;
14783             }
14784          }
14785          part { name: "elm.units";
14786             type: TEXT;
14787             mouse_events: 0;
14788             scale: 1;
14789             description { state: "default" 0.0;
14790                visible: 0;
14791                fixed: 1 1;
14792                align: 0.5 1.0;
14793                rel1.relative: 0.0 0.0;
14794                rel1.to_y: "elm.swallow.end";
14795                rel1.offset: 8 0;
14796                rel2.relative: 1.0 0.0;
14797                rel2.to_y: "elm.swallow.end";
14798                rel2.offset: -9 0;
14799                color: 0 0 0 255;
14800                text {
14801                   font: "Sans,Edje-Vera";
14802                   size: 10;
14803                   min: 0 0;
14804                   align: 0.5 0.0;
14805                }
14806             }
14807             description { state: "visible" 0.0;
14808                inherit: "default" 0.0;
14809                fixed: 1 1;
14810                visible: 1;
14811                text.min: 1 1;
14812                rel1.offset: 8 -9;
14813                rel2.offset: -9 -9;
14814             }
14815             description { state: "disabled" 0.0;
14816                inherit: "default" 0.0;
14817                color:  0 0 0 128;
14818                color3: 0 0 0 0;
14819                visible: 0;
14820             }
14821             description { state: "disabled_visible" 0.0;
14822                inherit: "default" 0.0;
14823                fixed: 1 1;
14824                visible: 1;
14825                text.min: 1 1;
14826                rel1.offset: 8 -9;
14827                rel2.offset: -9 -9;
14828                color: 0 0 0 128;
14829                color3: 0 0 0 0;
14830             }
14831          }
14832          part { name: "elm.dragable.slider";
14833             type: GROUP;
14834             source: "elm/slider/vertical/indicator/default";
14835             mouse_events: 1;
14836             repeat_events: 1;
14837             scale: 1;
14838             dragable {
14839                x: 0 0 0;
14840                y: 1 1 0;
14841                confine: "bg";
14842             }
14843             description { state: "default" 0.0;
14844                min: 24 0;
14845                max: 24 0;
14846                fixed: 1 1;
14847                rel1 {
14848                   relative: 0.5  0.0;
14849                   to_y: "bg";
14850                }
14851                rel2 {
14852                   relative: 0.5  1.0;
14853                   to_y: "bg";
14854                }
14855                color: 0 0 0 0;
14856             }
14857          }
14858               part { name: "disabler";
14859                 type: RECT;
14860                 description { state: "default" 0.0;
14861                    color: 0 0 0 0;
14862                    visible: 0;
14863                 }
14864                 description { state: "disabled" 0.0;
14865                    inherit: "default" 0.0;
14866                    visible: 1;
14867                 }
14868              }
14869           }
14870
14871       programs {
14872          program { name: "text_show";
14873             signal: "elm,state,text,visible";
14874             source: "elm";
14875             action:  STATE_SET "visible" 0.0;
14876             target: "elm.text";
14877          }
14878          program { name: "text_hide";
14879             signal: "elm,state,text,hidden";
14880             source: "elm";
14881             action:  STATE_SET "default" 0.0;
14882             target: "elm.text";
14883          }
14884          program { name: "icon_show";
14885             signal: "elm,state,icon,visible";
14886             source: "elm";
14887             action:  STATE_SET "visible" 0.0;
14888             target: "elm.swallow.icon";
14889          }
14890          program { name: "icon_hide";
14891             signal: "elm,state,icon,hidden";
14892             source: "elm";
14893             action:  STATE_SET "default" 0.0;
14894             target: "elm.swallow.icon";
14895          }
14896          program { name: "end_show";
14897             signal: "elm,state,end,visible";
14898             source: "elm";
14899             action:  STATE_SET "visible" 0.0;
14900             target: "elm.swallow.end";
14901          }
14902          program { name: "end_hide";
14903             signal: "elm,state,end,hidden";
14904             source: "elm";
14905             action:  STATE_SET "default" 0.0;
14906             target: "elm.swallow.end";
14907          }
14908          program { name: "units_show";
14909             signal: "elm,state,units,visible";
14910             source: "elm";
14911             action:  STATE_SET "visible" 0.0;
14912             target: "elm.units";
14913             target: "units";
14914          }
14915          program { name: "units_hide";
14916             signal: "elm,state,units,hidden";
14917             source: "elm";
14918             action:  STATE_SET "default" 0.0;
14919             target: "elm.units";
14920             target: "units";
14921          }
14922          program { name: "invert_on";
14923             signal: "elm,state,inverted,on";
14924             source: "elm";
14925             action:  STATE_SET "inverted" 0.0;
14926             target: "level";
14927             target: "level2";
14928          }
14929          program { name: "invert_off";
14930             signal: "elm,state,inverted,off";
14931             source: "elm";
14932             action:  STATE_SET "default" 0.0;
14933             target: "level";
14934             target: "level2";
14935          }
14936          program {
14937             name:   "go_disabled";
14938             signal: "elm,state,disabled";
14939             source: "elm";
14940             action: STATE_SET "disabled" 0.0;
14941 //            target: "button0";
14942             target: "disabler";
14943             after: "disable_text";
14944             after: "disable_ind";
14945          }
14946
14947          program { name: "disable_ind";
14948             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14949          }
14950
14951          program { name: "disable_text";
14952             script {
14953             new st[31];
14954             new Float:vl;
14955                get_state(PART:"elm.text", st, 30, vl);
14956                if (!strcmp(st, "visible"))
14957                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14958                else
14959                   set_state(PART:"elm.text", "disabled", 0.0);
14960
14961                get_state(PART:"elm.units", st, 30, vl);
14962                if (!strcmp(st, "visible"))
14963                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14964                else
14965                   set_state(PART:"elm.units", "disabled", 0.0);
14966
14967                get_state(PART:"level2", st, 30, vl);
14968                if (!strcmp(st, "inverted"))
14969                {
14970                   set_state(PART:"level", "disabled_inverted", 0.0);
14971                   set_state(PART:"level2", "disabled_inverted", 0.0);
14972                }
14973                else
14974                {
14975                   set_state(PART:"level", "disabled", 0.0);
14976                   set_state(PART:"level2", "disabled", 0.0);
14977                }
14978             }
14979          }
14980
14981          program { name: "enable";
14982             signal: "elm,state,enabled";
14983             source: "elm";
14984             action: STATE_SET "default" 0.0;
14985 //            target: "button0";
14986             target: "disabler";
14987             after: "enable_text";
14988             after: "enable_ind";
14989          }
14990
14991          program { name: "enable_ind";
14992             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14993          }
14994          program { name: "enable_text";
14995             script {
14996                new st[31];
14997                new Float:vl;
14998                get_state(PART:"elm.text", st, 30, vl);
14999                if (!strcmp(st, "disabled_visible"))
15000                   set_state(PART:"elm.text", "visible", 0.0);
15001                else
15002                   set_state(PART:"elm.text", "default", 0.0);
15003
15004                get_state(PART:"elm.units", st, 30, vl);
15005                if (!strcmp(st, "disabled_visible"))
15006                   set_state(PART:"elm.units", "visible", 0.0);
15007                else
15008                   set_state(PART:"elm.units", "default", 0.0);
15009
15010                get_state(PART:"level2", st, 30, vl);
15011                if (!strcmp(st, "disabled_inverted"))
15012                {
15013                   set_state(PART:"level", "inverted", 0.0);
15014                   set_state(PART:"level2", "inverted", 0.0);
15015                }
15016                else
15017                {
15018                   set_state(PART:"level", "default", 0.0);
15019                   set_state(PART:"level2", "default", 0.0);
15020                }
15021             }
15022          }
15023       }
15024    }
15025    group { name: "elm/slider/horizontal/indicator/default";
15026            alias: "elm/slider/horizontal/indicator/disabled";
15027            alias: "elm/slider/vertical/indicator/default";
15028            alias: "elm/slider/vertical/indicator/disabled";
15029       images {
15030          image: "sl_bt_0.png" COMP;
15031          image: "sl_bt_1.png" COMP;
15032          image: "sl_bt_2.png" COMP;
15033          image: "sl_bt_3.png" COMP;
15034          image: "sl_bt2_0_0.png" COMP;
15035          image: "sl_bt2_0_1.png" COMP;
15036          image: "sl_bt2_0_2.png" COMP;
15037          image: "sl_bt2_1.png" COMP;
15038          image: "sl_bt2_2.png" COMP;
15039       }
15040       script {
15041          public value_hide = 0;
15042          public set_value_show() {
15043             set_int(value_hide, 0);
15044          }
15045          public set_value_hide() {
15046             set_int(value_hide, 1);
15047          }
15048          public thumb_down() {
15049             if (get_int(value_hide) == 1) {
15050                set_state(PART:"elm.indicator", "default", 0.0);
15051                set_state(PART:"button3", "default", 0.0);
15052                set_state(PART:"button4", "default", 0.0);
15053                set_state(PART:"button5", "default", 0.0);
15054                set_state(PART:"button6", "default", 0.0);
15055                set_state(PART:"button7", "default", 0.0);
15056             } else {
15057                set_state(PART:"elm.indicator", "visible", 0.0);
15058                set_state(PART:"button3", "visible", 0.0);
15059                set_state(PART:"button4", "visible", 0.0);
15060                set_state(PART:"button5", "visible", 0.0);
15061                set_state(PART:"button6", "visible", 0.0);
15062                set_state(PART:"button7", "visible", 0.0);
15063             }
15064          }
15065          public thumb_up() {
15066             set_state(PART:"elm.indicator", "default", 0.0);
15067             set_state(PART:"button3", "default", 0.0);
15068             set_state(PART:"button4", "default", 0.0);
15069             set_state(PART:"button5", "default", 0.0);
15070             set_state(PART:"button6", "default", 0.0);
15071             set_state(PART:"button7", "default", 0.0);
15072          }
15073       }
15074       parts {
15075          part { name: "button_events";
15076             type: RECT;
15077             mouse_events: 1;
15078             description { state: "default" 0.0;
15079                fixed: 1 1;
15080                min: 16 16;
15081                aspect: 1.0 1.0;
15082                aspect_preference: VERTICAL;
15083                color: 0 0 0 0;
15084             }
15085          }
15086          part { name: "button0";
15087             mouse_events: 0;
15088             description { state: "default" 0.0;
15089                fixed: 1 1;
15090                max: 17 999;
15091                min: 17 24;
15092                image {
15093                   normal: "sl_bt_0.png";
15094                   border: 5 5 5 10;
15095                }
15096                fill.smooth: 0;
15097             }
15098             description { state: "disabled" 0.0;
15099                inherit: "default" 0.0;
15100                image {
15101                   normal: "sl_bt_3.png";
15102                   border: 5 5 5 10;
15103                }
15104             }
15105          }
15106          part { name: "button1";
15107             mouse_events: 0;
15108             description { state: "default" 0.0;
15109                rel1.to: "button0";
15110                rel2 {
15111                   to: "button0";
15112                   relative: 1.0 0.5;
15113                   offset: -1 -5;
15114                }
15115                image {
15116                   normal: "sl_bt_1.png";
15117                   border: 5 5 5 0;
15118                }
15119             }
15120          }
15121          part { name: "button2";
15122             mouse_events: 0;
15123             description { state: "default" 0.0;
15124                rel1.to: "button0";
15125                rel2.to: "button0";
15126                image {
15127                   normal: "sl_bt_2.png";
15128                   border: 5 5 5 10;
15129                }
15130                fill.smooth: 0;
15131             }
15132          }
15133          part { name: "button3";
15134             mouse_events: 0;
15135             description { state: "default" 0.0;
15136                fixed: 1 1;
15137                visible: 0;
15138                min: 8 32;
15139                align: 1.0 0.5;
15140                rel1 {
15141                   to_x: "elm.indicator";
15142                   to_y: "button4";
15143                   relative: 0.0 0.0;
15144                   offset: -7 0;
15145                }
15146                rel2 {
15147                   to: "button4";
15148                   relative: 0.0 1.0;
15149                   offset: -1 -1;
15150                }
15151                image {
15152                   normal: "sl_bt2_0_0.png";
15153                   border: 6 0 6 12;
15154                }
15155                fill.smooth: 0;
15156             }
15157             description { state: "visible" 0.0;
15158                inherit: "default" 0.0;
15159                visible: 1;
15160             }
15161          }
15162          part { name: "button4";
15163             mouse_events: 0;
15164             description { state: "default" 0.0;
15165                visible: 0;
15166                max: 15 999;
15167                min: 15 32;
15168                rel1 {
15169                   to_x: "button0";
15170                   to_y: "elm.indicator";
15171                   offset: 0 0;
15172                }
15173                rel2.to: "button0";
15174                image {
15175                   normal: "sl_bt2_0_1.png";
15176                   border: 0 0 6 12;
15177                }
15178                fill.smooth: 0;
15179             }
15180             description { state: "visible" 0.0;
15181                inherit: "default" 0.0;
15182                visible: 1;
15183             }
15184          }
15185          part { name: "button5";
15186             mouse_events: 0;
15187             description { state: "default" 0.0;
15188                fixed: 1 1;
15189                visible: 0;
15190                min: 8 32;
15191                align: 0.0 0.5;
15192                rel1 {
15193                   to: "button4";
15194                   relative: 1.0 0.0;
15195                   offset: 0 0;
15196                }
15197                rel2 {
15198                   to_x: "elm.indicator";
15199                   to_y: "button4";
15200                   relative: 1.0 1.0;
15201                   offset: 6 -1;
15202                }
15203                image {
15204                   normal: "sl_bt2_0_2.png";
15205                   border: 0 6 6 12;
15206                }
15207                fill.smooth: 0;
15208             }
15209             description { state: "visible" 0.0;
15210                inherit: "default" 0.0;
15211                visible: 1;
15212             }
15213          }
15214          part { name: "elm.indicator";
15215             type: TEXT;
15216             mouse_events: 0;
15217             effect: SOFT_SHADOW;
15218             scale: 1;
15219             description { state: "default" 0.0;
15220                visible: 0;
15221                fixed: 1 1;
15222                align: 0.5 1.0;
15223                rel1 {
15224                   to: "button0";
15225                   relative: 0.0 -0.25;
15226                   offset: 0 0;
15227                }
15228                rel2 {
15229                   to_x: "button0";
15230                   relative: 1.0 -0.25;
15231                   offset: -1 0;
15232                }
15233                color: 224 224 224 255;
15234                color3: 0 0 0 64;
15235                text {
15236                   font:     "Sans,Edje-Vera";
15237                   size:     10;
15238                   min:      0 0;
15239                   align:    0.5 0.5;
15240                }
15241             }
15242             description { state: "visible" 0.0;
15243                inherit: "default" 0.0;
15244                visible: 1;
15245                text.min: 1 1;
15246                rel1.offset: 0 -1;
15247                rel2.offset: -1 -1;
15248             }
15249          }
15250          part { name: "button6";
15251             mouse_events: 0;
15252             description { state: "default" 0.0;
15253                visible: 0;
15254                rel1.to: "button3";
15255                rel2 {
15256                   to: "button5";
15257                   relative: 1.0 0.3;
15258                   offset: -1 -1;
15259                }
15260                image {
15261                   normal: "sl_bt2_1.png";
15262                   border: 5 5 5 0;
15263                }
15264                fill.smooth: 0;
15265             }
15266             description { state: "visible" 0.0;
15267                inherit: "default" 0.0;
15268                visible: 1;
15269             }
15270          }
15271          part { name: "button7";
15272             mouse_events: 0;
15273             description { state: "default" 0.0;
15274                visible: 0;
15275                rel1.to: "button3";
15276                rel2.to: "button5";
15277                image {
15278                   normal: "sl_bt2_2.png";
15279                   border: 5 5 5 0;
15280                   middle: 0;
15281                }
15282                fill.smooth: 0;
15283             }
15284             description { state: "visible" 0.0;
15285                inherit: "default" 0.0;
15286                visible: 1;
15287             }
15288          }
15289       }
15290       programs {
15291          program { name: "set_val_show";
15292             signal: "elm,state,val,show";
15293             source: "elm";
15294             script {
15295                set_value_show();
15296             }
15297          }
15298          program { name: "set_val_hide";
15299             signal: "elm,state,val,hide";
15300             source: "elm";
15301             script {
15302                set_value_hide();
15303             }
15304          }
15305          program { name: "val_show";
15306             signal: "mouse,down,*";
15307             source: "button_events";
15308             script {
15309                thumb_down();
15310             }
15311
15312          }
15313          program { name: "val_hide";
15314             signal: "mouse,up,*";
15315             source: "button_events";
15316             script {
15317                thumb_up();
15318             }
15319          }
15320          program {
15321             name:    "go_disabled";
15322             signal:  "elm,state,disabled";
15323             source:  "elm";
15324             action:  STATE_SET "disabled" 0.0;
15325             target:  "button0";
15326          }
15327          program {
15328             name:    "go_enabled";
15329             signal:  "elm,state,enabled";
15330             source:  "elm";
15331             action:  STATE_SET "default" 0.0;
15332             target:  "button0";
15333          }
15334       }
15335    }
15336
15337
15338 ////////////////////////////////////////////////////////////////////////////////
15339 // actionslider
15340 ////////////////////////////////////////////////////////////////////////////////
15341    group { name: "elm/actionslider/base/default";
15342
15343       images {
15344          image: "shelf_inset.png" COMP;
15345          image: "ilist_1.png" COMP;
15346          image: "bt_bases.png" COMP;
15347          image: "bt_basew.png" COMP;
15348          image: "bt_hilightw.png" COMP;
15349       }
15350
15351       parts {
15352          part {
15353             name: "base";
15354             mouse_events: 0;
15355             description {
15356                state: "default" 0.0;
15357                min: 75 25;
15358                rel1.offset: 1 1;
15359                rel2.offset: -2 -2;
15360                image {
15361                   normal: "ilist_1.png";
15362                   border: 2 2 2 2;
15363                }
15364                fill.smooth: 0;
15365             }
15366          }
15367          part { name: "conf_over";
15368             mouse_events:  0;
15369             description { state: "default" 0.0;
15370                rel1.to: "base";
15371                rel2.to: "base";
15372                image {
15373                   normal: "shelf_inset.png";
15374                   border: 7 7 7 7;
15375                   middle: 0;
15376                }
15377                fill.smooth : 0;
15378             }
15379          }
15380          part { name: "icon.dragable.area";
15381            type: RECT;
15382             mouse_events: 0;
15383             description { state: "default" 0.0;
15384                visible: 0;
15385                rel1.to: "base";
15386                rel2.to: "base";
15387             }
15388          }
15389          part { name: "elm.text.left";
15390             type: TEXT;
15391             mouse_events: 0;
15392             scale: 1;
15393             description { state: "default" 0.0;
15394                color: 0 0 0 255;
15395                text {
15396                   font: "Sans,Edje-Vera";
15397                   size: 10;
15398                   align: 0.05 0.5;
15399                   min: 1 1;
15400                }
15401             }
15402          }
15403          part { name: "elm.text.center";
15404             type: TEXT;
15405             mouse_events: 0;
15406             scale: 1;
15407             description { state: "default" 0.0;
15408                color: 0 0 0 255;
15409                text {
15410                   font: "Sans,Edje-Vera";
15411                   size: 10;
15412                   align: 0.5 0.5;
15413                   min: 1 1;
15414                }
15415             }
15416          }
15417          part { name: "elm.text.right";
15418             type: TEXT;
15419             mouse_events: 0;
15420             scale: 1;
15421             description { state: "default" 0.0;
15422                color: 0 0 0 255;
15423                text {
15424                   font: "Sans,Edje-Vera";
15425                   size: 10;
15426                   align: 0.95 0.5;
15427                   min: 1 1;
15428                }
15429             }
15430          }
15431          part { name: "elm.drag_button_base";
15432             type: SWALLOW;
15433             mouse_events: 0;
15434             scale: 1;
15435             description { state: "default" 0.0;
15436                fixed: 1 1;
15437                min: 50 25;
15438                align: 0.5 0.5;
15439                rel1.to: "icon.dragable.area";
15440                rel2 {
15441                   relative: 0.0 1.0;
15442                   to: "icon.dragable.area";
15443                }
15444             }
15445             dragable {
15446                confine: "icon.dragable.area";
15447                x: 1 1 0;
15448                y: 0 0 0;
15449             }
15450          }
15451          part { name: "elm.drag_button";
15452             type: RECT;
15453             mouse_events: 1;
15454             description { state: "default" 0.0;
15455                min: 50 25;
15456                color: 255 255 255 0;
15457                rel1.to_x: "elm.drag_button_base";
15458                rel1.to_y: "icon.dragable.area";
15459                rel2.to_x: "elm.drag_button_base";
15460                rel2.to_y: "icon.dragable.area";
15461             }
15462             dragable {
15463                events: "elm.drag_button_base";
15464             }
15465          }
15466          part { name: "button0";
15467             mouse_events: 0;
15468             description { state: "default" 0.0;
15469                rel1.to: "button2";
15470                rel1.offset: -4 -4;
15471                rel2.to: "button2";
15472                rel2.offset: 3 3;
15473                image {
15474                   normal: "bt_bases.png";
15475                   border: 11 11 11 11;
15476                   middle: SOLID;
15477                }
15478                color: 255 255 255 128;
15479             }
15480          }
15481          part { name: "button2";
15482             mouse_events: 0;
15483             description { state: "default" 0.0;
15484                rel1.to: "elm.drag_button";
15485                rel2.to: "elm.drag_button";
15486                image {
15487                   normal: "bt_basew.png";
15488                   border: 7 7 7 7;
15489                   middle: SOLID;
15490                }
15491                color: 255 255 255 210;
15492             }
15493          }
15494          part { name: "button3";
15495             mouse_events: 0;
15496             description { state: "default" 0.0;
15497                rel1.to: "button2";
15498                rel2.to: "button2";
15499                rel2.relative: 1.0 0.5;
15500                image {
15501                   normal: "bt_hilightw.png";
15502                   border: 4 4 4 0;
15503                }
15504                color: 255 255 255 190;
15505             }
15506          }
15507          part { name: "elm.text.indicator";
15508             type: TEXT;
15509             scale: 1;
15510             mouse_events: 0;
15511             description { state: "default" 0.0;
15512                rel1 {
15513                   to: "elm.drag_button";
15514                   offset: 5 0;
15515                }
15516                rel2 {
15517                   to: "elm.drag_button";
15518                   offset: -5 0;
15519                }
15520                color: 0 0 0 255;
15521                text {
15522                   font: "Sans,Edje-Vera";
15523                   size: 10;
15524                   align: 0.5 0.5;
15525                   min: 0 1;
15526                }
15527             }
15528          }
15529       }
15530       programs {
15531          program { name: "elm.drag_button,mouse,up";
15532             signal: "mouse,up,1";
15533             source: "elm.drag_button";
15534             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15535          }
15536          program { name: "elm.drag_button,mouse,down";
15537             signal: "mouse,down,1";
15538             source: "elm.drag_button";
15539             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15540          }
15541          program { name: "elm.drag_button,mouse,move";
15542             signal: "mouse,move";
15543             source: "elm.drag_button_base";
15544             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15545          }
15546       }
15547    }
15548
15549    group { name: "elm/actionslider/base/bar";
15550
15551       images {
15552          image: "shelf_inset.png" COMP;
15553          image: "ilist_1.png" COMP;
15554          image: "bt_bases.png" COMP;
15555          image: "bt_basew.png" COMP;
15556          image: "bt_hilightw.png" COMP;
15557       }
15558
15559       parts {
15560          part {
15561             name: "base";
15562             mouse_events: 0;
15563             description {
15564                state: "default" 0.0;
15565                min: 150 30;
15566                rel1.offset: 1 1;
15567                rel2.offset: -2 -2;
15568                image {
15569                   normal: "ilist_1.png";
15570                   border: 2 2 2 2;
15571                }
15572                fill.smooth: 0;
15573             }
15574          }
15575          part { name: "conf_over";
15576             mouse_events:  0;
15577             description { state: "default" 0.0;
15578                rel1.to: "base";
15579                rel2.to: "base";
15580                image {
15581                   normal: "shelf_inset.png";
15582                   border: 7 7 7 7;
15583                   middle: 0;
15584                }
15585                fill.smooth : 0;
15586             }
15587          }
15588          part { name: "icon.dragable.area";
15589            type: RECT;
15590             mouse_events: 0;
15591             description { state: "default" 0.0;
15592                visible: 0;
15593                rel1.to: "base";
15594                rel2.to: "base";
15595             }
15596          }
15597          part { name: "elm.text.left";
15598             type: TEXT;
15599             mouse_events: 0;
15600             scale: 1;
15601             description { state: "default" 0.0;
15602                color: 0 0 0 255;
15603                text {
15604                   font: "Sans,Edje-Vera";
15605                   size: 10;
15606                   align: 0.05 0.5;
15607                   min: 1 1;
15608                }
15609             }
15610          }
15611          part { name: "elm.text.center";
15612             type: TEXT;
15613             mouse_events: 0;
15614             scale: 1;
15615             description { state: "default" 0.0;
15616                color: 0 0 0 255;
15617                text {
15618                   font: "Sans,Edje-Vera";
15619                   size: 10;
15620                   align: 0.5 0.5;
15621                   min: 1 1;
15622                }
15623             }
15624          }
15625          part { name: "elm.text.right";
15626             type: TEXT;
15627             mouse_events: 0;
15628             scale: 1;
15629             description { state: "default" 0.0;
15630                color: 0 0 0 255;
15631                text {
15632                   font: "Sans,Edje-Vera";
15633                   size: 10;
15634                   align: 0.95 0.5;
15635                   min: 1 1;
15636                }
15637             }
15638          }
15639          part { name: "bar";
15640             type: RECT;
15641             mouse_events: 0;
15642             description { state: "default" 0.0;
15643                rel1.to: "base";
15644                rel1.offset: 0 2;
15645                rel2 {
15646                   relative: 0 1;
15647                   offset: 3 -3;
15648                   to_x: "elm.drag_button_base";
15649                   to_y: "base";
15650                }
15651                color: 0 0 0 180;
15652             }
15653          }
15654          part { name: "elm.drag_button_base";
15655             type: SWALLOW;
15656             mouse_events: 1;
15657             scale: 1;
15658             description { state: "default" 0.0;
15659                fixed: 1 1;
15660                min: 50 25;
15661                align: 0.5 0.5;
15662                rel1.to: "icon.dragable.area";
15663                rel2 {
15664                   relative: 0.0 1.0;
15665                   to: "icon.dragable.area";
15666                }
15667             }
15668             dragable {
15669                confine: "icon.dragable.area";
15670                x: 1 1 0;
15671                y: 0 0 0;
15672             }
15673          }
15674          part { name: "elm.drag_button";
15675             type: RECT;
15676             mouse_events: 1;
15677             description { state: "default" 0.0;
15678                min: 50 25;
15679                color: 255 255 255 0;
15680                rel1.to_x: "elm.drag_button_base";
15681                rel1.to_y: "icon.dragable.area";
15682                rel2.to_x: "elm.drag_button_base";
15683                rel2.to_y: "icon.dragable.area";
15684             }
15685             dragable {
15686                events: "elm.drag_button_base";
15687             }
15688          }
15689          part { name: "button0";
15690             mouse_events: 0;
15691             description { state: "default" 0.0;
15692                rel1.to: "button2";
15693                rel1.offset: -4 -4;
15694                rel2.to: "button2";
15695                rel2.offset: 3 3;
15696                image {
15697                   normal: "bt_bases.png";
15698                   border: 11 11 11 11;
15699                   middle: SOLID;
15700                }
15701                color: 255 255 255 128;
15702             }
15703          }
15704          part { name: "button2";
15705             mouse_events: 0;
15706             description { state: "default" 0.0;
15707                rel1.to: "elm.drag_button";
15708                rel2.to: "elm.drag_button";
15709                image {
15710                   normal: "bt_basew.png";
15711                   border: 7 7 7 7;
15712                   middle: SOLID;
15713                }
15714                color: 255 255 255 210;
15715             }
15716          }
15717          part { name: "button3";
15718             mouse_events: 0;
15719             description { state: "default" 0.0;
15720                rel1.to: "button2";
15721                rel2.to: "button2";
15722                rel2.relative: 1.0 0.5;
15723                image {
15724                   normal: "bt_hilightw.png";
15725                   border: 4 4 4 0;
15726                }
15727                color: 255 255 255 190;
15728             }
15729          }
15730          part { name: "elm.text.indicator";
15731             type: TEXT;
15732             scale: 1;
15733             mouse_events: 0;
15734             description { state: "default" 0.0;
15735                rel1 {
15736                   to: "elm.drag_button";
15737                   offset: 5 0;
15738                }
15739                rel2 {
15740                   to: "elm.drag_button";
15741                   offset: -5 0;
15742                }
15743                color: 0 0 0 255;
15744                text {
15745                   font: "Sans,Edje-Vera";
15746                   size: 10;
15747                   align: 0.5 0.5;
15748                   min: 0 1;
15749                }
15750             }
15751          }
15752       }
15753       programs {
15754          program { name: "elm.drag_button,mouse,up";
15755             signal: "mouse,up,1";
15756             source: "elm.drag_button";
15757             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15758          }
15759          program { name: "elm.drag_button,mouse,down";
15760             signal: "mouse,down,1";
15761             source: "elm.drag_button";
15762             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15763          }
15764          program { name: "elm.drag_button,mouse,move";
15765             signal: "mouse,move";
15766             source: "elm.drag_button_base";
15767             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15768          }
15769       }
15770    }
15771
15772 ///////////////////////////////////////////////////////////////////////////////
15773    group { name: "elm/genlist/item/default/default";
15774       data.item: "selectraise" "on";
15775       data.item: "labels" "elm.text";
15776       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15777       data.item: "treesize" "20";
15778 //      data.item: "states" "";
15779       images {
15780          image: "bt_sm_base1.png" COMP;
15781          image: "bt_sm_shine.png" COMP;
15782          image: "bt_sm_hilight.png" COMP;
15783          image: "ilist_1.png" COMP;
15784          image: "ilist_2.png" COMP;
15785          image: "ilist_item_shadow.png" COMP;
15786       }
15787       parts {
15788          part {
15789             name:           "event";
15790             type:           RECT;
15791             repeat_events: 1;
15792             description {
15793                state: "default" 0.0;
15794                color: 0 0 0 0;
15795             }
15796          }
15797          part {
15798             name: "base_sh";
15799             mouse_events: 0;
15800             description {
15801                state: "default" 0.0;
15802                align: 0.0 0.0;
15803                min: 0 10;
15804                fixed: 1 1;
15805                rel1 {
15806                   to: "base";
15807                   relative: 0.0 1.0;
15808                   offset: 0 0;
15809                }
15810                rel2 {
15811                   to: "base";
15812                   relative: 1.0 1.0;
15813                   offset: -1 0;
15814                }
15815                image {
15816                   normal: "ilist_item_shadow.png";
15817                }
15818                fill.smooth: 0;
15819             }
15820             description {
15821                state: "default" 1.0;
15822                inherit: "default" 0.0;
15823                visible: 0;
15824             }
15825          }
15826          part {
15827             name: "base";
15828             mouse_events: 0;
15829             description {
15830                state: "default" 0.0;
15831                image {
15832                   normal: "ilist_1.png";
15833                   border: 2 2 2 2;
15834                }
15835                fill.smooth: 0;
15836             }
15837             description {
15838                state: "default" 1.0;
15839                inherit: "default" 0.0;
15840                image.normal: "ilist_2.png";
15841             }
15842          }
15843          part { name: "bg";
15844             clip_to: "disclip";
15845             mouse_events: 0;
15846             description { state: "default" 0.0;
15847                visible: 0;
15848                color: 255 255 255 0;
15849                rel1 {
15850                   relative: 0.0 0.0;
15851                   offset: -5 -5;
15852                }
15853                rel2 {
15854                   relative: 1.0 1.0;
15855                   offset: 4 4;
15856                }
15857                image {
15858                   normal: "bt_sm_base1.png";
15859                   border: 6 6 6 6;
15860                }
15861                image.middle: SOLID;
15862             }
15863             description { state: "default" 0.1;
15864                inherit: "default" 0.0;
15865             }
15866             description { state: "selected" 0.0;
15867                inherit: "default" 0.0;
15868                visible: 1;
15869                color: 255 255 255 255;
15870                rel1 {
15871                   relative: 0.0 0.0;
15872                   offset: -2 -2;
15873                }
15874                rel2 {
15875                   relative: 1.0 1.0;
15876                   offset: 1 1;
15877                }
15878             }
15879             description {
15880                state: "selected" 1.0;
15881                inherit: "selected" 0.0;
15882             }
15883          }
15884          part { name: "elm.swallow.pad";
15885             type: SWALLOW;
15886             description { state: "default" 0.0;
15887                fixed: 1 0;
15888                align: 0.0 0.5;
15889                rel1 {
15890                   relative: 0.0  0.0;
15891                   offset:   4    4;
15892                }
15893                rel2 {
15894                   relative: 0.0  1.0;
15895                   offset:   4   -5;
15896                }
15897             }
15898          }
15899          part { name: "elm.swallow.icon";
15900             clip_to: "disclip";
15901             type: SWALLOW;
15902             description { state: "default" 0.0;
15903                fixed: 1 0;
15904                align: 0.0 0.5;
15905                rel1 {
15906                   to_x: "elm.swallow.pad";
15907                   relative: 1.0  0.0;
15908                   offset:   -1    4;
15909                }
15910                rel2 {
15911                   to_x: "elm.swallow.pad";
15912                   relative: 1.0  1.0;
15913                   offset:   -1   -5;
15914                }
15915             }
15916          }
15917          part { name: "elm.swallow.end";
15918             clip_to: "disclip";
15919             type: SWALLOW;
15920             description { state: "default" 0.0;
15921                fixed: 1 0;
15922                align: 1.0 0.5;
15923                aspect: 1.0 1.0;
15924                aspect_preference: VERTICAL;
15925                rel1 {
15926                   relative: 1.0  0.0;
15927                   offset:   -5    4;
15928                }
15929                rel2 {
15930                   relative: 1.0  1.0;
15931                   offset:   -5   -5;
15932                }
15933             }
15934          }
15935          part { name: "elm.text";
15936             clip_to: "disclip";
15937             type:           TEXT;
15938             effect:         SOFT_SHADOW;
15939             mouse_events:   0;
15940             scale: 1;
15941             description {
15942                state: "default" 0.0;
15943 //               min: 16 16;
15944                rel1 {
15945                   to_x:     "elm.swallow.icon";
15946                   relative: 1.0  0.0;
15947                   offset:   0 4;
15948                }
15949                rel2 {
15950                   to_x:     "elm.swallow.end";
15951                   relative: 0.0  1.0;
15952                   offset:   -1 -5;
15953                }
15954                color: 0 0 0 255;
15955                color3: 0 0 0 0;
15956                text {
15957                   font: "Sans";
15958                   size: 10;
15959                   min: 1 1;
15960 //                  min: 0 1;
15961                   align: -1.0 0.5;
15962                   text_class: "list_item";
15963                }
15964             }
15965             description { state: "selected" 0.0;
15966                inherit: "default" 0.0;
15967                color: 224 224 224 255;
15968                color3: 0 0 0 64;
15969             }
15970          }
15971          part { name: "fg1";
15972             clip_to: "disclip";
15973             mouse_events: 0;
15974             description { state: "default" 0.0;
15975                visible: 0;
15976                color: 255 255 255 0;
15977                rel1.to: "bg";
15978                rel2.relative: 1.0 0.5;
15979                rel2.to: "bg";
15980                image {
15981                   normal: "bt_sm_hilight.png";
15982                   border: 6 6 6 0;
15983                }
15984             }
15985             description { state: "selected" 0.0;
15986                inherit: "default" 0.0;
15987                visible: 1;
15988                color: 255 255 255 255;
15989             }
15990             description {
15991                state: "selected" 1.0;
15992                inherit: "default" 0.0;
15993                visible: 1;
15994                color: 255 255 255 255;
15995             }
15996          }
15997          part { name: "fg2";
15998             clip_to: "disclip";
15999             mouse_events: 0;
16000             description { state: "default" 0.0;
16001                visible: 0;
16002                color: 255 255 255 0;
16003                rel1.to: "bg";
16004                rel2.to: "bg";
16005                image {
16006                   normal: "bt_sm_shine.png";
16007                   border: 6 6 6 0;
16008                }
16009             }
16010             description { state: "selected" 0.0;
16011                inherit: "default" 0.0;
16012                visible: 1;
16013                color: 255 255 255 255;
16014             }
16015             description {
16016                state: "selected" 1.0;
16017                inherit: "default" 0.0;
16018                visible: 1;
16019                color: 255 255 255 255;
16020             }
16021          }
16022          part { name: "disclip";
16023             type: RECT;
16024             description { state: "default" 0.0;
16025                rel1.to: "bg";
16026                rel2.to: "bg";
16027             }
16028             description { state: "disabled" 0.0;
16029                inherit: "default" 0.0;
16030                color: 255 255 255 64;
16031             }
16032          }
16033       }
16034       programs {
16035          // signal: elm,state,%s,active
16036          //   a "check" item named %s went active
16037          // signal: elm,state,%s,passive
16038          //   a "check" item named %s went passive
16039          // default is passive
16040          program {
16041             name:    "odd";
16042             signal:  "elm,state,odd";
16043             source:  "elm";
16044             action:  STATE_SET "default" 1.0;
16045             target:  "base_sh";
16046             target:  "base";
16047          }
16048          program {
16049             name:    "even";
16050             signal:  "elm,state,even";
16051             source:  "elm";
16052             action:  STATE_SET "default" 0.0;
16053             target:  "base_sh";
16054             target:  "base";
16055          }
16056          program {
16057             name:    "go_active";
16058             signal:  "elm,state,selected";
16059             source:  "elm";
16060             script {
16061                new st[31];
16062                new Float:vl;
16063                get_state(PART:"base", st, 30, vl);
16064                set_state(PART:"bg", "selected", vl);
16065                set_state(PART:"fg1", "selected", vl);
16066                set_state(PART:"fg2", "selected", vl);
16067                set_state(PART:"elm.text", "selected", vl);
16068             }
16069          }
16070          program {
16071             name:    "go_passive";
16072             signal:  "elm,state,unselected";
16073             source:  "elm";
16074             script {
16075                new st[31];
16076                new Float:vl;
16077                get_state(PART:"base", st, 30, vl);
16078                set_state(PART:"bg", "default", vl);
16079                set_state(PART:"fg1", "default", vl);
16080                set_state(PART:"fg2", "default", vl);
16081                set_state(PART:"elm.text", "default", vl);
16082             }
16083          }
16084          program {
16085             name:    "go_disabled";
16086             signal:  "elm,state,disabled";
16087             source:  "elm";
16088             action:  STATE_SET "disabled" 0.0;
16089             target:  "disclip";
16090          }
16091          program {
16092             name:    "go_enabled";
16093             signal:  "elm,state,enabled";
16094             source:  "elm";
16095             action:  STATE_SET "default" 0.0;
16096             target:  "disclip";
16097          }
16098       }
16099    }
16100    group { name: "elm/genlist/item/group_index/default";
16101       alias: "elm/genlist/item_compress/group_index/default";
16102       data.item: "selectraise" "on";
16103       data.item: "labels" "elm.text";
16104       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16105       data.item: "treesize" "20";
16106 //      data.item: "states" "";
16107       images {
16108          image: "bt_sm_base1.png" COMP;
16109          image: "bt_sm_shine.png" COMP;
16110          image: "bt_sm_hilight.png" COMP;
16111          image: "ilist_item_shadow.png" COMP;
16112          image: "group_index.png" COMP;
16113       }
16114       parts {
16115          part {
16116             name: "event";
16117             type: RECT;
16118             repeat_events: 0;
16119             description {
16120                state: "default" 0.0;
16121                color: 0 0 0 0;
16122             }
16123          }
16124          part {
16125             name: "base_sh";
16126             mouse_events: 0;
16127             description {
16128                state: "default" 0.0;
16129                align: 0.0 0.0;
16130                min: 0 10;
16131                fixed: 1 1;
16132                rel1 {
16133                   to: "base";
16134                   relative: 0.0 1.0;
16135                   offset: 0 0;
16136                }
16137                rel2 {
16138                   to: "base";
16139                   relative: 1.0 1.0;
16140                   offset: -1 0;
16141                }
16142                image {
16143                   normal: "ilist_item_shadow.png";
16144                }
16145                fill.smooth: 0;
16146             }
16147          }
16148          part {
16149             name: "base";
16150             mouse_events: 0;
16151             description {
16152                state: "default" 0.0;
16153                image {
16154                   normal: "group_index.png";
16155                   border: 2 2 2 2;
16156                }
16157                fill.smooth: 0;
16158             }
16159          }
16160          part { name: "bg";
16161             clip_to: "disclip";
16162             mouse_events: 0;
16163             description { state: "default" 0.0;
16164                visible: 0;
16165                color: 255 255 255 0;
16166                rel1 {
16167                   relative: 0.0 0.0;
16168                   offset: -5 -5;
16169                }
16170                rel2 {
16171                   relative: 1.0 1.0;
16172                   offset: 4 4;
16173                }
16174                image {
16175                   normal: "bt_sm_base1.png";
16176                   border: 6 6 6 6;
16177                }
16178                image.middle: SOLID;
16179             }
16180             description { state: "selected" 0.0;
16181                inherit: "default" 0.0;
16182                visible: 1;
16183                color: 255 255 255 255;
16184                rel1 {
16185                   relative: 0.0 0.0;
16186                   offset: -2 -2;
16187                }
16188                rel2 {
16189                   relative: 1.0 1.0;
16190                   offset: 1 1;
16191                }
16192             }
16193          }
16194          part { name: "elm.swallow.pad";
16195             type: SWALLOW;
16196             description { state: "default" 0.0;
16197                fixed: 1 0;
16198                align: 0.0 0.5;
16199                rel1 {
16200                   relative: 0.0  0.0;
16201                   offset: 4 4;
16202                }
16203                rel2 {
16204                   relative: 0.0  1.0;
16205                   offset: 4 -5;
16206                }
16207             }
16208          }
16209          part { name: "elm.swallow.icon";
16210             clip_to: "disclip";
16211             type: SWALLOW;
16212             description { state: "default" 0.0;
16213                fixed: 1 0;
16214                align: 0.0 0.5;
16215                rel1 {
16216                   to_x: "elm.swallow.pad";
16217                   relative: 1.0 0.0;
16218                   offset: -1 4;
16219                }
16220                rel2 {
16221                   to_x: "elm.swallow.pad";
16222                   relative: 1.0 1.0;
16223                   offset: -1 -5;
16224                }
16225             }
16226          }
16227          part { name: "elm.swallow.end";
16228             clip_to: "disclip";
16229             type: SWALLOW;
16230             description { state: "default" 0.0;
16231                fixed: 1 0;
16232                align: 1.0 0.5;
16233                aspect: 1.0 1.0;
16234                aspect_preference: VERTICAL;
16235                rel1 {
16236                   relative: 1.0 0.0;
16237                   offset: -5 4;
16238                }
16239                rel2 {
16240                   relative: 1.0 1.0;
16241                   offset: -5 -5;
16242                }
16243             }
16244          }
16245          part { name: "elm.text";
16246             clip_to: "disclip";
16247             type: TEXT;
16248             effect: SOFT_SHADOW;
16249             mouse_events: 0;
16250             scale: 1;
16251             description {
16252                state: "default" 0.0;
16253 //               min: 16 16;
16254                rel1 {
16255                   to_x: "elm.swallow.icon";
16256                   relative: 1.0  0.0;
16257                   offset: 0 4;
16258                }
16259                rel2 {
16260                   to_x: "elm.swallow.end";
16261                   relative: 0.0  1.0;
16262                   offset: -1 -5;
16263                }
16264                color: 0 0 0 255;
16265                color3: 0 0 0 0;
16266                text {
16267                   font: "Sans";
16268                   size: 10;
16269                   min: 1 1;
16270 //                  min: 0 1;
16271                   align: -1.0 0.5;
16272                   text_class: "list_item";
16273                }
16274             }
16275             description { state: "selected" 0.0;
16276                inherit: "default" 0.0;
16277                color: 224 224 224 255;
16278                color3: 0 0 0 64;
16279             }
16280          }
16281          part { name: "fg1";
16282             clip_to: "disclip";
16283             mouse_events: 0;
16284             description { state: "default" 0.0;
16285                visible: 0;
16286                color: 255 255 255 0;
16287                rel1.to: "bg";
16288                rel2.relative: 1.0 0.5;
16289                rel2.to: "bg";
16290                image {
16291                   normal: "bt_sm_hilight.png";
16292                   border: 6 6 6 0;
16293                }
16294             }
16295             description { state: "selected" 0.0;
16296                inherit: "default" 0.0;
16297                visible: 1;
16298                color: 255 255 255 255;
16299             }
16300          }
16301          part { name: "fg2";
16302             clip_to: "disclip";
16303             mouse_events: 0;
16304             description { state: "default" 0.0;
16305                visible: 0;
16306                color: 255 255 255 0;
16307                rel1.to: "bg";
16308                rel2.to: "bg";
16309                image {
16310                   normal: "bt_sm_shine.png";
16311                   border: 6 6 6 0;
16312                }
16313             }
16314             description { state: "selected" 0.0;
16315                inherit: "default" 0.0;
16316                visible: 1;
16317                color: 255 255 255 255;
16318             }
16319          }
16320          part { name: "disclip";
16321             type: RECT;
16322             description { state: "default" 0.0;
16323                rel1.to: "bg";
16324                rel2.to: "bg";
16325             }
16326             description { state: "disabled" 0.0;
16327                inherit: "default" 0.0;
16328                color: 255 255 255 64;
16329             }
16330          }
16331       }
16332       programs {
16333          // signal: elm,state,%s,active
16334          //   a "check" item named %s went active
16335          // signal: elm,state,%s,passive
16336          //   a "check" item named %s went passive
16337          // default is passive
16338          program {
16339             name:    "go_active";
16340             signal:  "elm,state,selected";
16341             source:  "elm";
16342             action:  STATE_SET "selected" 0.0;
16343             target:  "bg";
16344             target:  "fg1";
16345             target:  "fg2";
16346             target:  "elm.text";
16347          }
16348          program {
16349             name:    "go_passive";
16350             signal:  "elm,state,unselected";
16351             source:  "elm";
16352             action:  STATE_SET "default" 0.0;
16353             target:  "bg";
16354             target:  "fg1";
16355             target:  "fg2";
16356             target:  "elm.text";
16357             transition: LINEAR 0.1;
16358          }
16359          program {
16360             name:    "go_disabled";
16361             signal:  "elm,state,disabled";
16362             source:  "elm";
16363             action:  STATE_SET "disabled" 0.0;
16364             target:  "disclip";
16365          }
16366          program {
16367             name:    "go_enabled";
16368             signal:  "elm,state,enabled";
16369             source:  "elm";
16370             action:  STATE_SET "default" 0.0;
16371             target:  "disclip";
16372          }
16373       }
16374    }
16375    group { name: "elm/genlist/item_compress/message/default";
16376       data.item: "selectraise" "on";
16377       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16378 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16379       data.item: "treesize" "20";
16380 //      data.item: "states" "";
16381       images {
16382          image: "bt_sm_base1.png" COMP;
16383          image: "bt_sm_shine.png" COMP;
16384          image: "bt_sm_hilight.png" COMP;
16385          image: "ilist_1.png" COMP;
16386          image: "ilist_2.png" COMP;
16387          image: "ilist_item_shadow.png" COMP;
16388       }
16389       styles {
16390         style { name: "genlist_textblock_style";
16391           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16392           tag:  "br" "\n";
16393           tag:  "ps" "ps";
16394           tag:  "tab" "\t";
16395         }
16396         style { name: "genlist_textblock_style2";
16397           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16398           tag:  "br" "\n";
16399           tag:  "ps" "ps";
16400           tag:  "tab" "\t";
16401         }
16402       }
16403      parts {
16404          part {
16405             name:           "event";
16406             type:           RECT;
16407             repeat_events: 1;
16408             description {
16409                state: "default" 0.0;
16410                color: 0 0 0 0;
16411             }
16412          }
16413          part {
16414             name: "base_sh";
16415             mouse_events: 0;
16416             description {
16417                state: "default" 0.0;
16418                align: 0.0 0.0;
16419                min: 0 10;
16420                fixed: 1 1;
16421                rel1 {
16422                   to: "base";
16423                   relative: 0.0 1.0;
16424                   offset: 0 0;
16425                }
16426                rel2 {
16427                   to: "base";
16428                   relative: 1.0 1.0;
16429                   offset: -1 0;
16430                }
16431                image {
16432                   normal: "ilist_item_shadow.png";
16433                }
16434                fill.smooth: 0;
16435             }
16436             description {
16437                state: "default" 1.0;
16438                inherit: "default" 0.0;
16439                visible: 0;
16440             }
16441          }
16442          part {
16443             name: "base";
16444             mouse_events: 0;
16445             description {
16446                state: "default" 0.0;
16447                image {
16448                   normal: "ilist_1.png";
16449                   border: 2 2 2 2;
16450                }
16451                fill.smooth: 0;
16452             }
16453             description {
16454                state: "default" 1.0;
16455                inherit: "default" 0.0;
16456                image.normal: "ilist_2.png";
16457             }
16458          }
16459          part { name: "bg";
16460             clip_to: "disclip";
16461             mouse_events: 0;
16462             description { state: "default" 0.0;
16463                visible: 0;
16464                color: 255 255 255 0;
16465                rel1 {
16466                   relative: 0.0 0.0;
16467                   offset: -5 -5;
16468                }
16469                rel2 {
16470                   relative: 1.0 1.0;
16471                   offset: 4 4;
16472                }
16473                image {
16474                   normal: "bt_sm_base1.png";
16475                   border: 6 6 6 6;
16476                }
16477                image.middle: SOLID;
16478             }
16479             description { state: "selected" 0.0;
16480                inherit: "default" 0.0;
16481                visible: 1;
16482                color: 255 255 255 255;
16483                rel1 {
16484                   relative: 0.0 0.0;
16485                   offset: -2 -2;
16486                }
16487                rel2 {
16488                   relative: 1.0 1.0;
16489                   offset: 1 1;
16490                }
16491             }
16492          }
16493          part { name: "elm.title.1";
16494             clip_to: "disclip";
16495             type:           TEXT;
16496             effect:         SOFT_SHADOW;
16497             mouse_events:   0;
16498             scale: 1;
16499             description {
16500                state: "default" 0.0;
16501                fixed: 0 1;
16502 //               min: 16 16;
16503                rel1 {
16504                   relative: 0.0  0.0;
16505                   offset:   4 4;
16506                }
16507                rel2 {
16508                   relative: 1.0  0.0;
16509                   offset:   -5 4;
16510                }
16511                color: 0 0 0 255;
16512                color3: 0 0 0 0;
16513                align: 0.0 0.0;
16514                text {
16515                   font: "Sans";
16516                   size: 10;
16517                   min: 0 1;
16518 //                  min: 1 1;
16519                   align: 0.0 0.0;
16520                   text_class: "list_item";
16521                }
16522             }
16523             description { state: "selected" 0.0;
16524                inherit: "default" 0.0;
16525                color: 224 224 224 255;
16526                color3: 0 0 0 64;
16527             }
16528          }
16529          part { name: "elm.title.2";
16530             clip_to: "disclip";
16531             type:           TEXT;
16532             effect:         SOFT_SHADOW;
16533             mouse_events:   0;
16534             scale: 1;
16535             description {
16536                state: "default" 0.0;
16537                fixed: 0 1;
16538 //               min: 16 16;
16539                rel1 {
16540                   to_y:     "elm.title.1";
16541                   relative: 0.0  1.0;
16542                   offset:   4 0;
16543                }
16544                rel2 {
16545                   to_y:     "elm.title.1";
16546                   relative: 1.0  1.0;
16547                   offset:   -5 0;
16548                }
16549                color: 0 0 0 255;
16550                color3: 0 0 0 0;
16551                align: 0.0 0.0;
16552                text {
16553                   font: "Sans";
16554                   size: 10;
16555                   min: 0 1;
16556 //                  min: 1 1;
16557                   align: 0.0 0.0;
16558                   text_class: "list_item";
16559                }
16560             }
16561             description { state: "selected" 0.0;
16562                inherit: "default" 0.0;
16563                color: 224 224 224 255;
16564                color3: 0 0 0 64;
16565             }
16566          }
16567          part { name: "elm.text";
16568             clip_to: "disclip";
16569             type:           TEXTBLOCK;
16570             mouse_events:   0;
16571             scale: 1;
16572             description {
16573                state: "default" 0.0;
16574 //               fixed: 0 1;
16575 //               min: 16 16;
16576                rel1 {
16577                   to_y:     "elm.title.2";
16578                   relative: 0.0  1.0;
16579                   offset:   4 0;
16580                }
16581                rel2 {
16582                   relative: 1.0  1.0;
16583                   offset:   -5 -5;
16584                }
16585                align: 0.0 0.0;
16586                text {
16587                   style: "genlist_textblock_style";
16588                   min: 0 1;
16589 //                  min: 1 1;
16590                   align: 0.0 0.0;
16591                }
16592             }
16593             description { state: "selected" 0.0;
16594                inherit: "default" 0.0;
16595                text {
16596                   style: "genlist_textblock_style2";
16597                }
16598             }
16599          }
16600          part { name: "fg1";
16601             clip_to: "disclip";
16602             mouse_events: 0;
16603             description { state: "default" 0.0;
16604                visible: 0;
16605                color: 255 255 255 0;
16606                rel1.to: "bg";
16607                rel2.relative: 1.0 0.5;
16608                rel2.to: "bg";
16609                image {
16610                   normal: "bt_sm_hilight.png";
16611                   border: 6 6 6 0;
16612                }
16613             }
16614             description { state: "selected" 0.0;
16615                inherit: "default" 0.0;
16616                visible: 1;
16617                color: 255 255 255 255;
16618             }
16619          }
16620          part { name: "fg2";
16621             clip_to: "disclip";
16622             mouse_events: 0;
16623             description { state: "default" 0.0;
16624                visible: 0;
16625                color: 255 255 255 0;
16626                rel1.to: "bg";
16627                rel2.to: "bg";
16628                image {
16629                   normal: "bt_sm_shine.png";
16630                   border: 6 6 6 0;
16631                }
16632             }
16633             description { state: "selected" 0.0;
16634                inherit: "default" 0.0;
16635                visible: 1;
16636                color: 255 255 255 255;
16637             }
16638          }
16639          part { name: "disclip";
16640             type: RECT;
16641             description { state: "default" 0.0;
16642                rel1.to: "bg";
16643                rel2.to: "bg";
16644             }
16645             description { state: "disabled" 0.0;
16646                inherit: "default" 0.0;
16647                color: 255 255 255 64;
16648             }
16649          }
16650       }
16651       programs {
16652          // signal: elm,state,%s,active
16653          //   a "check" item named %s went active
16654          // signal: elm,state,%s,passive
16655          //   a "check" item named %s went passive
16656          // default is passive
16657          program {
16658             name:    "odd";
16659             signal:  "elm,state,odd";
16660             source:  "elm";
16661             action:  STATE_SET "default" 1.0;
16662             target:  "base_sh";
16663             target:  "base";
16664          }
16665          program {
16666             name:    "even";
16667             signal:  "elm,state,even";
16668             source:  "elm";
16669             action:  STATE_SET "default" 0.0;
16670             target:  "base_sh";
16671             target:  "base";
16672          }
16673          program {
16674             name:    "go_active";
16675             signal:  "elm,state,selected";
16676             source:  "elm";
16677             action:  STATE_SET "selected" 0.0;
16678             target:  "bg";
16679             target:  "fg1";
16680             target:  "fg2";
16681             target:  "elm.title.1";
16682             target:  "elm.title.2";
16683             target:  "elm.text";
16684          }
16685          program {
16686             name:    "go_passive";
16687             signal:  "elm,state,unselected";
16688             source:  "elm";
16689             action:  STATE_SET "default" 0.0;
16690             target:  "bg";
16691             target:  "fg1";
16692             target:  "fg2";
16693             target:  "elm.title.1";
16694             target:  "elm.title.2";
16695             target:  "elm.text";
16696             transition: LINEAR 0.1;
16697          }
16698          program {
16699             name:    "go_disabled";
16700             signal:  "elm,state,disabled";
16701             source:  "elm";
16702             action:  STATE_SET "disabled" 0.0;
16703             target:  "disclip";
16704          }
16705          program {
16706             name:    "go_enabled";
16707             signal:  "elm,state,enabled";
16708             source:  "elm";
16709             action:  STATE_SET "default" 0.0;
16710             target:  "disclip";
16711          }
16712       }
16713    }
16714
16715    group { name: "elm/genlist/item_compress/default/default";
16716       data.item: "selectraise" "on";
16717       data.item: "labels" "elm.text";
16718       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16719       data.item: "treesize" "20";
16720 //      data.item: "states" "";
16721       images {
16722          image: "bt_sm_base1.png" COMP;
16723          image: "bt_sm_shine.png" COMP;
16724          image: "bt_sm_hilight.png" COMP;
16725          image: "ilist_1.png" COMP;
16726          image: "ilist_2.png" COMP;
16727          image: "ilist_item_shadow.png" COMP;
16728       }
16729       parts {
16730          part {
16731             name:           "event";
16732             type:           RECT;
16733             repeat_events: 1;
16734             description {
16735                state: "default" 0.0;
16736                color: 0 0 0 0;
16737             }
16738          }
16739          part {
16740             name: "base_sh";
16741             mouse_events: 0;
16742             description {
16743                state: "default" 0.0;
16744                align: 0.0 0.0;
16745                min: 0 10;
16746                fixed: 1 1;
16747                rel1 {
16748                   to: "base";
16749                   relative: 0.0 1.0;
16750                   offset: 0 0;
16751                }
16752                rel2 {
16753                   to: "base";
16754                   relative: 1.0 1.0;
16755                   offset: -1 0;
16756                }
16757                image {
16758                   normal: "ilist_item_shadow.png";
16759                }
16760                fill.smooth: 0;
16761             }
16762             description {
16763                state: "default" 1.0;
16764                inherit: "default" 0.0;
16765                visible: 0;
16766             }
16767          }
16768          part {
16769             name: "base";
16770             mouse_events: 0;
16771             description {
16772                state: "default" 0.0;
16773                image {
16774                   normal: "ilist_1.png";
16775                   border: 2 2 2 2;
16776                }
16777                fill.smooth: 0;
16778             }
16779             description {
16780                state: "default" 1.0;
16781                inherit: "default" 0.0;
16782                image.normal: "ilist_2.png";
16783             }
16784          }
16785          part { name: "bg";
16786             clip_to: "disclip";
16787             mouse_events: 0;
16788             description { state: "default" 0.0;
16789                visible: 0;
16790                color: 255 255 255 0;
16791                rel1 {
16792                   relative: 0.0 0.0;
16793                   offset: -5 -5;
16794                }
16795                rel2 {
16796                   relative: 1.0 1.0;
16797                   offset: 4 4;
16798                }
16799                image {
16800                   normal: "bt_sm_base1.png";
16801                   border: 6 6 6 6;
16802                }
16803                image.middle: SOLID;
16804             }
16805             description { state: "selected" 0.0;
16806                inherit: "default" 0.0;
16807                visible: 1;
16808                color: 255 255 255 255;
16809                rel1 {
16810                   relative: 0.0 0.0;
16811                   offset: -2 -2;
16812                }
16813                rel2 {
16814                   relative: 1.0 1.0;
16815                   offset: 1 1;
16816                }
16817             }
16818          }
16819          part { name: "elm.swallow.pad";
16820             type: SWALLOW;
16821             description { state: "default" 0.0;
16822                fixed: 1 0;
16823                align: 0.0 0.5;
16824                rel1 {
16825                   relative: 0.0  0.0;
16826                   offset:   4    4;
16827                }
16828                rel2 {
16829                   relative: 0.0  1.0;
16830                   offset:   4   -5;
16831                }
16832             }
16833          }
16834          part { name: "elm.swallow.icon";
16835             clip_to: "disclip";
16836             type: SWALLOW;
16837             description { state: "default" 0.0;
16838                fixed: 1 0;
16839                align: 0.0 0.5;
16840                rel1 {
16841                   to_x: "elm.swallow.pad";
16842                   relative: 1.0  0.0;
16843                   offset:   -1    4;
16844                }
16845                rel2 {
16846                   to_x: "elm.swallow.pad";
16847                   relative: 1.0  1.0;
16848                   offset:   -1   -5;
16849                }
16850             }
16851          }
16852          part { name: "elm.swallow.end";
16853             clip_to: "disclip";
16854             type: SWALLOW;
16855             description { state: "default" 0.0;
16856                fixed: 1 0;
16857                align: 1.0 0.5;
16858                aspect: 1.0 1.0;
16859                aspect_preference: VERTICAL;
16860                rel1 {
16861                   relative: 1.0  0.0;
16862                   offset:   -5    4;
16863                }
16864                rel2 {
16865                   relative: 1.0  1.0;
16866                   offset:   -5   -5;
16867                }
16868             }
16869          }
16870          part { name: "elm.text";
16871             clip_to: "disclip";
16872             type:           TEXT;
16873             effect:         SOFT_SHADOW;
16874             mouse_events:   0;
16875             scale: 1;
16876             description {
16877                state: "default" 0.0;
16878 //               min: 16 16;
16879                rel1 {
16880                   to_x:     "elm.swallow.icon";
16881                   relative: 1.0  0.0;
16882                   offset:   0 4;
16883                }
16884                rel2 {
16885                   to_x:     "elm.swallow.end";
16886                   relative: 0.0  1.0;
16887                   offset:   -1 -5;
16888                }
16889                color: 0 0 0 255;
16890                color3: 0 0 0 0;
16891                text {
16892                   font: "Sans";
16893                   size: 10;
16894                   min: 0 1;
16895 //                  min: 1 1;
16896                   align: 0.0 0.5;
16897                   text_class: "list_item";
16898                }
16899             }
16900             description { state: "selected" 0.0;
16901                inherit: "default" 0.0;
16902                color: 224 224 224 255;
16903                color3: 0 0 0 64;
16904             }
16905          }
16906          part { name: "fg1";
16907             clip_to: "disclip";
16908             mouse_events: 0;
16909             description { state: "default" 0.0;
16910                visible: 0;
16911                color: 255 255 255 0;
16912                rel1.to: "bg";
16913                rel2.relative: 1.0 0.5;
16914                rel2.to: "bg";
16915                image {
16916                   normal: "bt_sm_hilight.png";
16917                   border: 6 6 6 0;
16918                }
16919             }
16920             description { state: "selected" 0.0;
16921                inherit: "default" 0.0;
16922                visible: 1;
16923                color: 255 255 255 255;
16924             }
16925          }
16926          part { name: "fg2";
16927             clip_to: "disclip";
16928             mouse_events: 0;
16929             description { state: "default" 0.0;
16930                visible: 0;
16931                color: 255 255 255 0;
16932                rel1.to: "bg";
16933                rel2.to: "bg";
16934                image {
16935                   normal: "bt_sm_shine.png";
16936                   border: 6 6 6 0;
16937                }
16938             }
16939             description { state: "selected" 0.0;
16940                inherit: "default" 0.0;
16941                visible: 1;
16942                color: 255 255 255 255;
16943             }
16944          }
16945          part { name: "disclip";
16946             type: RECT;
16947             description { state: "default" 0.0;
16948                rel1.to: "bg";
16949                rel2.to: "bg";
16950             }
16951             description { state: "disabled" 0.0;
16952                inherit: "default" 0.0;
16953                color: 255 255 255 64;
16954             }
16955          }
16956       }
16957       programs {
16958          // signal: elm,state,%s,active
16959          //   a "check" item named %s went active
16960          // signal: elm,state,%s,passive
16961          //   a "check" item named %s went passive
16962          // default is passive
16963          program {
16964             name:    "odd";
16965             signal:  "elm,state,odd";
16966             source:  "elm";
16967             action:  STATE_SET "default" 1.0;
16968             target:  "base_sh";
16969             target:  "base";
16970          }
16971          program {
16972             name:    "even";
16973             signal:  "elm,state,even";
16974             source:  "elm";
16975             action:  STATE_SET "default" 0.0;
16976             target:  "base_sh";
16977             target:  "base";
16978          }
16979          program {
16980             name:    "go_active";
16981             signal:  "elm,state,selected";
16982             source:  "elm";
16983             action:  STATE_SET "selected" 0.0;
16984             target:  "bg";
16985             target:  "fg1";
16986             target:  "fg2";
16987             target:  "elm.text";
16988          }
16989          program {
16990             name:    "go_passive";
16991             signal:  "elm,state,unselected";
16992             source:  "elm";
16993             action:  STATE_SET "default" 0.0;
16994             target:  "bg";
16995             target:  "fg1";
16996             target:  "fg2";
16997             target:  "elm.text";
16998             transition: LINEAR 0.1;
16999          }
17000          program {
17001             name:    "go_disabled";
17002             signal:  "elm,state,disabled";
17003             source:  "elm";
17004             action:  STATE_SET "disabled" 0.0;
17005             target:  "disclip";
17006          }
17007          program {
17008             name:    "go_enabled";
17009             signal:  "elm,state,enabled";
17010             source:  "elm";
17011             action:  STATE_SET "default" 0.0;
17012             target:  "disclip";
17013          }
17014       }
17015    }
17016
17017    group { name: "elm/genlist/tree/default/default";
17018       data.item: "selectraise" "on";
17019       data.item: "labels" "elm.text";
17020       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17021       data.item: "treesize" "20";
17022 //      data.item: "states" "";
17023       images {
17024          image: "bt_sm_base1.png" COMP;
17025          image: "bt_sm_shine.png" COMP;
17026          image: "bt_sm_hilight.png" COMP;
17027          image: "ilist_1.png" COMP;
17028          image: "ilist_2.png" COMP;
17029          image: "ilist_item_shadow.png" COMP;
17030          image: "icon_arrow_left.png" COMP;
17031          image: "icon_arrow_right.png" COMP;
17032          image: "icon_arrow_down.png" COMP;
17033       }
17034       parts {
17035          part {
17036             name:           "event";
17037             type:           RECT;
17038             repeat_events: 1;
17039             description {
17040                state: "default" 0.0;
17041                color: 0 0 0 0;
17042             }
17043          }
17044          part {
17045             name: "base_sh";
17046             mouse_events: 0;
17047             description {
17048                state: "default" 0.0;
17049                align: 0.0 0.0;
17050                min: 0 10;
17051                fixed: 1 1;
17052                rel1 {
17053                   to: "base";
17054                   relative: 0.0 1.0;
17055                   offset: 0 0;
17056                }
17057                rel2 {
17058                   to: "base";
17059                   relative: 1.0 1.0;
17060                   offset: -1 0;
17061                }
17062                image {
17063                   normal: "ilist_item_shadow.png";
17064                }
17065                fill.smooth: 0;
17066             }
17067             description {
17068                state: "default" 1.0;
17069                inherit: "default" 0.0;
17070                visible: 0;
17071             }
17072          }
17073          part {
17074             name: "base";
17075             mouse_events: 0;
17076             description {
17077                state: "default" 0.0;
17078                image {
17079                   normal: "ilist_1.png";
17080                   border: 2 2 2 2;
17081                }
17082                fill.smooth: 0;
17083             }
17084             description {
17085                state: "default" 1.0;
17086                inherit: "default" 0.0;
17087                image.normal: "ilist_2.png";
17088             }
17089          }
17090          part { name: "bg";
17091             clip_to: "disclip";
17092             mouse_events: 0;
17093             description { state: "default" 0.0;
17094                visible: 0;
17095                color: 255 255 255 0;
17096                rel1 {
17097                   relative: 0.0 0.0;
17098                   offset: -5 -5;
17099                }
17100                rel2 {
17101                   relative: 1.0 1.0;
17102                   offset: 4 4;
17103                }
17104                image {
17105                   normal: "bt_sm_base1.png";
17106                   border: 6 6 6 6;
17107                }
17108                image.middle: SOLID;
17109             }
17110             description { state: "selected" 0.0;
17111                inherit: "default" 0.0;
17112                visible: 1;
17113                color: 255 255 255 255;
17114                rel1 {
17115                   relative: 0.0 0.0;
17116                   offset: -2 -2;
17117                }
17118                rel2 {
17119                   relative: 1.0 1.0;
17120                   offset: 1 1;
17121                }
17122             }
17123          }
17124          part { name: "elm.swallow.pad";
17125             type: SWALLOW;
17126             description { state: "default" 0.0;
17127                fixed: 1 0;
17128                align: 0.0 0.5;
17129                rel1 {
17130                   relative: 0.0  0.0;
17131                   offset:   4    4;
17132                }
17133                rel2 {
17134                   relative: 0.0  1.0;
17135                   offset:   4   -5;
17136                }
17137             }
17138          }
17139          part { name: "arrow";
17140             clip_to: "disclip";
17141             ignore_flags: ON_HOLD;
17142             description { state: "default" 0.0;
17143                fixed: 1 0;
17144                align: 0.0 0.5;
17145                aspect: 1.0 1.0;
17146                rel1 {
17147                   to_x: "elm.swallow.pad";
17148                   relative: 1.0  0.0;
17149                   offset:   -1    4;
17150                }
17151                rel2 {
17152                   to_x: "elm.swallow.pad";
17153                   relative: 1.0  1.0;
17154                   offset:   -1   -5;
17155                }
17156                image.normal: "icon_arrow_right.png";
17157             }
17158             description { state: "default" 0.1;
17159                inherit: "default" 0.0;
17160                image.normal: "icon_arrow_left.png";
17161             }
17162             description { state: "active" 0.0;
17163                inherit: "default" 0.0;
17164                image.normal: "icon_arrow_down.png";
17165             }
17166             description { state: "active" 0.1;
17167                inherit: "default" 0.0;
17168                image.normal: "icon_arrow_down.png";
17169             }
17170          }
17171          part { name: "elm.swallow.icon";
17172             clip_to: "disclip";
17173             type: SWALLOW;
17174             description { state: "default" 0.0;
17175                fixed: 1 0;
17176                align: 0.0 0.5;
17177                rel1 {
17178                   to_x: "arrow";
17179                   relative: 1.0  0.0;
17180                   offset:   4    4;
17181                }
17182                rel2 {
17183                   to_x: "arrow";
17184                   relative: 1.0  1.0;
17185                   offset:   4   -5;
17186                }
17187             }
17188          }
17189          part { name: "elm.swallow.end";
17190             clip_to: "disclip";
17191             type: SWALLOW;
17192             description { state: "default" 0.0;
17193                fixed: 1 0;
17194                align: 1.0 0.5;
17195                aspect: 1.0 1.0;
17196                aspect_preference: VERTICAL;
17197                rel1 {
17198                   relative: 1.0  0.0;
17199                   offset:   -5    4;
17200                }
17201                rel2 {
17202                   relative: 1.0  1.0;
17203                   offset:   -5   -5;
17204                }
17205             }
17206          }
17207          part { name: "elm.text";
17208             clip_to: "disclip";
17209             type:           TEXT;
17210             effect:         SOFT_SHADOW;
17211             mouse_events:   0;
17212             scale: 1;
17213             description {
17214                state: "default" 0.0;
17215 //               min: 16 16;
17216                rel1 {
17217                   to_x:     "elm.swallow.icon";
17218                   relative: 1.0  0.0;
17219                   offset:   0 4;
17220                }
17221                rel2 {
17222                   to_x:     "elm.swallow.end";
17223                   relative: 0.0  1.0;
17224                   offset:   -1 -5;
17225                }
17226                color: 0 0 0 255;
17227                color3: 0 0 0 0;
17228                text {
17229                   font: "Sans";
17230                   size: 10;
17231                   min: 1 1;
17232 //                  min: 0 1;
17233                   align: -1.0 0.5;
17234                   text_class: "list_item";
17235                }
17236             }
17237             description { state: "selected" 0.0;
17238                inherit: "default" 0.0;
17239                color: 224 224 224 255;
17240                color3: 0 0 0 64;
17241             }
17242          }
17243          part { name: "fg1";
17244             clip_to: "disclip";
17245             mouse_events: 0;
17246             description { state: "default" 0.0;
17247                visible: 0;
17248                color: 255 255 255 0;
17249                rel1.to: "bg";
17250                rel2.relative: 1.0 0.5;
17251                rel2.to: "bg";
17252                image {
17253                   normal: "bt_sm_hilight.png";
17254                   border: 6 6 6 0;
17255                }
17256             }
17257             description { state: "selected" 0.0;
17258                inherit: "default" 0.0;
17259                visible: 1;
17260                color: 255 255 255 255;
17261             }
17262          }
17263          part { name: "fg2";
17264             clip_to: "disclip";
17265             mouse_events: 0;
17266             description { state: "default" 0.0;
17267                visible: 0;
17268                color: 255 255 255 0;
17269                rel1.to: "bg";
17270                rel2.to: "bg";
17271                image {
17272                   normal: "bt_sm_shine.png";
17273                   border: 6 6 6 0;
17274                }
17275             }
17276             description { state: "selected" 0.0;
17277                inherit: "default" 0.0;
17278                visible: 1;
17279                color: 255 255 255 255;
17280             }
17281          }
17282          part { name: "disclip";
17283             type: RECT;
17284             description { state: "default" 0.0;
17285                rel1.to: "bg";
17286                rel2.to: "bg";
17287             }
17288             description { state: "disabled" 0.0;
17289                inherit: "default" 0.0;
17290                color: 255 255 255 64;
17291             }
17292          }
17293       }
17294       programs {
17295          // signal: elm,state,%s,active
17296          //   a "check" item named %s went active
17297          // signal: elm,state,%s,passive
17298          //   a "check" item named %s went passive
17299          // default is passive
17300          program {
17301             name:    "odd";
17302             signal:  "elm,state,odd";
17303             source:  "elm";
17304             action:  STATE_SET "default" 1.0;
17305             target:  "base_sh";
17306             target:  "base";
17307          }
17308          program {
17309             name:    "even";
17310             signal:  "elm,state,even";
17311             source:  "elm";
17312             action:  STATE_SET "default" 0.0;
17313             target:  "base_sh";
17314             target:  "base";
17315          }
17316          program {
17317             name:    "go_active";
17318             signal:  "elm,state,selected";
17319             source:  "elm";
17320             action:  STATE_SET "selected" 0.0;
17321             target:  "bg";
17322             target:  "fg1";
17323             target:  "fg2";
17324             target:  "elm.text";
17325          }
17326          program {
17327             name:    "go_passive";
17328             signal:  "elm,state,unselected";
17329             source:  "elm";
17330             action:  STATE_SET "default" 0.0;
17331             target:  "bg";
17332             target:  "fg1";
17333             target:  "fg2";
17334             target:  "elm.text";
17335             transition: LINEAR 0.1;
17336          }
17337          program {
17338             name:    "go_disabled";
17339             signal:  "elm,state,disabled";
17340             source:  "elm";
17341             action:  STATE_SET "disabled" 0.0;
17342             target:  "disclip";
17343          }
17344          program {
17345             name:    "go_enabled";
17346             signal:  "elm,state,enabled";
17347             source:  "elm";
17348             action:  STATE_SET "default" 0.0;
17349             target:  "disclip";
17350          }
17351          program {
17352             name:    "expand";
17353             signal:  "mouse,up,1";
17354             source:  "arrow";
17355             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17356          }
17357          program {
17358             name:    "go_expanded";
17359             signal:  "elm,state,expanded";
17360             source:  "elm";
17361             script {
17362                new st[31];
17363                new Float:vl;
17364                get_state(PART:"arrow", st, 30, vl);
17365                set_state(PART:"arrow", "active", vl);
17366             }
17367          }
17368          program {
17369             name:    "go_contracted";
17370             signal:  "elm,state,contracted";
17371             source:  "elm";
17372             script {
17373                new st[31];
17374                new Float:vl;
17375                get_state(PART:"arrow", st, 30, vl);
17376                set_state(PART:"arrow", "default", vl);
17377             }
17378          }
17379          program { name: "to_rtl";
17380             signal: "edje,state,rtl";
17381             source: "edje";
17382             script {
17383                new st[31];
17384                new Float:vl;
17385                get_state(PART:"arrow", st, 30, vl);
17386                if (vl == 0.0) {
17387                   set_state(PART:"arrow", st, 0.1);
17388                }
17389             }
17390          }
17391          program { name: "to_ltr";
17392             signal: "edje,state,ltr";
17393             source: "edje";
17394             script {
17395                new st[31];
17396                new Float:vl;
17397                get_state(PART:"arrow", st, 30, vl);
17398                if (vl == 0.1) {
17399                   set_state(PART:"arrow", st, 0.0);
17400                }
17401             }
17402          }
17403       }
17404    }
17405    group { name: "elm/genlist/tree_compress/default/default";
17406       data.item: "stacking" "above";
17407       data.item: "selectraise" "on";
17408       data.item: "labels" "elm.text";
17409       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17410       data.item: "treesize" "20";
17411 //      data.item: "states" "";
17412       images {
17413          image: "bt_sm_base1.png" COMP;
17414          image: "bt_sm_shine.png" COMP;
17415          image: "bt_sm_hilight.png" COMP;
17416          image: "ilist_1.png" COMP;
17417          image: "ilist_item_shadow.png" COMP;
17418          image: "icon_arrow_left.png" COMP;
17419          image: "icon_arrow_right.png" COMP;
17420          image: "icon_arrow_down.png" COMP;
17421       }
17422       parts {
17423          part {
17424             name:           "event";
17425             type:           RECT;
17426             repeat_events: 1;
17427             description {
17428                state: "default" 0.0;
17429                color: 0 0 0 0;
17430             }
17431          }
17432          part {
17433             name: "base_sh";
17434             mouse_events: 0;
17435             description {
17436                state: "default" 0.0;
17437                align: 0.0 0.0;
17438                min: 0 10;
17439                fixed: 1 1;
17440                rel1 {
17441                   to: "base";
17442                   relative: 0.0 1.0;
17443                   offset: 0 0;
17444                }
17445                rel2 {
17446                   to: "base";
17447                   relative: 1.0 1.0;
17448                   offset: -1 0;
17449                }
17450                image {
17451                   normal: "ilist_item_shadow.png";
17452                }
17453                fill.smooth: 0;
17454             }
17455             description {
17456                state: "default" 1.0;
17457                inherit: "default" 0.0;
17458                visible: 0;
17459             }
17460          }
17461          part {
17462             name: "base";
17463             mouse_events: 0;
17464             description {
17465                state: "default" 0.0;
17466                image {
17467                   normal: "ilist_1.png";
17468                   border: 2 2 2 2;
17469                }
17470                fill.smooth: 0;
17471             }
17472             description {
17473                state: "default" 1.0;
17474                inherit: "default" 0.0;
17475                image.normal: "ilist_2.png";
17476             }
17477          }
17478          part { name: "bg";
17479             clip_to: "disclip";
17480             mouse_events: 0;
17481             description { state: "default" 0.0;
17482                visible: 0;
17483                color: 255 255 255 0;
17484                rel1 {
17485                   relative: 0.0 0.0;
17486                   offset: -5 -5;
17487                }
17488                rel2 {
17489                   relative: 1.0 1.0;
17490                   offset: 4 4;
17491                }
17492                image {
17493                   normal: "bt_sm_base1.png";
17494                   border: 6 6 6 6;
17495                }
17496                image.middle: SOLID;
17497             }
17498             description { state: "selected" 0.0;
17499                inherit: "default" 0.0;
17500                visible: 1;
17501                color: 255 255 255 255;
17502                rel1 {
17503                   relative: 0.0 0.0;
17504                   offset: -2 -2;
17505                }
17506                rel2 {
17507                   relative: 1.0 1.0;
17508                   offset: 1 1;
17509                }
17510             }
17511          }
17512          part { name: "elm.swallow.pad";
17513             type: SWALLOW;
17514             description { state: "default" 0.0;
17515                fixed: 1 0;
17516                align: 0.0 0.5;
17517                rel1 {
17518                   relative: 0.0  0.0;
17519                   offset:   4    4;
17520                }
17521                rel2 {
17522                   relative: 0.0  1.0;
17523                   offset:   4   -5;
17524                }
17525             }
17526          }
17527          part { name: "arrow";
17528             clip_to: "disclip";
17529             ignore_flags: ON_HOLD;
17530             description { state: "default" 0.0;
17531                fixed: 1 0;
17532                align: 0.0 0.5;
17533                aspect: 1.0 1.0;
17534                rel1 {
17535                   to_x: "elm.swallow.pad";
17536                   relative: 1.0  0.0;
17537                   offset:   -1    4;
17538                }
17539                rel2 {
17540                   to_x: "elm.swallow.pad";
17541                   relative: 1.0  1.0;
17542                   offset:   -1   -5;
17543                }
17544                image.normal: "icon_arrow_right.png";
17545             }
17546             description { state: "default" 0.1;
17547                inherit: "default" 0.0;
17548                image.normal: "icon_arrow_left.png";
17549             }
17550             description { state: "active" 0.0;
17551                inherit: "default" 0.0;
17552                image.normal: "icon_arrow_down.png";
17553             }
17554             description { state: "active" 0.1;
17555                inherit: "default" 0.0;
17556                image.normal: "icon_arrow_down.png";
17557             }
17558          }
17559          part { name: "elm.swallow.icon";
17560             clip_to: "disclip";
17561             type: SWALLOW;
17562             description { state: "default" 0.0;
17563                fixed: 1 0;
17564                align: 0.0 0.5;
17565                rel1 {
17566                   to_x: "arrow";
17567                   relative: 1.0  0.0;
17568                   offset:   4    4;
17569                }
17570                rel2 {
17571                   to_x: "arrow";
17572                   relative: 1.0  1.0;
17573                   offset:   4   -5;
17574                }
17575             }
17576          }
17577          part { name: "elm.swallow.end";
17578             clip_to: "disclip";
17579             type: SWALLOW;
17580             description { state: "default" 0.0;
17581                fixed: 1 0;
17582                align: 1.0 0.5;
17583                aspect: 1.0 1.0;
17584                aspect_preference: VERTICAL;
17585                rel1 {
17586                   relative: 1.0  0.0;
17587                   offset:   -5    4;
17588                }
17589                rel2 {
17590                   relative: 1.0  1.0;
17591                   offset:   -5   -5;
17592                }
17593             }
17594          }
17595          part { name: "elm.text";
17596             clip_to: "disclip";
17597             type:           TEXT;
17598             effect:         SOFT_SHADOW;
17599             mouse_events:   0;
17600             scale: 1;
17601             description {
17602                state: "default" 0.0;
17603 //               min: 16 16;
17604                rel1 {
17605                   to_x:     "elm.swallow.icon";
17606                   relative: 1.0  0.0;
17607                   offset:   0 4;
17608                }
17609                rel2 {
17610                   to_x:     "elm.swallow.end";
17611                   relative: 0.0  1.0;
17612                   offset:   -1 -5;
17613                }
17614                color: 0 0 0 255;
17615                color3: 0 0 0 0;
17616                text {
17617                   font: "Sans";
17618                   size: 10;
17619 //                  min: 1 1;
17620                   min: 0 1;
17621                   align: 0.0 0.5;
17622                   text_class: "list_item";
17623                }
17624             }
17625             description { state: "selected" 0.0;
17626                inherit: "default" 0.0;
17627                color: 224 224 224 255;
17628                color3: 0 0 0 64;
17629             }
17630          }
17631          part { name: "fg1";
17632             clip_to: "disclip";
17633             mouse_events: 0;
17634             description { state: "default" 0.0;
17635                visible: 0;
17636                color: 255 255 255 0;
17637                rel1.to: "bg";
17638                rel2.relative: 1.0 0.5;
17639                rel2.to: "bg";
17640                image {
17641                   normal: "bt_sm_hilight.png";
17642                   border: 6 6 6 0;
17643                }
17644             }
17645             description { state: "selected" 0.0;
17646                inherit: "default" 0.0;
17647                visible: 1;
17648                color: 255 255 255 255;
17649             }
17650          }
17651          part { name: "fg2";
17652             clip_to: "disclip";
17653             mouse_events: 0;
17654             description { state: "default" 0.0;
17655                visible: 0;
17656                color: 255 255 255 0;
17657                rel1.to: "bg";
17658                rel2.to: "bg";
17659                image {
17660                   normal: "bt_sm_shine.png";
17661                   border: 6 6 6 0;
17662                }
17663             }
17664             description { state: "selected" 0.0;
17665                inherit: "default" 0.0;
17666                visible: 1;
17667                color: 255 255 255 255;
17668             }
17669          }
17670          part { name: "disclip";
17671             type: RECT;
17672             description { state: "default" 0.0;
17673                rel1.to: "bg";
17674                rel2.to: "bg";
17675             }
17676             description { state: "disabled" 0.0;
17677                inherit: "default" 0.0;
17678                color: 255 255 255 64;
17679             }
17680          }
17681       }
17682       programs {
17683          // signal: elm,state,%s,active
17684          //   a "check" item named %s went active
17685          // signal: elm,state,%s,passive
17686          //   a "check" item named %s went passive
17687          // default is passive
17688          program {
17689             name:    "odd";
17690             signal:  "elm,state,odd";
17691             source:  "elm";
17692             action:  STATE_SET "default" 1.0;
17693             target:  "base_sh";
17694             target:  "base";
17695          }
17696          program {
17697             name:    "even";
17698             signal:  "elm,state,even";
17699             source:  "elm";
17700             action:  STATE_SET "default" 0.0;
17701             target:  "base_sh";
17702             target:  "base";
17703          }
17704          program {
17705             name:    "go_active";
17706             signal:  "elm,state,selected";
17707             source:  "elm";
17708             action:  STATE_SET "selected" 0.0;
17709             target:  "bg";
17710             target:  "fg1";
17711             target:  "fg2";
17712             target:  "elm.text";
17713          }
17714          program {
17715             name:    "go_passive";
17716             signal:  "elm,state,unselected";
17717             source:  "elm";
17718             action:  STATE_SET "default" 0.0;
17719             target:  "bg";
17720             target:  "fg1";
17721             target:  "fg2";
17722             target:  "elm.text";
17723             transition: LINEAR 0.1;
17724          }
17725          program {
17726             name:    "go_disabled";
17727             signal:  "elm,state,disabled";
17728             source:  "elm";
17729             action:  STATE_SET "disabled" 0.0;
17730             target:  "disclip";
17731          }
17732          program {
17733             name:    "go_enabled";
17734             signal:  "elm,state,enabled";
17735             source:  "elm";
17736             action:  STATE_SET "default" 0.0;
17737             target:  "disclip";
17738          }
17739          program {
17740             name:    "expand";
17741             signal:  "mouse,up,1";
17742             source:  "arrow";
17743             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17744          }
17745          program {
17746             name:    "go_expanded";
17747             signal:  "elm,state,expanded";
17748             source:  "elm";
17749             script {
17750                new st[31];
17751                new Float:vl;
17752                get_state(PART:"arrow", st, 30, vl);
17753                set_state(PART:"arrow", "active", vl);
17754             }
17755          }
17756          program {
17757             name:    "go_contracted";
17758             signal:  "elm,state,contracted";
17759             source:  "elm";
17760             script {
17761                new st[31];
17762                new Float:vl;
17763                get_state(PART:"arrow", st, 30, vl);
17764                set_state(PART:"arrow", "default", vl);
17765             }
17766          }
17767          program { name: "to_rtl";
17768             signal: "edje,state,rtl";
17769             source: "edje";
17770             script {
17771                new st[31];
17772                new Float:vl;
17773                get_state(PART:"arrow", st, 30, vl);
17774                if (vl == 0.0) {
17775                   set_state(PART:"arrow", st, 0.1);
17776                }
17777             }
17778          }
17779          program { name: "to_ltr";
17780             signal: "edje,state,ltr";
17781             source: "edje";
17782             script {
17783                new st[31];
17784                new Float:vl;
17785                get_state(PART:"arrow", st, 30, vl);
17786                if (vl == 0.1) {
17787                   set_state(PART:"arrow", st, 0.0);
17788                }
17789             }
17790          }
17791       }
17792    }
17793    group { name: "elm/genlist/item/default_style/default";
17794        styles
17795        {
17796            style { name: "genlist_style";
17797                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17798                tag:  "br" "\n";
17799                tag:  "ps" "ps";
17800                tag:  "hilight" "+ font=Sans:style=Bold";
17801                tag:  "b" "+ font=Sans:style=Bold";
17802                tag:  "tab" "\t";
17803            }
17804            style { name: "genlist_selected_style";
17805                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17806                tag:  "br" "\n";
17807                tag:  "ps" "ps";
17808                tag:  "hilight" "+ font=Sans:style=Bold";
17809                tag:  "b" "+ font=Sans:style=Bold";
17810                tag:  "tab" "\t";
17811            }
17812        }
17813        data.item: "stacking" "above";
17814        data.item: "selectraise" "on";
17815        data.item: "labels" "elm.text";
17816        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17817        data.item: "treesize" "20";
17818        images {
17819            image: "bt_sm_base1.png" COMP;
17820            image: "bt_sm_shine.png" COMP;
17821            image: "bt_sm_hilight.png" COMP;
17822            image: "ilist_1.png" COMP;
17823            image: "ilist_item_shadow.png" COMP;
17824        }
17825        parts {
17826            part {
17827                name:           "event";
17828                type:           RECT;
17829                repeat_events: 1;
17830                description {
17831                    state: "default" 0.0;
17832                    color: 0 0 0 0;
17833                }
17834            }
17835            part {
17836                name: "base_sh";
17837                mouse_events: 0;
17838                description {
17839                    state: "default" 0.0;
17840                    align: 0.0 0.0;
17841                    min: 0 10;
17842                    fixed: 1 1;
17843                    rel1 {
17844                        to: "base";
17845                        relative: 0.0 1.0;
17846                        offset: 0 0;
17847                    }
17848                    rel2 {
17849                        to: "base";
17850                        relative: 1.0 1.0;
17851                        offset: -1 0;
17852                    }
17853                    image {
17854                        normal: "ilist_item_shadow.png";
17855                    }
17856                    fill.smooth: 0;
17857                }
17858            }
17859            part {
17860                name: "base";
17861                mouse_events: 0;
17862                description {
17863                    state: "default" 0.0;
17864                    min: 16 28;
17865                    image {
17866                        normal: "ilist_1.png";
17867                        border: 2 2 2 2;
17868                    }
17869                    fill.smooth: 0;
17870                }
17871            }
17872            part { name: "bg";
17873                clip_to: "disclip";
17874                mouse_events: 0;
17875                description { state: "default" 0.0;
17876                    visible: 0;
17877                    color: 255 255 255 0;
17878                    rel1 {
17879                        relative: 0.0 0.0;
17880                        offset: -5 -5;
17881                    }
17882                    rel2 {
17883                        relative: 1.0 1.0;
17884                        offset: 4 4;
17885                    }
17886                    image {
17887                        normal: "bt_sm_base1.png";
17888                        border: 6 6 6 6;
17889                    }
17890                    image.middle: SOLID;
17891                }
17892                description { state: "selected" 0.0;
17893                    inherit: "default" 0.0;
17894                    visible: 1;
17895                    color: 255 255 255 255;
17896                    rel1 {
17897                        relative: 0.0 0.0;
17898                        offset: -2 -2;
17899                    }
17900                    rel2 {
17901                        relative: 1.0 1.0;
17902                        offset: 1 1;
17903                    }
17904                }
17905            }
17906            part { name: "elm.swallow.pad";
17907                type: SWALLOW;
17908                description { state: "default" 0.0;
17909                    fixed: 1 0;
17910                    align: 0.0 0.5;
17911                    rel1 {
17912                        relative: 0.0  0.0;
17913                        offset:   4    4;
17914                    }
17915                    rel2 {
17916                        relative: 0.0  1.0;
17917                        offset:   4   -5;
17918                    }
17919                }
17920            }
17921            part { name: "elm.swallow.icon";
17922                clip_to: "disclip";
17923                type: SWALLOW;
17924                description { state: "default" 0.0;
17925                    fixed: 1 0;
17926                    align: 0.0 0.5;
17927                    rel1 {
17928                        to_x: "elm.swallow.pad";
17929                        relative: 1.0  0.0;
17930                        offset:   -1    4;
17931                    }
17932                    rel2 {
17933                        to_x: "elm.swallow.pad";
17934                        relative: 1.0  1.0;
17935                        offset:   -1   -5;
17936                    }
17937                }
17938            }
17939            part { name: "elm.swallow.end";
17940                clip_to: "disclip";
17941                type: SWALLOW;
17942                description { state: "default" 0.0;
17943                    fixed: 1 0;
17944                    align: 1.0 0.5;
17945                    aspect: 1.0 1.0;
17946                    aspect_preference: VERTICAL;
17947                    rel1 {
17948                        relative: 1.0  0.0;
17949                        offset:   -5    4;
17950                    }
17951                    rel2 {
17952                        relative: 1.0  1.0;
17953                        offset:   -5   -5;
17954                    }
17955                }
17956            }
17957            part { name: "elm.text";
17958                clip_to: "disclip";
17959                type: TEXTBLOCK;
17960                mouse_events: 0;
17961                scale: 1;
17962                description {
17963                    state: "default" 0.0;
17964                    align: 0.0 0.5;
17965                    fixed: 0 1;
17966                    rel1 {
17967                        to_x: "elm.swallow.icon";
17968                        to_y: "base";
17969                        relative: 1.0  0.5;
17970                        offset:   0 4;
17971                    }
17972                    rel2 {
17973                        to_x: "elm.swallow.end";
17974                        to_y: "base";
17975                        relative: 0.0  0.5;
17976                        offset:   -1 -5;
17977                    }
17978                    text {
17979                        style: "genlist_style";
17980                        min: 1 1;
17981                    }
17982                }
17983                description { state: "selected" 0.0;
17984                    inherit: "default" 0.0;
17985                    text {
17986                        style: "genlist_selected_style";
17987                    }
17988                }
17989            }
17990            part { name: "fg1";
17991                clip_to: "disclip";
17992                mouse_events: 0;
17993                description { state: "default" 0.0;
17994                    visible: 0;
17995                    color: 255 255 255 0;
17996                    rel1.to: "bg";
17997                    rel2.relative: 1.0 0.5;
17998                    rel2.to: "bg";
17999                    image {
18000                        normal: "bt_sm_hilight.png";
18001                        border: 6 6 6 0;
18002                    }
18003                }
18004                description { state: "selected" 0.0;
18005                    inherit: "default" 0.0;
18006                    visible: 1;
18007                    color: 255 255 255 255;
18008                }
18009            }
18010            part { name: "fg2";
18011                clip_to: "disclip";
18012                mouse_events: 0;
18013                description { state: "default" 0.0;
18014                    visible: 0;
18015                    color: 255 255 255 0;
18016                    rel1.to: "bg";
18017                    rel2.to: "bg";
18018                    image {
18019                        normal: "bt_sm_shine.png";
18020                        border: 6 6 6 0;
18021                    }
18022                }
18023                description { state: "selected" 0.0;
18024                    inherit: "default" 0.0;
18025                    visible: 1;
18026                    color: 255 255 255 255;
18027                }
18028            }
18029            part { name: "disclip";
18030                type: RECT;
18031                description { state: "default" 0.0;
18032                    rel1.to: "bg";
18033                    rel2.to: "bg";
18034                }
18035                description { state: "disabled" 0.0;
18036                    inherit: "default" 0.0;
18037                    color: 255 255 255 64;
18038                }
18039            }
18040        }
18041        programs {
18042            // signal: elm,state,%s,active
18043            //   a "check" item named %s went active
18044            // signal: elm,state,%s,passive
18045            //   a "check" item named %s went passive
18046            // default is passive
18047            program {
18048                name:    "go_active";
18049                signal:  "elm,state,selected";
18050                source:  "elm";
18051                action:  STATE_SET "selected" 0.0;
18052                target:  "bg";
18053                target:  "fg1";
18054                target:  "fg2";
18055                target:  "elm.text";
18056            }
18057            program {
18058                name:    "go_passive";
18059                signal:  "elm,state,unselected";
18060                source:  "elm";
18061                action:  STATE_SET "default" 0.0;
18062                target:  "bg";
18063                target:  "fg1";
18064                target:  "fg2";
18065                target:  "elm.text";
18066                transition: LINEAR 0.1;
18067            }
18068            program {
18069                name:    "go_disabled";
18070                signal:  "elm,state,disabled";
18071                source:  "elm";
18072                action:  STATE_SET "disabled" 0.0;
18073                target:  "disclip";
18074            }
18075            program {
18076                name:    "go_enabled";
18077                signal:  "elm,state,enabled";
18078                source:  "elm";
18079                action:  STATE_SET "default" 0.0;
18080                target:  "disclip";
18081            }
18082        }
18083    }
18084    group { name: "elm/genlist/item_odd/default_style/default";
18085        data.item: "stacking" "below";
18086        data.item: "selectraise" "on";
18087        data.item: "labels" "elm.text";
18088        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18089        data.item: "treesize" "20";
18090        images {
18091            image: "bt_sm_base1.png" COMP;
18092            image: "bt_sm_shine.png" COMP;
18093            image: "bt_sm_hilight.png" COMP;
18094            image: "ilist_2.png" COMP;
18095        }
18096        parts {
18097            part { name: "event";
18098                type: RECT;
18099                repeat_events: 1;
18100                description {
18101                    state: "default" 0.0;
18102                    color: 0 0 0 0;
18103                }
18104            }
18105            part {
18106                name: "base";
18107                mouse_events: 0;
18108                description {
18109                    state: "default" 0.0;
18110                    min: 16 28;
18111                    image {
18112                        normal: "ilist_2.png";
18113                        border: 2 2 2 2;
18114                    }
18115                    fill.smooth: 0;
18116                }
18117            }
18118            part { name: "bg";
18119                clip_to: "disclip";
18120                mouse_events: 0;
18121                description { state: "default" 0.0;
18122                    visible: 0;
18123                    color: 255 255 255 0;
18124                    rel1 {
18125                        relative: 0.0 0.0;
18126                        offset: -5 -5;
18127                    }
18128                    rel2 {
18129                        relative: 1.0 1.0;
18130                        offset: 4 4;
18131                    }
18132                    image {
18133                        normal: "bt_sm_base1.png";
18134                        border: 6 6 6 6;
18135                    }
18136                    image.middle: SOLID;
18137                }
18138                description { state: "selected" 0.0;
18139                    inherit: "default" 0.0;
18140                    visible: 1;
18141                    color: 255 255 255 255;
18142                    rel1 {
18143                        relative: 0.0 0.0;
18144                        offset: -2 -2;
18145                    }
18146                    rel2 {
18147                        relative: 1.0 1.0;
18148                        offset: 1 1;
18149                    }
18150                }
18151            }
18152            part { name: "elm.swallow.pad";
18153                type: SWALLOW;
18154                description { state: "default" 0.0;
18155                    fixed: 1 0;
18156                    align: 0.0 0.5;
18157                    rel1 {
18158                        relative: 0.0  0.0;
18159                        offset:   4    4;
18160                    }
18161                    rel2 {
18162                        relative: 0.0  1.0;
18163                        offset:   4   -5;
18164                    }
18165                }
18166            }
18167            part { name: "elm.swallow.icon";
18168                clip_to: "disclip";
18169                type: SWALLOW;
18170                description { state: "default" 0.0;
18171                    fixed: 1 0;
18172                    align: 0.0 0.5;
18173                    rel1 {
18174                        to_x: "elm.swallow.pad";
18175                        relative: 1.0  0.0;
18176                        offset:   -1    4;
18177                    }
18178                    rel2 {
18179                        to_x: "elm.swallow.pad";
18180                        relative: 1.0  1.0;
18181                        offset:   -1   -5;
18182                    }
18183                }
18184            }
18185            part { name: "elm.swallow.end";
18186                clip_to: "disclip";
18187                type:          SWALLOW;
18188                description { state:    "default" 0.0;
18189                    fixed: 1 0;
18190                    align:    1.0 0.5;
18191                    aspect: 1.0 1.0;
18192                    aspect_preference: VERTICAL;
18193                    rel1 {
18194                        relative: 1.0  0.0;
18195                        offset:   -5    4;
18196                    }
18197                    rel2 {
18198                        relative: 1.0  1.0;
18199                        offset:   -5   -5;
18200                    }
18201                }
18202            }
18203            part { name: "elm.text";
18204                clip_to: "disclip";
18205                type:           TEXTBLOCK;
18206                mouse_events:   0;
18207                scale: 1;
18208                description {
18209                    state: "default" 0.0;
18210                    align: 0.0 0.5;
18211                    fixed: 0 1;
18212                    rel1 {
18213                        to_x: "elm.swallow.icon";
18214                        to_y: "base";
18215                        relative: 1.0  0.5;
18216                        offset:   0 4;
18217                    }
18218                    rel2 {
18219                        to_x: "elm.swallow.end";
18220                        to_y: "base";
18221                        relative: 0.0  0.5;
18222                        offset:   -1 -5;
18223                    }
18224                    text {
18225                        style: "genlist_style";
18226                        min: 1 1;
18227                    }
18228                }
18229                description { state: "selected" 0.0;
18230                    inherit: "default" 0.0;
18231                    text {
18232                        style: "genlist_selected_style";
18233                    }
18234                }
18235            }
18236            part { name: "fg1";
18237                clip_to: "disclip";
18238                mouse_events: 0;
18239                description { state: "default" 0.0;
18240                    visible: 0;
18241                    color: 255 255 255 0;
18242                    rel1.to: "bg";
18243                    rel2.relative: 1.0 0.5;
18244                    rel2.to: "bg";
18245                    image {
18246                        normal: "bt_sm_hilight.png";
18247                        border: 6 6 6 0;
18248                    }
18249                }
18250                description { state: "selected" 0.0;
18251                    inherit: "default" 0.0;
18252                    visible: 1;
18253                    color: 255 255 255 255;
18254                }
18255            }
18256            part { name: "fg2";
18257                clip_to: "disclip";
18258                mouse_events: 0;
18259                description { state: "default" 0.0;
18260                    visible: 0;
18261                    color: 255 255 255 0;
18262                    rel1.to: "bg";
18263                    rel2.to: "bg";
18264                    image {
18265                        normal: "bt_sm_shine.png";
18266                        border: 6 6 6 0;
18267                    }
18268                }
18269                description { state: "selected" 0.0;
18270                    inherit: "default" 0.0;
18271                    visible: 1;
18272                    color: 255 255 255 255;
18273                }
18274            }
18275            part { name: "disclip";
18276                type: RECT;
18277                description { state: "default" 0.0;
18278                    rel1.to: "bg";
18279                    rel2.to: "bg";
18280                }
18281                description { state: "disabled" 0.0;
18282                    inherit: "default" 0.0;
18283                    color: 255 255 255 64;
18284                }
18285            }
18286        }
18287        programs {
18288            // signal: elm,state,%s,active
18289            //   a "check" item named %s went active
18290            // signal: elm,state,%s,passive
18291            //   a "check" item named %s went passive
18292            // default is passive
18293            program {
18294                name:    "go_active";
18295                signal:  "elm,state,selected";
18296                source:  "elm";
18297                action:  STATE_SET "selected" 0.0;
18298                target:  "bg";
18299                target:  "fg1";
18300                target:  "fg2";
18301                target:  "elm.text";
18302            }
18303            program {
18304                name:    "go_passive";
18305                signal:  "elm,state,unselected";
18306                source:  "elm";
18307                action:  STATE_SET "default" 0.0;
18308                target:  "bg";
18309                target:  "fg1";
18310                target:  "fg2";
18311                target:  "elm.text";
18312                transition: LINEAR 0.1;
18313            }
18314            program {
18315                name:    "go_disabled";
18316                signal:  "elm,state,disabled";
18317                source:  "elm";
18318                action:  STATE_SET "disabled" 0.0;
18319                target:  "disclip";
18320            }
18321            program {
18322                name:    "go_enabled";
18323                signal:  "elm,state,enabled";
18324                source:  "elm";
18325                action:  STATE_SET "default" 0.0;
18326                target:  "disclip";
18327            }
18328        }
18329    }
18330
18331    group { name: "elm/genlist/tree/default_style/default";
18332        data.item: "stacking" "above";
18333        data.item: "selectraise" "on";
18334        data.item: "labels" "elm.text";
18335        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18336        data.item: "treesize" "20";
18337        images {
18338            image: "bt_sm_base1.png" COMP;
18339            image: "bt_sm_shine.png" COMP;
18340            image: "bt_sm_hilight.png" COMP;
18341            image: "ilist_1.png" COMP;
18342            image: "ilist_item_shadow.png" COMP;
18343            image: "icon_arrow_right.png" COMP;
18344            image: "icon_arrow_down.png" COMP;
18345        }
18346        parts {
18347            part {
18348                name:           "event";
18349                type:           RECT;
18350                repeat_events: 1;
18351                description {
18352                    state: "default" 0.0;
18353                    color: 0 0 0 0;
18354                }
18355            }
18356            part {
18357                name: "base_sh";
18358                mouse_events: 0;
18359                description {
18360                    state: "default" 0.0;
18361                    align: 0.0 0.0;
18362                    min: 0 10;
18363                    fixed: 1 1;
18364                    rel1 {
18365                        to: "base";
18366                        relative: 0.0 1.0;
18367                        offset: 0 0;
18368                    }
18369                    rel2 {
18370                        to: "base";
18371                        relative: 1.0 1.0;
18372                        offset: -1 0;
18373                    }
18374                    image {
18375                        normal: "ilist_item_shadow.png";
18376                    }
18377                    fill.smooth: 0;
18378                }
18379            }
18380            part {
18381                name: "base";
18382                mouse_events: 0;
18383                description {
18384                    state: "default" 0.0;
18385                    min: 16 28;
18386                    image {
18387                        normal: "ilist_1.png";
18388                        border: 2 2 2 2;
18389                    }
18390                    fill.smooth: 0;
18391                }
18392            }
18393            part { name: "bg";
18394                clip_to: "disclip";
18395                mouse_events: 0;
18396                description { state: "default" 0.0;
18397                    visible: 0;
18398                    color: 255 255 255 0;
18399                    rel1 {
18400                        relative: 0.0 0.0;
18401                        offset: -5 -5;
18402                    }
18403                    rel2 {
18404                        relative: 1.0 1.0;
18405                        offset: 4 4;
18406                    }
18407                    image {
18408                        normal: "bt_sm_base1.png";
18409                        border: 6 6 6 6;
18410                    }
18411                    image.middle: SOLID;
18412                }
18413                description { state: "selected" 0.0;
18414                    inherit: "default" 0.0;
18415                    visible: 1;
18416                    color: 255 255 255 255;
18417                    rel1 {
18418                        relative: 0.0 0.0;
18419                        offset: -2 -2;
18420                    }
18421                    rel2 {
18422                        relative: 1.0 1.0;
18423                        offset: 1 1;
18424                    }
18425                }
18426            }
18427            part { name: "elm.swallow.pad";
18428                type: SWALLOW;
18429                description { state: "default" 0.0;
18430                    fixed: 1 0;
18431                    align: 0.0 0.5;
18432                    rel1 {
18433                        relative: 0.0  0.0;
18434                        offset:   4    4;
18435                    }
18436                    rel2 {
18437                        relative: 0.0  1.0;
18438                        offset:   4   -5;
18439                    }
18440                }
18441            }
18442            part { name: "arrow";
18443                clip_to: "disclip";
18444                ignore_flags: ON_HOLD;
18445                description { state: "default" 0.0;
18446                    fixed: 1 0;
18447                    align: 0.0 0.5;
18448                    aspect: 1.0 1.0;
18449                    rel1 {
18450                        to_x: "elm.swallow.pad";
18451                        relative: 1.0  0.0;
18452                        offset:   -1    4;
18453                    }
18454                    rel2 {
18455                        to_x: "elm.swallow.pad";
18456                        relative: 1.0  1.0;
18457                        offset:   -1   -5;
18458                    }
18459                    image.normal: "icon_arrow_right.png";
18460                }
18461                description { state: "active" 0.0;
18462                    inherit: "default" 0.0;
18463                    image.normal: "icon_arrow_down.png";
18464                }
18465            }
18466            part { name: "elm.swallow.icon";
18467                clip_to: "disclip";
18468                type: SWALLOW;
18469                description { state: "default" 0.0;
18470                    fixed: 1 0;
18471                    align: 0.0 0.5;
18472                    rel1 {
18473                        to_x: "arrow";
18474                        relative: 1.0  0.0;
18475                        offset:   4    4;
18476                    }
18477                    rel2 {
18478                        to_x: "arrow";
18479                        relative: 1.0  1.0;
18480                        offset:   4   -5;
18481                    }
18482                }
18483            }
18484            part { name: "elm.swallow.end";
18485                clip_to: "disclip";
18486                type: SWALLOW;
18487                description { state: "default" 0.0;
18488                    fixed: 1 0;
18489                    align: 1.0 0.5;
18490                    aspect: 1.0 1.0;
18491                    aspect_preference: VERTICAL;
18492                    rel1 {
18493                        relative: 1.0  0.0;
18494                        offset:   -5    4;
18495                    }
18496                    rel2 {
18497                        relative: 1.0  1.0;
18498                        offset:   -5   -5;
18499                    }
18500                }
18501            }
18502            part { name: "elm.text";
18503                clip_to: "disclip";
18504                type:           TEXTBLOCK;
18505                effect:         SOFT_SHADOW;
18506                mouse_events:   0;
18507                scale: 1;
18508                description {
18509                    state: "default" 0.0;
18510                    align: 0.0 0.5;
18511                    fixed: 0 1;
18512                    rel1 {
18513                        to_x:     "elm.swallow.icon";
18514                        to_y: "base";
18515                        relative: 1.0  0.5;
18516                        offset:   0 4;
18517                    }
18518                    rel2 {
18519                        to_x:     "elm.swallow.end";
18520                        to_y: "base";
18521                        relative: 0.0  0.5;
18522                        offset:   -1 -5;
18523                    }
18524                    text {
18525                        style: "genlist_style";
18526                        min: 1 1;
18527                    }
18528                }
18529                description { state: "selected" 0.0;
18530                    inherit: "default" 0.0;
18531                    text {
18532                        style: "genlist_selected_style";
18533                    }
18534                }
18535            }
18536            part { name: "fg1";
18537                clip_to: "disclip";
18538                mouse_events: 0;
18539                description { state: "default" 0.0;
18540                    visible: 0;
18541                    color: 255 255 255 0;
18542                    rel1.to: "bg";
18543                    rel2.relative: 1.0 0.5;
18544                    rel2.to: "bg";
18545                    image {
18546                        normal: "bt_sm_hilight.png";
18547                        border: 6 6 6 0;
18548                    }
18549                }
18550                description { state: "selected" 0.0;
18551                    inherit: "default" 0.0;
18552                    visible: 1;
18553                    color: 255 255 255 255;
18554                }
18555            }
18556            part { name: "fg2";
18557                clip_to: "disclip";
18558                mouse_events: 0;
18559                description { state: "default" 0.0;
18560                    visible: 0;
18561                    color: 255 255 255 0;
18562                    rel1.to: "bg";
18563                    rel2.to: "bg";
18564                    image {
18565                        normal: "bt_sm_shine.png";
18566                        border: 6 6 6 0;
18567                    }
18568                }
18569                description { state: "selected" 0.0;
18570                    inherit: "default" 0.0;
18571                    visible: 1;
18572                    color: 255 255 255 255;
18573                }
18574            }
18575            part { name: "disclip";
18576                type: RECT;
18577                description { state: "default" 0.0;
18578                    rel1.to: "bg";
18579                    rel2.to: "bg";
18580                }
18581                description { state: "disabled" 0.0;
18582                    inherit: "default" 0.0;
18583                    color: 255 255 255 64;
18584                }
18585            }
18586        }
18587        programs {
18588            // signal: elm,state,%s,active
18589            //   a "check" item named %s went active
18590            // signal: elm,state,%s,passive
18591            //   a "check" item named %s went passive
18592            // default is passive
18593            program {
18594                name:    "go_active";
18595                signal:  "elm,state,selected";
18596                source:  "elm";
18597                action:  STATE_SET "selected" 0.0;
18598                target:  "bg";
18599                target:  "fg1";
18600                target:  "fg2";
18601                target:  "elm.text";
18602            }
18603            program {
18604                name:    "go_passive";
18605                signal:  "elm,state,unselected";
18606                source:  "elm";
18607                action:  STATE_SET "default" 0.0;
18608                target:  "bg";
18609                target:  "fg1";
18610                target:  "fg2";
18611                target:  "elm.text";
18612                transition: LINEAR 0.1;
18613            }
18614            program {
18615                name:    "go_disabled";
18616                signal:  "elm,state,disabled";
18617                source:  "elm";
18618                action:  STATE_SET "disabled" 0.0;
18619                target:  "disclip";
18620            }
18621            program {
18622                name:    "go_enabled";
18623                signal:  "elm,state,enabled";
18624                source:  "elm";
18625                action:  STATE_SET "default" 0.0;
18626                target:  "disclip";
18627            }
18628            program {
18629                name:    "expand";
18630                signal:  "mouse,up,1";
18631                source:  "arrow";
18632                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18633            }
18634            program {
18635                name:    "go_expanded";
18636                signal:  "elm,state,expanded";
18637                source:  "elm";
18638                action:  STATE_SET "active" 0.0;
18639                target:  "arrow";
18640            }
18641            program {
18642                name:    "go_contracted";
18643                signal:  "elm,state,contracted";
18644                source:  "elm";
18645                action:  STATE_SET "default" 0.0;
18646                target:  "arrow";
18647            }
18648        }
18649    }
18650    group { name: "elm/genlist/tree_odd/default_style/default";
18651        data.item: "stacking" "below";
18652        data.item: "selectraise" "on";
18653        data.item: "labels" "elm.text";
18654        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18655        data.item: "treesize" "20";
18656        images {
18657            image: "bt_sm_base1.png" COMP;
18658            image: "bt_sm_shine.png" COMP;
18659            image: "bt_sm_hilight.png" COMP;
18660            image: "ilist_2.png" COMP;
18661            image: "icon_arrow_right.png" COMP;
18662            image: "icon_arrow_down.png" COMP;
18663        }
18664        parts {
18665            part {
18666                name:           "event";
18667                type:           RECT;
18668                repeat_events: 1;
18669                description {
18670                    state: "default" 0.0;
18671                    color: 0 0 0 0;
18672                }
18673            }
18674            part {
18675                name: "base";
18676                mouse_events: 0;
18677                description {
18678                    state: "default" 0.0;
18679                    min: 16 28;
18680                    image {
18681                        normal: "ilist_2.png";
18682                        border: 2 2 2 2;
18683                    }
18684                    fill.smooth: 0;
18685                }
18686            }
18687            part { name: "bg";
18688                clip_to: "disclip";
18689                mouse_events: 0;
18690                description { state: "default" 0.0;
18691                    visible: 0;
18692                    color: 255 255 255 0;
18693                    rel1 {
18694                        relative: 0.0 0.0;
18695                        offset: -5 -5;
18696                    }
18697                    rel2 {
18698                        relative: 1.0 1.0;
18699                        offset: 4 4;
18700                    }
18701                    image {
18702                        normal: "bt_sm_base1.png";
18703                        border: 6 6 6 6;
18704                    }
18705                    image.middle: SOLID;
18706                }
18707                description { state: "selected" 0.0;
18708                    inherit: "default" 0.0;
18709                    visible: 1;
18710                    color: 255 255 255 255;
18711                    rel1 {
18712                        relative: 0.0 0.0;
18713                        offset: -2 -2;
18714                    }
18715                    rel2 {
18716                        relative: 1.0 1.0;
18717                        offset: 1 1;
18718                    }
18719                }
18720            }
18721            part { name: "elm.swallow.pad";
18722                type: SWALLOW;
18723                description { state: "default" 0.0;
18724                    fixed: 1 0;
18725                    align: 0.0 0.5;
18726                    rel1 {
18727                        relative: 0.0  0.0;
18728                        offset:   4    4;
18729                    }
18730                    rel2 {
18731                        relative: 0.0  1.0;
18732                        offset:   4   -5;
18733                    }
18734                }
18735            }
18736            part { name: "arrow";
18737                clip_to: "disclip";
18738                ignore_flags: ON_HOLD;
18739                description { state: "default" 0.0;
18740                    fixed: 1 0;
18741                    align: 0.0 0.5;
18742                    aspect: 1.0 1.0;
18743                    rel1 {
18744                        to_x: "elm.swallow.pad";
18745                        relative: 1.0  0.0;
18746                        offset:   -1    4;
18747                    }
18748                    rel2 {
18749                        to_x: "elm.swallow.pad";
18750                        relative: 1.0  1.0;
18751                        offset:   -1   -5;
18752                    }
18753                    image.normal: "icon_arrow_right.png";
18754                }
18755                description { state: "active" 0.0;
18756                    inherit: "default" 0.0;
18757                    image.normal: "icon_arrow_down.png";
18758                }
18759            }
18760            part { name: "elm.swallow.icon";
18761                clip_to: "disclip";
18762                type: SWALLOW;
18763                description { state: "default" 0.0;
18764                    fixed: 1 0;
18765                    align: 0.0 0.5;
18766                    rel1 {
18767                        to_x: "arrow";
18768                        relative: 1.0  0.0;
18769                        offset:   4    4;
18770                    }
18771                    rel2 {
18772                        to_x: "arrow";
18773                        relative: 1.0  1.0;
18774                        offset:   4   -5;
18775                    }
18776                }
18777            }
18778            part { name: "elm.swallow.end";
18779                clip_to: "disclip";
18780                type: SWALLOW;
18781                description { state: "default" 0.0;
18782                    fixed: 1 0;
18783                    align: 1.0 0.5;
18784                    aspect: 1.0 1.0;
18785                    aspect_preference: VERTICAL;
18786                    rel1 {
18787                        relative: 1.0  0.0;
18788                        offset:   -5    4;
18789                    }
18790                    rel2 {
18791                        relative: 1.0  1.0;
18792                        offset:   -5   -5;
18793                    }
18794                }
18795            }
18796            part { name: "elm.text";
18797                clip_to: "disclip";
18798                type:           TEXTBLOCK;
18799                effect:         SOFT_SHADOW;
18800                mouse_events:   0;
18801                scale: 1;
18802                description {
18803                    state: "default" 0.0;
18804                    align: 0.0 0.5;
18805                    fixed: 0 1;
18806                    rel1 {
18807                        to_x:     "elm.swallow.icon";
18808                        to_y: "base";
18809                        relative: 1.0  0.5;
18810                        offset:   0 4;
18811                    }
18812                    rel2 {
18813                        to_x:     "elm.swallow.end";
18814                        to_y: "base";
18815                        relative: 0.0  0.5;
18816                        offset:   -1 -5;
18817                    }
18818                    text {
18819                        style: "genlist_style";
18820                        min: 1 1;
18821                    }
18822                }
18823                description { state: "selected" 0.0;
18824                    inherit: "default" 0.0;
18825                    text {
18826                        style: "genlist_selected_style";
18827                    }
18828                }
18829            }
18830            part { name: "fg1";
18831                clip_to: "disclip";
18832                mouse_events: 0;
18833                description { state: "default" 0.0;
18834                    visible: 0;
18835                    color: 255 255 255 0;
18836                    rel1.to: "bg";
18837                    rel2.relative: 1.0 0.5;
18838                    rel2.to: "bg";
18839                    image {
18840                        normal: "bt_sm_hilight.png";
18841                        border: 6 6 6 0;
18842                    }
18843                }
18844                description { state: "selected" 0.0;
18845                    inherit: "default" 0.0;
18846                    visible: 1;
18847                    color: 255 255 255 255;
18848                }
18849            }
18850            part { name: "fg2";
18851                clip_to: "disclip";
18852                mouse_events: 0;
18853                description { state: "default" 0.0;
18854                    visible: 0;
18855                    color: 255 255 255 0;
18856                    rel1.to: "bg";
18857                    rel2.to: "bg";
18858                    image {
18859                        normal: "bt_sm_shine.png";
18860                        border: 6 6 6 0;
18861                    }
18862                }
18863                description { state: "selected" 0.0;
18864                    inherit: "default" 0.0;
18865                    visible: 1;
18866                    color: 255 255 255 255;
18867                }
18868            }
18869            part { name: "disclip";
18870                type: RECT;
18871                description { state: "default" 0.0;
18872                    rel1.to: "bg";
18873                    rel2.to: "bg";
18874                }
18875                description { state: "disabled" 0.0;
18876                    inherit: "default" 0.0;
18877                    color: 255 255 255 64;
18878                }
18879            }
18880        }
18881        programs {
18882            // signal: elm,state,%s,active
18883            //   a "check" item named %s went active
18884            // signal: elm,state,%s,passive
18885            //   a "check" item named %s went passive
18886            // default is passive
18887            program {
18888                name:    "go_active";
18889                signal:  "elm,state,selected";
18890                source:  "elm";
18891                action:  STATE_SET "selected" 0.0;
18892                target:  "bg";
18893                target:  "fg1";
18894                target:  "fg2";
18895                target:  "elm.text";
18896            }
18897            program {
18898                name:    "go_passive";
18899                signal:  "elm,state,unselected";
18900                source:  "elm";
18901                action:  STATE_SET "default" 0.0;
18902                target:  "bg";
18903                target:  "fg1";
18904                target:  "fg2";
18905                target:  "elm.text";
18906                transition: LINEAR 0.1;
18907            }
18908            program {
18909                name:    "go_disabled";
18910                signal:  "elm,state,disabled";
18911                source:  "elm";
18912                action:  STATE_SET "disabled" 0.0;
18913                target:  "disclip";
18914            }
18915            program {
18916                name:    "go_enabled";
18917                signal:  "elm,state,enabled";
18918                source:  "elm";
18919                action:  STATE_SET "default" 0.0;
18920                target:  "disclip";
18921            }
18922            program {
18923                name:    "expand";
18924                signal:  "mouse,up,1";
18925                source:  "arrow";
18926                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18927            }
18928            program {
18929                name:    "go_expanded";
18930                signal:  "elm,state,expanded";
18931                source:  "elm";
18932                action:  STATE_SET "active" 0.0;
18933                target:  "arrow";
18934            }
18935            program {
18936                name:    "go_contracted";
18937                signal:  "elm,state,contracted";
18938                source:  "elm";
18939                action:  STATE_SET "default" 0.0;
18940                target:  "arrow";
18941            }
18942        }
18943    }
18944
18945
18946    group { name: "elm/genlist/item/double_label/default";
18947       data.item: "stacking" "above";
18948       data.item: "selectraise" "on";
18949       data.item: "labels" "elm.text elm.text.sub";
18950       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18951       data.item: "treesize" "20";
18952 //      data.item: "states" "";
18953       images {
18954          image: "bt_sm_base1.png" COMP;
18955          image: "bt_sm_shine.png" COMP;
18956          image: "bt_sm_hilight.png" COMP;
18957          image: "ilist_1.png" COMP;
18958          image: "ilist_item_shadow.png" COMP;
18959       }
18960       parts {
18961          part {
18962             name:           "event";
18963             type:           RECT;
18964             repeat_events: 1;
18965             description {
18966                state: "default" 0.0;
18967                color: 0 0 0 0;
18968             }
18969          }
18970          part {
18971             name: "base_sh";
18972             mouse_events: 0;
18973             description {
18974                state: "default" 0.0;
18975                align: 0.0 0.0;
18976                min: 0 10;
18977                fixed: 1 1;
18978                rel1 {
18979                   to: "base";
18980                   relative: 0.0 1.0;
18981                   offset: 0 0;
18982                }
18983                rel2 {
18984                   to: "base";
18985                   relative: 1.0 1.0;
18986                   offset: -1 0;
18987                }
18988                image {
18989                   normal: "ilist_item_shadow.png";
18990                }
18991                fill.smooth: 0;
18992             }
18993          }
18994          part {
18995             name: "base";
18996             mouse_events: 0;
18997             description {
18998                state: "default" 0.0;
18999                image {
19000                   normal: "ilist_1.png";
19001                   border: 2 2 2 2;
19002                }
19003                fill.smooth: 0;
19004             }
19005          }
19006          part { name: "bg";
19007             clip_to: "disclip";
19008             mouse_events: 0;
19009             description { state: "default" 0.0;
19010                visible: 0;
19011                color: 255 255 255 0;
19012                rel1 {
19013                   relative: 0.0 0.0;
19014                   offset: -5 -5;
19015                }
19016                rel2 {
19017                   relative: 1.0 1.0;
19018                   offset: 4 4;
19019                }
19020                image {
19021                   normal: "bt_sm_base1.png";
19022                   border: 6 6 6 6;
19023                }
19024                image.middle: SOLID;
19025             }
19026             description { state: "selected" 0.0;
19027                inherit: "default" 0.0;
19028                visible: 1;
19029                color: 255 255 255 255;
19030                rel1 {
19031                   relative: 0.0 0.0;
19032                   offset: -2 -2;
19033                }
19034                rel2 {
19035                   relative: 1.0 1.0;
19036                   offset: 1 1;
19037                }
19038             }
19039          }
19040          part { name: "elm.swallow.pad";
19041             type: SWALLOW;
19042             description { state: "default" 0.0;
19043                fixed: 1 0;
19044                align: 0.0 0.5;
19045                rel1 {
19046                   relative: 0.0  0.0;
19047                   offset:   4    4;
19048                }
19049                rel2 {
19050                   relative: 0.0  1.0;
19051                   offset:   4   -5;
19052                }
19053             }
19054          }
19055          part { name: "elm.swallow.icon";
19056             clip_to: "disclip";
19057             type: SWALLOW;
19058             description { state: "default" 0.0;
19059                fixed: 1 0;
19060                align: 0.0 0.5;
19061                rel1 {
19062                   to_x: "elm.swallow.pad";
19063                   relative: 1.0  0.0;
19064                   offset:   -1    4;
19065                }
19066                rel2 {
19067                   to_x: "elm.swallow.pad";
19068                   relative: 1.0  1.0;
19069                   offset:   -1   -5;
19070                }
19071             }
19072          }
19073          part { name: "elm.swallow.end";
19074             clip_to: "disclip";
19075             type: SWALLOW;
19076             description { state: "default" 0.0;
19077                fixed: 1 0;
19078                align: 1.0 0.5;
19079                aspect: 1.0 1.0;
19080                aspect_preference: VERTICAL;
19081                rel1 {
19082                   relative: 1.0  0.0;
19083                   offset:   -5    4;
19084                }
19085                rel2 {
19086                   relative: 1.0  1.0;
19087                   offset:   -5   -5;
19088                }
19089             }
19090          }
19091          part { name: "elm.text";
19092             clip_to: "disclip";
19093             type:           TEXT;
19094             effect:         SOFT_SHADOW;
19095             mouse_events:   0;
19096             scale: 1;
19097             description {
19098                state: "default" 0.0;
19099 //               min: 16 16;
19100                rel1 {
19101                   to_x:     "elm.swallow.icon";
19102                   relative: 1.0  0.0;
19103                   offset:   0 4;
19104                }
19105                rel2 {
19106                   to_x:     "elm.swallow.end";
19107                   relative: 0.0  0.5;
19108                   offset:   -1 -5;
19109                }
19110                color: 0 0 0 255;
19111                color3: 0 0 0 0;
19112                text {
19113                   font: "Sans";
19114                   size: 10;
19115                   min: 1 1;
19116 //                  min: 0 1;
19117                   align: 0.0 0.5;
19118                   text_class: "list_item";
19119                }
19120             }
19121             description { state: "selected" 0.0;
19122                inherit: "default" 0.0;
19123                color: 224 224 224 255;
19124                color3: 0 0 0 64;
19125             }
19126          }
19127          part { name: "elm.text.sub";
19128             clip_to: "disclip";
19129             type:           TEXT;
19130             mouse_events:   0;
19131             scale: 1;
19132             description {
19133                state: "default" 0.0;
19134 //               min: 16 16;
19135                rel1 {
19136                   to_x:     "elm.swallow.icon";
19137                   relative: 1.0  0.5;
19138                   offset:   0 4;
19139                }
19140                rel2 {
19141                   to_x:     "elm.swallow.end";
19142                   relative: 0.0  1.0;
19143                   offset:   -1 -5;
19144                }
19145                color: 0 0 0 128;
19146                color3: 0 0 0 0;
19147                text {
19148                   font: "Sans";
19149                   size: 8;
19150                   min: 1 1;
19151 //                  min: 0 1;
19152                   align: 0.0 0.5;
19153                   text_class: "list_item";
19154                }
19155             }
19156             description { state: "selected" 0.0;
19157                inherit: "default" 0.0;
19158                color: 128 128 128 255;
19159                color3: 0 0 0 32;
19160             }
19161          }
19162          part { name: "fg1";
19163             clip_to: "disclip";
19164             mouse_events: 0;
19165             description { state: "default" 0.0;
19166                visible: 0;
19167                color: 255 255 255 0;
19168                rel1.to: "bg";
19169                rel2.relative: 1.0 0.5;
19170                rel2.to: "bg";
19171                image {
19172                   normal: "bt_sm_hilight.png";
19173                   border: 6 6 6 0;
19174                }
19175             }
19176             description { state: "selected" 0.0;
19177                inherit: "default" 0.0;
19178                visible: 1;
19179                color: 255 255 255 255;
19180             }
19181          }
19182          part { name: "fg2";
19183             clip_to: "disclip";
19184             mouse_events: 0;
19185             description { state: "default" 0.0;
19186                visible: 0;
19187                color: 255 255 255 0;
19188                rel1.to: "bg";
19189                rel2.to: "bg";
19190                image {
19191                   normal: "bt_sm_shine.png";
19192                   border: 6 6 6 0;
19193                }
19194             }
19195             description { state: "selected" 0.0;
19196                inherit: "default" 0.0;
19197                visible: 1;
19198                color: 255 255 255 255;
19199             }
19200          }
19201          part { name: "disclip";
19202             type: RECT;
19203             description { state: "default" 0.0;
19204                rel1.to: "bg";
19205                rel2.to: "bg";
19206             }
19207             description { state: "disabled" 0.0;
19208                inherit: "default" 0.0;
19209                color: 255 255 255 64;
19210             }
19211          }
19212       }
19213       programs {
19214          // signal: elm,state,%s,active
19215          //   a "check" item named %s went active
19216          // signal: elm,state,%s,passive
19217          //   a "check" item named %s went passive
19218          // default is passive
19219          program {
19220             name:    "go_active";
19221             signal:  "elm,state,selected";
19222             source:  "elm";
19223             action:  STATE_SET "selected" 0.0;
19224             target:  "bg";
19225             target:  "fg1";
19226             target:  "fg2";
19227             target:  "elm.text";
19228             target:  "elm.text.sub";
19229          }
19230          program {
19231             name:    "go_passive";
19232             signal:  "elm,state,unselected";
19233             source:  "elm";
19234             action:  STATE_SET "default" 0.0;
19235             target:  "bg";
19236             target:  "fg1";
19237             target:  "fg2";
19238             target:  "elm.text";
19239             target:  "elm.text.sub";
19240             transition: LINEAR 0.1;
19241          }
19242          program {
19243             name:    "go_disabled";
19244             signal:  "elm,state,disabled";
19245             source:  "elm";
19246             action:  STATE_SET "disabled" 0.0;
19247             target:  "disclip";
19248          }
19249          program {
19250             name:    "go_enabled";
19251             signal:  "elm,state,enabled";
19252             source:  "elm";
19253             action:  STATE_SET "default" 0.0;
19254             target:  "disclip";
19255          }
19256       }
19257    }
19258    group { name: "elm/genlist/item_compress/double_label/default";
19259       data.item: "stacking" "above";
19260       data.item: "selectraise" "on";
19261       data.item: "labels" "elm.text elm.text.sub";
19262       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19263       data.item: "treesize" "20";
19264 //      data.item: "states" "";
19265       images {
19266          image: "bt_sm_base1.png" COMP;
19267          image: "bt_sm_shine.png" COMP;
19268          image: "bt_sm_hilight.png" COMP;
19269          image: "ilist_1.png" COMP;
19270          image: "ilist_item_shadow.png" COMP;
19271       }
19272       parts {
19273          part {
19274             name:           "event";
19275             type:           RECT;
19276             repeat_events: 1;
19277             description {
19278                state: "default" 0.0;
19279                color: 0 0 0 0;
19280             }
19281          }
19282          part {
19283             name: "base_sh";
19284             mouse_events: 0;
19285             description {
19286                state: "default" 0.0;
19287                align: 0.0 0.0;
19288                min: 0 10;
19289                fixed: 1 1;
19290                rel1 {
19291                   to: "base";
19292                   relative: 0.0 1.0;
19293                   offset: 0 0;
19294                }
19295                rel2 {
19296                   to: "base";
19297                   relative: 1.0 1.0;
19298                   offset: -1 0;
19299                }
19300                image {
19301                   normal: "ilist_item_shadow.png";
19302                }
19303                fill.smooth: 0;
19304             }
19305          }
19306          part {
19307             name: "base";
19308             mouse_events: 0;
19309             description {
19310                state: "default" 0.0;
19311                image {
19312                   normal: "ilist_1.png";
19313                   border: 2 2 2 2;
19314                }
19315                fill.smooth: 0;
19316             }
19317          }
19318          part { name: "bg";
19319             clip_to: "disclip";
19320             mouse_events: 0;
19321             description { state: "default" 0.0;
19322                visible: 0;
19323                color: 255 255 255 0;
19324                rel1 {
19325                   relative: 0.0 0.0;
19326                   offset: -5 -5;
19327                }
19328                rel2 {
19329                   relative: 1.0 1.0;
19330                   offset: 4 4;
19331                }
19332                image {
19333                   normal: "bt_sm_base1.png";
19334                   border: 6 6 6 6;
19335                }
19336                image.middle: SOLID;
19337             }
19338             description { state: "selected" 0.0;
19339                inherit: "default" 0.0;
19340                visible: 1;
19341                color: 255 255 255 255;
19342                rel1 {
19343                   relative: 0.0 0.0;
19344                   offset: -2 -2;
19345                }
19346                rel2 {
19347                   relative: 1.0 1.0;
19348                   offset: 1 1;
19349                }
19350             }
19351          }
19352          part { name: "elm.swallow.pad";
19353             type: SWALLOW;
19354             description { state: "default" 0.0;
19355                fixed: 1 0;
19356                align: 0.0 0.5;
19357                rel1 {
19358                   relative: 0.0  0.0;
19359                   offset:   4    4;
19360                }
19361                rel2 {
19362                   relative: 0.0  1.0;
19363                   offset:   4   -5;
19364                }
19365             }
19366          }
19367          part { name: "elm.swallow.icon";
19368             clip_to: "disclip";
19369             type: SWALLOW;
19370             description { state: "default" 0.0;
19371                fixed: 1 0;
19372                align: 0.0 0.5;
19373                rel1 {
19374                   to_x: "elm.swallow.pad";
19375                   relative: 1.0  0.0;
19376                   offset:   -1    4;
19377                }
19378                rel2 {
19379                   to_x: "elm.swallow.pad";
19380                   relative: 1.0  1.0;
19381                   offset:   -1   -5;
19382                }
19383             }
19384          }
19385          part { name: "elm.swallow.end";
19386             clip_to: "disclip";
19387             type: SWALLOW;
19388             description { state: "default" 0.0;
19389                fixed: 1 0;
19390                align: 1.0 0.5;
19391                aspect: 1.0 1.0;
19392                aspect_preference: VERTICAL;
19393                rel1 {
19394                   relative: 1.0  0.0;
19395                   offset:   -5    4;
19396                }
19397                rel2 {
19398                   relative: 1.0  1.0;
19399                   offset:   -5   -5;
19400                }
19401             }
19402          }
19403          part { name: "elm.text";
19404             clip_to: "disclip";
19405             type:           TEXT;
19406             effect:         SOFT_SHADOW;
19407             mouse_events:   0;
19408             scale: 1;
19409             description {
19410                state: "default" 0.0;
19411 //               min: 16 16;
19412                rel1 {
19413                   to_x:     "elm.swallow.icon";
19414                   relative: 1.0  0.0;
19415                   offset:   0 4;
19416                }
19417                rel2 {
19418                   to_x:     "elm.swallow.end";
19419                   relative: 0.0  0.5;
19420                   offset:   -1 -5;
19421                }
19422                color: 0 0 0 255;
19423                color3: 0 0 0 0;
19424                text {
19425                   font: "Sans";
19426                   size: 10;
19427 //                  min: 1 1;
19428                   min: 0 1;
19429                   align: 0.0 0.5;
19430                   text_class: "list_item";
19431                }
19432             }
19433             description { state: "selected" 0.0;
19434                inherit: "default" 0.0;
19435                color: 224 224 224 255;
19436                color3: 0 0 0 64;
19437             }
19438          }
19439          part { name: "elm.text.sub";
19440             clip_to: "disclip";
19441             type:           TEXT;
19442             mouse_events:   0;
19443             scale: 1;
19444             description {
19445                state: "default" 0.0;
19446 //               min: 16 16;
19447                rel1 {
19448                   to_x:     "elm.swallow.icon";
19449                   relative: 1.0  0.5;
19450                   offset:   0 4;
19451                }
19452                rel2 {
19453                   to_x:     "elm.swallow.end";
19454                   relative: 0.0  1.0;
19455                   offset:   -1 -5;
19456                }
19457                color: 0 0 0 128;
19458                color3: 0 0 0 0;
19459                text {
19460                   font: "Sans";
19461                   size: 8;
19462 //                  min: 1 1;
19463                   min: 0 1;
19464                   align: 0.0 0.5;
19465                   text_class: "list_item";
19466                }
19467             }
19468             description { state: "selected" 0.0;
19469                inherit: "default" 0.0;
19470                color: 128 128 128 255;
19471                color3: 0 0 0 32;
19472             }
19473          }
19474          part { name: "fg1";
19475             clip_to: "disclip";
19476             mouse_events: 0;
19477             description { state: "default" 0.0;
19478                visible: 0;
19479                color: 255 255 255 0;
19480                rel1.to: "bg";
19481                rel2.relative: 1.0 0.5;
19482                rel2.to: "bg";
19483                image {
19484                   normal: "bt_sm_hilight.png";
19485                   border: 6 6 6 0;
19486                }
19487             }
19488             description { state: "selected" 0.0;
19489                inherit: "default" 0.0;
19490                visible: 1;
19491                color: 255 255 255 255;
19492             }
19493          }
19494          part { name: "fg2";
19495             clip_to: "disclip";
19496             mouse_events: 0;
19497             description { state: "default" 0.0;
19498                visible: 0;
19499                color: 255 255 255 0;
19500                rel1.to: "bg";
19501                rel2.to: "bg";
19502                image {
19503                   normal: "bt_sm_shine.png";
19504                   border: 6 6 6 0;
19505                }
19506             }
19507             description { state: "selected" 0.0;
19508                inherit: "default" 0.0;
19509                visible: 1;
19510                color: 255 255 255 255;
19511             }
19512          }
19513          part { name: "disclip";
19514             type: RECT;
19515             description { state: "default" 0.0;
19516                rel1.to: "bg";
19517                rel2.to: "bg";
19518             }
19519             description { state: "disabled" 0.0;
19520                inherit: "default" 0.0;
19521                color: 255 255 255 64;
19522             }
19523          }
19524       }
19525       programs {
19526          // signal: elm,state,%s,active
19527          //   a "check" item named %s went active
19528          // signal: elm,state,%s,passive
19529          //   a "check" item named %s went passive
19530          // default is passive
19531          program {
19532             name:    "go_active";
19533             signal:  "elm,state,selected";
19534             source:  "elm";
19535             action:  STATE_SET "selected" 0.0;
19536             target:  "bg";
19537             target:  "fg1";
19538             target:  "fg2";
19539             target:  "elm.text";
19540             target:  "elm.text.sub";
19541          }
19542          program {
19543             name:    "go_passive";
19544             signal:  "elm,state,unselected";
19545             source:  "elm";
19546             action:  STATE_SET "default" 0.0;
19547             target:  "bg";
19548             target:  "fg1";
19549             target:  "fg2";
19550             target:  "elm.text";
19551             target:  "elm.text.sub";
19552             transition: LINEAR 0.1;
19553          }
19554          program {
19555             name:    "go_disabled";
19556             signal:  "elm,state,disabled";
19557             source:  "elm";
19558             action:  STATE_SET "disabled" 0.0;
19559             target:  "disclip";
19560          }
19561          program {
19562             name:    "go_enabled";
19563             signal:  "elm,state,enabled";
19564             source:  "elm";
19565             action:  STATE_SET "default" 0.0;
19566             target:  "disclip";
19567          }
19568       }
19569    }
19570    group { name: "elm/genlist/item_odd/double_label/default";
19571       data.item: "stacking" "below";
19572       data.item: "selectraise" "on";
19573       data.item: "labels" "elm.text elm.text.sub";
19574       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19575       data.item: "treesize" "20";
19576 //      data.item: "states" "";
19577       images {
19578          image: "bt_sm_base1.png" COMP;
19579          image: "bt_sm_shine.png" COMP;
19580          image: "bt_sm_hilight.png" COMP;
19581          image: "ilist_2.png" COMP;
19582       }
19583       parts {
19584          part { name: "event";
19585             type: RECT;
19586             repeat_events: 1;
19587             description {
19588                state: "default" 0.0;
19589                color: 0 0 0 0;
19590             }
19591          }
19592          part {
19593             name: "base";
19594             mouse_events: 0;
19595             description {
19596                state: "default" 0.0;
19597                image {
19598                   normal: "ilist_2.png";
19599                   border: 2 2 2 2;
19600                }
19601                fill.smooth: 0;
19602             }
19603          }
19604          part { name: "bg";
19605             clip_to: "disclip";
19606             mouse_events: 0;
19607             description { state: "default" 0.0;
19608                visible: 0;
19609                color: 255 255 255 0;
19610                rel1 {
19611                   relative: 0.0 0.0;
19612                   offset: -5 -5;
19613                }
19614                rel2 {
19615                   relative: 1.0 1.0;
19616                   offset: 4 4;
19617                }
19618                image {
19619                   normal: "bt_sm_base1.png";
19620                   border: 6 6 6 6;
19621                }
19622                image.middle: SOLID;
19623             }
19624             description { state: "selected" 0.0;
19625                inherit: "default" 0.0;
19626                visible: 1;
19627                color: 255 255 255 255;
19628                rel1 {
19629                   relative: 0.0 0.0;
19630                   offset: -2 -2;
19631                }
19632                rel2 {
19633                   relative: 1.0 1.0;
19634                   offset: 1 1;
19635                }
19636             }
19637          }
19638          part { name: "elm.swallow.pad";
19639             type: SWALLOW;
19640             description { state: "default" 0.0;
19641                fixed: 1 0;
19642                align: 0.0 0.5;
19643                rel1 {
19644                   relative: 0.0  0.0;
19645                   offset:   4    4;
19646                }
19647                rel2 {
19648                   relative: 0.0  1.0;
19649                   offset:   4   -5;
19650                }
19651             }
19652          }
19653          part { name: "elm.swallow.icon";
19654             clip_to: "disclip";
19655             type: SWALLOW;
19656             description { state: "default" 0.0;
19657                fixed: 1 0;
19658                align: 0.0 0.5;
19659                rel1 {
19660                   to_x: "elm.swallow.pad";
19661                   relative: 1.0  0.0;
19662                   offset:   -1    4;
19663                }
19664                rel2 {
19665                   to_x: "elm.swallow.pad";
19666                   relative: 1.0  1.0;
19667                   offset:   -1   -5;
19668                }
19669             }
19670          }
19671          part { name: "elm.swallow.end";
19672             clip_to: "disclip";
19673             type:          SWALLOW;
19674             description { state:    "default" 0.0;
19675                fixed: 1 0;
19676                align:    1.0 0.5;
19677                aspect: 1.0 1.0;
19678                aspect_preference: VERTICAL;
19679                rel1 {
19680                   relative: 1.0  0.0;
19681                   offset:   -5    4;
19682                }
19683                rel2 {
19684                   relative: 1.0  1.0;
19685                   offset:   -5   -5;
19686                }
19687             }
19688          }
19689          part { name: "elm.text";
19690             clip_to: "disclip";
19691             type:           TEXT;
19692             effect:         SOFT_SHADOW;
19693             mouse_events:   0;
19694             scale: 1;
19695             description {
19696                state: "default" 0.0;
19697 //               min: 16 16;
19698                rel1 {
19699                   to_x:     "elm.swallow.icon";
19700                   relative: 1.0  0.0;
19701                   offset:   0 4;
19702                }
19703                rel2 {
19704                   to_x:     "elm.swallow.end";
19705                   relative: 0.0  0.5;
19706                   offset:   -1 -5;
19707                }
19708                color: 0 0 0 255;
19709                color3: 0 0 0 0;
19710                text {
19711                   font: "Sans";
19712                   size: 10;
19713                   min: 1 1;
19714 //                  min: 0 1;
19715                   align: 0.0 0.5;
19716                   text_class: "list_item";
19717                }
19718             }
19719             description { state: "selected" 0.0;
19720                inherit: "default" 0.0;
19721                color: 224 224 224 255;
19722                color3: 0 0 0 64;
19723             }
19724          }
19725          part { name: "elm.text.sub";
19726             clip_to: "disclip";
19727             type:           TEXT;
19728             mouse_events:   0;
19729             scale: 1;
19730             description {
19731                state: "default" 0.0;
19732 //               min: 16 16;
19733                rel1 {
19734                   to_x:     "elm.swallow.icon";
19735                   relative: 1.0  0.5;
19736                   offset:   0 4;
19737                }
19738                rel2 {
19739                   to_x:     "elm.swallow.end";
19740                   relative: 0.0  1.0;
19741                   offset:   -1 -5;
19742                }
19743                color: 0 0 0 128;
19744                color3: 0 0 0 0;
19745                text {
19746                   font: "Sans";
19747                   size: 8;
19748                   min: 1 1;
19749 //                  min: 0 1;
19750                   align: 0.0 0.5;
19751                   text_class: "list_item";
19752                }
19753             }
19754             description { state: "selected" 0.0;
19755                inherit: "default" 0.0;
19756                color: 128 128 128 255;
19757                color3: 0 0 0 32;
19758             }
19759          }
19760          part { name: "fg1";
19761             clip_to: "disclip";
19762             mouse_events: 0;
19763             description { state: "default" 0.0;
19764                visible: 0;
19765                color: 255 255 255 0;
19766                rel1.to: "bg";
19767                rel2.relative: 1.0 0.5;
19768                rel2.to: "bg";
19769                image {
19770                   normal: "bt_sm_hilight.png";
19771                   border: 6 6 6 0;
19772                }
19773             }
19774             description { state: "selected" 0.0;
19775                inherit: "default" 0.0;
19776                visible: 1;
19777                color: 255 255 255 255;
19778             }
19779          }
19780          part { name: "fg2";
19781             clip_to: "disclip";
19782             mouse_events: 0;
19783             description { state: "default" 0.0;
19784                visible: 0;
19785                color: 255 255 255 0;
19786                rel1.to: "bg";
19787                rel2.to: "bg";
19788                image {
19789                   normal: "bt_sm_shine.png";
19790                   border: 6 6 6 0;
19791                }
19792             }
19793             description { state: "selected" 0.0;
19794                inherit: "default" 0.0;
19795                visible: 1;
19796                color: 255 255 255 255;
19797             }
19798          }
19799          part { name: "disclip";
19800             type: RECT;
19801             description { state: "default" 0.0;
19802                rel1.to: "bg";
19803                rel2.to: "bg";
19804             }
19805             description { state: "disabled" 0.0;
19806                inherit: "default" 0.0;
19807                color: 255 255 255 64;
19808             }
19809          }
19810       }
19811       programs {
19812          // signal: elm,state,%s,active
19813          //   a "check" item named %s went active
19814          // signal: elm,state,%s,passive
19815          //   a "check" item named %s went passive
19816          // default is passive
19817          program {
19818             name:    "go_active";
19819             signal:  "elm,state,selected";
19820             source:  "elm";
19821             action:  STATE_SET "selected" 0.0;
19822             target:  "bg";
19823             target:  "fg1";
19824             target:  "fg2";
19825             target:  "elm.text";
19826             target:  "elm.text.sub";
19827          }
19828          program {
19829             name:    "go_passive";
19830             signal:  "elm,state,unselected";
19831             source:  "elm";
19832             action:  STATE_SET "default" 0.0;
19833             target:  "bg";
19834             target:  "fg1";
19835             target:  "fg2";
19836             target:  "elm.text";
19837             target:  "elm.text.sub";
19838             transition: LINEAR 0.1;
19839          }
19840          program {
19841             name:    "go_disabled";
19842             signal:  "elm,state,disabled";
19843             source:  "elm";
19844             action:  STATE_SET "disabled" 0.0;
19845             target:  "disclip";
19846          }
19847          program {
19848             name:    "go_enabled";
19849             signal:  "elm,state,enabled";
19850             source:  "elm";
19851             action:  STATE_SET "default" 0.0;
19852             target:  "disclip";
19853          }
19854       }
19855    }
19856    group { name: "elm/genlist/item_compress_odd/double_label/default";
19857       data.item: "stacking" "below";
19858       data.item: "selectraise" "on";
19859       data.item: "labels" "elm.text elm.text.sub";
19860       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19861       data.item: "treesize" "20";
19862 //      data.item: "states" "";
19863       images {
19864          image: "bt_sm_base1.png" COMP;
19865          image: "bt_sm_shine.png" COMP;
19866          image: "bt_sm_hilight.png" COMP;
19867          image: "ilist_2.png" COMP;
19868       }
19869       parts {
19870          part { name: "event";
19871             type: RECT;
19872             repeat_events: 1;
19873             description {
19874                state: "default" 0.0;
19875                color: 0 0 0 0;
19876             }
19877          }
19878          part {
19879             name: "base";
19880             mouse_events: 0;
19881             description {
19882                state: "default" 0.0;
19883                image {
19884                   normal: "ilist_2.png";
19885                   border: 2 2 2 2;
19886                }
19887                fill.smooth: 0;
19888             }
19889          }
19890          part { name: "bg";
19891             clip_to: "disclip";
19892             mouse_events: 0;
19893             description { state: "default" 0.0;
19894                visible: 0;
19895                color: 255 255 255 0;
19896                rel1 {
19897                   relative: 0.0 0.0;
19898                   offset: -5 -5;
19899                }
19900                rel2 {
19901                   relative: 1.0 1.0;
19902                   offset: 4 4;
19903                }
19904                image {
19905                   normal: "bt_sm_base1.png";
19906                   border: 6 6 6 6;
19907                }
19908                image.middle: SOLID;
19909             }
19910             description { state: "selected" 0.0;
19911                inherit: "default" 0.0;
19912                visible: 1;
19913                color: 255 255 255 255;
19914                rel1 {
19915                   relative: 0.0 0.0;
19916                   offset: -2 -2;
19917                }
19918                rel2 {
19919                   relative: 1.0 1.0;
19920                   offset: 1 1;
19921                }
19922             }
19923          }
19924          part { name: "elm.swallow.pad";
19925             type: SWALLOW;
19926             description { state: "default" 0.0;
19927                fixed: 1 0;
19928                align: 0.0 0.5;
19929                rel1 {
19930                   relative: 0.0  0.0;
19931                   offset:   4    4;
19932                }
19933                rel2 {
19934                   relative: 0.0  1.0;
19935                   offset:   4   -5;
19936                }
19937             }
19938          }
19939          part { name: "elm.swallow.icon";
19940             clip_to: "disclip";
19941             type: SWALLOW;
19942             description { state: "default" 0.0;
19943                fixed: 1 0;
19944                align: 0.0 0.5;
19945                rel1 {
19946                   to_x: "elm.swallow.pad";
19947                   relative: 1.0  0.0;
19948                   offset:   -1    4;
19949                }
19950                rel2 {
19951                   to_x: "elm.swallow.pad";
19952                   relative: 1.0  1.0;
19953                   offset:   -1   -5;
19954                }
19955             }
19956          }
19957          part { name: "elm.swallow.end";
19958             clip_to: "disclip";
19959             type:          SWALLOW;
19960             description { state:    "default" 0.0;
19961                fixed: 1 0;
19962                align:    1.0 0.5;
19963                aspect: 1.0 1.0;
19964                aspect_preference: VERTICAL;
19965                rel1 {
19966                   relative: 1.0  0.0;
19967                   offset:   -5    4;
19968                }
19969                rel2 {
19970                   relative: 1.0  1.0;
19971                   offset:   -5   -5;
19972                }
19973             }
19974          }
19975          part { name: "elm.text";
19976             clip_to: "disclip";
19977             type:           TEXT;
19978             effect:         SOFT_SHADOW;
19979             mouse_events:   0;
19980             scale: 1;
19981             description {
19982                state: "default" 0.0;
19983 //               min: 16 16;
19984                rel1 {
19985                   to_x:     "elm.swallow.icon";
19986                   relative: 1.0  0.0;
19987                   offset:   0 4;
19988                }
19989                rel2 {
19990                   to_x:     "elm.swallow.end";
19991                   relative: 0.0  0.5;
19992                   offset:   -1 -5;
19993                }
19994                color: 0 0 0 255;
19995                color3: 0 0 0 0;
19996                text {
19997                   font: "Sans";
19998                   size: 10;
19999 //                  min: 1 1;
20000                   min: 0 1;
20001                   align: 0.0 0.5;
20002                   text_class: "list_item";
20003                }
20004             }
20005             description { state: "selected" 0.0;
20006                inherit: "default" 0.0;
20007                color: 224 224 224 255;
20008                color3: 0 0 0 64;
20009             }
20010          }
20011          part { name: "elm.text.sub";
20012             clip_to: "disclip";
20013             type:           TEXT;
20014             mouse_events:   0;
20015             scale: 1;
20016             description {
20017                state: "default" 0.0;
20018 //               min: 16 16;
20019                rel1 {
20020                   to_x:     "elm.swallow.icon";
20021                   relative: 1.0  0.5;
20022                   offset:   0 4;
20023                }
20024                rel2 {
20025                   to_x:     "elm.swallow.end";
20026                   relative: 0.0  1.0;
20027                   offset:   -1 -5;
20028                }
20029                color: 0 0 0 128;
20030                color3: 0 0 0 0;
20031                text {
20032                   font: "Sans";
20033                   size: 8;
20034 //                  min: 1 1;
20035                   min: 0 1;
20036                   align: 0.0 0.5;
20037                   text_class: "list_item";
20038                }
20039             }
20040             description { state: "selected" 0.0;
20041                inherit: "default" 0.0;
20042                color: 128 128 128 255;
20043                color3: 0 0 0 32;
20044             }
20045          }
20046          part { name: "fg1";
20047             clip_to: "disclip";
20048             mouse_events: 0;
20049             description { state: "default" 0.0;
20050                visible: 0;
20051                color: 255 255 255 0;
20052                rel1.to: "bg";
20053                rel2.relative: 1.0 0.5;
20054                rel2.to: "bg";
20055                image {
20056                   normal: "bt_sm_hilight.png";
20057                   border: 6 6 6 0;
20058                }
20059             }
20060             description { state: "selected" 0.0;
20061                inherit: "default" 0.0;
20062                visible: 1;
20063                color: 255 255 255 255;
20064             }
20065          }
20066          part { name: "fg2";
20067             clip_to: "disclip";
20068             mouse_events: 0;
20069             description { state: "default" 0.0;
20070                visible: 0;
20071                color: 255 255 255 0;
20072                rel1.to: "bg";
20073                rel2.to: "bg";
20074                image {
20075                   normal: "bt_sm_shine.png";
20076                   border: 6 6 6 0;
20077                }
20078             }
20079             description { state: "selected" 0.0;
20080                inherit: "default" 0.0;
20081                visible: 1;
20082                color: 255 255 255 255;
20083             }
20084          }
20085          part { name: "disclip";
20086             type: RECT;
20087             description { state: "default" 0.0;
20088                rel1.to: "bg";
20089                rel2.to: "bg";
20090             }
20091             description { state: "disabled" 0.0;
20092                inherit: "default" 0.0;
20093                color: 255 255 255 64;
20094             }
20095          }
20096       }
20097       programs {
20098          // signal: elm,state,%s,active
20099          //   a "check" item named %s went active
20100          // signal: elm,state,%s,passive
20101          //   a "check" item named %s went passive
20102          // default is passive
20103          program {
20104             name:    "go_active";
20105             signal:  "elm,state,selected";
20106             source:  "elm";
20107             action:  STATE_SET "selected" 0.0;
20108             target:  "bg";
20109             target:  "fg1";
20110             target:  "fg2";
20111             target:  "elm.text";
20112             target:  "elm.text.sub";
20113          }
20114          program {
20115             name:    "go_passive";
20116             signal:  "elm,state,unselected";
20117             source:  "elm";
20118             action:  STATE_SET "default" 0.0;
20119             target:  "bg";
20120             target:  "fg1";
20121             target:  "fg2";
20122             target:  "elm.text";
20123             target:  "elm.text.sub";
20124             transition: LINEAR 0.1;
20125          }
20126          program {
20127             name:    "go_disabled";
20128             signal:  "elm,state,disabled";
20129             source:  "elm";
20130             action:  STATE_SET "disabled" 0.0;
20131             target:  "disclip";
20132          }
20133          program {
20134             name:    "go_enabled";
20135             signal:  "elm,state,enabled";
20136             source:  "elm";
20137             action:  STATE_SET "default" 0.0;
20138             target:  "disclip";
20139          }
20140       }
20141    }
20142
20143    group { name: "elm/genlist/tree/double_label/default";
20144       data.item: "stacking" "above";
20145       data.item: "selectraise" "on";
20146       data.item: "labels" "elm.text elm.text.sub";
20147       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20148       data.item: "treesize" "20";
20149 //      data.item: "states" "";
20150       images {
20151          image: "bt_sm_base1.png" COMP;
20152          image: "bt_sm_shine.png" COMP;
20153          image: "bt_sm_hilight.png" COMP;
20154          image: "ilist_1.png" COMP;
20155          image: "ilist_item_shadow.png" COMP;
20156          image: "icon_arrow_right.png" COMP;
20157          image: "icon_arrow_down.png" COMP;
20158       }
20159       parts {
20160          part {
20161             name:           "event";
20162             type:           RECT;
20163             repeat_events: 1;
20164             description {
20165                state: "default" 0.0;
20166                color: 0 0 0 0;
20167             }
20168          }
20169          part {
20170             name: "base_sh";
20171             mouse_events: 0;
20172             description {
20173                state: "default" 0.0;
20174                align: 0.0 0.0;
20175                min: 0 10;
20176                fixed: 1 1;
20177                rel1 {
20178                   to: "base";
20179                   relative: 0.0 1.0;
20180                   offset: 0 0;
20181                }
20182                rel2 {
20183                   to: "base";
20184                   relative: 1.0 1.0;
20185                   offset: -1 0;
20186                }
20187                image {
20188                   normal: "ilist_item_shadow.png";
20189                }
20190                fill.smooth: 0;
20191             }
20192          }
20193          part {
20194             name: "base";
20195             mouse_events: 0;
20196             description {
20197                state: "default" 0.0;
20198                image {
20199                   normal: "ilist_1.png";
20200                   border: 2 2 2 2;
20201                }
20202                fill.smooth: 0;
20203             }
20204          }
20205          part { name: "bg";
20206             clip_to: "disclip";
20207             mouse_events: 0;
20208             description { state: "default" 0.0;
20209                visible: 0;
20210                color: 255 255 255 0;
20211                rel1 {
20212                   relative: 0.0 0.0;
20213                   offset: -5 -5;
20214                }
20215                rel2 {
20216                   relative: 1.0 1.0;
20217                   offset: 4 4;
20218                }
20219                image {
20220                   normal: "bt_sm_base1.png";
20221                   border: 6 6 6 6;
20222                }
20223                image.middle: SOLID;
20224             }
20225             description { state: "selected" 0.0;
20226                inherit: "default" 0.0;
20227                visible: 1;
20228                color: 255 255 255 255;
20229                rel1 {
20230                   relative: 0.0 0.0;
20231                   offset: -2 -2;
20232                }
20233                rel2 {
20234                   relative: 1.0 1.0;
20235                   offset: 1 1;
20236                }
20237             }
20238          }
20239          part { name: "elm.swallow.pad";
20240             type: SWALLOW;
20241             description { state: "default" 0.0;
20242                fixed: 1 0;
20243                align: 0.0 0.5;
20244                rel1 {
20245                   relative: 0.0  0.0;
20246                   offset:   4    4;
20247                }
20248                rel2 {
20249                   relative: 0.0  1.0;
20250                   offset:   4   -5;
20251                }
20252             }
20253          }
20254          part { name: "arrow";
20255             clip_to: "disclip";
20256             ignore_flags: ON_HOLD;
20257             description { state: "default" 0.0;
20258                fixed: 1 0;
20259                align: 0.0 0.5;
20260                aspect: 1.0 1.0;
20261                rel1 {
20262                   to_x: "elm.swallow.pad";
20263                   relative: 1.0  0.0;
20264                   offset:   -1    4;
20265                }
20266                rel2 {
20267                   to_x: "elm.swallow.pad";
20268                   relative: 1.0  1.0;
20269                   offset:   -1   -5;
20270                }
20271                image.normal: "icon_arrow_right.png";
20272             }
20273             description { state: "active" 0.0;
20274                inherit: "default" 0.0;
20275                image.normal: "icon_arrow_down.png";
20276             }
20277          }
20278          part { name: "elm.swallow.icon";
20279             clip_to: "disclip";
20280             type: SWALLOW;
20281             description { state: "default" 0.0;
20282                fixed: 1 0;
20283                align: 0.0 0.5;
20284                rel1 {
20285                   to_x: "arrow";
20286                   relative: 1.0  0.0;
20287                   offset:   4    4;
20288                }
20289                rel2 {
20290                   to_x: "arrow";
20291                   relative: 1.0  1.0;
20292                   offset:   4   -5;
20293                }
20294             }
20295          }
20296          part { name: "elm.swallow.end";
20297             clip_to: "disclip";
20298             type: SWALLOW;
20299             description { state: "default" 0.0;
20300                fixed: 1 0;
20301                align: 1.0 0.5;
20302                aspect: 1.0 1.0;
20303                aspect_preference: VERTICAL;
20304                rel1 {
20305                   relative: 1.0  0.0;
20306                   offset:   -5    4;
20307                }
20308                rel2 {
20309                   relative: 1.0  1.0;
20310                   offset:   -5   -5;
20311                }
20312             }
20313          }
20314          part { name: "elm.text";
20315             clip_to: "disclip";
20316             type:           TEXT;
20317             effect:         SOFT_SHADOW;
20318             mouse_events:   0;
20319             scale: 1;
20320             description {
20321                state: "default" 0.0;
20322 //               min: 16 16;
20323                rel1 {
20324                   to_x:     "elm.swallow.icon";
20325                   relative: 1.0  0.0;
20326                   offset:   0 4;
20327                }
20328                rel2 {
20329                   to_x:     "elm.swallow.end";
20330                   relative: 0.0  0.5;
20331                   offset:   -1 -5;
20332                }
20333                color: 0 0 0 255;
20334                color3: 0 0 0 0;
20335                text {
20336                   font: "Sans";
20337                   size: 10;
20338                   min: 1 1;
20339 //                  min: 0 1;
20340                   align: 0.0 0.5;
20341                   text_class: "list_item";
20342                }
20343             }
20344             description { state: "selected" 0.0;
20345                inherit: "default" 0.0;
20346                color: 224 224 224 255;
20347                color3: 0 0 0 64;
20348             }
20349          }
20350          part { name: "elm.text.sub";
20351             clip_to: "disclip";
20352             type:           TEXT;
20353             mouse_events:   0;
20354             scale: 1;
20355             description {
20356                state: "default" 0.0;
20357 //               min: 16 16;
20358                rel1 {
20359                   to_x:     "elm.swallow.icon";
20360                   relative: 1.0  0.5;
20361                   offset:   0 4;
20362                }
20363                rel2 {
20364                   to_x:     "elm.swallow.end";
20365                   relative: 0.0  1.0;
20366                   offset:   -1 -5;
20367                }
20368                color: 0 0 0 128;
20369                color3: 0 0 0 0;
20370                text {
20371                   font: "Sans";
20372                   size: 8;
20373                   min: 1 1;
20374 //                  min: 0 1;
20375                   align: 0.0 0.5;
20376                   text_class: "list_item";
20377                }
20378             }
20379             description { state: "selected" 0.0;
20380                inherit: "default" 0.0;
20381                color: 128 128 128 255;
20382                color3: 0 0 0 32;
20383             }
20384          }
20385          part { name: "fg1";
20386             clip_to: "disclip";
20387             mouse_events: 0;
20388             description { state: "default" 0.0;
20389                visible: 0;
20390                color: 255 255 255 0;
20391                rel1.to: "bg";
20392                rel2.relative: 1.0 0.5;
20393                rel2.to: "bg";
20394                image {
20395                   normal: "bt_sm_hilight.png";
20396                   border: 6 6 6 0;
20397                }
20398             }
20399             description { state: "selected" 0.0;
20400                inherit: "default" 0.0;
20401                visible: 1;
20402                color: 255 255 255 255;
20403             }
20404          }
20405          part { name: "fg2";
20406             clip_to: "disclip";
20407             mouse_events: 0;
20408             description { state: "default" 0.0;
20409                visible: 0;
20410                color: 255 255 255 0;
20411                rel1.to: "bg";
20412                rel2.to: "bg";
20413                image {
20414                   normal: "bt_sm_shine.png";
20415                   border: 6 6 6 0;
20416                }
20417             }
20418             description { state: "selected" 0.0;
20419                inherit: "default" 0.0;
20420                visible: 1;
20421                color: 255 255 255 255;
20422             }
20423          }
20424          part { name: "disclip";
20425             type: RECT;
20426             description { state: "default" 0.0;
20427                rel1.to: "bg";
20428                rel2.to: "bg";
20429             }
20430             description { state: "disabled" 0.0;
20431                inherit: "default" 0.0;
20432                color: 255 255 255 64;
20433             }
20434          }
20435       }
20436       programs {
20437          // signal: elm,state,%s,active
20438          //   a "check" item named %s went active
20439          // signal: elm,state,%s,passive
20440          //   a "check" item named %s went passive
20441          // default is passive
20442          program {
20443             name:    "go_active";
20444             signal:  "elm,state,selected";
20445             source:  "elm";
20446             action:  STATE_SET "selected" 0.0;
20447             target:  "bg";
20448             target:  "fg1";
20449             target:  "fg2";
20450             target:  "elm.text";
20451             target:  "elm.text.sub";
20452          }
20453          program {
20454             name:    "go_passive";
20455             signal:  "elm,state,unselected";
20456             source:  "elm";
20457             action:  STATE_SET "default" 0.0;
20458             target:  "bg";
20459             target:  "fg1";
20460             target:  "fg2";
20461             target:  "elm.text";
20462             target:  "elm.text.sub";
20463             transition: LINEAR 0.1;
20464          }
20465          program {
20466             name:    "go_disabled";
20467             signal:  "elm,state,disabled";
20468             source:  "elm";
20469             action:  STATE_SET "disabled" 0.0;
20470             target:  "disclip";
20471          }
20472          program {
20473             name:    "go_enabled";
20474             signal:  "elm,state,enabled";
20475             source:  "elm";
20476             action:  STATE_SET "default" 0.0;
20477             target:  "disclip";
20478          }
20479          program {
20480             name:    "expand";
20481             signal:  "mouse,up,1";
20482             source:  "arrow";
20483             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20484          }
20485          program {
20486             name:    "go_expanded";
20487             signal:  "elm,state,expanded";
20488             source:  "elm";
20489             action:  STATE_SET "active" 0.0;
20490             target:  "arrow";
20491          }
20492          program {
20493             name:    "go_contracted";
20494             signal:  "elm,state,contracted";
20495             source:  "elm";
20496             action:  STATE_SET "default" 0.0;
20497             target:  "arrow";
20498          }
20499       }
20500    }
20501    group { name: "elm/genlist/tree_compress/double_label/default";
20502       data.item: "stacking" "above";
20503       data.item: "selectraise" "on";
20504       data.item: "labels" "elm.text elm.text.sub";
20505       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20506       data.item: "treesize" "20";
20507 //      data.item: "states" "";
20508       images {
20509          image: "bt_sm_base1.png" COMP;
20510          image: "bt_sm_shine.png" COMP;
20511          image: "bt_sm_hilight.png" COMP;
20512          image: "ilist_1.png" COMP;
20513          image: "ilist_item_shadow.png" COMP;
20514          image: "icon_arrow_right.png" COMP;
20515          image: "icon_arrow_down.png" COMP;
20516       }
20517       parts {
20518          part {
20519             name:           "event";
20520             type:           RECT;
20521             repeat_events: 1;
20522             description {
20523                state: "default" 0.0;
20524                color: 0 0 0 0;
20525             }
20526          }
20527          part {
20528             name: "base_sh";
20529             mouse_events: 0;
20530             description {
20531                state: "default" 0.0;
20532                align: 0.0 0.0;
20533                min: 0 10;
20534                fixed: 1 1;
20535                rel1 {
20536                   to: "base";
20537                   relative: 0.0 1.0;
20538                   offset: 0 0;
20539                }
20540                rel2 {
20541                   to: "base";
20542                   relative: 1.0 1.0;
20543                   offset: -1 0;
20544                }
20545                image {
20546                   normal: "ilist_item_shadow.png";
20547                }
20548                fill.smooth: 0;
20549             }
20550          }
20551          part {
20552             name: "base";
20553             mouse_events: 0;
20554             description {
20555                state: "default" 0.0;
20556                image {
20557                   normal: "ilist_1.png";
20558                   border: 2 2 2 2;
20559                }
20560                fill.smooth: 0;
20561             }
20562          }
20563          part { name: "bg";
20564             clip_to: "disclip";
20565             mouse_events: 0;
20566             description { state: "default" 0.0;
20567                visible: 0;
20568                color: 255 255 255 0;
20569                rel1 {
20570                   relative: 0.0 0.0;
20571                   offset: -5 -5;
20572                }
20573                rel2 {
20574                   relative: 1.0 1.0;
20575                   offset: 4 4;
20576                }
20577                image {
20578                   normal: "bt_sm_base1.png";
20579                   border: 6 6 6 6;
20580                }
20581                image.middle: SOLID;
20582             }
20583             description { state: "selected" 0.0;
20584                inherit: "default" 0.0;
20585                visible: 1;
20586                color: 255 255 255 255;
20587                rel1 {
20588                   relative: 0.0 0.0;
20589                   offset: -2 -2;
20590                }
20591                rel2 {
20592                   relative: 1.0 1.0;
20593                   offset: 1 1;
20594                }
20595             }
20596          }
20597          part { name: "elm.swallow.pad";
20598             type: SWALLOW;
20599             description { state: "default" 0.0;
20600                fixed: 1 0;
20601                align: 0.0 0.5;
20602                rel1 {
20603                   relative: 0.0  0.0;
20604                   offset:   4    4;
20605                }
20606                rel2 {
20607                   relative: 0.0  1.0;
20608                   offset:   4   -5;
20609                }
20610             }
20611          }
20612          part { name: "arrow";
20613             clip_to: "disclip";
20614             ignore_flags: ON_HOLD;
20615             description { state: "default" 0.0;
20616                fixed: 1 0;
20617                align: 0.0 0.5;
20618                aspect: 1.0 1.0;
20619                rel1 {
20620                   to_x: "elm.swallow.pad";
20621                   relative: 1.0  0.0;
20622                   offset:   -1    4;
20623                }
20624                rel2 {
20625                   to_x: "elm.swallow.pad";
20626                   relative: 1.0  1.0;
20627                   offset:   -1   -5;
20628                }
20629                image.normal: "icon_arrow_right.png";
20630             }
20631             description { state: "active" 0.0;
20632                inherit: "default" 0.0;
20633                image.normal: "icon_arrow_down.png";
20634             }
20635          }
20636          part { name: "elm.swallow.icon";
20637             clip_to: "disclip";
20638             type: SWALLOW;
20639             description { state: "default" 0.0;
20640                fixed: 1 0;
20641                align: 0.0 0.5;
20642                rel1 {
20643                   to_x: "arrow";
20644                   relative: 1.0  0.0;
20645                   offset:   4    4;
20646                }
20647                rel2 {
20648                   to_x: "arrow";
20649                   relative: 1.0  1.0;
20650                   offset:   4   -5;
20651                }
20652             }
20653          }
20654          part { name: "elm.swallow.end";
20655             clip_to: "disclip";
20656             type: SWALLOW;
20657             description { state: "default" 0.0;
20658                fixed: 1 0;
20659                align: 1.0 0.5;
20660                aspect: 1.0 1.0;
20661                aspect_preference: VERTICAL;
20662                rel1 {
20663                   relative: 1.0  0.0;
20664                   offset:   -5    4;
20665                }
20666                rel2 {
20667                   relative: 1.0  1.0;
20668                   offset:   -5   -5;
20669                }
20670             }
20671          }
20672          part { name: "elm.text";
20673             clip_to: "disclip";
20674             type:           TEXT;
20675             effect:         SOFT_SHADOW;
20676             mouse_events:   0;
20677             scale: 1;
20678             description {
20679                state: "default" 0.0;
20680 //               min: 16 16;
20681                rel1 {
20682                   to_x:     "elm.swallow.icon";
20683                   relative: 1.0  0.0;
20684                   offset:   0 4;
20685                }
20686                rel2 {
20687                   to_x:     "elm.swallow.end";
20688                   relative: 0.0  0.5;
20689                   offset:   -1 -5;
20690                }
20691                color: 0 0 0 255;
20692                color3: 0 0 0 0;
20693                text {
20694                   font: "Sans";
20695                   size: 10;
20696 //                  min: 1 1;
20697                   min: 0 1;
20698                   align: 0.0 0.5;
20699                   text_class: "list_item";
20700                }
20701             }
20702             description { state: "selected" 0.0;
20703                inherit: "default" 0.0;
20704                color: 224 224 224 255;
20705                color3: 0 0 0 64;
20706             }
20707          }
20708          part { name: "elm.text.sub";
20709             clip_to: "disclip";
20710             type:           TEXT;
20711             mouse_events:   0;
20712             scale: 1;
20713             description {
20714                state: "default" 0.0;
20715 //               min: 16 16;
20716                rel1 {
20717                   to_x:     "elm.swallow.icon";
20718                   relative: 1.0  0.5;
20719                   offset:   0 4;
20720                }
20721                rel2 {
20722                   to_x:     "elm.swallow.end";
20723                   relative: 0.0  1.0;
20724                   offset:   -1 -5;
20725                }
20726                color: 0 0 0 128;
20727                color3: 0 0 0 0;
20728                text {
20729                   font: "Sans";
20730                   size: 8;
20731 //                  min: 1 1;
20732                   min: 0 1;
20733                   align: 0.0 0.5;
20734                   text_class: "list_item";
20735                }
20736             }
20737             description { state: "selected" 0.0;
20738                inherit: "default" 0.0;
20739                color: 128 128 128 255;
20740                color3: 0 0 0 32;
20741             }
20742          }
20743          part { name: "fg1";
20744             clip_to: "disclip";
20745             mouse_events: 0;
20746             description { state: "default" 0.0;
20747                visible: 0;
20748                color: 255 255 255 0;
20749                rel1.to: "bg";
20750                rel2.relative: 1.0 0.5;
20751                rel2.to: "bg";
20752                image {
20753                   normal: "bt_sm_hilight.png";
20754                   border: 6 6 6 0;
20755                }
20756             }
20757             description { state: "selected" 0.0;
20758                inherit: "default" 0.0;
20759                visible: 1;
20760                color: 255 255 255 255;
20761             }
20762          }
20763          part { name: "fg2";
20764             clip_to: "disclip";
20765             mouse_events: 0;
20766             description { state: "default" 0.0;
20767                visible: 0;
20768                color: 255 255 255 0;
20769                rel1.to: "bg";
20770                rel2.to: "bg";
20771                image {
20772                   normal: "bt_sm_shine.png";
20773                   border: 6 6 6 0;
20774                }
20775             }
20776             description { state: "selected" 0.0;
20777                inherit: "default" 0.0;
20778                visible: 1;
20779                color: 255 255 255 255;
20780             }
20781          }
20782          part { name: "disclip";
20783             type: RECT;
20784             description { state: "default" 0.0;
20785                rel1.to: "bg";
20786                rel2.to: "bg";
20787             }
20788             description { state: "disabled" 0.0;
20789                inherit: "default" 0.0;
20790                color: 255 255 255 64;
20791             }
20792          }
20793       }
20794       programs {
20795          // signal: elm,state,%s,active
20796          //   a "check" item named %s went active
20797          // signal: elm,state,%s,passive
20798          //   a "check" item named %s went passive
20799          // default is passive
20800          program {
20801             name:    "go_active";
20802             signal:  "elm,state,selected";
20803             source:  "elm";
20804             action:  STATE_SET "selected" 0.0;
20805             target:  "bg";
20806             target:  "fg1";
20807             target:  "fg2";
20808             target:  "elm.text";
20809             target:  "elm.text.sub";
20810          }
20811          program {
20812             name:    "go_passive";
20813             signal:  "elm,state,unselected";
20814             source:  "elm";
20815             action:  STATE_SET "default" 0.0;
20816             target:  "bg";
20817             target:  "fg1";
20818             target:  "fg2";
20819             target:  "elm.text";
20820             target:  "elm.text.sub";
20821             transition: LINEAR 0.1;
20822          }
20823          program {
20824             name:    "go_disabled";
20825             signal:  "elm,state,disabled";
20826             source:  "elm";
20827             action:  STATE_SET "disabled" 0.0;
20828             target:  "disclip";
20829          }
20830          program {
20831             name:    "go_enabled";
20832             signal:  "elm,state,enabled";
20833             source:  "elm";
20834             action:  STATE_SET "default" 0.0;
20835             target:  "disclip";
20836          }
20837          program {
20838             name:    "expand";
20839             signal:  "mouse,up,1";
20840             source:  "arrow";
20841             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20842          }
20843          program {
20844             name:    "go_expanded";
20845             signal:  "elm,state,expanded";
20846             source:  "elm";
20847             action:  STATE_SET "active" 0.0;
20848             target:  "arrow";
20849          }
20850          program {
20851             name:    "go_contracted";
20852             signal:  "elm,state,contracted";
20853             source:  "elm";
20854             action:  STATE_SET "default" 0.0;
20855             target:  "arrow";
20856          }
20857       }
20858    }
20859    group { name: "elm/genlist/tree_odd/double_label/default";
20860       data.item: "stacking" "below";
20861       data.item: "selectraise" "on";
20862       data.item: "labels" "elm.text elm.text.sub";
20863       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20864       data.item: "treesize" "20";
20865 //      data.item: "states" "";
20866       images {
20867          image: "bt_sm_base1.png" COMP;
20868          image: "bt_sm_shine.png" COMP;
20869          image: "bt_sm_hilight.png" COMP;
20870          image: "ilist_2.png" COMP;
20871          image: "icon_arrow_right.png" COMP;
20872          image: "icon_arrow_down.png" COMP;
20873       }
20874       parts {
20875          part {
20876             name:           "event";
20877             type:           RECT;
20878             repeat_events: 1;
20879             description {
20880                state: "default" 0.0;
20881                color: 0 0 0 0;
20882             }
20883          }
20884          part {
20885             name: "base";
20886             mouse_events: 0;
20887             description {
20888                state: "default" 0.0;
20889                image {
20890                   normal: "ilist_2.png";
20891                   border: 2 2 2 2;
20892                }
20893                fill.smooth: 0;
20894             }
20895          }
20896          part { name: "bg";
20897             clip_to: "disclip";
20898             mouse_events: 0;
20899             description { state: "default" 0.0;
20900                visible: 0;
20901                color: 255 255 255 0;
20902                rel1 {
20903                   relative: 0.0 0.0;
20904                   offset: -5 -5;
20905                }
20906                rel2 {
20907                   relative: 1.0 1.0;
20908                   offset: 4 4;
20909                }
20910                image {
20911                   normal: "bt_sm_base1.png";
20912                   border: 6 6 6 6;
20913                }
20914                image.middle: SOLID;
20915             }
20916             description { state: "selected" 0.0;
20917                inherit: "default" 0.0;
20918                visible: 1;
20919                color: 255 255 255 255;
20920                rel1 {
20921                   relative: 0.0 0.0;
20922                   offset: -2 -2;
20923                }
20924                rel2 {
20925                   relative: 1.0 1.0;
20926                   offset: 1 1;
20927                }
20928             }
20929          }
20930          part { name: "elm.swallow.pad";
20931             type: SWALLOW;
20932             description { state: "default" 0.0;
20933                fixed: 1 0;
20934                align: 0.0 0.5;
20935                rel1 {
20936                   relative: 0.0  0.0;
20937                   offset:   4    4;
20938                }
20939                rel2 {
20940                   relative: 0.0  1.0;
20941                   offset:   4   -5;
20942                }
20943             }
20944          }
20945          part { name: "arrow";
20946             clip_to: "disclip";
20947             ignore_flags: ON_HOLD;
20948             description { state: "default" 0.0;
20949                fixed: 1 0;
20950                align: 0.0 0.5;
20951                aspect: 1.0 1.0;
20952                rel1 {
20953                   to_x: "elm.swallow.pad";
20954                   relative: 1.0  0.0;
20955                   offset:   -1    4;
20956                }
20957                rel2 {
20958                   to_x: "elm.swallow.pad";
20959                   relative: 1.0  1.0;
20960                   offset:   -1   -5;
20961                }
20962                image.normal: "icon_arrow_right.png";
20963             }
20964             description { state: "active" 0.0;
20965                inherit: "default" 0.0;
20966                image.normal: "icon_arrow_down.png";
20967             }
20968          }
20969          part { name: "elm.swallow.icon";
20970             clip_to: "disclip";
20971             type: SWALLOW;
20972             description { state: "default" 0.0;
20973                fixed: 1 0;
20974                align: 0.0 0.5;
20975                rel1 {
20976                   to_x: "arrow";
20977                   relative: 1.0  0.0;
20978                   offset:   4    4;
20979                }
20980                rel2 {
20981                   to_x: "arrow";
20982                   relative: 1.0  1.0;
20983                   offset:   4   -5;
20984                }
20985             }
20986          }
20987          part { name: "elm.swallow.end";
20988             clip_to: "disclip";
20989             type: SWALLOW;
20990             description { state: "default" 0.0;
20991                fixed: 1 0;
20992                align: 1.0 0.5;
20993                aspect: 1.0 1.0;
20994                aspect_preference: VERTICAL;
20995                rel1 {
20996                   relative: 1.0  0.0;
20997                   offset:   -5    4;
20998                }
20999                rel2 {
21000                   relative: 1.0  1.0;
21001                   offset:   -5   -5;
21002                }
21003             }
21004          }
21005          part { name: "elm.text";
21006             clip_to: "disclip";
21007             type:           TEXT;
21008             effect:         SOFT_SHADOW;
21009             mouse_events:   0;
21010             scale: 1;
21011             description {
21012                state: "default" 0.0;
21013 //               min: 16 16;
21014                rel1 {
21015                   to_x:     "elm.swallow.icon";
21016                   relative: 1.0  0.0;
21017                   offset:   0 4;
21018                }
21019                rel2 {
21020                   to_x:     "elm.swallow.end";
21021                   relative: 0.0  0.5;
21022                   offset:   -1 -5;
21023                }
21024                color: 0 0 0 255;
21025                color3: 0 0 0 0;
21026                text {
21027                   font: "Sans";
21028                   size: 10;
21029                   min: 1 1;
21030 //                  min: 0 1;
21031                   align: 0.0 0.5;
21032                   text_class: "list_item";
21033                }
21034             }
21035             description { state: "selected" 0.0;
21036                inherit: "default" 0.0;
21037                color: 224 224 224 255;
21038                color3: 0 0 0 64;
21039             }
21040          }
21041          part { name: "elm.text.sub";
21042             clip_to: "disclip";
21043             type:           TEXT;
21044             mouse_events:   0;
21045             scale: 1;
21046             description {
21047                state: "default" 0.0;
21048 //               min: 16 16;
21049                rel1 {
21050                   to_x:     "elm.swallow.icon";
21051                   relative: 1.0  0.5;
21052                   offset:   0 4;
21053                }
21054                rel2 {
21055                   to_x:     "elm.swallow.end";
21056                   relative: 0.0  1.0;
21057                   offset:   -1 -5;
21058                }
21059                color: 0 0 0 128;
21060                color3: 0 0 0 0;
21061                text {
21062                   font: "Sans";
21063                   size: 8;
21064                   min: 1 1;
21065 //                  min: 0 1;
21066                   align: 0.0 0.5;
21067                   text_class: "list_item";
21068                }
21069             }
21070             description { state: "selected" 0.0;
21071                inherit: "default" 0.0;
21072                color: 128 128 128 255;
21073                color3: 0 0 0 32;
21074             }
21075          }
21076          part { name: "fg1";
21077             clip_to: "disclip";
21078             mouse_events: 0;
21079             description { state: "default" 0.0;
21080                visible: 0;
21081                color: 255 255 255 0;
21082                rel1.to: "bg";
21083                rel2.relative: 1.0 0.5;
21084                rel2.to: "bg";
21085                image {
21086                   normal: "bt_sm_hilight.png";
21087                   border: 6 6 6 0;
21088                }
21089             }
21090             description { state: "selected" 0.0;
21091                inherit: "default" 0.0;
21092                visible: 1;
21093                color: 255 255 255 255;
21094             }
21095          }
21096          part { name: "fg2";
21097             clip_to: "disclip";
21098             mouse_events: 0;
21099             description { state: "default" 0.0;
21100                visible: 0;
21101                color: 255 255 255 0;
21102                rel1.to: "bg";
21103                rel2.to: "bg";
21104                image {
21105                   normal: "bt_sm_shine.png";
21106                   border: 6 6 6 0;
21107                }
21108             }
21109             description { state: "selected" 0.0;
21110                inherit: "default" 0.0;
21111                visible: 1;
21112                color: 255 255 255 255;
21113             }
21114          }
21115          part { name: "disclip";
21116             type: RECT;
21117             description { state: "default" 0.0;
21118                rel1.to: "bg";
21119                rel2.to: "bg";
21120             }
21121             description { state: "disabled" 0.0;
21122                inherit: "default" 0.0;
21123                color: 255 255 255 64;
21124             }
21125          }
21126       }
21127       programs {
21128          // signal: elm,state,%s,active
21129          //   a "check" item named %s went active
21130          // signal: elm,state,%s,passive
21131          //   a "check" item named %s went passive
21132          // default is passive
21133          program {
21134             name:    "go_active";
21135             signal:  "elm,state,selected";
21136             source:  "elm";
21137             action:  STATE_SET "selected" 0.0;
21138             target:  "bg";
21139             target:  "fg1";
21140             target:  "fg2";
21141             target:  "elm.text";
21142             target:  "elm.text.sub";
21143          }
21144          program {
21145             name:    "go_passive";
21146             signal:  "elm,state,unselected";
21147             source:  "elm";
21148             action:  STATE_SET "default" 0.0;
21149             target:  "bg";
21150             target:  "fg1";
21151             target:  "fg2";
21152             target:  "elm.text";
21153             target:  "elm.text.sub";
21154             transition: LINEAR 0.1;
21155          }
21156          program {
21157             name:    "go_disabled";
21158             signal:  "elm,state,disabled";
21159             source:  "elm";
21160             action:  STATE_SET "disabled" 0.0;
21161             target:  "disclip";
21162          }
21163          program {
21164             name:    "go_enabled";
21165             signal:  "elm,state,enabled";
21166             source:  "elm";
21167             action:  STATE_SET "default" 0.0;
21168             target:  "disclip";
21169          }
21170          program {
21171             name:    "expand";
21172             signal:  "mouse,up,1";
21173             source:  "arrow";
21174             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21175          }
21176          program {
21177             name:    "go_expanded";
21178             signal:  "elm,state,expanded";
21179             source:  "elm";
21180             action:  STATE_SET "active" 0.0;
21181             target:  "arrow";
21182          }
21183          program {
21184             name:    "go_contracted";
21185             signal:  "elm,state,contracted";
21186             source:  "elm";
21187             action:  STATE_SET "default" 0.0;
21188             target:  "arrow";
21189          }
21190       }
21191    }
21192
21193    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21194       data.item: "stacking" "above";
21195       data.item: "selectraise" "on";
21196       data.item: "labels" "elm.text";
21197       data.item: "icons" "elm.swallow.icon";
21198       data.item: "treesize" "20";
21199 //      data.item: "states" "";
21200       images {
21201          image: "bt_sm_base1.png" COMP;
21202          image: "bt_sm_shine.png" COMP;
21203          image: "bt_sm_hilight.png" COMP;
21204          image: "ilist_1.png" COMP;
21205          image: "ilist_item_shadow.png" COMP;
21206       }
21207       parts {
21208          part {
21209             name:           "event";
21210             type:           RECT;
21211             repeat_events: 1;
21212             description {
21213                state: "default" 0.0;
21214                color: 0 0 0 0;
21215             }
21216          }
21217          part {
21218             name: "base_sh";
21219             mouse_events: 0;
21220             description {
21221                state: "default" 0.0;
21222                align: 0.0 0.0;
21223                min: 0 10;
21224                fixed: 1 1;
21225                rel1 {
21226                   to: "base";
21227                   relative: 0.0 1.0;
21228                   offset: 0 0;
21229                }
21230                rel2 {
21231                   to: "base";
21232                   relative: 1.0 1.0;
21233                   offset: -1 0;
21234                }
21235                image {
21236                   normal: "ilist_item_shadow.png";
21237                }
21238                fill.smooth: 0;
21239             }
21240          }
21241          part {
21242             name: "base";
21243             mouse_events: 0;
21244             description {
21245                state: "default" 0.0;
21246                image {
21247                   normal: "ilist_1.png";
21248                   border: 2 2 2 2;
21249                }
21250                fill.smooth: 0;
21251             }
21252          }
21253          part { name: "bg";
21254             clip_to: "disclip";
21255             mouse_events: 0;
21256             description { state: "default" 0.0;
21257                visible: 0;
21258                color: 255 255 255 0;
21259                rel1 {
21260                   relative: 0.0 0.0;
21261                   offset: -5 -5;
21262                }
21263                rel2 {
21264                   relative: 1.0 1.0;
21265                   offset: 4 4;
21266                }
21267                image {
21268                   normal: "bt_sm_base1.png";
21269                   border: 6 6 6 6;
21270                }
21271                image.middle: SOLID;
21272             }
21273             description { state: "selected" 0.0;
21274                inherit: "default" 0.0;
21275                visible: 1;
21276                color: 255 255 255 255;
21277                rel1 {
21278                   relative: 0.0 0.0;
21279                   offset: -2 -2;
21280                }
21281                rel2 {
21282                   relative: 1.0 1.0;
21283                   offset: 1 1;
21284                }
21285             }
21286          }
21287          part { name: "elm.swallow.pad";
21288             type: SWALLOW;
21289             description { state: "default" 0.0;
21290                fixed: 1 0;
21291                align: 0.0 0.5;
21292                rel1 {
21293                   relative: 0.0  0.0;
21294                   offset:   4    4;
21295                }
21296                rel2 {
21297                   relative: 1.0  1.0;
21298                   offset:   -4   -5;
21299                }
21300             }
21301          }
21302          part { name: "elm.swallow.icon";
21303             clip_to: "disclip";
21304             type: SWALLOW;
21305             description { state: "default" 0.0;
21306                fixed: 1 0;
21307                align: 0.5 0.5;
21308                rel1 {
21309                   to_x: "elm.swallow.pad";
21310                   relative: 0.0  0.0;
21311                   offset:   -1    4;
21312                }
21313                rel2 {
21314                   to_x: "elm.swallow.pad";
21315                   relative: 1.0  1.0;
21316                   offset:   -1   -5;
21317                }
21318             }
21319          }
21320          part { name: "elm.text";
21321             clip_to: "disclip";
21322             type:           TEXT;
21323             effect:         SOFT_SHADOW;
21324             mouse_events:   0;
21325             scale: 1;
21326             description {
21327                state: "default" 0.0;
21328 //               min: 16 16;
21329                rel1 {
21330                   to_y:     "elm.swallow.icon";
21331                   relative: 0.0  1.0;
21332                   offset:   0 4;
21333                }
21334                rel2 {
21335                   relative: 1.0  1.0;
21336                   offset:   -5 -5;
21337                }
21338                color: 0 0 0 255;
21339                color3: 0 0 0 0;
21340                text {
21341                   font: "Sans";
21342                   size: 10;
21343                   min: 1 1;
21344 //                  min: 0 1;
21345                   align: 0.5 0.5;
21346                   text_class: "list_item";
21347                }
21348             }
21349             description { state: "selected" 0.0;
21350                inherit: "default" 0.0;
21351                color: 224 224 224 255;
21352                color3: 0 0 0 64;
21353             }
21354          }
21355          part { name: "fg1";
21356             clip_to: "disclip";
21357             mouse_events: 0;
21358             description { state: "default" 0.0;
21359                visible: 0;
21360                color: 255 255 255 0;
21361                rel1.to: "bg";
21362                rel2.relative: 1.0 0.5;
21363                rel2.to: "bg";
21364                image {
21365                   normal: "bt_sm_hilight.png";
21366                   border: 6 6 6 0;
21367                }
21368             }
21369             description { state: "selected" 0.0;
21370                inherit: "default" 0.0;
21371                visible: 1;
21372                color: 255 255 255 255;
21373             }
21374          }
21375          part { name: "fg2";
21376             clip_to: "disclip";
21377             mouse_events: 0;
21378             description { state: "default" 0.0;
21379                visible: 0;
21380                color: 255 255 255 0;
21381                rel1.to: "bg";
21382                rel2.to: "bg";
21383                image {
21384                   normal: "bt_sm_shine.png";
21385                   border: 6 6 6 0;
21386                }
21387             }
21388             description { state: "selected" 0.0;
21389                inherit: "default" 0.0;
21390                visible: 1;
21391                color: 255 255 255 255;
21392             }
21393          }
21394          part { name: "disclip";
21395             type: RECT;
21396             description { state: "default" 0.0;
21397                rel1.to: "bg";
21398                rel2.to: "bg";
21399             }
21400             description { state: "disabled" 0.0;
21401                inherit: "default" 0.0;
21402                color: 255 255 255 64;
21403             }
21404          }
21405       }
21406       programs {
21407          // signal: elm,state,%s,active
21408          //   a "check" item named %s went active
21409          // signal: elm,state,%s,passive
21410          //   a "check" item named %s went passive
21411          // default is passive
21412          program {
21413             name:    "go_active";
21414             signal:  "elm,state,selected";
21415             source:  "elm";
21416             action:  STATE_SET "selected" 0.0;
21417             target:  "bg";
21418             target:  "fg1";
21419             target:  "fg2";
21420             target:  "elm.text";
21421          }
21422          program {
21423             name:    "go_passive";
21424             signal:  "elm,state,unselected";
21425             source:  "elm";
21426             action:  STATE_SET "default" 0.0;
21427             target:  "bg";
21428             target:  "fg1";
21429             target:  "fg2";
21430             target:  "elm.text";
21431             transition: LINEAR 0.1;
21432          }
21433          program {
21434             name:    "go_disabled";
21435             signal:  "elm,state,disabled";
21436             source:  "elm";
21437             action:  STATE_SET "disabled" 0.0;
21438             target:  "disclip";
21439          }
21440          program {
21441             name:    "go_enabled";
21442             signal:  "elm,state,enabled";
21443             source:  "elm";
21444             action:  STATE_SET "default" 0.0;
21445             target:  "disclip";
21446          }
21447       }
21448    }
21449    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21450       data.item: "stacking" "below";
21451       data.item: "selectraise" "on";
21452       data.item: "labels" "elm.text";
21453       data.item: "icons" "elm.swallow.icon";
21454       data.item: "treesize" "20";
21455 //      data.item: "states" "";
21456       images {
21457          image: "bt_sm_base1.png" COMP;
21458          image: "bt_sm_shine.png" COMP;
21459          image: "bt_sm_hilight.png" COMP;
21460          image: "ilist_2.png" COMP;
21461       }
21462       parts {
21463          part { name: "event";
21464             type: RECT;
21465             repeat_events: 1;
21466             description {
21467                state: "default" 0.0;
21468                color: 0 0 0 0;
21469             }
21470          }
21471          part {
21472             name: "base";
21473             mouse_events: 0;
21474             description {
21475                state: "default" 0.0;
21476                image {
21477                   normal: "ilist_2.png";
21478                   border: 2 2 2 2;
21479                }
21480                fill.smooth: 0;
21481             }
21482          }
21483          part { name: "bg";
21484             clip_to: "disclip";
21485             mouse_events: 0;
21486             description { state: "default" 0.0;
21487                visible: 0;
21488                color: 255 255 255 0;
21489                rel1 {
21490                   relative: 0.0 0.0;
21491                   offset: -5 -5;
21492                }
21493                rel2 {
21494                   relative: 1.0 1.0;
21495                   offset: 4 4;
21496                }
21497                image {
21498                   normal: "bt_sm_base1.png";
21499                   border: 6 6 6 6;
21500                }
21501                image.middle: SOLID;
21502             }
21503             description { state: "selected" 0.0;
21504                inherit: "default" 0.0;
21505                visible: 1;
21506                color: 255 255 255 255;
21507                rel1 {
21508                   relative: 0.0 0.0;
21509                   offset: -2 -2;
21510                }
21511                rel2 {
21512                   relative: 1.0 1.0;
21513                   offset: 1 1;
21514                }
21515             }
21516          }
21517          part { name: "elm.swallow.pad";
21518             type: SWALLOW;
21519             description { state: "default" 0.0;
21520                fixed: 1 0;
21521                align: 0.0 0.5;
21522                rel1 {
21523                   relative: 0.0  0.0;
21524                   offset:   4    4;
21525                }
21526                rel2 {
21527                   relative: 1.0  1.0;
21528                   offset:   -4   -5;
21529                }
21530             }
21531          }
21532          part { name: "elm.swallow.icon";
21533             clip_to: "disclip";
21534             type: SWALLOW;
21535             description { state: "default" 0.0;
21536                fixed: 1 0;
21537                align: 0.5 0.5;
21538                rel1 {
21539                   to_x: "elm.swallow.pad";
21540                   relative: 0.0  0.0;
21541                   offset:   -1    4;
21542                }
21543                rel2 {
21544                   to_x: "elm.swallow.pad";
21545                   relative: 1.0  1.0;
21546                   offset:   -1   -5;
21547                }
21548             }
21549          }
21550          part { name: "elm.text";
21551             clip_to: "disclip";
21552             type:           TEXT;
21553             effect:         SOFT_SHADOW;
21554             mouse_events:   0;
21555             scale: 1;
21556             description {
21557                state: "default" 0.0;
21558 //               min:      16 16;
21559                rel1 {
21560                   to_y:     "elm.swallow.icon";
21561                   relative: 0.0  1.0;
21562                   offset:   0 4;
21563                }
21564                rel2 {
21565                   relative: 1.0  1.0;
21566                   offset:   -5 -5;
21567                }
21568                color: 0 0 0 255;
21569                color3: 0 0 0 0;
21570                text {
21571                   font: "Sans";
21572                   size: 10;
21573                   min: 1 1;
21574 //                  min: 0 1;
21575                   align: 0.5 0.5;
21576                   text_class: "list_item";
21577                }
21578             }
21579             description { state: "selected" 0.0;
21580                inherit: "default" 0.0;
21581                color: 224 224 224 255;
21582                color3: 0 0 0 64;
21583             }
21584          }
21585          part { name: "fg1";
21586             clip_to: "disclip";
21587             mouse_events: 0;
21588             description { state: "default" 0.0;
21589                visible: 0;
21590                color: 255 255 255 0;
21591                rel1.to: "bg";
21592                rel2.relative: 1.0 0.5;
21593                rel2.to: "bg";
21594                image {
21595                   normal: "bt_sm_hilight.png";
21596                   border: 6 6 6 0;
21597                }
21598             }
21599             description { state: "selected" 0.0;
21600                inherit: "default" 0.0;
21601                visible: 1;
21602                color: 255 255 255 255;
21603             }
21604          }
21605          part { name: "fg2";
21606             clip_to: "disclip";
21607             mouse_events: 0;
21608             description { state: "default" 0.0;
21609                visible: 0;
21610                color: 255 255 255 0;
21611                rel1.to: "bg";
21612                rel2.to: "bg";
21613                image {
21614                   normal: "bt_sm_shine.png";
21615                   border: 6 6 6 0;
21616                }
21617             }
21618             description { state: "selected" 0.0;
21619                inherit: "default" 0.0;
21620                visible: 1;
21621                color: 255 255 255 255;
21622             }
21623          }
21624          part { name: "disclip";
21625             type: RECT;
21626             description { state: "default" 0.0;
21627                rel1.to: "bg";
21628                rel2.to: "bg";
21629             }
21630             description { state: "disabled" 0.0;
21631                inherit: "default" 0.0;
21632                color: 255 255 255 64;
21633             }
21634          }
21635       }
21636       programs {
21637          // signal: elm,state,%s,active
21638          //   a "check" item named %s went active
21639          // signal: elm,state,%s,passive
21640          //   a "check" item named %s went passive
21641          // default is passive
21642          program {
21643             name:    "go_active";
21644             signal:  "elm,state,selected";
21645             source:  "elm";
21646             action:  STATE_SET "selected" 0.0;
21647             target:  "bg";
21648             target:  "fg1";
21649             target:  "fg2";
21650             target:  "elm.text";
21651          }
21652          program {
21653             name:    "go_passive";
21654             signal:  "elm,state,unselected";
21655             source:  "elm";
21656             action:  STATE_SET "default" 0.0;
21657             target:  "bg";
21658             target:  "fg1";
21659             target:  "fg2";
21660             target:  "elm.text";
21661             transition: LINEAR 0.1;
21662          }
21663          program {
21664             name:    "go_disabled";
21665             signal:  "elm,state,disabled";
21666             source:  "elm";
21667             action:  STATE_SET "disabled" 0.0;
21668             target:  "disclip";
21669          }
21670          program {
21671             name:    "go_enabled";
21672             signal:  "elm,state,enabled";
21673             source:  "elm";
21674             action:  STATE_SET "default" 0.0;
21675             target:  "disclip";
21676          }
21677       }
21678    }
21679
21680    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21681       data.item: "stacking" "above";
21682       data.item: "selectraise" "on";
21683       data.item: "labels" "elm.text";
21684       data.item: "icons" "elm.swallow.icon";
21685       data.item: "treesize" "20";
21686 //      data.item: "states" "";
21687       images {
21688          image: "bt_sm_base1.png" COMP;
21689          image: "bt_sm_shine.png" COMP;
21690          image: "bt_sm_hilight.png" COMP;
21691          image: "ilist_1.png" COMP;
21692          image: "ilist_item_shadow.png" COMP;
21693          image: "icon_arrow_right.png" COMP;
21694          image: "icon_arrow_down.png" COMP;
21695       }
21696       parts {
21697          part {
21698             name:           "event";
21699             type:           RECT;
21700             repeat_events: 1;
21701             description {
21702                state: "default" 0.0;
21703                color: 0 0 0 0;
21704             }
21705          }
21706          part {
21707             name: "base_sh";
21708             mouse_events: 0;
21709             description {
21710                state: "default" 0.0;
21711                align: 0.0 0.0;
21712                min: 0 10;
21713                fixed: 1 1;
21714                rel1 {
21715                   to: "base";
21716                   relative: 0.0 1.0;
21717                   offset: 0 0;
21718                }
21719                rel2 {
21720                   to: "base";
21721                   relative: 1.0 1.0;
21722                   offset: -1 0;
21723                }
21724                image {
21725                   normal: "ilist_item_shadow.png";
21726                }
21727                fill.smooth: 0;
21728             }
21729          }
21730          part {
21731             name: "base";
21732             mouse_events: 0;
21733             description {
21734                state: "default" 0.0;
21735                image {
21736                   normal: "ilist_1.png";
21737                   border: 2 2 2 2;
21738                }
21739                fill.smooth: 0;
21740             }
21741          }
21742          part { name: "bg";
21743             clip_to: "disclip";
21744             mouse_events: 0;
21745             description { state: "default" 0.0;
21746                visible: 0;
21747                color: 255 255 255 0;
21748                rel1 {
21749                   relative: 0.0 0.0;
21750                   offset: -5 -5;
21751                }
21752                rel2 {
21753                   relative: 1.0 1.0;
21754                   offset: 4 4;
21755                }
21756                image {
21757                   normal: "bt_sm_base1.png";
21758                   border: 6 6 6 6;
21759                }
21760                image.middle: SOLID;
21761             }
21762             description { state: "selected" 0.0;
21763                inherit: "default" 0.0;
21764                visible: 1;
21765                color: 255 255 255 255;
21766                rel1 {
21767                   relative: 0.0 0.0;
21768                   offset: -2 -2;
21769                }
21770                rel2 {
21771                   relative: 1.0 1.0;
21772                   offset: 1 1;
21773                }
21774             }
21775          }
21776          part { name: "elm.swallow.pad";
21777             type: SWALLOW;
21778             description { state: "default" 0.0;
21779                fixed: 1 0;
21780                align: 0.0 0.5;
21781                rel1 {
21782                   relative: 0.0  0.0;
21783                   offset:   4    4;
21784                }
21785                rel2 {
21786                   relative: 0.0  1.0;
21787                   offset:   4   -5;
21788                }
21789             }
21790          }
21791          part { name: "arrow";
21792             clip_to: "disclip";
21793             ignore_flags: ON_HOLD;
21794             description { state: "default" 0.0;
21795                fixed: 1 0;
21796                align: 0.0 0.5;
21797                aspect: 1.0 1.0;
21798                rel1 {
21799                   to_x: "elm.swallow.pad";
21800                   relative: 1.0  0.0;
21801                   offset:   -1    4;
21802                }
21803                rel2 {
21804                   to_x: "elm.swallow.pad";
21805                   relative: 1.0  1.0;
21806                   offset:   -1   -5;
21807                }
21808                image.normal: "icon_arrow_right.png";
21809             }
21810             description { state: "active" 0.0;
21811                inherit: "default" 0.0;
21812                image.normal: "icon_arrow_down.png";
21813             }
21814          }
21815          part { name: "elm.swallow.icon";
21816             clip_to: "disclip";
21817             type: SWALLOW;
21818             description { state: "default" 0.0;
21819                fixed: 1 0;
21820                align: 0.5 0.5;
21821                rel1 {
21822                   to_x: "arrow";
21823                   relative: 1.0  0.0;
21824                   offset:   4    4;
21825                }
21826                rel2 {
21827                   relative: 1.0  1.0;
21828                   offset:   -4   -5;
21829                }
21830             }
21831          }
21832          part { name: "elm.text";
21833             clip_to: "disclip";
21834             type:           TEXT;
21835             effect:         SOFT_SHADOW;
21836             mouse_events:   0;
21837             scale: 1;
21838             description {
21839                state: "default" 0.0;
21840 //               min: 16 16;
21841                rel1 {
21842                   to_y:     "elm.swallow.icon";
21843                   relative: 0.0  1.0;
21844                   offset:   0 4;
21845                }
21846                rel2 {
21847                   relative: 1.0  1.0;
21848                   offset:   -5 -5;
21849                }
21850                color: 0 0 0 255;
21851                color3: 0 0 0 0;
21852                text {
21853                   font: "Sans";
21854                   size: 10;
21855                   min: 1 1;
21856 //                  min: 0 1;
21857                   align: 0.5 0.5;
21858                   text_class: "list_item";
21859                }
21860             }
21861             description { state: "selected" 0.0;
21862                inherit: "default" 0.0;
21863                color: 224 224 224 255;
21864                color3: 0 0 0 64;
21865             }
21866          }
21867          part { name: "fg1";
21868             clip_to: "disclip";
21869             mouse_events: 0;
21870             description { state: "default" 0.0;
21871                visible: 0;
21872                color: 255 255 255 0;
21873                rel1.to: "bg";
21874                rel2.relative: 1.0 0.5;
21875                rel2.to: "bg";
21876                image {
21877                   normal: "bt_sm_hilight.png";
21878                   border: 6 6 6 0;
21879                }
21880             }
21881             description { state: "selected" 0.0;
21882                inherit: "default" 0.0;
21883                visible: 1;
21884                color: 255 255 255 255;
21885             }
21886          }
21887          part { name: "fg2";
21888             clip_to: "disclip";
21889             mouse_events: 0;
21890             description { state: "default" 0.0;
21891                visible: 0;
21892                color: 255 255 255 0;
21893                rel1.to: "bg";
21894                rel2.to: "bg";
21895                image {
21896                   normal: "bt_sm_shine.png";
21897                   border: 6 6 6 0;
21898                }
21899             }
21900             description { state: "selected" 0.0;
21901                inherit: "default" 0.0;
21902                visible: 1;
21903                color: 255 255 255 255;
21904             }
21905          }
21906          part { name: "disclip";
21907             type: RECT;
21908             description { state: "default" 0.0;
21909                rel1.to: "bg";
21910                rel2.to: "bg";
21911             }
21912             description { state: "disabled" 0.0;
21913                inherit: "default" 0.0;
21914                color: 255 255 255 64;
21915             }
21916          }
21917       }
21918       programs {
21919          // signal: elm,state,%s,active
21920          //   a "check" item named %s went active
21921          // signal: elm,state,%s,passive
21922          //   a "check" item named %s went passive
21923          // default is passive
21924          program {
21925             name:    "go_active";
21926             signal:  "elm,state,selected";
21927             source:  "elm";
21928             action:  STATE_SET "selected" 0.0;
21929             target:  "bg";
21930             target:  "fg1";
21931             target:  "fg2";
21932             target:  "elm.text";
21933          }
21934          program {
21935             name:    "go_passive";
21936             signal:  "elm,state,unselected";
21937             source:  "elm";
21938             action:  STATE_SET "default" 0.0;
21939             target:  "bg";
21940             target:  "fg1";
21941             target:  "fg2";
21942             target:  "elm.text";
21943             transition: LINEAR 0.1;
21944          }
21945          program {
21946             name:    "go_disabled";
21947             signal:  "elm,state,disabled";
21948             source:  "elm";
21949             action:  STATE_SET "disabled" 0.0;
21950             target:  "disclip";
21951          }
21952          program {
21953             name:    "go_enabled";
21954             signal:  "elm,state,enabled";
21955             source:  "elm";
21956             action:  STATE_SET "default" 0.0;
21957             target:  "disclip";
21958          }
21959          program {
21960             name:    "expand";
21961             signal:  "mouse,up,1";
21962             source:  "arrow";
21963             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21964          }
21965          program {
21966             name:    "go_expanded";
21967             signal:  "elm,state,expanded";
21968             source:  "elm";
21969             action:  STATE_SET "active" 0.0;
21970             target:  "arrow";
21971          }
21972          program {
21973             name:    "go_contracted";
21974             signal:  "elm,state,contracted";
21975             source:  "elm";
21976             action:  STATE_SET "default" 0.0;
21977             target:  "arrow";
21978          }
21979       }
21980    }
21981    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
21982       data.item: "stacking" "below";
21983       data.item: "selectraise" "on";
21984       data.item: "labels" "elm.text";
21985       data.item: "icons" "elm.swallow.icon";
21986       data.item: "treesize" "20";
21987 //      data.item: "states" "";
21988       images {
21989          image: "bt_sm_base1.png" COMP;
21990          image: "bt_sm_shine.png" COMP;
21991          image: "bt_sm_hilight.png" COMP;
21992          image: "ilist_2.png" COMP;
21993          image: "icon_arrow_right.png" COMP;
21994          image: "icon_arrow_down.png" COMP;
21995       }
21996       parts {
21997          part {
21998             name:           "event";
21999             type:           RECT;
22000             repeat_events: 1;
22001             description {
22002                state: "default" 0.0;
22003                color: 0 0 0 0;
22004             }
22005          }
22006          part {
22007             name: "base";
22008             mouse_events: 0;
22009             description {
22010                state: "default" 0.0;
22011                image {
22012                   normal: "ilist_2.png";
22013                   border: 2 2 2 2;
22014                }
22015                fill.smooth: 0;
22016             }
22017          }
22018          part { name: "bg";
22019             clip_to: "disclip";
22020             mouse_events: 0;
22021             description { state: "default" 0.0;
22022                visible: 0;
22023                color: 255 255 255 0;
22024                rel1 {
22025                   relative: 0.0 0.0;
22026                   offset: -5 -5;
22027                }
22028                rel2 {
22029                   relative: 1.0 1.0;
22030                   offset: 4 4;
22031                }
22032                image {
22033                   normal: "bt_sm_base1.png";
22034                   border: 6 6 6 6;
22035                }
22036                image.middle: SOLID;
22037             }
22038             description { state: "selected" 0.0;
22039                inherit: "default" 0.0;
22040                visible: 1;
22041                color: 255 255 255 255;
22042                rel1 {
22043                   relative: 0.0 0.0;
22044                   offset: -2 -2;
22045                }
22046                rel2 {
22047                   relative: 1.0 1.0;
22048                   offset: 1 1;
22049                }
22050             }
22051          }
22052          part { name: "elm.swallow.pad";
22053             type: SWALLOW;
22054             description { state: "default" 0.0;
22055                fixed: 1 0;
22056                align: 0.0 0.5;
22057                rel1 {
22058                   relative: 0.0  0.0;
22059                   offset:   4    4;
22060                }
22061                rel2 {
22062                   relative: 0.0  1.0;
22063                   offset:   4   -5;
22064                }
22065             }
22066          }
22067          part { name: "arrow";
22068             clip_to: "disclip";
22069             ignore_flags: ON_HOLD;
22070             description { state: "default" 0.0;
22071                fixed: 1 0;
22072                align: 0.0 0.5;
22073                aspect: 1.0 1.0;
22074                rel1 {
22075                   to_x: "elm.swallow.pad";
22076                   relative: 1.0  0.0;
22077                   offset:   -1    4;
22078                }
22079                rel2 {
22080                   to_x: "elm.swallow.pad";
22081                   relative: 1.0  1.0;
22082                   offset:   -1   -5;
22083                }
22084                image.normal: "icon_arrow_right.png";
22085             }
22086             description { state: "active" 0.0;
22087                inherit: "default" 0.0;
22088                image.normal: "icon_arrow_down.png";
22089             }
22090          }
22091          part { name: "elm.swallow.icon";
22092             clip_to: "disclip";
22093             type: SWALLOW;
22094             description { state: "default" 0.0;
22095                fixed: 1 0;
22096                align: 0.5 0.5;
22097                rel1 {
22098                   to_x: "arrow";
22099                   relative: 1.0  0.0;
22100                   offset:   4    4;
22101                }
22102                rel2 {
22103                   relative: 1.0  1.0;
22104                   offset:   -4   -5;
22105                }
22106             }
22107          }
22108          part { name: "elm.text";
22109             clip_to: "disclip";
22110             type:           TEXT;
22111             effect:         SOFT_SHADOW;
22112             mouse_events:   0;
22113             scale: 1;
22114             description {
22115                state: "default" 0.0;
22116 //               min: 16 16;
22117                rel1 {
22118                   to_y:     "elm.swallow.icon";
22119                   relative: 0.0  1.0;
22120                   offset:   0 4;
22121                }
22122                rel2 {
22123                   relative: 1.0  1.0;
22124                   offset:   -5 -5;
22125                }
22126                color: 0 0 0 255;
22127                color3: 0 0 0 0;
22128                text {
22129                   font: "Sans";
22130                   size: 10;
22131                   min: 1 1;
22132 //                  min: 0 1;
22133                   align: 0.5 0.5;
22134                   text_class: "list_item";
22135                }
22136             }
22137             description { state: "selected" 0.0;
22138                inherit: "default" 0.0;
22139                color: 224 224 224 255;
22140                color3: 0 0 0 64;
22141             }
22142          }
22143          part { name: "fg1";
22144             clip_to: "disclip";
22145             mouse_events: 0;
22146             description { state: "default" 0.0;
22147                visible: 0;
22148                color: 255 255 255 0;
22149                rel1.to: "bg";
22150                rel2.relative: 1.0 0.5;
22151                rel2.to: "bg";
22152                image {
22153                   normal: "bt_sm_hilight.png";
22154                   border: 6 6 6 0;
22155                }
22156             }
22157             description { state: "selected" 0.0;
22158                inherit: "default" 0.0;
22159                visible: 1;
22160                color: 255 255 255 255;
22161             }
22162          }
22163          part { name: "fg2";
22164             clip_to: "disclip";
22165             mouse_events: 0;
22166             description { state: "default" 0.0;
22167                visible: 0;
22168                color: 255 255 255 0;
22169                rel1.to: "bg";
22170                rel2.to: "bg";
22171                image {
22172                   normal: "bt_sm_shine.png";
22173                   border: 6 6 6 0;
22174                }
22175             }
22176             description { state: "selected" 0.0;
22177                inherit: "default" 0.0;
22178                visible: 1;
22179                color: 255 255 255 255;
22180             }
22181          }
22182          part { name: "disclip";
22183             type: RECT;
22184             description { state: "default" 0.0;
22185                rel1.to: "bg";
22186                rel2.to: "bg";
22187             }
22188             description { state: "disabled" 0.0;
22189                inherit: "default" 0.0;
22190                color: 255 255 255 64;
22191             }
22192          }
22193       }
22194       programs {
22195          // signal: elm,state,%s,active
22196          //   a "check" item named %s went active
22197          // signal: elm,state,%s,passive
22198          //   a "check" item named %s went passive
22199          // default is passive
22200          program {
22201             name:    "go_active";
22202             signal:  "elm,state,selected";
22203             source:  "elm";
22204             action:  STATE_SET "selected" 0.0;
22205             target:  "bg";
22206             target:  "fg1";
22207             target:  "fg2";
22208             target:  "elm.text";
22209          }
22210          program {
22211             name:    "go_passive";
22212             signal:  "elm,state,unselected";
22213             source:  "elm";
22214             action:  STATE_SET "default" 0.0;
22215             target:  "bg";
22216             target:  "fg1";
22217             target:  "fg2";
22218             target:  "elm.text";
22219             transition: LINEAR 0.1;
22220          }
22221          program {
22222             name:    "go_disabled";
22223             signal:  "elm,state,disabled";
22224             source:  "elm";
22225             action:  STATE_SET "disabled" 0.0;
22226             target:  "disclip";
22227          }
22228          program {
22229             name:    "go_enabled";
22230             signal:  "elm,state,enabled";
22231             source:  "elm";
22232             action:  STATE_SET "default" 0.0;
22233             target:  "disclip";
22234          }
22235          program {
22236             name:    "expand";
22237             signal:  "mouse,up,1";
22238             source:  "arrow";
22239             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22240          }
22241          program {
22242             name:    "go_expanded";
22243             signal:  "elm,state,expanded";
22244             source:  "elm";
22245             action:  STATE_SET "active" 0.0;
22246             target:  "arrow";
22247          }
22248          program {
22249             name:    "go_contracted";
22250             signal:  "elm,state,contracted";
22251             source:  "elm";
22252             action:  STATE_SET "default" 0.0;
22253             target:  "arrow";
22254          }
22255       }
22256    }
22257
22258
22259 ///////////////////////////////////////////////////////////////////////////////
22260    group { name: "elm/check/base/default";
22261       images {
22262          image: "check_base.png" COMP;
22263          image: "check.png" COMP;
22264          image: "check2.png" COMP;
22265       }
22266       parts {
22267          part { name: "bg";
22268             mouse_events: 0;
22269             scale: 1;
22270             description { state: "default" 0.0;
22271                rel1.offset: 1 1;
22272                rel2.relative: 0.0 1.0;
22273                rel2.offset: 1 -2;
22274                align: 0.0 0.5;
22275                min: 16 16;
22276                max: 16 16;
22277                aspect: 1.0 1.0;
22278                aspect_preference: VERTICAL;
22279                image {
22280                   normal: "check_base.png";
22281                   border: 5 5 5 5;
22282                   middle: 0;
22283                }
22284                fill.smooth : 0;
22285             }
22286          }
22287          part { name: "check";
22288             mouse_events: 0;
22289             scale: 1;
22290             description { state: "default" 0.0;
22291                rel1 {
22292                   to: "bg";
22293                   offset: 1 1;
22294                }
22295                rel2 {
22296                   to: "bg";
22297                   offset: -2 -2;
22298                }
22299                visible: 0;
22300                color: 255 255 255 255;
22301                image.normal: "check.png";
22302             }
22303             description { state: "visible" 0.0;
22304                inherit: "default" 0.0;
22305                visible: 1;
22306             }
22307             description { state: "disabled" 0.0;
22308                inherit: "default" 0.0;
22309                visible: 0;
22310                color: 128 128 128 128;
22311             }
22312             description { state: "disabled_visible" 0.0;
22313                inherit: "default" 0.0;
22314                color: 128 128 128 128;
22315                visible: 1;
22316             }
22317          }
22318          part { name: "elm.swallow.content";
22319             type: SWALLOW;
22320             description { state: "default" 0.0;
22321                fixed: 1 0;
22322                visible: 0;
22323                align: 0.0 0.5;
22324           rel1.to_x: "bg";
22325                rel1.relative: 1.0 0.0;
22326                rel1.offset: 1 1;
22327           rel2.to_x: "bg";
22328                rel2.offset: 1 -2;
22329                rel2.relative: 1.0 1.0;
22330             }
22331             description { state: "visible" 0.0;
22332                inherit: "default" 0.0;
22333           fixed: 1 0;
22334                visible: 1;
22335                aspect: 1.0 1.0;
22336             }
22337             description { state: "disabled" 0.0;
22338                inherit: "default" 0.0;
22339                color: 128 128 128 128;
22340             }
22341             description { state: "disabled_visible" 0.0;
22342                inherit: "default" 0.0;
22343                color: 128 128 128 128;
22344           fixed: 1 0;
22345                visible: 1;
22346                aspect: 1.0 1.0;
22347             }
22348          }
22349          part { name: "elm.text";
22350             type: TEXT;
22351             mouse_events: 0;
22352             scale: 1;
22353             description { state: "default" 0.0;
22354                visible: 0;
22355                rel1.to_x: "elm.swallow.content";
22356                rel1.relative: 1.0 0.0;
22357                rel1.offset: 1 1;
22358                rel2.relative: 1.0 1.0;
22359                rel2.offset: -2 -2;
22360                color: 0 0 0 255;
22361                text {
22362                   font: "Sans,Edje-Vera";
22363                   size: 10;
22364                   min: 0 1;
22365                   align: 0.0 0.5;
22366                }
22367             }
22368             description { state: "visible" 0.0;
22369                inherit: "default" 0.0;
22370                visible: 1;
22371                text.min: 1 1;
22372             }
22373             description { state: "disabled" 0.0;
22374                inherit: "default" 0.0;
22375                color: 0 0 0 128;
22376                color3: 0 0 0 0;
22377             }
22378             description { state: "disabled_visible" 0.0;
22379                inherit: "default" 0.0;
22380                color: 0 0 0 128;
22381                color3: 0 0 0 0;
22382                visible: 1;
22383                text.min: 1 1;
22384             }
22385          }
22386          part { name: "events";
22387             type: RECT;
22388             ignore_flags: ON_HOLD;
22389             description { state: "default" 0.0;
22390                color: 0 0 0 0;
22391             }
22392          }
22393           part { name: "disabler";
22394             type: RECT;
22395             description { state: "default" 0.0;
22396                color: 0 0 0 0;
22397                visible: 0;
22398             }
22399             description { state: "disabled" 0.0;
22400                inherit: "default" 0.0;
22401                visible: 1;
22402             }
22403          }
22404       }
22405       programs {
22406          program { name: "click";
22407             signal: "mouse,up,1";
22408             source: "events";
22409             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22410          }
22411          program { name: "check_on";
22412             signal: "elm,state,check,on";
22413             source: "elm";
22414             action:  STATE_SET "visible" 0.0;
22415             target: "check";
22416          }
22417          program { name: "check_off";
22418             signal: "elm,state,check,off";
22419             source: "elm";
22420             action:  STATE_SET "default" 0.0;
22421             target: "check";
22422          }
22423          program { name: "text_show";
22424             signal: "elm,state,text,visible";
22425             source: "elm";
22426             action:  STATE_SET "visible" 0.0;
22427             target: "elm.text";
22428          }
22429          program { name: "text_hide";
22430             signal: "elm,state,text,hidden";
22431             source: "elm";
22432             action:  STATE_SET "default" 0.0;
22433             target: "elm.text";
22434          }
22435          program { name: "icon_show";
22436             signal: "elm,state,icon,visible";
22437             source: "elm";
22438             action:  STATE_SET "visible" 0.0;
22439             target: "elm.swallow.content";
22440          }
22441          program { name: "icon_hide";
22442             signal: "elm,state,icon,hidden";
22443             source: "elm";
22444             action:  STATE_SET "default" 0.0;
22445             target: "elm.swallow.content";
22446          }
22447          program { name: "disable";
22448             signal: "elm,state,disabled";
22449             source: "elm";
22450             action: STATE_SET "disabled" 0.0;
22451             target: "disabler";
22452             after: "disable_text";
22453          }
22454          program { name: "disable_text";
22455             script {
22456                new st[31];
22457                new Float:vl;
22458                get_state(PART:"elm.text", st, 30, vl);
22459                if (!strcmp(st, "visible"))
22460                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22461                else
22462                  set_state(PART:"elm.text", "disabled", 0.0);
22463
22464                get_state(PART:"elm.swallow.content", st, 30, vl);
22465                if (!strcmp(st, "visible"))
22466                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22467                else
22468                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22469
22470                get_state(PART:"check", st, 30, vl);
22471                if (!strcmp(st, "visible"))
22472                  set_state(PART:"check", "disabled_visible", 0.0);
22473                else
22474                  set_state(PART:"check", "disabled", 0.0);
22475             }
22476          }
22477          program { name: "enable";
22478             signal: "elm,state,enabled";
22479             source: "elm";
22480             action: STATE_SET "default" 0.0;
22481             target: "disabler";
22482             after: "enable_text";
22483          }
22484          program { name: "enable_text";
22485             script {
22486                new st[31];
22487                new Float:vl;
22488                get_state(PART:"elm.text", st, 30, vl);
22489                if (!strcmp(st, "disabled_visible"))
22490                  set_state(PART:"elm.text", "visible", 0.0);
22491                else
22492                  set_state(PART:"elm.text", "default", 0.0);
22493
22494                get_state(PART:"elm.swallow.content", st, 30, vl);
22495                if (!strcmp(st, "visible"))
22496                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22497                else
22498                  set_state(PART:"elm.swallow.content", "default", 0.0);
22499
22500                get_state(PART:"check", st, 30, vl);
22501                if (!strcmp(st, "visible"))
22502                  set_state(PART:"check", "visible", 0.0);
22503                else
22504                  set_state(PART:"check", "default", 0.0);
22505             }
22506          }
22507       }
22508    }
22509 ///////////////////////////////////////////////////////////////////////////////
22510    group { name: "elm/radio/base/default";
22511       images {
22512          image: "radio_base.png" COMP;
22513          image: "radio.png" COMP;
22514          image: "radio2.png" COMP;
22515       }
22516       parts {
22517          part { name: "bg";
22518             mouse_events: 0;
22519             scale: 1;
22520             description { state: "default" 0.0;
22521                rel1.offset: 1 1;
22522                rel2.relative: 0.0 1.0;
22523                rel2.offset: 1 -2;
22524                align: 0.0 0.5;
22525                min: 16 16;
22526                max: 16 16;
22527                aspect: 1.0 1.0;
22528                aspect_preference: VERTICAL;
22529                image.normal: "radio_base.png";
22530             }
22531          }
22532          part { name: "radio";
22533             mouse_events: 0;
22534             scale: 1;
22535             description { state: "default" 0.0;
22536                rel1.to: "bg";
22537                rel2.to: "bg";
22538                visible: 0;
22539                image.normal: "radio.png";
22540             }
22541             description { state: "visible" 0.0;
22542                inherit: "default" 0.0;
22543                visible: 1;
22544             }
22545          }
22546          part { name: "elm.swallow.content";
22547             type: SWALLOW;
22548             description { state: "default" 0.0;
22549                fixed: 1 0;
22550                visible: 0;
22551                align: 0.0 0.5;
22552                color: 0 0 0 0;
22553                rel1.to_x: "bg";
22554                rel1.relative: 1.0 0.0;
22555                rel1.offset: 1 1;
22556                rel2.to_x: "bg";
22557                rel2.relative: 1.0 1.0;
22558                rel2.offset: 2 -2;
22559             }
22560             description { state: "visible" 0.0;
22561                inherit: "default" 0.0;
22562                visible: 1;
22563                color: 255 255 255 255;
22564                aspect: 1.0 1.0;
22565             }
22566             description { state: "disabled" 0.0;
22567                inherit: "default" 0.0;
22568                color: 128 128 128 128;
22569             }
22570             description { state: "disabled_visible" 0.0;
22571                inherit: "default" 0.0;
22572                color: 128 128 128 128;
22573                visible: 1;
22574                aspect: 1.0 1.0;
22575             }
22576          }
22577          part { name: "elm.text";
22578             type: TEXT;
22579             mouse_events: 0;
22580             scale: 1;
22581             description { state: "default" 0.0;
22582                visible: 0;
22583                rel1.to_x: "elm.swallow.content";
22584                rel1.relative: 1.0 0.0;
22585                rel1.offset: 1 1;
22586                rel2.relative: 1.0 1.0;
22587                rel2.offset: -2 -2;
22588                color: 0 0 0 255;
22589                text {
22590                   font: "Sans,Edje-Vera";
22591                   size: 10;
22592                   min: 0 0;
22593                   align: 0.0 0.5;
22594                }
22595             }
22596             description { state: "visible" 0.0;
22597                inherit: "default" 0.0;
22598                visible: 1;
22599                text.min: 1 1;
22600             }
22601             description { state: "disabled" 0.0;
22602                inherit: "default" 0.0;
22603                color: 0 0 0 128;
22604                color3: 0 0 0 0;
22605             }
22606             description { state: "disabled_visible" 0.0;
22607                inherit: "default" 0.0;
22608                color: 0 0 0 128;
22609                color3: 0 0 0 0;
22610                visible: 1;
22611                text.min: 1 1;
22612             }
22613          }
22614          part { name: "events";
22615             type: RECT;
22616             ignore_flags: ON_HOLD;
22617             description { state: "default" 0.0;
22618                color: 0 0 0 0;
22619             }
22620          }
22621           part { name: "disabler";
22622             type: RECT;
22623             description { state: "default" 0.0;
22624                color: 0 0 0 0;
22625                visible: 0;
22626             }
22627             description { state: "disabled" 0.0;
22628                inherit: "default" 0.0;
22629                visible: 1;
22630             }
22631          }
22632       }
22633       programs {
22634          program { name: "click";
22635             signal: "mouse,up,1";
22636             source: "events";
22637             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22638          }
22639          program { name: "radio_on";
22640             signal: "elm,state,radio,on";
22641             source: "elm";
22642             action:  STATE_SET "visible" 0.0;
22643             target: "radio";
22644          }
22645          program { name: "radio_off";
22646             signal: "elm,state,radio,off";
22647             source: "elm";
22648             action:  STATE_SET "default" 0.0;
22649             target: "radio";
22650          }
22651          program { name: "text_show";
22652             signal: "elm,state,text,visible";
22653             source: "elm";
22654             action:  STATE_SET "visible" 0.0;
22655             target: "elm.text";
22656          }
22657          program { name: "text_hide";
22658             signal: "elm,state,text,hidden";
22659             source: "elm";
22660             action:  STATE_SET "default" 0.0;
22661             target: "elm.text";
22662          }
22663          program { name: "icon_show";
22664             signal: "elm,state,icon,visible";
22665             source: "elm";
22666             action:  STATE_SET "visible" 0.0;
22667             target: "elm.swallow.content";
22668          }
22669          program { name: "icon_hide";
22670             signal: "elm,state,icon,hidden";
22671             source: "elm";
22672             action:  STATE_SET "default" 0.0;
22673             target: "elm.swallow.content";
22674          }
22675          program { name: "disable";
22676             signal: "elm,state,disabled";
22677             source: "elm";
22678             action: STATE_SET "disabled" 0.0;
22679             target: "disabler";
22680             after: "disable_text";
22681          }
22682          program { name: "disable_text";
22683             script {
22684                new st[31];
22685                new Float:vl;
22686                get_state(PART:"elm.text", st, 30, vl);
22687                if (!strcmp(st, "visible"))
22688                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22689                else
22690                  set_state(PART:"elm.text", "disabled", 0.0);
22691
22692                get_state(PART:"elm.swallow.content", st, 30, vl);
22693                if (!strcmp(st, "visible"))
22694                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22695                else
22696                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22697             }
22698          }
22699          program { name: "enable";
22700             signal: "elm,state,enabled";
22701             source: "elm";
22702             action: STATE_SET "default" 0.0;
22703             target: "disabler";
22704             after: "enable_text";
22705          }
22706          program { name: "enable_text";
22707             script {
22708                new st[31];
22709                new Float:vl;
22710                get_state(PART:"elm.text", st, 30, vl);
22711                if (!strcmp(st, "disabled_visible"))
22712                  set_state(PART:"elm.text", "visible", 0.0);
22713                else
22714                  set_state(PART:"elm.text", "default", 0.0);
22715
22716                get_state(PART:"elm.swallow.content", st, 30, vl);
22717                if (!strcmp(st, "visible"))
22718                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22719                else
22720                  set_state(PART:"elm.swallow.content", "default", 0.0);
22721             }
22722          }
22723       }
22724    }
22725    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22726       data.item: "stacking" "below";
22727       data.item: "selectraise" "on";
22728       data.item: "labels" "elm.text elm.text.sub";
22729       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22730       data.item: "treesize" "20";
22731 //      data.item: "states" "";
22732       images {
22733          image: "bt_sm_base1.png" COMP;
22734          image: "bt_sm_shine.png" COMP;
22735          image: "bt_sm_hilight.png" COMP;
22736          image: "ilist_2.png" COMP;
22737          image: "icon_arrow_right.png" COMP;
22738          image: "icon_arrow_down.png" COMP;
22739       }
22740       parts {
22741          part {
22742             name:           "event";
22743             type:           RECT;
22744             repeat_events: 1;
22745             description {
22746                state: "default" 0.0;
22747                color: 0 0 0 0;
22748             }
22749          }
22750          part {
22751             name: "base";
22752             mouse_events: 0;
22753             description {
22754                state: "default" 0.0;
22755                image {
22756                   normal: "ilist_2.png";
22757                   border: 2 2 2 2;
22758                }
22759                fill.smooth: 0;
22760             }
22761          }
22762          part { name: "bg";
22763             clip_to: "disclip";
22764             mouse_events: 0;
22765             description { state: "default" 0.0;
22766                visible: 0;
22767                color: 255 255 255 0;
22768                rel1 {
22769                   relative: 0.0 0.0;
22770                   offset: -5 -5;
22771                }
22772                rel2 {
22773                   relative: 1.0 1.0;
22774                   offset: 4 4;
22775                }
22776                image {
22777                   normal: "bt_sm_base1.png";
22778                   border: 6 6 6 6;
22779                }
22780                image.middle: SOLID;
22781             }
22782             description { state: "selected" 0.0;
22783                inherit: "default" 0.0;
22784                visible: 1;
22785                color: 255 255 255 255;
22786                rel1 {
22787                   relative: 0.0 0.0;
22788                   offset: -2 -2;
22789                }
22790                rel2 {
22791                   relative: 1.0 1.0;
22792                   offset: 1 1;
22793                }
22794             }
22795          }
22796          part { name: "elm.swallow.pad";
22797             type: SWALLOW;
22798             description { state: "default" 0.0;
22799                fixed: 1 0;
22800                align: 0.0 0.5;
22801                rel1 {
22802                   relative: 0.0  0.0;
22803                   offset:   4    4;
22804                }
22805                rel2 {
22806                   relative: 0.0  1.0;
22807                   offset:   4   -5;
22808                }
22809             }
22810          }
22811          part { name: "arrow";
22812             clip_to: "disclip";
22813             ignore_flags: ON_HOLD;
22814             description { state: "default" 0.0;
22815                fixed: 1 0;
22816                align: 0.0 0.5;
22817                aspect: 1.0 1.0;
22818                rel1 {
22819                   to_x: "elm.swallow.pad";
22820                   relative: 1.0  0.0;
22821                   offset:   -1    4;
22822                }
22823                rel2 {
22824                   to_x: "elm.swallow.pad";
22825                   relative: 1.0  1.0;
22826                   offset:   -1   -5;
22827                }
22828                image.normal: "icon_arrow_right.png";
22829             }
22830             description { state: "active" 0.0;
22831                inherit: "default" 0.0;
22832                image.normal: "icon_arrow_down.png";
22833             }
22834          }
22835          part { name: "elm.swallow.icon";
22836             clip_to: "disclip";
22837             type: SWALLOW;
22838             description { state: "default" 0.0;
22839                fixed: 1 0;
22840                align: 0.0 0.5;
22841                rel1 {
22842                   to_x: "arrow";
22843                   relative: 1.0  0.0;
22844                   offset:   4    4;
22845                }
22846                rel2 {
22847                   to_x: "arrow";
22848                   relative: 1.0  1.0;
22849                   offset:   4   -5;
22850                }
22851             }
22852          }
22853          part { name: "elm.swallow.end";
22854             clip_to: "disclip";
22855             type: SWALLOW;
22856             description { state: "default" 0.0;
22857                fixed: 1 0;
22858                align: 1.0 0.5;
22859                aspect: 1.0 1.0;
22860                aspect_preference: VERTICAL;
22861                rel1 {
22862                   relative: 1.0  0.0;
22863                   offset:   -5    4;
22864                }
22865                rel2 {
22866                   relative: 1.0  1.0;
22867                   offset:   -5   -5;
22868                }
22869             }
22870          }
22871          part { name: "elm.text";
22872             clip_to: "disclip";
22873             type:           TEXT;
22874             effect:         SOFT_SHADOW;
22875             mouse_events:   0;
22876             scale: 1;
22877             description {
22878                state: "default" 0.0;
22879 //               min: 16 16;
22880                rel1 {
22881                   to_x:     "elm.swallow.icon";
22882                   relative: 1.0  0.0;
22883                   offset:   0 4;
22884                }
22885                rel2 {
22886                   to_x:     "elm.swallow.end";
22887                   relative: 0.0  0.5;
22888                   offset:   -1 -5;
22889                }
22890                color: 0 0 0 255;
22891                color3: 0 0 0 0;
22892                text {
22893                   font: "Sans";
22894                   size: 10;
22895 //                  min: 1 1;
22896                   min: 0 1;
22897                   align: 0.0 0.5;
22898                   text_class: "list_item";
22899                }
22900             }
22901             description { state: "selected" 0.0;
22902                inherit: "default" 0.0;
22903                color: 224 224 224 255;
22904                color3: 0 0 0 64;
22905             }
22906          }
22907          part { name: "elm.text.sub";
22908             clip_to: "disclip";
22909             type:           TEXT;
22910             mouse_events:   0;
22911             scale: 1;
22912             description {
22913                state: "default" 0.0;
22914 //               min: 16 16;
22915                rel1 {
22916                   to_x:     "elm.swallow.icon";
22917                   relative: 1.0  0.5;
22918                   offset:   0 4;
22919                }
22920                rel2 {
22921                   to_x:     "elm.swallow.end";
22922                   relative: 0.0  1.0;
22923                   offset:   -1 -5;
22924                }
22925                color: 0 0 0 128;
22926                color3: 0 0 0 0;
22927                text {
22928                   font: "Sans";
22929                   size: 8;
22930 //                  min: 1 1;
22931                   min: 0 1;
22932                   align: 0.0 0.5;
22933                   text_class: "list_item";
22934                }
22935             }
22936             description { state: "selected" 0.0;
22937                inherit: "default" 0.0;
22938                color: 128 128 128 255;
22939                color3: 0 0 0 32;
22940             }
22941          }
22942          part { name: "fg1";
22943             clip_to: "disclip";
22944             mouse_events: 0;
22945             description { state: "default" 0.0;
22946                visible: 0;
22947                color: 255 255 255 0;
22948                rel1.to: "bg";
22949                rel2.relative: 1.0 0.5;
22950                rel2.to: "bg";
22951                image {
22952                   normal: "bt_sm_hilight.png";
22953                   border: 6 6 6 0;
22954                }
22955             }
22956             description { state: "selected" 0.0;
22957                inherit: "default" 0.0;
22958                visible: 1;
22959                color: 255 255 255 255;
22960             }
22961          }
22962          part { name: "fg2";
22963             clip_to: "disclip";
22964             mouse_events: 0;
22965             description { state: "default" 0.0;
22966                visible: 0;
22967                color: 255 255 255 0;
22968                rel1.to: "bg";
22969                rel2.to: "bg";
22970                image {
22971                   normal: "bt_sm_shine.png";
22972                   border: 6 6 6 0;
22973                }
22974             }
22975             description { state: "selected" 0.0;
22976                inherit: "default" 0.0;
22977                visible: 1;
22978                color: 255 255 255 255;
22979             }
22980          }
22981          part { name: "disclip";
22982             type: RECT;
22983             description { state: "default" 0.0;
22984                rel1.to: "bg";
22985                rel2.to: "bg";
22986             }
22987             description { state: "disabled" 0.0;
22988                inherit: "default" 0.0;
22989                color: 255 255 255 64;
22990             }
22991          }
22992       }
22993       programs {
22994          // signal: elm,state,%s,active
22995          //   a "check" item named %s went active
22996          // signal: elm,state,%s,passive
22997          //   a "check" item named %s went passive
22998          // default is passive
22999          program {
23000             name:    "go_active";
23001             signal:  "elm,state,selected";
23002             source:  "elm";
23003             action:  STATE_SET "selected" 0.0;
23004             target:  "bg";
23005             target:  "fg1";
23006             target:  "fg2";
23007             target:  "elm.text";
23008             target:  "elm.text.sub";
23009          }
23010          program {
23011             name:    "go_passive";
23012             signal:  "elm,state,unselected";
23013             source:  "elm";
23014             action:  STATE_SET "default" 0.0;
23015             target:  "bg";
23016             target:  "fg1";
23017             target:  "fg2";
23018             target:  "elm.text";
23019             target:  "elm.text.sub";
23020             transition: LINEAR 0.1;
23021          }
23022          program {
23023             name:    "go_disabled";
23024             signal:  "elm,state,disabled";
23025             source:  "elm";
23026             action:  STATE_SET "disabled" 0.0;
23027             target:  "disclip";
23028          }
23029          program {
23030             name:    "go_enabled";
23031             signal:  "elm,state,enabled";
23032             source:  "elm";
23033             action:  STATE_SET "default" 0.0;
23034             target:  "disclip";
23035          }
23036          program {
23037             name:    "expand";
23038             signal:  "mouse,up,1";
23039             source:  "arrow";
23040             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23041          }
23042          program {
23043             name:    "go_expanded";
23044             signal:  "elm,state,expanded";
23045             source:  "elm";
23046             action:  STATE_SET "active" 0.0;
23047             target:  "arrow";
23048          }
23049          program {
23050             name:    "go_contracted";
23051             signal:  "elm,state,contracted";
23052             source:  "elm";
23053             action:  STATE_SET "default" 0.0;
23054             target:  "arrow";
23055          }
23056       }
23057    }
23058
23059    group { name: "elm/genlist/item_compress/media/default";
23060       data.item: "stacking" "above";
23061       data.item: "selectraise" "on";
23062       data.item: "labels" "elm.text.title elm.text.album-artist";
23063       data.item: "treesize" "20";
23064       images {
23065          image: "bt_sm_base1.png" COMP;
23066          image: "bt_sm_shine.png" COMP;
23067          image: "bt_sm_hilight.png" COMP;
23068          image: "ilist_1.png" COMP;
23069          image: "ilist_item_shadow.png" COMP;
23070       }
23071       parts {
23072          part {
23073             name:           "event";
23074             type:           RECT;
23075             repeat_events: 1;
23076             description {
23077                state: "default" 0.0;
23078                color: 0 0 0 0;
23079             }
23080          }
23081          part {
23082             name: "base_sh";
23083             mouse_events: 0;
23084             description {
23085                state: "default" 0.0;
23086                align: 0.0 0.0;
23087                min: 0 10;
23088                fixed: 1 1;
23089                rel1 {
23090                   to: "base";
23091                   relative: 0.0 1.0;
23092                   offset: 0 0;
23093                }
23094                rel2 {
23095                   to: "base";
23096                   relative: 1.0 1.0;
23097                   offset: -1 0;
23098                }
23099                image {
23100                   normal: "ilist_item_shadow.png";
23101                }
23102                fill.smooth: 0;
23103             }
23104          }
23105          part {
23106             name: "base";
23107             mouse_events: 0;
23108             description {
23109                state: "default" 0.0;
23110                image {
23111                   normal: "ilist_1.png";
23112                   border: 2 2 2 2;
23113                }
23114                fill.smooth: 0;
23115             }
23116          }
23117          part { name: "bg";
23118             clip_to: "disclip";
23119             mouse_events: 0;
23120             description { state: "default" 0.0;
23121                visible: 0;
23122                color: 255 255 255 0;
23123                rel1 {
23124                   relative: 0.0 0.0;
23125                   offset: -5 -5;
23126                }
23127                rel2 {
23128                   relative: 1.0 1.0;
23129                   offset: 4 4;
23130                }
23131                image {
23132                   normal: "bt_sm_base1.png";
23133                   border: 6 6 6 6;
23134                }
23135                image.middle: SOLID;
23136             }
23137             description { state: "selected" 0.0;
23138                inherit: "default" 0.0;
23139                visible: 1;
23140                color: 255 255 255 255;
23141                rel1 {
23142                   relative: 0.0 0.0;
23143                   offset: -2 -2;
23144                }
23145                rel2 {
23146                   relative: 1.0 1.0;
23147                   offset: 1 1;
23148                }
23149             }
23150          }
23151          part { name: "elm.swallow.pad";
23152             type: SWALLOW;
23153             description { state: "default" 0.0;
23154                fixed: 1 0;
23155                align: 0.0 0.5;
23156                rel1 {
23157                   relative: 0.0  0.0;
23158                   offset:   4    4;
23159                }
23160                rel2 {
23161                   relative: 0.0  1.0;
23162                   offset:   4   -5;
23163                }
23164             }
23165          }
23166          part { name: "elm.text.title";
23167             clip_to: "disclip";
23168             type:           TEXT;
23169             effect:         SOFT_SHADOW;
23170             mouse_events:   0;
23171             scale: 1;
23172             description {
23173                state: "default" 0.0;
23174                rel1 {
23175                   relative: 0.0  0.0;
23176                   offset:   4 4;
23177                }
23178                rel2 {
23179                   relative: 1.0  0.5;
23180                   offset:   -1 -5;
23181                }
23182                color: 0 0 0 255;
23183                color3: 0 0 0 0;
23184                text {
23185                   font: "Sans";
23186                   size: 10;
23187                   min: 0 1;
23188                   align: 0.0 0.5;
23189                }
23190             }
23191             description { state: "selected" 0.0;
23192                inherit: "default" 0.0;
23193                color: 224 224 224 255;
23194                color3: 0 0 0 64;
23195             }
23196          }
23197          part { name: "elm.text.album-artist";
23198             clip_to: "disclip";
23199             type:           TEXT;
23200             mouse_events:   0;
23201             scale: 1;
23202             description {
23203                state: "default" 0.0;
23204                rel1 {
23205                   relative: 0.0  0.5;
23206                   offset:   4 4;
23207                }
23208                rel2 {
23209                   relative: 1.0  1.0;
23210                   offset:   -1 -5;
23211                }
23212                color: 0 0 0 128;
23213                color3: 0 0 0 0;
23214                text {
23215                   font: "Sans";
23216                   size: 8;
23217                   min: 0 1;
23218                   align: 0.0 0.5;
23219                }
23220             }
23221             description { state: "selected" 0.0;
23222                inherit: "default" 0.0;
23223                color: 128 128 128 255;
23224                color3: 0 0 0 32;
23225             }
23226          }
23227          part { name: "fg1";
23228             clip_to: "disclip";
23229             mouse_events: 0;
23230             description { state: "default" 0.0;
23231                visible: 0;
23232                color: 255 255 255 0;
23233                rel1.to: "bg";
23234                rel2.relative: 1.0 0.5;
23235                rel2.to: "bg";
23236                image {
23237                   normal: "bt_sm_hilight.png";
23238                   border: 6 6 6 0;
23239                }
23240             }
23241             description { state: "selected" 0.0;
23242                inherit: "default" 0.0;
23243                visible: 1;
23244                color: 255 255 255 255;
23245             }
23246          }
23247          part { name: "fg2";
23248             clip_to: "disclip";
23249             mouse_events: 0;
23250             description { state: "default" 0.0;
23251                visible: 0;
23252                color: 255 255 255 0;
23253                rel1.to: "bg";
23254                rel2.to: "bg";
23255                image {
23256                   normal: "bt_sm_shine.png";
23257                   border: 6 6 6 0;
23258                }
23259             }
23260             description { state: "selected" 0.0;
23261                inherit: "default" 0.0;
23262                visible: 1;
23263                color: 255 255 255 255;
23264             }
23265          }
23266          part { name: "disclip";
23267             type: RECT;
23268             description { state: "default" 0.0;
23269                rel1.to: "bg";
23270                rel2.to: "bg";
23271             }
23272             description { state: "disabled" 0.0;
23273                inherit: "default" 0.0;
23274                color: 255 255 255 64;
23275             }
23276          }
23277       }
23278       programs {
23279          // signal: elm,state,%s,active
23280          //   a "check" item named %s went active
23281          // signal: elm,state,%s,passive
23282          //   a "check" item named %s went passive
23283          // default is passive
23284          program {
23285             name:    "go_active";
23286             signal:  "elm,state,selected";
23287             source:  "elm";
23288             action:  STATE_SET "selected" 0.0;
23289             target:  "bg";
23290             target:  "fg1";
23291             target:  "fg2";
23292             target:  "elm.text.title";
23293             target:  "elm.text.album-artist";
23294          }
23295          program {
23296             name:    "go_passive";
23297             signal:  "elm,state,unselected";
23298             source:  "elm";
23299             action:  STATE_SET "default" 0.0;
23300             target:  "bg";
23301             target:  "fg1";
23302             target:  "fg2";
23303             target:  "elm.text.title";
23304             target:  "elm.text.album-artist";
23305             transition: LINEAR 0.1;
23306          }
23307          program {
23308             name:    "go_disabled";
23309             signal:  "elm,state,disabled";
23310             source:  "elm";
23311             action:  STATE_SET "disabled" 0.0;
23312             target:  "disclip";
23313          }
23314          program {
23315             name:    "go_enabled";
23316             signal:  "elm,state,enabled";
23317             source:  "elm";
23318             action:  STATE_SET "default" 0.0;
23319             target:  "disclip";
23320          }
23321       }
23322    }
23323    group { name: "elm/genlist/item_compress_odd/media/default";
23324       data.item: "stacking" "below";
23325       data.item: "selectraise" "on";
23326       data.item: "labels" "elm.text.title elm.text.album-artist";
23327       data.item: "treesize" "20";
23328       images {
23329          image: "bt_sm_base1.png" COMP;
23330          image: "bt_sm_shine.png" COMP;
23331          image: "bt_sm_hilight.png" COMP;
23332          image: "ilist_2.png" COMP;
23333       }
23334       parts {
23335          part { name: "event";
23336             type: RECT;
23337             repeat_events: 1;
23338             description {
23339                state: "default" 0.0;
23340                color: 0 0 0 0;
23341             }
23342          }
23343          part {
23344             name: "base";
23345             mouse_events: 0;
23346             description {
23347                state: "default" 0.0;
23348                image {
23349                   normal: "ilist_2.png";
23350                   border: 2 2 2 2;
23351                }
23352                fill.smooth: 0;
23353             }
23354          }
23355          part { name: "bg";
23356             clip_to: "disclip";
23357             mouse_events: 0;
23358             description { state: "default" 0.0;
23359                visible: 0;
23360                color: 255 255 255 0;
23361                rel1 {
23362                   relative: 0.0 0.0;
23363                   offset: -5 -5;
23364                }
23365                rel2 {
23366                   relative: 1.0 1.0;
23367                   offset: 4 4;
23368                }
23369                image {
23370                   normal: "bt_sm_base1.png";
23371                   border: 6 6 6 6;
23372                }
23373                image.middle: SOLID;
23374             }
23375             description { state: "selected" 0.0;
23376                inherit: "default" 0.0;
23377                visible: 1;
23378                color: 255 255 255 255;
23379                rel1 {
23380                   relative: 0.0 0.0;
23381                   offset: -2 -2;
23382                }
23383                rel2 {
23384                   relative: 1.0 1.0;
23385                   offset: 1 1;
23386                }
23387             }
23388          }
23389          part { name: "elm.swallow.pad";
23390             type: SWALLOW;
23391             description { state: "default" 0.0;
23392                fixed: 1 0;
23393                align: 0.0 0.5;
23394                rel1 {
23395                   relative: 0.0  0.0;
23396                   offset:   4    4;
23397                }
23398                rel2 {
23399                   relative: 0.0  1.0;
23400                   offset:   4   -5;
23401                }
23402             }
23403          }
23404          part { name: "elm.text.title";
23405             clip_to: "disclip";
23406             type:           TEXT;
23407             effect:         SOFT_SHADOW;
23408             mouse_events:   0;
23409             scale: 1;
23410             description {
23411                state: "default" 0.0;
23412                rel1 {
23413                   relative: 0.0  0.0;
23414                   offset:   4 4;
23415                }
23416                rel2 {
23417                   relative: 1.0  0.5;
23418                   offset:   -1 -5;
23419                }
23420                color: 0 0 0 255;
23421                color3: 0 0 0 0;
23422                text {
23423                   font: "Sans";
23424                   size: 10;
23425                   min: 0 1;
23426                   align: 0.0 0.5;
23427                }
23428             }
23429             description { state: "selected" 0.0;
23430                inherit: "default" 0.0;
23431                color: 224 224 224 255;
23432                color3: 0 0 0 64;
23433             }
23434          }
23435          part { name: "elm.text.album-artist";
23436             clip_to: "disclip";
23437             type:           TEXT;
23438             mouse_events:   0;
23439             scale: 1;
23440             description {
23441                state: "default" 0.0;
23442                rel1 {
23443                   relative: 0.0  0.5;
23444                   offset:   4 4;
23445                }
23446                rel2 {
23447                   relative: 1.0  1.0;
23448                   offset:   -1 -5;
23449                }
23450                color: 0 0 0 128;
23451                color3: 0 0 0 0;
23452                text {
23453                   font: "Sans";
23454                   size: 8;
23455                   min: 0 1;
23456                   align: 0.0 0.5;
23457                }
23458             }
23459             description { state: "selected" 0.0;
23460                inherit: "default" 0.0;
23461                color: 128 128 128 255;
23462                color3: 0 0 0 32;
23463             }
23464          }
23465          part { name: "fg1";
23466             clip_to: "disclip";
23467             mouse_events: 0;
23468             description { state: "default" 0.0;
23469                visible: 0;
23470                color: 255 255 255 0;
23471                rel1.to: "bg";
23472                rel2.relative: 1.0 0.5;
23473                rel2.to: "bg";
23474                image {
23475                   normal: "bt_sm_hilight.png";
23476                   border: 6 6 6 0;
23477                }
23478             }
23479             description { state: "selected" 0.0;
23480                inherit: "default" 0.0;
23481                visible: 1;
23482                color: 255 255 255 255;
23483             }
23484          }
23485          part { name: "fg2";
23486             clip_to: "disclip";
23487             mouse_events: 0;
23488             description { state: "default" 0.0;
23489                visible: 0;
23490                color: 255 255 255 0;
23491                rel1.to: "bg";
23492                rel2.to: "bg";
23493                image {
23494                   normal: "bt_sm_shine.png";
23495                   border: 6 6 6 0;
23496                }
23497             }
23498             description { state: "selected" 0.0;
23499                inherit: "default" 0.0;
23500                visible: 1;
23501                color: 255 255 255 255;
23502             }
23503          }
23504          part { name: "disclip";
23505             type: RECT;
23506             description { state: "default" 0.0;
23507                rel1.to: "bg";
23508                rel2.to: "bg";
23509             }
23510             description { state: "disabled" 0.0;
23511                inherit: "default" 0.0;
23512                color: 255 255 255 64;
23513             }
23514          }
23515       }
23516       programs {
23517          // signal: elm,state,%s,active
23518          //   a "check" item named %s went active
23519          // signal: elm,state,%s,passive
23520          //   a "check" item named %s went passive
23521          // default is passive
23522          program {
23523             name:    "go_active";
23524             signal:  "elm,state,selected";
23525             source:  "elm";
23526             action:  STATE_SET "selected" 0.0;
23527             target:  "bg";
23528             target:  "fg1";
23529             target:  "fg2";
23530             target:  "elm.text.title";
23531             target:  "elm.text.album-artist";
23532          }
23533          program {
23534             name:    "go_passive";
23535             signal:  "elm,state,unselected";
23536             source:  "elm";
23537             action:  STATE_SET "default" 0.0;
23538             target:  "bg";
23539             target:  "fg1";
23540             target:  "fg2";
23541             target:  "elm.text.title";
23542             target:  "elm.text.album-artist";
23543             transition: LINEAR 0.1;
23544          }
23545          program {
23546             name:    "go_disabled";
23547             signal:  "elm,state,disabled";
23548             source:  "elm";
23549             action:  STATE_SET "disabled" 0.0;
23550             target:  "disclip";
23551          }
23552          program {
23553             name:    "go_enabled";
23554             signal:  "elm,state,enabled";
23555             source:  "elm";
23556             action:  STATE_SET "default" 0.0;
23557             target:  "disclip";
23558          }
23559       }
23560    }
23561
23562    group { name: "elm/genlist/item_compress/media-album/default";
23563       data.item: "stacking" "above";
23564       data.item: "selectraise" "on";
23565       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23566       data.item: "states" "elm.state.trackno";
23567       data.item: "treesize" "20";
23568       images {
23569          image: "bt_sm_base1.png" COMP;
23570          image: "bt_sm_shine.png" COMP;
23571          image: "bt_sm_hilight.png" COMP;
23572          image: "ilist_1.png" COMP;
23573          image: "ilist_item_shadow.png" COMP;
23574       }
23575       script {
23576          public dot_visible;
23577       }
23578       parts {
23579          part {
23580             name: "event";
23581             type: RECT;
23582             repeat_events: 1;
23583             description {
23584                state: "default" 0.0;
23585                color: 0 0 0 0;
23586             }
23587          }
23588          part {
23589             name: "base_sh";
23590             mouse_events: 0;
23591             description {
23592                state: "default" 0.0;
23593                align: 0.0 0.0;
23594                min: 0 10;
23595                fixed: 1 1;
23596                rel1 {
23597                   to: "base";
23598                   relative: 0.0 1.0;
23599                   offset: 0 0;
23600                }
23601                rel2 {
23602                   to: "base";
23603                   relative: 1.0 1.0;
23604                   offset: -1 0;
23605                }
23606                image {
23607                   normal: "ilist_item_shadow.png";
23608                }
23609                fill.smooth: 0;
23610             }
23611          }
23612          part {
23613             name: "base";
23614             mouse_events: 0;
23615             description {
23616                state: "default" 0.0;
23617                image {
23618                   normal: "ilist_1.png";
23619                   border: 2 2 2 2;
23620                }
23621                fill.smooth: 0;
23622             }
23623          }
23624          part { name: "bg";
23625             clip_to: "disclip";
23626             mouse_events: 0;
23627             description { state: "default" 0.0;
23628                visible: 0;
23629                color: 255 255 255 0;
23630                rel1 {
23631                   relative: 0.0 0.0;
23632                   offset: -5 -5;
23633                }
23634                rel2 {
23635                   relative: 1.0 1.0;
23636                   offset: 4 4;
23637                }
23638                image {
23639                   normal: "bt_sm_base1.png";
23640                   border: 6 6 6 6;
23641                }
23642                image.middle: SOLID;
23643             }
23644             description { state: "selected" 0.0;
23645                inherit: "default" 0.0;
23646                visible: 1;
23647                color: 255 255 255 255;
23648                rel1 {
23649                   relative: 0.0 0.0;
23650                   offset: -2 -2;
23651                }
23652                rel2 {
23653                   relative: 1.0 1.0;
23654                   offset: 1 1;
23655                }
23656             }
23657          }
23658          part { name: "elm.swallow.pad";
23659             type: SWALLOW;
23660             description { state: "default" 0.0;
23661                fixed: 1 0;
23662                align: 0.0 0.5;
23663                rel1 {
23664                   relative: 0.0  0.0;
23665                   offset:   4    4;
23666                }
23667                rel2 {
23668                   relative: 0.0  1.0;
23669                   offset:   4   -5;
23670                }
23671             }
23672          }
23673          part {
23674             name: "elm.text.trackno";
23675             type: TEXT;
23676             scale: 1;
23677             mouse_events: 0;
23678             description {
23679                state: "default" 0.0;
23680                color: 255 255 255 255;
23681                align: 0.0 0.0;
23682                fixed: 1 0;
23683                rel1 {
23684                   to_y: "elm.text.title";
23685                   relative: 0.0 0.0;
23686                   offset: 5 0;
23687                }
23688                rel2 {
23689                   to_y: "elm.text.title";
23690                   relative: 0.0 1.0;
23691                   offset: 20 0;
23692                }
23693                color: 0 0 0 255;
23694                color3: 0 0 0 0;
23695                text {
23696                   font: "Sans";
23697                   size: 10;
23698                   min: 1 1;
23699                   align: 1.0 0.5;
23700                }
23701             }
23702             description { state: "selected" 0.0;
23703                inherit: "default" 0.0;
23704                color: 224 224 224 255;
23705                color3: 0 0 0 64;
23706             }
23707          }
23708          part {
23709             name: "dot";
23710             type: TEXT;
23711             scale: 1;
23712             mouse_events: 0;
23713             description {
23714                state: "default" 0.0;
23715                color: 255 255 255 255;
23716                visible: 0;
23717                fixed: 1 1;
23718                align: 0.0 0.0;
23719                rel1 {
23720                   to_x: "elm.text.trackno";
23721                   to_y: "elm.text.title";
23722                   relative: 1.0 0.0;
23723                   offset: 1 0;
23724                }
23725                rel2 {
23726                   to_x: "elm.text.trackno";
23727                   to_y: "elm.text.title";
23728                   relative: 1.0 1.0;
23729                   offset: 1 0;
23730
23731                }
23732                color: 0 0 0 255;
23733                color3: 0 0 0 0;
23734                text {
23735                   font: "Sans";
23736                   size: 10;
23737                   min: 1 1;
23738                   align: 0.0 0.5;
23739                   text: ".";
23740                }
23741             }
23742             description {
23743                state: "visible" 0.0;
23744                inherit: "default" 0.0;
23745                visible: 1;
23746             }
23747             description { state: "selected" 0.0;
23748                inherit: "default" 0.0;
23749                color: 224 224 224 255;
23750                color3: 0 0 0 64;
23751                visible: 1;
23752             }
23753          }
23754          programs {
23755             program {
23756                signal: "elm,state,elm.state.trackno,active";
23757                source: "elm";
23758                script {
23759                   set_state(PART:"dot", "visible", 0.0);
23760                   set_int(dot_visible, 1);
23761                }
23762             }
23763          }
23764          part { name: "elm.text.title";
23765             clip_to: "disclip";
23766             type:           TEXT;
23767             effect:         SOFT_SHADOW;
23768             mouse_events:   0;
23769             scale: 1;
23770             description {
23771                state: "default" 0.0;
23772                rel1 {
23773                   to_x: "dot";
23774                   relative: 0.0  0.0;
23775                   offset:   4 4;
23776                }
23777                rel2 {
23778                   relative: 1.0  0.5;
23779                   offset:   -1 -5;
23780                }
23781                color: 0 0 0 255;
23782                color3: 0 0 0 0;
23783                text {
23784                   font: "Sans";
23785                   size: 10;
23786                   min: 0 1;
23787                   align: 0.0 0.5;
23788                }
23789             }
23790             description { state: "selected" 0.0;
23791                inherit: "default" 0.0;
23792                color: 224 224 224 255;
23793                color3: 0 0 0 64;
23794             }
23795          }
23796          part { name: "elm.text.length";
23797             clip_to: "disclip";
23798             type:           TEXT;
23799             mouse_events:   0;
23800             scale: 1;
23801             description {
23802                state: "default" 0.0;
23803                rel1 {
23804                   relative: 0.0  0.5;
23805                   offset:   4 4;
23806                }
23807                rel2 {
23808                   relative: 1.0  1.0;
23809                   offset:   -1 -5;
23810                }
23811                color: 0 0 0 128;
23812                color3: 0 0 0 0;
23813                text {
23814                   font: "Sans";
23815                   size: 8;
23816                   min: 0 1;
23817                   align: 0.0 0.5;
23818                }
23819             }
23820             description { state: "selected" 0.0;
23821                inherit: "default" 0.0;
23822                color: 128 128 128 255;
23823                color3: 0 0 0 32;
23824             }
23825          }
23826          part { name: "fg1";
23827             clip_to: "disclip";
23828             mouse_events: 0;
23829             description { state: "default" 0.0;
23830                visible: 0;
23831                color: 255 255 255 0;
23832                rel1.to: "bg";
23833                rel2.relative: 1.0 0.5;
23834                rel2.to: "bg";
23835                image {
23836                   normal: "bt_sm_hilight.png";
23837                   border: 6 6 6 0;
23838                }
23839             }
23840             description { state: "selected" 0.0;
23841                inherit: "default" 0.0;
23842                visible: 1;
23843                color: 255 255 255 255;
23844             }
23845          }
23846          part { name: "fg2";
23847             clip_to: "disclip";
23848             mouse_events: 0;
23849             description { state: "default" 0.0;
23850                visible: 0;
23851                color: 255 255 255 0;
23852                rel1.to: "bg";
23853                rel2.to: "bg";
23854                image {
23855                   normal: "bt_sm_shine.png";
23856                   border: 6 6 6 0;
23857                }
23858             }
23859             description { state: "selected" 0.0;
23860                inherit: "default" 0.0;
23861                visible: 1;
23862                color: 255 255 255 255;
23863             }
23864          }
23865          part { name: "disclip";
23866             type: RECT;
23867             description { state: "default" 0.0;
23868                rel1.to: "bg";
23869                rel2.to: "bg";
23870             }
23871             description { state: "disabled" 0.0;
23872                inherit: "default" 0.0;
23873                color: 255 255 255 64;
23874             }
23875          }
23876       }
23877       programs {
23878          // signal: elm,state,%s,active
23879          //   a "check" item named %s went active
23880          // signal: elm,state,%s,passive
23881          //   a "check" item named %s went passive
23882          // default is passive
23883          program {
23884             name:    "go_active";
23885             signal:  "elm,state,selected";
23886             source:  "elm";
23887             action:  STATE_SET "selected" 0.0;
23888             target:  "bg";
23889             target:  "fg1";
23890             target:  "fg2";
23891             target:  "elm.text.title";
23892             target:  "elm.text.trackno";
23893             target:  "elm.text.length";
23894             after:   "dot_active";
23895          }
23896          program {
23897             name: "dot_active";
23898             script {
23899                if (get_int(dot_visible) == 1)
23900                   set_state(PART:"dot", "selected", 0.0);
23901             }
23902          }
23903          program {
23904             name:    "go_passive";
23905             signal:  "elm,state,unselected";
23906             source:  "elm";
23907             action:  STATE_SET "default" 0.0;
23908             target:  "bg";
23909             target:  "fg1";
23910             target:  "fg2";
23911             target:  "elm.text.title";
23912             target:  "elm.text.length";
23913             target:  "elm.text.trackno";
23914             transition: LINEAR 0.1;
23915             after:   "dot_passive";
23916          }
23917          program {
23918             name: "dot_passive";
23919             script {
23920                if (get_int(dot_visible) == 1)
23921                   set_state(PART:"dot", "visible", 0.0);
23922             }
23923          }
23924          program {
23925             name:    "go_disabled";
23926             signal:  "elm,state,disabled";
23927             source:  "elm";
23928             action:  STATE_SET "disabled" 0.0;
23929             target:  "disclip";
23930          }
23931          program {
23932             name:    "go_enabled";
23933             signal:  "elm,state,enabled";
23934             source:  "elm";
23935             action:  STATE_SET "default" 0.0;
23936             target:  "disclip";
23937          }
23938       }
23939    }
23940    group { name: "elm/genlist/item_compress_odd/media-album/default";
23941       data.item: "stacking" "below";
23942       data.item: "selectraise" "on";
23943       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23944       data.item: "states" "elm.state.trackno";
23945       data.item: "treesize" "20";
23946       images {
23947          image: "bt_sm_base1.png" COMP;
23948          image: "bt_sm_shine.png" COMP;
23949          image: "bt_sm_hilight.png" COMP;
23950          image: "ilist_2.png" COMP;
23951       }
23952       script {
23953          public dot_visible;
23954       }
23955       parts {
23956          part { name: "event";
23957             type: RECT;
23958             repeat_events: 1;
23959             description {
23960                state: "default" 0.0;
23961                color: 0 0 0 0;
23962             }
23963          }
23964          part {
23965             name: "base";
23966             mouse_events: 0;
23967             description {
23968                state: "default" 0.0;
23969                image {
23970                   normal: "ilist_2.png";
23971                   border: 2 2 2 2;
23972                }
23973                fill.smooth: 0;
23974             }
23975          }
23976          part { name: "bg";
23977             clip_to: "disclip";
23978             mouse_events: 0;
23979             description { state: "default" 0.0;
23980                visible: 0;
23981                color: 255 255 255 0;
23982                rel1 {
23983                   relative: 0.0 0.0;
23984                   offset: -5 -5;
23985                }
23986                rel2 {
23987                   relative: 1.0 1.0;
23988                   offset: 4 4;
23989                }
23990                image {
23991                   normal: "bt_sm_base1.png";
23992                   border: 6 6 6 6;
23993                }
23994                image.middle: SOLID;
23995             }
23996             description { state: "selected" 0.0;
23997                inherit: "default" 0.0;
23998                visible: 1;
23999                color: 255 255 255 255;
24000                rel1 {
24001                   relative: 0.0 0.0;
24002                   offset: -2 -2;
24003                }
24004                rel2 {
24005                   relative: 1.0 1.0;
24006                   offset: 1 1;
24007                }
24008             }
24009          }
24010          part { name: "elm.swallow.pad";
24011             type: SWALLOW;
24012             description { state: "default" 0.0;
24013                fixed: 1 0;
24014                align: 0.0 0.5;
24015                rel1 {
24016                   relative: 0.0  0.0;
24017                   offset:   4    4;
24018                }
24019                rel2 {
24020                   relative: 0.0  1.0;
24021                   offset:   4   -5;
24022                }
24023             }
24024          }
24025          part {
24026             name: "elm.text.trackno";
24027             type: TEXT;
24028             scale: 1;
24029             mouse_events: 0;
24030             description {
24031                state: "default" 0.0;
24032                color: 255 255 255 255;
24033                align: 0.0 0.0;
24034                fixed: 1 0;
24035                rel1 {
24036                   to_y: "elm.text.title";
24037                   relative: 0.0 0.0;
24038                   offset: 5 0;
24039                }
24040                rel2 {
24041                   to_y: "elm.text.title";
24042                   relative: 0.0 1.0;
24043                   offset: 20 0;
24044                }
24045                color: 0 0 0 255;
24046                color3: 0 0 0 0;
24047                text {
24048                   font: "Sans";
24049                   size: 10;
24050                   min: 1 1;
24051                   align: 1.0 0.5;
24052                }
24053             }
24054             description { state: "selected" 0.0;
24055                inherit: "default" 0.0;
24056                color: 224 224 224 255;
24057                color3: 0 0 0 64;
24058             }
24059          }
24060          part {
24061             name: "dot";
24062             type: TEXT;
24063             scale: 1;
24064             mouse_events: 0;
24065             description {
24066                state: "default" 0.0;
24067                color: 255 255 255 255;
24068                visible: 0;
24069                fixed: 1 1;
24070                align: 0.0 0.0;
24071                rel1 {
24072                   to_x: "elm.text.trackno";
24073                   to_y: "elm.text.title";
24074                   relative: 1.0 0.0;
24075                   offset: 1 0;
24076                }
24077                rel2 {
24078                   to_x: "elm.text.trackno";
24079                   to_y: "elm.text.title";
24080                   relative: 1.0 1.0;
24081                   offset: 1 0;
24082
24083                }
24084                color: 0 0 0 255;
24085                color3: 0 0 0 0;
24086                text {
24087                   font: "Sans";
24088                   size: 10;
24089                   min: 1 1;
24090                   align: 0.0 0.5;
24091                   text: ".";
24092                }
24093             }
24094             description {
24095                state: "visible" 0.0;
24096                inherit: "default" 0.0;
24097                visible: 1;
24098             }
24099             description { state: "selected" 0.0;
24100                inherit: "default" 0.0;
24101                color: 224 224 224 255;
24102                color3: 0 0 0 64;
24103                visible: 1;
24104             }
24105          }
24106          programs {
24107             program {
24108                signal: "elm,state,elm.state.trackno,active";
24109                source: "elm";
24110                script {
24111                   set_state(PART:"dot", "visible", 0.0);
24112                   set_int(dot_visible, 1);
24113                }
24114             }
24115          }
24116          part { name: "elm.text.title";
24117             clip_to: "disclip";
24118             type:           TEXT;
24119             effect:         SOFT_SHADOW;
24120             mouse_events:   0;
24121             scale: 1;
24122             description {
24123                state: "default" 0.0;
24124                rel1 {
24125                   to_x: "dot";
24126                   relative: 1.0  0.0;
24127                   offset:   4 4;
24128                }
24129                rel2 {
24130                   relative: 1.0  0.5;
24131                   offset:   -1 -5;
24132                }
24133                color: 0 0 0 255;
24134                color3: 0 0 0 0;
24135                text {
24136                   font: "Sans";
24137                   size: 10;
24138                   min: 0 1;
24139                   align: 0.0 0.5;
24140                }
24141             }
24142             description { state: "selected" 0.0;
24143                inherit: "default" 0.0;
24144                color: 224 224 224 255;
24145                color3: 0 0 0 64;
24146             }
24147          }
24148          part { name: "elm.text.length";
24149             clip_to: "disclip";
24150             type:           TEXT;
24151             mouse_events:   0;
24152             scale: 1;
24153             description {
24154                state: "default" 0.0;
24155                rel1 {
24156                   relative: 0.0  0.5;
24157                   offset:   4 4;
24158                }
24159                rel2 {
24160                   relative: 1.0  1.0;
24161                   offset:   -1 -5;
24162                }
24163                color: 0 0 0 128;
24164                color3: 0 0 0 0;
24165                text {
24166                   font: "Sans";
24167                   size: 8;
24168                   min: 0 1;
24169                   align: 0.0 0.5;
24170                }
24171             }
24172             description { state: "selected" 0.0;
24173                inherit: "default" 0.0;
24174                color: 128 128 128 255;
24175                color3: 0 0 0 32;
24176             }
24177          }
24178          part { name: "fg1";
24179             clip_to: "disclip";
24180             mouse_events: 0;
24181             description { state: "default" 0.0;
24182                visible: 0;
24183                color: 255 255 255 0;
24184                rel1.to: "bg";
24185                rel2.relative: 1.0 0.5;
24186                rel2.to: "bg";
24187                image {
24188                   normal: "bt_sm_hilight.png";
24189                   border: 6 6 6 0;
24190                }
24191             }
24192             description { state: "selected" 0.0;
24193                inherit: "default" 0.0;
24194                visible: 1;
24195                color: 255 255 255 255;
24196             }
24197          }
24198          part { name: "fg2";
24199             clip_to: "disclip";
24200             mouse_events: 0;
24201             description { state: "default" 0.0;
24202                visible: 0;
24203                color: 255 255 255 0;
24204                rel1.to: "bg";
24205                rel2.to: "bg";
24206                image {
24207                   normal: "bt_sm_shine.png";
24208                   border: 6 6 6 0;
24209                }
24210             }
24211             description { state: "selected" 0.0;
24212                inherit: "default" 0.0;
24213                visible: 1;
24214                color: 255 255 255 255;
24215             }
24216          }
24217          part { name: "disclip";
24218             type: RECT;
24219             description { state: "default" 0.0;
24220                rel1.to: "bg";
24221                rel2.to: "bg";
24222             }
24223             description { state: "disabled" 0.0;
24224                inherit: "default" 0.0;
24225                color: 255 255 255 64;
24226             }
24227          }
24228       }
24229       programs {
24230          // signal: elm,state,%s,active
24231          //   a "check" item named %s went active
24232          // signal: elm,state,%s,passive
24233          //   a "check" item named %s went passive
24234          // default is passive
24235          program {
24236             name:    "go_active";
24237             signal:  "elm,state,selected";
24238             source:  "elm";
24239             action:  STATE_SET "selected" 0.0;
24240             target:  "bg";
24241             target:  "fg1";
24242             target:  "fg2";
24243             target:  "elm.text.title";
24244             target:  "elm.text.length";
24245             target:  "elm.text.trackno";
24246             after:   "dot_active";
24247          }
24248          program {
24249             name: "dot_active";
24250             script {
24251                if (get_int(dot_visible) == 1)
24252                   set_state(PART:"dot", "selected", 0.0);
24253             }
24254          }
24255          program {
24256             name:    "go_passive";
24257             signal:  "elm,state,unselected";
24258             source:  "elm";
24259             action:  STATE_SET "default" 0.0;
24260             target:  "bg";
24261             target:  "fg1";
24262             target:  "fg2";
24263             target:  "elm.text.title";
24264             target:  "elm.text.length";
24265             target:  "elm.text.trackno";
24266             transition: LINEAR 0.1;
24267             after:   "dot_passive";
24268          }
24269          program {
24270             name: "dot_passive";
24271             script {
24272                if (get_int(dot_visible) == 1)
24273                   set_state(PART:"dot", "visible", 0.0);
24274             }
24275          }
24276          program {
24277             name:    "go_disabled";
24278             signal:  "elm,state,disabled";
24279             source:  "elm";
24280             action:  STATE_SET "disabled" 0.0;
24281             target:  "disclip";
24282          }
24283          program {
24284             name:    "go_enabled";
24285             signal:  "elm,state,enabled";
24286             source:  "elm";
24287             action:  STATE_SET "default" 0.0;
24288             target:  "disclip";
24289          }
24290       }
24291    }
24292
24293    group { name: "elm/genlist/item_compress/media-preview/default";
24294       data.item: "stacking" "above";
24295       data.item: "selectraise" "on";
24296       data.item: "labels" "elm.text.title elm.text.artist";
24297       data.item: "icons" "elm.swallow.preview";
24298       data.item: "treesize" "20";
24299       images {
24300          image: "bt_sm_base1.png" COMP;
24301          image: "bt_sm_shine.png" COMP;
24302          image: "bt_sm_hilight.png" COMP;
24303          image: "ilist_1.png" COMP;
24304          image: "ilist_item_shadow.png" COMP;
24305       }
24306       parts {
24307          part {
24308             name: "event";
24309             type: RECT;
24310             repeat_events: 1;
24311             description {
24312                state: "default" 0.0;
24313                color: 0 0 0 0;
24314             }
24315          }
24316          part {
24317             name: "base_sh";
24318             mouse_events: 0;
24319             description {
24320                state: "default" 0.0;
24321                align: 0.0 0.0;
24322                min: 0 10;
24323                fixed: 1 1;
24324                rel1 {
24325                   to: "base";
24326                   relative: 0.0 1.0;
24327                   offset: 0 0;
24328                }
24329                rel2 {
24330                   to: "base";
24331                   relative: 1.0 1.0;
24332                   offset: -1 0;
24333                }
24334                image {
24335                   normal: "ilist_item_shadow.png";
24336                }
24337                fill.smooth: 0;
24338             }
24339          }
24340          part {
24341             name: "base";
24342             mouse_events: 0;
24343             description {
24344                state: "default" 0.0;
24345                image {
24346                   normal: "ilist_1.png";
24347                   border: 2 2 2 2;
24348                }
24349                fill.smooth: 0;
24350             }
24351          }
24352          part { name: "bg";
24353             clip_to: "disclip";
24354             mouse_events: 0;
24355             description { state: "default" 0.0;
24356                visible: 0;
24357                color: 255 255 255 0;
24358                rel1 {
24359                   relative: 0.0 0.0;
24360                   offset: -5 -5;
24361                }
24362                rel2 {
24363                   relative: 1.0 1.0;
24364                   offset: 4 4;
24365                }
24366                image {
24367                   normal: "bt_sm_base1.png";
24368                   border: 6 6 6 6;
24369                }
24370                image.middle: SOLID;
24371             }
24372             description { state: "selected" 0.0;
24373                inherit: "default" 0.0;
24374                visible: 1;
24375                color: 255 255 255 255;
24376                rel1 {
24377                   relative: 0.0 0.0;
24378                   offset: -2 -2;
24379                }
24380                rel2 {
24381                   relative: 1.0 1.0;
24382                   offset: 1 1;
24383                }
24384             }
24385          }
24386          part { name: "elm.swallow.pad";
24387             type: SWALLOW;
24388             description { state: "default" 0.0;
24389                fixed: 1 0;
24390                align: 0.0 0.5;
24391                rel1 {
24392                   relative: 0.0  0.0;
24393                   offset:   4    4;
24394                }
24395                rel2 {
24396                   relative: 0.0  1.0;
24397                   offset:   4   -5;
24398                }
24399             }
24400          }
24401          part { name: "elm.swallow.preview";
24402             clip_to: "disclip";
24403             type: SWALLOW;
24404             description { state: "default" 0.0;
24405                fixed: 1 0;
24406                align: 0.0 0.5;
24407                min: 68 68;
24408                max: 68 68;
24409                rel1 {
24410                   to_x: "elm.swallow.pad";
24411                   relative: 1.0  0.0;
24412                   offset:   -1    4;
24413                }
24414                rel2 {
24415                   to_x: "elm.swallow.pad";
24416                   relative: 1.0  1.0;
24417                   offset:   -1   -5;
24418                }
24419             }
24420          }
24421          part { name: "elm.text.title";
24422             clip_to: "disclip";
24423             type:           TEXT;
24424             effect:         SOFT_SHADOW;
24425             mouse_events:   0;
24426             scale: 1;
24427             description {
24428                state: "default" 0.0;
24429                rel1 {
24430                   to_x:     "elm.swallow.preview";
24431                   relative: 1.0  0.0;
24432                   offset:   4 4;
24433                }
24434                rel2 {
24435                   relative: 1.0  0.5;
24436                   offset:   -1 -5;
24437                }
24438                color: 0 0 0 255;
24439                color3: 0 0 0 0;
24440                text {
24441                   font: "Sans";
24442                   size: 10;
24443                   min: 0 1;
24444                   align: 0.0 0.5;
24445                }
24446             }
24447             description { state: "selected" 0.0;
24448                inherit: "default" 0.0;
24449                color: 224 224 224 255;
24450                color3: 0 0 0 64;
24451             }
24452          }
24453          part { name: "elm.text.artist";
24454             clip_to: "disclip";
24455             type:           TEXT;
24456             mouse_events:   0;
24457             scale: 1;
24458             description {
24459                state: "default" 0.0;
24460                rel1 {
24461                   to_x:     "elm.swallow.preview";
24462                   relative: 1.0  0.5;
24463                   offset:   4 4;
24464                }
24465                rel2 {
24466                   relative: 1.0  1.0;
24467                   offset:   -1 -5;
24468                }
24469                color: 0 0 0 128;
24470                color3: 0 0 0 0;
24471                text {
24472                   font: "Sans";
24473                   size: 8;
24474                   min: 0 1;
24475                   align: 0.0 0.5;
24476                }
24477             }
24478             description { state: "selected" 0.0;
24479                inherit: "default" 0.0;
24480                color: 128 128 128 255;
24481                color3: 0 0 0 32;
24482             }
24483          }
24484          part { name: "fg1";
24485             clip_to: "disclip";
24486             mouse_events: 0;
24487             description { state: "default" 0.0;
24488                visible: 0;
24489                color: 255 255 255 0;
24490                rel1.to: "bg";
24491                rel2.relative: 1.0 0.5;
24492                rel2.to: "bg";
24493                image {
24494                   normal: "bt_sm_hilight.png";
24495                   border: 6 6 6 0;
24496                }
24497             }
24498             description { state: "selected" 0.0;
24499                inherit: "default" 0.0;
24500                visible: 1;
24501                color: 255 255 255 255;
24502             }
24503          }
24504          part { name: "fg2";
24505             clip_to: "disclip";
24506             mouse_events: 0;
24507             description { state: "default" 0.0;
24508                visible: 0;
24509                color: 255 255 255 0;
24510                rel1.to: "bg";
24511                rel2.to: "bg";
24512                image {
24513                   normal: "bt_sm_shine.png";
24514                   border: 6 6 6 0;
24515                }
24516             }
24517             description { state: "selected" 0.0;
24518                inherit: "default" 0.0;
24519                visible: 1;
24520                color: 255 255 255 255;
24521             }
24522          }
24523          part { name: "disclip";
24524             type: RECT;
24525             description { state: "default" 0.0;
24526                rel1.to: "bg";
24527                rel2.to: "bg";
24528             }
24529             description { state: "disabled" 0.0;
24530                inherit: "default" 0.0;
24531                color: 255 255 255 64;
24532             }
24533          }
24534       }
24535       programs {
24536          // signal: elm,state,%s,active
24537          //   a "check" item named %s went active
24538          // signal: elm,state,%s,passive
24539          //   a "check" item named %s went passive
24540          // default is passive
24541          program {
24542             name:    "go_active";
24543             signal:  "elm,state,selected";
24544             source:  "elm";
24545             action:  STATE_SET "selected" 0.0;
24546             target:  "bg";
24547             target:  "fg1";
24548             target:  "fg2";
24549             target:  "elm.text.title";
24550             target:  "elm.text.artist";
24551          }
24552          program {
24553             name:    "go_passive";
24554             signal:  "elm,state,unselected";
24555             source:  "elm";
24556             action:  STATE_SET "default" 0.0;
24557             target:  "bg";
24558             target:  "fg1";
24559             target:  "fg2";
24560             target:  "elm.text.title";
24561             target:  "elm.text.artist";
24562             transition: LINEAR 0.1;
24563          }
24564          program {
24565             name:    "go_disabled";
24566             signal:  "elm,state,disabled";
24567             source:  "elm";
24568             action:  STATE_SET "disabled" 0.0;
24569             target:  "disclip";
24570          }
24571          program {
24572             name:    "go_enabled";
24573             signal:  "elm,state,enabled";
24574             source:  "elm";
24575             action:  STATE_SET "default" 0.0;
24576             target:  "disclip";
24577          }
24578       }
24579    }
24580    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24581       data.item: "stacking" "below";
24582       data.item: "selectraise" "on";
24583       data.item: "labels" "elm.text.title elm.text.artist";
24584       data.item: "icons" "elm.swallow.preview";
24585       data.item: "treesize" "20";
24586       images {
24587          image: "bt_sm_base1.png" COMP;
24588          image: "bt_sm_shine.png" COMP;
24589          image: "bt_sm_hilight.png" COMP;
24590          image: "ilist_2.png" COMP;
24591       }
24592       parts {
24593          part { name: "event";
24594             type: RECT;
24595             repeat_events: 1;
24596             description {
24597                state: "default" 0.0;
24598                color: 0 0 0 0;
24599             }
24600          }
24601          part {
24602             name: "base";
24603             mouse_events: 0;
24604             description {
24605                state: "default" 0.0;
24606                image {
24607                   normal: "ilist_2.png";
24608                   border: 2 2 2 2;
24609                }
24610                fill.smooth: 0;
24611             }
24612          }
24613          part { name: "bg";
24614             clip_to: "disclip";
24615             mouse_events: 0;
24616             description { state: "default" 0.0;
24617                visible: 0;
24618                color: 255 255 255 0;
24619                rel1 {
24620                   relative: 0.0 0.0;
24621                   offset: -5 -5;
24622                }
24623                rel2 {
24624                   relative: 1.0 1.0;
24625                   offset: 4 4;
24626                }
24627                image {
24628                   normal: "bt_sm_base1.png";
24629                   border: 6 6 6 6;
24630                }
24631                image.middle: SOLID;
24632             }
24633             description { state: "selected" 0.0;
24634                inherit: "default" 0.0;
24635                visible: 1;
24636                color: 255 255 255 255;
24637                rel1 {
24638                   relative: 0.0 0.0;
24639                   offset: -2 -2;
24640                }
24641                rel2 {
24642                   relative: 1.0 1.0;
24643                   offset: 1 1;
24644                }
24645             }
24646          }
24647          part { name: "elm.swallow.pad";
24648             type: SWALLOW;
24649             description { state: "default" 0.0;
24650                fixed: 1 0;
24651                align: 0.0 0.5;
24652                rel1 {
24653                   relative: 0.0  0.0;
24654                   offset:   4    4;
24655                }
24656                rel2 {
24657                   relative: 0.0  1.0;
24658                   offset:   4   -5;
24659                }
24660             }
24661          }
24662          part { name: "elm.swallow.preview";
24663             clip_to: "disclip";
24664             type: SWALLOW;
24665             description { state: "default" 0.0;
24666                fixed: 1 0;
24667                align: 0.0 0.5;
24668                min: 68 68;
24669                max: 68 68;
24670                rel1 {
24671                   to_x: "elm.swallow.pad";
24672                   relative: 1.0  0.0;
24673                   offset:   -1    4;
24674                }
24675                rel2 {
24676                   to_x: "elm.swallow.pad";
24677                   relative: 1.0  1.0;
24678                   offset:   -1   -5;
24679                }
24680             }
24681          }
24682          part { name: "elm.text.title";
24683             clip_to: "disclip";
24684             type:           TEXT;
24685             effect:         SOFT_SHADOW;
24686             mouse_events:   0;
24687             scale: 1;
24688             description {
24689                state: "default" 0.0;
24690                rel1 {
24691                   to_x:     "elm.swallow.preview";
24692                   relative: 1.0  0.0;
24693                   offset:   4 4;
24694                }
24695                rel2 {
24696                   relative: 1.0  0.5;
24697                   offset:   -1 -5;
24698                }
24699                color: 0 0 0 255;
24700                color3: 0 0 0 0;
24701                text {
24702                   font: "Sans";
24703                   size: 10;
24704                   min: 0 1;
24705                   align: 0.0 0.5;
24706                }
24707             }
24708             description { state: "selected" 0.0;
24709                inherit: "default" 0.0;
24710                color: 224 224 224 255;
24711                color3: 0 0 0 64;
24712             }
24713          }
24714          part { name: "elm.text.artist";
24715             clip_to: "disclip";
24716             type:           TEXT;
24717             mouse_events:   0;
24718             scale: 1;
24719             description {
24720                state: "default" 0.0;
24721                rel1 {
24722                   to_x:     "elm.swallow.preview";
24723                   relative: 1.0  0.5;
24724                   offset:   4 4;
24725                }
24726                rel2 {
24727                   relative: 1.0  1.0;
24728                   offset:   -1 -5;
24729                }
24730                color: 0 0 0 128;
24731                color3: 0 0 0 0;
24732                text {
24733                   font: "Sans";
24734                   size: 8;
24735                   min: 0 1;
24736                   align: 0.0 0.5;
24737                }
24738             }
24739             description { state: "selected" 0.0;
24740                inherit: "default" 0.0;
24741                color: 128 128 128 255;
24742                color3: 0 0 0 32;
24743             }
24744          }
24745          part { name: "fg1";
24746             clip_to: "disclip";
24747             mouse_events: 0;
24748             description { state: "default" 0.0;
24749                visible: 0;
24750                color: 255 255 255 0;
24751                rel1.to: "bg";
24752                rel2.relative: 1.0 0.5;
24753                rel2.to: "bg";
24754                image {
24755                   normal: "bt_sm_hilight.png";
24756                   border: 6 6 6 0;
24757                }
24758             }
24759             description { state: "selected" 0.0;
24760                inherit: "default" 0.0;
24761                visible: 1;
24762                color: 255 255 255 255;
24763             }
24764          }
24765          part { name: "fg2";
24766             clip_to: "disclip";
24767             mouse_events: 0;
24768             description { state: "default" 0.0;
24769                visible: 0;
24770                color: 255 255 255 0;
24771                rel1.to: "bg";
24772                rel2.to: "bg";
24773                image {
24774                   normal: "bt_sm_shine.png";
24775                   border: 6 6 6 0;
24776                }
24777             }
24778             description { state: "selected" 0.0;
24779                inherit: "default" 0.0;
24780                visible: 1;
24781                color: 255 255 255 255;
24782             }
24783          }
24784          part { name: "disclip";
24785             type: RECT;
24786             description { state: "default" 0.0;
24787                rel1.to: "bg";
24788                rel2.to: "bg";
24789             }
24790             description { state: "disabled" 0.0;
24791                inherit: "default" 0.0;
24792                color: 255 255 255 64;
24793             }
24794          }
24795       }
24796       programs {
24797          // signal: elm,state,%s,active
24798          //   a "check" item named %s went active
24799          // signal: elm,state,%s,passive
24800          //   a "check" item named %s went passive
24801          // default is passive
24802          program {
24803             name:    "go_active";
24804             signal:  "elm,state,selected";
24805             source:  "elm";
24806             action:  STATE_SET "selected" 0.0;
24807             target:  "bg";
24808             target:  "fg1";
24809             target:  "fg2";
24810             target:  "elm.text.title";
24811             target:  "elm.text.artist";
24812          }
24813          program {
24814             name:    "go_passive";
24815             signal:  "elm,state,unselected";
24816             source:  "elm";
24817             action:  STATE_SET "default" 0.0;
24818             target:  "bg";
24819             target:  "fg1";
24820             target:  "fg2";
24821             target:  "elm.text.title";
24822             target:  "elm.text.artist";
24823             transition: LINEAR 0.1;
24824          }
24825          program {
24826             name:    "go_disabled";
24827             signal:  "elm,state,disabled";
24828             source:  "elm";
24829             action:  STATE_SET "disabled" 0.0;
24830             target:  "disclip";
24831          }
24832          program {
24833             name:    "go_enabled";
24834             signal:  "elm,state,enabled";
24835             source:  "elm";
24836             action:  STATE_SET "default" 0.0;
24837             target:  "disclip";
24838          }
24839       }
24840    }
24841
24842    group { name: "elm/genlist/item/mode/default";
24843       data.item: "selectraise" "on";
24844       data.item: "labels" "elm.text.mode";
24845       data.item: "icons" "elm.swallow.mode";
24846       data.item: "mode_part" "elm.swallow.origin";
24847       data.item: "treesize" "20";
24848       images {
24849          image: "bt_sm_base1.png" COMP;
24850          image: "bt_sm_shine.png" COMP;
24851          image: "bt_sm_hilight.png" COMP;
24852          image: "ilist_1.png" COMP;
24853          image: "ilist_2.png" COMP;
24854          image: "ilist_item_shadow.png" COMP;
24855       }
24856
24857       parts {
24858          part {
24859             name: "event";
24860             type: RECT;
24861             repeat_events: 1;
24862             description {
24863                state: "default" 0.0;
24864                color: 0 0 0 0;
24865             }
24866          }
24867          part {
24868             name: "base_sh";
24869             mouse_events: 0;
24870             description {
24871                state: "default" 0.0;
24872                align: 0.0 0.0;
24873                min: 0 10;
24874                fixed: 1 1;
24875                rel1 {
24876                   to: "base";
24877                   relative: 0.0 1.0;
24878                   offset: 0 0;
24879                }
24880                rel2 {
24881                   to: "base";
24882                   relative: 1.0 1.0;
24883                   offset: -1 0;
24884                }
24885                image {
24886                   normal: "ilist_item_shadow.png";
24887                }
24888                fill.smooth: 0;
24889             }
24890             description {
24891                state: "default" 1.0;
24892                inherit: "default" 0.0;
24893                visible: 0;
24894             }
24895          }
24896          part {
24897             name: "base";
24898             mouse_events: 0;
24899             description {
24900                state: "default" 0.0;
24901                image {
24902                   normal: "ilist_1.png";
24903                   border: 2 2 2 2;
24904                }
24905                fill.smooth: 0;
24906             }
24907             description {
24908                state: "default" 1.0;
24909                inherit: "default" 0.0;
24910                image.normal: "ilist_2.png";
24911             }
24912          }
24913          part { name: "bg";
24914             clip_to: "disclip";
24915             mouse_events: 0;
24916             description { state: "default" 0.0;
24917                visible: 0;
24918                color: 255 255 255 0;
24919                rel1 {
24920                   relative: 0.0 0.0;
24921                   offset: -5 -5;
24922                }
24923                rel2 {
24924                   relative: 1.0 1.0;
24925                   offset: 4 4;
24926                }
24927                image {
24928                   normal: "bt_sm_base1.png";
24929                   border: 6 6 6 6;
24930                }
24931                image.middle: SOLID;
24932             }
24933             description { state: "default" 0.1;
24934                inherit: "default" 0.0;
24935             }
24936             description { state: "selected" 0.0;
24937                inherit: "default" 0.0;
24938                visible: 1;
24939                color: 255 255 255 255;
24940                rel1 {
24941                   relative: 0.0 0.0;
24942                   offset: -2 -2;
24943                }
24944                rel2 {
24945                   relative: 1.0 1.0;
24946                   offset: 1 1;
24947                }
24948             }
24949             description {
24950                state: "selected" 1.0;
24951                inherit: "selected" 0.0;
24952             }
24953          }
24954          part { name: "elm.text.mode";
24955             clip_to: "disclip";
24956             type: TEXT;
24957             scale: 1;
24958             description { state: "default" 0.0;
24959                rel2.relative: 0.5 1.0;
24960                color: 0 0 0 255;
24961                text {
24962                   font: "Sans";
24963                   size: 10;
24964                   min: 1 1;
24965                   align: -1.0 0.5;
24966                   text_class: "list_item";
24967                }
24968             }
24969          }
24970         part { name: "elm.swallow.mode";
24971             clip_to: "disclip";
24972             type: SWALLOW;
24973             description { state: "default" 0.0;
24974                rel1.relative: 0.5 0.0;
24975             }
24976          }
24977          part { name: "fg1";
24978             clip_to: "disclip";
24979             mouse_events: 0;
24980             description { state: "default" 0.0;
24981                visible: 0;
24982                color: 255 255 255 0;
24983                rel1.to: "bg";
24984                rel2.relative: 1.0 0.5;
24985                rel2.to: "bg";
24986                image {
24987                   normal: "bt_sm_hilight.png";
24988                   border: 6 6 6 0;
24989                }
24990             }
24991             description { state: "selected" 0.0;
24992                inherit: "default" 0.0;
24993                visible: 1;
24994                color: 255 255 255 255;
24995             }
24996             description {
24997                state: "selected" 1.0;
24998                inherit: "default" 0.0;
24999                visible: 1;
25000                color: 255 255 255 255;
25001             }
25002          }
25003          part { name: "fg2";
25004             clip_to: "disclip";
25005             mouse_events: 0;
25006             description { state: "default" 0.0;
25007                visible: 0;
25008                color: 255 255 255 0;
25009                rel1.to: "bg";
25010                rel2.to: "bg";
25011                image {
25012                   normal: "bt_sm_shine.png";
25013                   border: 6 6 6 0;
25014                }
25015             }
25016             description { state: "selected" 0.0;
25017                inherit: "default" 0.0;
25018                visible: 1;
25019                color: 255 255 255 255;
25020             }
25021             description {
25022                state: "selected" 1.0;
25023                inherit: "default" 0.0;
25024                visible: 1;
25025                color: 255 255 255 255;
25026             }
25027          }
25028          // Transparent part between base parts and slidable parts
25029          part { name: "event_block_layer";
25030             type: RECT;
25031             clip_to: "disclip";
25032             mouse_events: 1;
25033             description { state: "default" 0.0;
25034                rel1.to: "base";
25035                rel2.to: "base";
25036                color: 0 0 0 0;
25037             }
25038             description { state: "repeat_events" 0.0;
25039                inherit: "default" 0.0;
25040                visible: 0;
25041             }
25042          }
25043          part { name: "pers";
25044             clip_to: "disclip";
25045             type: RECT;
25046             description { state: "default" 0.0;
25047                rel1.relative: 0.0 1.0;
25048             }
25049          }
25050          part { name: "elm.swallow.origin";
25051             clip_to: "disclip";
25052             type: SWALLOW;
25053             description { state: "default" 0.0;
25054                fixed: 1 0;
25055                align: 0.0 0.5;
25056             }
25057             description { state: "slide" 0.0;
25058                inherit: "default" 0.0;
25059                rel1.relative: 1 0;
25060                rel2.relative: 2 1;
25061             }
25062             description { state: "rotate" 0.0;
25063                inherit: "default" 0.0;
25064                map {
25065                   perspective: "pers";
25066                   on: 1;
25067                   smooth: 1;
25068                   perspective_on: 1;
25069                   backface_cull: 1;
25070                   rotation {
25071                      center: "pers";
25072                      x: 0.0;
25073                      y: 0.0;
25074                      z: 0.0;
25075                   }
25076                }
25077             }
25078             description { state: "rotate" 1.0;
25079                inherit: "default" 0.0;
25080                map {
25081                   perspective: "pers";
25082                   on: 1;
25083                   smooth: 1;
25084                   perspective_on: 1;
25085                   backface_cull: 1;
25086                   rotation {
25087                      center: "pers";
25088                      x: 90.0;
25089                      y: 0.0;
25090                      z: 0.0;
25091                   }
25092                }
25093             }
25094          }
25095          part { name: "disclip";
25096             type: RECT;
25097             description { state: "default" 0.0;
25098                rel1.to: "bg";
25099                rel2.to: "bg";
25100             }
25101             description { state: "disabled" 0.0;
25102                inherit: "default" 0.0;
25103                color: 255 255 255 64;
25104             }
25105          }
25106       }
25107       programs {
25108          program {
25109             name:    "odd";
25110             signal:  "elm,state,odd";
25111             source:  "elm";
25112             action:  STATE_SET "default" 1.0;
25113             target:  "base_sh";
25114             target:  "base";
25115          }
25116          program {
25117             name:    "even";
25118             signal:  "elm,state,even";
25119             source:  "elm";
25120             action:  STATE_SET "default" 0.0;
25121             target:  "base_sh";
25122             target:  "base";
25123          }
25124          program {
25125             name:    "go_active";
25126             signal:  "elm,state,selected";
25127             source:  "elm";
25128             script {
25129                new st[31];
25130                new Float:vl;
25131                get_state(PART:"base", st, 30, vl);
25132                set_state(PART:"bg", "selected", vl);
25133                set_state(PART:"fg1", "selected", vl);
25134                set_state(PART:"fg2", "selected", vl);
25135             }
25136          }
25137          program {
25138             name:    "go_passive";
25139             signal:  "elm,state,unselected";
25140             source:  "elm";
25141             script {
25142                new st[31];
25143                new Float:vl;
25144                get_state(PART:"base", st, 30, vl);
25145                set_state(PART:"bg", "default", vl);
25146                set_state(PART:"fg1", "default", vl);
25147                set_state(PART:"fg2", "default", vl);
25148             }
25149          }
25150          program {
25151             name:    "go_disabled";
25152             signal:  "elm,state,disabled";
25153             source:  "elm";
25154             action:  STATE_SET "disabled" 0.0;
25155             target:  "disclip";
25156          }
25157          program {
25158             name:    "go_enabled";
25159             signal:  "elm,state,enabled";
25160             source:  "elm";
25161             action:  STATE_SET "default" 0.0;
25162             target:  "disclip";
25163          }
25164          program {
25165             name:    "slide_right";
25166             signal:  "elm,state,slide,active";
25167             source:  "elm";
25168             action:  STATE_SET "slide" 0.0;
25169             target:  "elm.swallow.origin";
25170             transition: ACCELERATE 0.5;
25171             after:   "unblock_event";
25172          }
25173          program {
25174             name:    "unblock_event";
25175             action:  STATE_SET "repeat_events" 0.0;
25176             target:  "event_block_layer";
25177          }
25178          program {
25179             name:    "slide_left";
25180             signal:  "elm,state,slide,passive";
25181             source:  "elm";
25182             action:  STATE_SET "default" 0.0;
25183             target:  "event_block_layer";
25184             after:   "slide_left2";
25185          }
25186          program {
25187             name:    "slide_left2";
25188             action:  STATE_SET "default" 0.0;
25189             target:  "elm.swallow.origin";
25190             transition: DECELERATE 0.5;
25191             after:   "slide_left_finished";
25192          }
25193          program {
25194             name:    "slide_left_finished";
25195             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25196          }
25197          program {
25198             name:    "rotate_on";
25199             signal:  "elm,state,rotate,active";
25200             source:  "elm";
25201             action:  STATE_SET "rotate" 0.0;
25202             target:  "elm.swallow.origin";
25203             after:   "rotate_on2";
25204          }
25205          program {
25206             name:    "rotate_on2";
25207             action:  STATE_SET "rotate" 1.0;
25208             target:  "elm.swallow.origin";
25209             transition: LINEAR 0.5;
25210             after:   "unblock_event";
25211          }
25212          program {
25213             name:    "rotate_off";
25214             signal:  "elm,state,rotate,passive";
25215             source:  "elm";
25216             action:  STATE_SET "default" 0.0;
25217             target:  "event_block_layer";
25218             after:   "rotate_off2";
25219          }
25220          program {
25221             name:    "rotate_off2";
25222             action:  STATE_SET "rotate" 0.0;
25223             transition: LINEAR 0.5;
25224             target:  "elm.swallow.origin";
25225             after:   "rotate_off3";
25226          }
25227          program {
25228             name:    "rotate_off3";
25229             action:  STATE_SET "default" 0.0;
25230             target:  "elm.swallow.origin";
25231             after:   "rotate_off_finished";
25232          }
25233          program {
25234             name:    "rotate_off_finished";
25235             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25236          }
25237       }
25238    }
25239
25240    group { name: "elm/genlist/item_odd/mode/default";
25241       data.item: "stacking" "below";
25242       data.item: "selectraise" "on";
25243       data.item: "labels" "elm.text.mode";
25244       data.item: "icons" "elm.swallow.mode";
25245       data.item: "mode_part" "elm.swallow.origin";
25246       data.item: "treesize" "20";
25247       images {
25248          image: "bt_sm_base1.png" COMP;
25249          image: "bt_sm_shine.png" COMP;
25250          image: "bt_sm_hilight.png" COMP;
25251          image: "ilist_2.png" COMP;
25252       }
25253
25254       parts {
25255          part {
25256             name: "event";
25257             type: RECT;
25258             repeat_events: 1;
25259             description {
25260                state: "default" 0.0;
25261                color: 0 0 0 0;
25262             }
25263          }
25264          part {
25265             name: "base";
25266             mouse_events: 0;
25267             description {
25268                state: "default" 0.0;
25269                image {
25270                   normal: "ilist_2.png";
25271                   border: 2 2 2 2;
25272                }
25273                fill.smooth: 0;
25274             }
25275          }
25276          part { name: "bg";
25277             clip_to: "disclip";
25278             mouse_events: 0;
25279             description { state: "default" 0.0;
25280                visible: 0;
25281                color: 255 255 255 0;
25282                rel1 {
25283                   relative: 0.0 0.0;
25284                   offset: -5 -5;
25285                }
25286                rel2 {
25287                   relative: 1.0 1.0;
25288                   offset: 4 4;
25289                }
25290                image {
25291                   normal: "bt_sm_base1.png";
25292                   border: 6 6 6 6;
25293                }
25294                image.middle: SOLID;
25295             }
25296             description { state: "selected" 0.0;
25297                inherit: "default" 0.0;
25298                visible: 1;
25299                color: 255 255 255 255;
25300                rel1 {
25301                   relative: 0.0 0.0;
25302                   offset: -2 -2;
25303                }
25304                rel2 {
25305                   relative: 1.0 1.0;
25306                   offset: 1 1;
25307                }
25308             }
25309          }
25310          part { name: "elm.text.mode";
25311             clip_to: "disclip";
25312             type: TEXT;
25313             scale: 1;
25314             description { state: "default" 0.0;
25315                rel2.relative: 0.5 1.0;
25316                color: 0 0 0 255;
25317                text {
25318                   font: "Sans";
25319                   size: 10;
25320                   min: 1 1;
25321                   align: 0.5 0.5;
25322                   text_class: "list_item";
25323                }
25324             }
25325          }
25326         part { name: "elm.swallow.mode";
25327             clip_to: "disclip";
25328             type: SWALLOW;
25329             description { state: "default" 0.0;
25330                rel1.relative: 0.5 0.0;
25331             }
25332          }
25333          part { name: "fg1";
25334             clip_to: "disclip";
25335             mouse_events: 0;
25336             description { state: "default" 0.0;
25337                visible: 0;
25338                color: 255 255 255 0;
25339                rel1.to: "bg";
25340                rel2.relative: 1.0 0.5;
25341                rel2.to: "bg";
25342                image {
25343                   normal: "bt_sm_hilight.png";
25344                   border: 6 6 6 0;
25345                }
25346             }
25347             description { state: "selected" 0.0;
25348                inherit: "default" 0.0;
25349                visible: 1;
25350                color: 255 255 255 255;
25351             }
25352          }
25353          part { name: "fg2";
25354             clip_to: "disclip";
25355             mouse_events: 0;
25356             description { state: "default" 0.0;
25357                visible: 0;
25358                color: 255 255 255 0;
25359                rel1.to: "bg";
25360                rel2.to: "bg";
25361                image {
25362                   normal: "bt_sm_shine.png";
25363                   border: 6 6 6 0;
25364                }
25365             }
25366             description { state: "selected" 0.0;
25367                inherit: "default" 0.0;
25368                visible: 1;
25369                color: 255 255 255 255;
25370             }
25371          }
25372          // Transparent part between base parts and slidable parts
25373          part { name: "event_block_layer";
25374             type: RECT;
25375             clip_to: "disclip";
25376             mouse_events: 1;
25377             description { state: "default" 0.0;
25378                rel1.to: "base";
25379                rel2.to: "base";
25380                color: 0 0 0 0;
25381             }
25382             description { state: "repeat_events" 0.0;
25383                inherit: "default" 0.0;
25384                visible: 0;
25385             }
25386          }
25387          part { name: "pers";
25388             clip_to: "disclip";
25389             type: RECT;
25390             description { state: "default" 0.0;
25391                rel1.relative: 0.0 1.0;
25392             }
25393          }
25394          part { name: "elm.swallow.origin";
25395             clip_to: "disclip";
25396             type: SWALLOW;
25397             description { state: "default" 0.0;
25398                fixed: 1 0;
25399                align: 0.0 0.5;
25400             }
25401             description { state: "slide" 0.0;
25402                inherit: "default" 0.0;
25403                rel1.relative: 1 0;
25404                rel2.relative: 2 1;
25405             }
25406             description { state: "rotate" 0.0;
25407                inherit: "default" 0.0;
25408                map {
25409                   perspective: "pers";
25410                   on: 1;
25411                   smooth: 1;
25412                   perspective_on: 1;
25413                   backface_cull: 1;
25414                   rotation {
25415                      center: "pers";
25416                      x: 0.0;
25417                      y: 0.0;
25418                      z: 0.0;
25419                   }
25420                }
25421             }
25422             description { state: "rotate" 1.0;
25423                inherit: "default" 0.0;
25424                map {
25425                   perspective: "pers";
25426                   on: 1;
25427                   smooth: 1;
25428                   perspective_on: 1;
25429                   backface_cull: 1;
25430                   rotation {
25431                      center: "pers";
25432                      x: 90.0;
25433                      y: 0.0;
25434                      z: 0.0;
25435                   }
25436                }
25437             }
25438          }
25439          part { name: "disclip";
25440             type: RECT;
25441             description { state: "default" 0.0;
25442                rel1.to: "bg";
25443                rel2.to: "bg";
25444             }
25445             description { state: "disabled" 0.0;
25446                inherit: "default" 0.0;
25447                color: 255 255 255 64;
25448             }
25449          }
25450       }
25451       programs {
25452          program {
25453             name:    "go_active";
25454             signal:  "elm,state,selected";
25455             source:  "elm";
25456             action:  STATE_SET "selected" 0.0;
25457             target:  "bg";
25458             target:  "fg1";
25459             target:  "fg2";
25460          }
25461          program {
25462             name:    "go_passive";
25463             signal:  "elm,state,unselected";
25464             source:  "elm";
25465             action:  STATE_SET "default" 0.0;
25466             target:  "bg";
25467             target:  "fg1";
25468             target:  "fg2";
25469             transition: LINEAR 0.1;
25470          }
25471          program {
25472             name:    "go_disabled";
25473             signal:  "elm,state,disabled";
25474             source:  "elm";
25475             action:  STATE_SET "disabled" 0.0;
25476             target:  "disclip";
25477          }
25478          program {
25479             name:    "go_enabled";
25480             signal:  "elm,state,enabled";
25481             source:  "elm";
25482             action:  STATE_SET "default" 0.0;
25483             target:  "disclip";
25484          }
25485          program {
25486             name:    "slide_right";
25487             signal:  "elm,state,slide,active";
25488             source:  "elm";
25489             action:  STATE_SET "slide" 0.0;
25490             target:  "elm.swallow.origin";
25491             transition: ACCELERATE 0.5;
25492             after:   "unblock_event";
25493          }
25494          program {
25495             name:    "unblock_event";
25496             action:  STATE_SET "repeat_events" 0.0;
25497             target:  "event_block_layer";
25498          }
25499          program {
25500             name:    "slide_left";
25501             signal:  "elm,state,slide,passive";
25502             source:  "elm";
25503             action:  STATE_SET "default" 0.0;
25504             target:   "event_block_layer";
25505             after:   "slide_left2";
25506          }
25507          program {
25508             name:    "slide_left2";
25509             action:  STATE_SET "default" 0.0;
25510             target:  "elm.swallow.origin";
25511             transition: DECELERATE 0.5;
25512             after:   "slide_left_finished";
25513          }
25514          program {
25515             name:    "slide_left_finished";
25516             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25517          }
25518          program {
25519             name:    "rotate_on";
25520             signal:  "elm,state,rotate,active";
25521             source:  "elm";
25522             action:  STATE_SET "rotate" 0.0;
25523             target:  "elm.swallow.origin";
25524             after:   "rotate_on2";
25525          }
25526          program {
25527             name:    "rotate_on2";
25528             action:  STATE_SET "rotate" 1.0;
25529             target:  "elm.swallow.origin";
25530             transition: LINEAR 0.5;
25531             after:   "unblock_event";
25532          }
25533          program {
25534             name:    "rotate_off";
25535             signal:  "elm,state,rotate,passive";
25536             source:  "elm";
25537             action:  STATE_SET "default" 0.0;
25538             target:  "event_block_layer";
25539             after:   "rotate_off2";
25540          }
25541          program {
25542             name:    "rotate_off2";
25543             action:  STATE_SET "rotate" 0.0;
25544             transition: LINEAR 0.5;
25545             target:  "elm.swallow.origin";
25546             after:   "rotate_off3";
25547          }
25548          program {
25549             name:    "rotate_off3";
25550             action:  STATE_SET "default" 0.0;
25551             target:  "elm.swallow.origin";
25552             after:   "rotate_off_finished";
25553          }
25554          program {
25555             name:    "rotate_off_finished";
25556             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25557          }
25558       }
25559    }
25560
25561 ///////////////////////////////////////////////////////////////////////////////
25562    group { name: "elm/pager/base/default";
25563       data.item: "onshow" "raise";
25564 // other options
25565 //      data.item: "onhide" "lower";
25566 //      data.item: "onshow" "lower";
25567       images {
25568          image: "frame_1.png" COMP;
25569          image: "frame_2.png" COMP;
25570          image: "dia_grad.png" COMP;
25571       }
25572       parts {
25573          part { name: "clip";
25574             type: RECT;
25575             mouse_events: 0;
25576             description { state: "default" 0.0;
25577                rel1 {
25578                   to: "base";
25579                   offset: -9999 -9999;
25580                }
25581                rel2 {
25582                   to: "base";
25583                   offset: 9999 9999;
25584                }
25585                color: 255 255 255 255;
25586             }
25587             description { state: "visible" 0.0;
25588                inherit: "default" 0.0;
25589             }
25590             description { state: "hidden" 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: "visible" 0.0;
25629                inherit: "default" 0.0;
25630                rel1.relative: 0.0 0.0;
25631                rel2.relative: 1.0 1.0;
25632             }
25633          }
25634          part { name: "over";
25635             mouse_events:  0;
25636             clip_to: "clip";
25637             description { state:    "default" 0.0;
25638                rel1 {
25639                   to: "base";
25640                   offset: 4 4;
25641                }
25642                rel2 {
25643                   to: "base";
25644                   offset: -5 -5;
25645                }
25646                image {
25647                   normal: "frame_1.png";
25648                   border: 2 2 28 22;
25649                   middle: 0;
25650                }
25651                fill.smooth : 0;
25652             }
25653          }
25654          part { name: "elm.swallow.content";
25655             type: SWALLOW;
25656             clip_to: "clip";
25657             description { state: "default" 0.0;
25658                rel1 {
25659                   to: "base";
25660                   offset: 8 8;
25661                }
25662                rel2 {
25663                   to: "base";
25664                   offset: -9 -9;
25665                }
25666             }
25667          }
25668       }
25669       programs {
25670          program { name: "push_start";
25671             signal: "elm,action,push";
25672             source: "elm";
25673             action:  STATE_SET "hidden" 0.0;
25674             target: "base";
25675             target: "clip";
25676             after: "show_start2";
25677          }
25678          program { name: "show_start";
25679             signal: "elm,action,show";
25680             source: "elm";
25681             action:  STATE_SET "hidden" 0.0;
25682             target: "base";
25683             target: "clip";
25684             after: "show_start2";
25685          }
25686          program { name: "show_start2";
25687             action:  STATE_SET "visible" 0.0;
25688             transition: DECELERATE 0.5;
25689             target: "base";
25690             target: "clip";
25691             after: "show_end";
25692          }
25693          program { name: "show_end";
25694             action: SIGNAL_EMIT "elm,action,show,finished" "";
25695          }
25696          program { name: "pop_start";
25697             signal: "elm,action,pop";
25698             source: "elm";
25699             action:  STATE_SET "visible" 0.0;
25700             target: "base";
25701             target: "clip";
25702             after: "hide_start2";
25703          }
25704          program { name: "hide_start";
25705             signal: "elm,action,hide";
25706             source: "elm";
25707             action:  STATE_SET "visible" 0.0;
25708             target: "base";
25709             target: "clip";
25710             after: "hide_start2";
25711          }
25712          program { name: "hide_start2";
25713             action:  STATE_SET "hidden" 0.0;
25714             transition: DECELERATE 0.5;
25715             target: "base";
25716             target: "clip";
25717             after: "hide_end";
25718          }
25719          program { name: "hide_end";
25720             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25721          }
25722          program { name: "reset";
25723             signal: "elm,action,reset";
25724             source: "elm";
25725             action:  STATE_SET "default" 0.0;
25726             target: "base";
25727             target: "clip";
25728          }
25729       }
25730    }
25731
25732    group { name: "elm/pager/base/slide";
25733       images {
25734          image: "frame_1.png" COMP;
25735          image: "frame_2.png" COMP;
25736          image: "dia_grad.png" COMP;
25737       }
25738       parts {
25739          part { name: "clip";
25740             type: RECT;
25741             mouse_events: 0;
25742             description { state: "default" 0.0;
25743                rel1 {
25744                   to: "base";
25745                   offset: -9999 -9999;
25746                }
25747                rel2 {
25748                   to: "base";
25749                   offset: 9999 9999;
25750                }
25751                color: 255 255 255 255;
25752             }
25753             description { state: "visible" 0.0;
25754                inherit: "default" 0.0;
25755             }
25756             description { state: "hidden" 0.0;
25757                inherit: "default" 0.0;
25758                color: 255 255 255 0;
25759                visible: 0;
25760             }
25761             description { state: "hidden2" 0.0;
25762                inherit: "default" 0.0;
25763                color: 255 255 255 0;
25764                visible: 0;
25765             }
25766          }
25767          part { name: "base0";
25768             mouse_events:  0;
25769             clip_to: "clip";
25770             description { state: "default" 0.0;
25771                image.normal: "dia_grad.png";
25772                rel1.to: "over";
25773                rel2.to: "over";
25774                fill {
25775                   smooth: 0;
25776                   size {
25777                      relative: 0.0 1.0;
25778                      offset: 64 0;
25779                   }
25780                }
25781             }
25782          }
25783          part { name: "base";
25784             mouse_events:  0;
25785             clip_to: "clip";
25786             description { state: "default" 0.0;
25787                image {
25788                   normal: "frame_2.png";
25789                   border: 5 5 32 26;
25790                   middle: 0;
25791                }
25792                fill.smooth : 0;
25793             }
25794             description { state: "hidden" 0.0;
25795                inherit: "default" 0.0;
25796                rel1.relative: -1.0 0.0;
25797                rel2.relative: 0.0 1.0;
25798             }
25799             description { state: "hidden2" 0.0;
25800                inherit: "default" 0.0;
25801                rel1.relative: 1.0 0.0;
25802                rel2.relative: 2.0 1.0;
25803             }
25804             description { state: "visible" 0.0;
25805                inherit: "default" 0.0;
25806                rel1.relative: 0.0 0.0;
25807                rel2.relative: 1.0 1.0;
25808             }
25809          }
25810          part { name: "over";
25811             mouse_events:  0;
25812             clip_to: "clip";
25813             description { state:    "default" 0.0;
25814                rel1 {
25815                   to: "base";
25816                   offset: 4 4;
25817                }
25818                rel2 {
25819                   to: "base";
25820                   offset: -5 -5;
25821                }
25822                image {
25823                   normal: "frame_1.png";
25824                   border: 2 2 28 22;
25825                   middle: 0;
25826                }
25827                fill.smooth : 0;
25828             }
25829          }
25830          part { name: "elm.swallow.content";
25831             type: SWALLOW;
25832             clip_to: "clip";
25833             description { state: "default" 0.0;
25834                rel1 {
25835                   to: "base";
25836                   offset: 8 8;
25837                }
25838                rel2 {
25839                   to: "base";
25840                   offset: -9 -9;
25841                }
25842             }
25843          }
25844       }
25845       programs {
25846          program { name: "push_start";
25847             signal: "elm,action,push";
25848             source: "elm";
25849             action:  STATE_SET "hidden2" 0.0;
25850             target: "base";
25851             target: "clip";
25852             after: "show_start2";
25853          }
25854          program { name: "show_start";
25855             signal: "elm,action,show";
25856             source: "elm";
25857             action:  STATE_SET "hidden" 0.0;
25858             target: "base";
25859             target: "clip";
25860             after: "show_start2";
25861          }
25862          program { name: "show_start2";
25863             action:  STATE_SET "visible" 0.0;
25864             transition: DECELERATE 0.5;
25865             target: "base";
25866             target: "clip";
25867             after: "show_end";
25868          }
25869          program { name: "show_end";
25870             action: SIGNAL_EMIT "elm,action,show,finished" "";
25871          }
25872          program { name: "pop_start";
25873             signal: "elm,action,pop";
25874             source: "elm";
25875             action:  STATE_SET "visible" 0.0;
25876             target: "base";
25877             target: "clip";
25878             after: "pop_start2";
25879          }
25880          program { name: "pop_start2";
25881             action:  STATE_SET "hidden2" 0.0;
25882             transition: DECELERATE 0.5;
25883             target: "base";
25884             target: "clip";
25885             after: "hide_end";
25886          }
25887          program { name: "hide_start";
25888             signal: "elm,action,hide";
25889             source: "elm";
25890             action:  STATE_SET "visible" 0.0;
25891             target: "base";
25892             target: "clip";
25893             after: "hide_start2";
25894          }
25895          program { name: "hide_start2";
25896             action:  STATE_SET "hidden" 0.0;
25897             transition: DECELERATE 0.5;
25898             target: "base";
25899             target: "clip";
25900             after: "hide_end";
25901          }
25902          program { name: "hide_end";
25903             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25904          }
25905          program { name: "reset";
25906             signal: "elm,action,reset";
25907             source: "elm";
25908             action:  STATE_SET "default" 0.0;
25909             target: "base";
25910             target: "clip";
25911          }
25912       }
25913    }
25914    group { name: "elm/pager/base/slide_invisible";
25915       parts {
25916          part { name: "clip";
25917             type: RECT;
25918             mouse_events: 0;
25919             description { state: "default" 0.0;
25920                rel1 {
25921                   to: "base";
25922                   offset: -9999 -9999;
25923             }
25924                rel2 {
25925                   to: "base";
25926                   offset: 9999 9999;
25927                }
25928                color: 255 255 255 255;
25929             }
25930             description { state: "visible" 0.0;
25931                inherit: "default" 0.0;
25932             }
25933             description { state: "hidden" 0.0;
25934                inherit: "default" 0.0;
25935                color: 255 255 255 0;
25936                visible: 0;
25937             }
25938             description { state: "hidden2" 0.0;
25939                inherit: "default" 0.0;
25940                color: 255 255 255 0;
25941                visible: 0;
25942             }
25943          }
25944          part { name: "base";
25945             type: RECT;
25946             mouse_events:  0;
25947             clip_to: "clip";
25948             description { state: "default" 0.0;
25949                color: 0 0 0 0;
25950             }
25951             description { state: "hidden" 0.0;
25952                color: 0 0 0 0;
25953                rel1.relative: -1.0 0.0;
25954                rel2.relative: 0.0 1.0;
25955             }
25956             description { state: "hidden2" 0.0;
25957                color: 0 0 0 0;
25958                rel1.relative: 1.0 0.0;
25959                rel2.relative: 2.0 1.0;
25960             }
25961             description { state: "visible" 0.0;
25962                color: 0 0 0 0;
25963                rel1.relative: 0.0 0.0;
25964                rel2.relative: 1.0 1.0;
25965             }
25966          }
25967          part { name: "elm.swallow.content";
25968             type: SWALLOW;
25969             clip_to: "clip";
25970             description { state: "default" 0.0;
25971                rel1.to: "base";
25972                rel2.to: "base";
25973             }
25974          }
25975       }
25976       programs {
25977          program { name: "push_start";
25978             signal: "elm,action,push";
25979             source: "elm";
25980             action:  STATE_SET "hidden2" 0.0;
25981             target: "base";
25982             target: "clip";
25983             after: "show_start2";
25984          }
25985          program { name: "show_start";
25986             signal: "elm,action,show";
25987             source: "elm";
25988             action:  STATE_SET "hidden" 0.0;
25989             target: "base";
25990             target: "clip";
25991             after: "show_start2";
25992          }
25993          program { name: "show_start2";
25994             action:  STATE_SET "visible" 0.0;
25995             transition: DECELERATE 0.5;
25996             target: "base";
25997             target: "clip";
25998             after: "show_end";
25999          }
26000          program { name: "show_end";
26001             action: SIGNAL_EMIT "elm,action,show,finished" "";
26002          }
26003          program { name: "pop_start";
26004             signal: "elm,action,pop";
26005             source: "elm";
26006             action:  STATE_SET "visible" 0.0;
26007             target: "base";
26008             target: "clip";
26009             after: "pop_start2";
26010          }
26011          program { name: "pop_start2";
26012             action:  STATE_SET "hidden2" 0.0;
26013             transition: DECELERATE 0.5;
26014             target: "base";
26015             target: "clip";
26016             after: "hide_end";
26017          }
26018          program { name: "hide_start";
26019             signal: "elm,action,hide";
26020             source: "elm";
26021             action:  STATE_SET "visible" 0.0;
26022             target: "base";
26023             target: "clip";
26024             after: "hide_start2";
26025          }
26026          program { name: "hide_start2";
26027             action:  STATE_SET "hidden" 0.0;
26028             transition: DECELERATE 0.5;
26029             target: "base";
26030             target: "clip";
26031             after: "hide_end";
26032          }
26033          program { name: "hide_end";
26034             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26035          }
26036          program { name: "reset";
26037             signal: "elm,action,reset";
26038             source: "elm";
26039             action:  STATE_SET "default" 0.0;
26040             target: "base";
26041             target: "clip";
26042          }
26043       }
26044    }
26045
26046    group { name: "elm/pager/base/fade";
26047        data.item: "onshow" "raise";
26048        // other options
26049        //      data.item: "onhide" "lower";
26050        //      data.item: "onshow" "lower";
26051        images {
26052            image: "frame_1.png" COMP;
26053            image: "frame_2.png" COMP;
26054            image: "dia_grad.png" COMP;
26055        }
26056        parts {
26057            part { name: "clip_base";
26058                type: RECT;
26059                mouse_events: 0;
26060                description { state: "default" 0.0;
26061                    rel1 {
26062                        to: "base";
26063                        offset: -9999 -9999;
26064                    }
26065                    rel2 {
26066                        to: "base";
26067                        offset: 9999 9999;
26068                    }
26069                    color: 255 255 255 120;
26070                }
26071                description { state: "visible" 0.0;
26072                    inherit: "default" 0.0;
26073                }
26074                description { state: "hidden" 0.0;
26075                    inherit: "default" 0.0;
26076                    color: 255 255 255 0;
26077                    visible: 0;
26078                }
26079            }
26080            part { name: "clip";
26081                type: RECT;
26082                mouse_events: 0;
26083                description { state: "default" 0.0;
26084                    rel1 {
26085                        to: "base";
26086                        offset: -9999 -9999;
26087                    }
26088                    rel2 {
26089                        to: "base";
26090                        offset: 9999 9999;
26091                    }
26092                    color: 255 255 255 255;
26093                }
26094                description { state: "visible" 0.0;
26095                    inherit: "default" 0.0;
26096                }
26097                description { state: "hidden" 0.0;
26098                    inherit: "default" 0.0;
26099                    color: 255 255 255 0;
26100                    visible: 0;
26101                }
26102            }
26103            part { name: "base0";
26104                mouse_events:  0;
26105                clip_to: "clip_base";
26106                description { state: "default" 0.0;
26107                    image.normal: "dia_grad.png";
26108                    rel1.to: "over";
26109                    rel2.to: "over";
26110                    fill {
26111                        smooth: 0;
26112                        size {
26113                            relative: 0.0 1.0;
26114                            offset: 64 0;
26115                        }
26116                    }
26117                }
26118            }
26119            part { name: "base";
26120                mouse_events:  0;
26121                clip_to: "clip_base";
26122                description { state: "default" 0.0;
26123                    image {
26124                        normal: "frame_2.png";
26125                        border: 5 5 32 26;
26126                        middle: 0;
26127                    }
26128                    fill.smooth : 0;
26129                }
26130            }
26131            part { name: "over";
26132                mouse_events:  0;
26133                clip_to: "clip";
26134                description { state:    "default" 0.0;
26135                    rel1 {
26136                        to: "base";
26137                        offset: 4 4;
26138                    }
26139                    rel2 {
26140                        to: "base";
26141                        offset: -5 -5;
26142                    }
26143                    image {
26144                        normal: "frame_1.png";
26145                        border: 2 2 28 22;
26146                        middle: 0;
26147                    }
26148                    fill.smooth : 0;
26149                }
26150            }
26151            part { name: "elm.swallow.content";
26152                type: SWALLOW;
26153                clip_to: "clip";
26154                description { state: "default" 0.0;
26155                    rel1 {
26156                        to: "base";
26157                        offset: 8 8;
26158                    }
26159                    rel2 {
26160                        to: "base";
26161                        offset: -9 -9;
26162                    }
26163                }
26164            }
26165        }
26166        programs {
26167            program { name: "push_start";
26168                signal: "elm,action,push";
26169                source: "elm";
26170                action:  STATE_SET "hidden" 0.0;
26171                target: "clip";
26172                target: "clip_base";
26173                after: "show_start2";
26174            }
26175            program { name: "show_start";
26176                signal: "elm,action,show";
26177                source: "elm";
26178                action:  STATE_SET "hidden" 0.0;
26179                target: "clip";
26180                target: "clip_base";
26181                after: "show_start2";
26182            }
26183            program { name: "show_start2";
26184                action:  STATE_SET "visible" 0.0;
26185                transition: DECELERATE 0.5;
26186                target: "clip";
26187                target: "clip_base";
26188                after: "show_end";
26189            }
26190            program { name: "show_end";
26191                action: SIGNAL_EMIT "elm,action,show,finished" "";
26192            }
26193            program { name: "pop_start";
26194                signal: "elm,action,pop";
26195                source: "elm";
26196                action:  STATE_SET "visible" 0.0;
26197                target: "clip";
26198                target: "clip_base";
26199                after: "hide_start2";
26200            }
26201            program { name: "hide_start";
26202                signal: "elm,action,hide";
26203                source: "elm";
26204                action:  STATE_SET "visible" 0.0;
26205                target: "clip";
26206                target: "clip_base";
26207                after: "hide_start2";
26208            }
26209            program { name: "hide_start2";
26210                action:  STATE_SET "hidden" 0.0;
26211                transition: DECELERATE 0.5;
26212                target: "clip";
26213                target: "clip_base";
26214                after: "hide_end";
26215            }
26216            program { name: "hide_end";
26217                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26218            }
26219            program { name: "reset";
26220                signal: "elm,action,reset";
26221                source: "elm";
26222                action:  STATE_SET "default" 0.0;
26223                target: "clip_base";
26224                target: "clip";
26225            }
26226        }
26227    }
26228    group { name: "elm/pager/base/fade_translucide";
26229        data.item: "onshow" "raise";
26230        // other options
26231        //      data.item: "onhide" "lower";
26232        //      data.item: "onshow" "lower";
26233        images {
26234            image: "frame_1.png" COMP;
26235            image: "frame_2.png" COMP;
26236            image: "dia_grad.png" COMP;
26237        }
26238        parts {
26239            part { name: "clip_base";
26240                type: RECT;
26241                mouse_events: 0;
26242                description { state: "default" 0.0;
26243                    rel1 {
26244                        to: "base";
26245                        offset: -9999 -9999;
26246                    }
26247                    rel2 {
26248                        to: "base";
26249                        offset: 9999 9999;
26250                    }
26251                    color: 255 255 255 120;
26252                }
26253                description { state: "visible" 0.0;
26254                    inherit: "default" 0.0;
26255                }
26256                description { state: "hidden" 0.0;
26257                    inherit: "default" 0.0;
26258                    color: 255 255 255 0;
26259                    visible: 0;
26260                }
26261            }
26262            part { name: "clip";
26263                type: RECT;
26264                mouse_events: 0;
26265                description { state: "default" 0.0;
26266                    rel1 {
26267                        to: "base";
26268                        offset: -9999 -9999;
26269                    }
26270                    rel2 {
26271                        to: "base";
26272                        offset: 9999 9999;
26273                    }
26274                    color: 255 255 255 255;
26275                }
26276                description { state: "visible" 0.0;
26277                    inherit: "default" 0.0;
26278                }
26279                description { state: "hidden" 0.0;
26280                    inherit: "default" 0.0;
26281                    color: 255 255 255 0;
26282                    visible: 0;
26283                }
26284            }
26285            part { name: "base0";
26286                mouse_events:  0;
26287                clip_to: "clip_base";
26288                description { state: "default" 0.0;
26289                    image.normal: "dia_grad.png";
26290                    rel1.to: "over";
26291                    rel2.to: "over";
26292                    fill {
26293                        smooth: 0;
26294                        size {
26295                            relative: 0.0 1.0;
26296                            offset: 64 0;
26297                        }
26298                    }
26299                }
26300            }
26301            part { name: "base";
26302                mouse_events:  0;
26303                clip_to: "clip_base";
26304                description { state: "default" 0.0;
26305                    image {
26306                        normal: "frame_2.png";
26307                        border: 5 5 32 26;
26308                        middle: 0;
26309                    }
26310                    fill.smooth : 0;
26311                }
26312            }
26313            part { name: "over";
26314                mouse_events:  0;
26315                clip_to: "clip";
26316                description { state:    "default" 0.0;
26317                    rel1 {
26318                        to: "base";
26319                        offset: 4 4;
26320                    }
26321                    rel2 {
26322                        to: "base";
26323                        offset: -5 -5;
26324                    }
26325                    image {
26326                        normal: "frame_1.png";
26327                        border: 2 2 28 22;
26328                        middle: 0;
26329                    }
26330                    fill.smooth : 0;
26331                }
26332            }
26333            part { name: "elm.swallow.content";
26334                type: SWALLOW;
26335                clip_to: "clip";
26336                description { state: "default" 0.0;
26337                    rel1 {
26338                        to: "base";
26339                        offset: 8 8;
26340                    }
26341                    rel2 {
26342                        to: "base";
26343                        offset: -9 -9;
26344                    }
26345                }
26346            }
26347        }
26348        programs {
26349            program { name: "push_start";
26350                signal: "elm,action,push";
26351                source: "elm";
26352                action:  STATE_SET "hidden" 0.0;
26353                target: "clip";
26354                target: "clip_base";
26355                after: "show_start2";
26356            }
26357            program { name: "show_start";
26358                signal: "elm,action,show";
26359                source: "elm";
26360                action:  STATE_SET "hidden" 0.0;
26361                target: "clip";
26362                target: "clip_base";
26363                after: "show_start2";
26364            }
26365            program { name: "show_start2";
26366                action:  STATE_SET "visible" 0.0;
26367                transition: DECELERATE 0.5;
26368                target: "clip";
26369                target: "clip_base";
26370                after: "show_end";
26371            }
26372            program { name: "show_end";
26373                action: SIGNAL_EMIT "elm,action,show,finished" "";
26374            }
26375            program { name: "pop_start";
26376                signal: "elm,action,pop";
26377                source: "elm";
26378                action:  STATE_SET "visible" 0.0;
26379                target: "clip";
26380                target: "clip_base";
26381                after: "hide_start2";
26382            }
26383            program { name: "hide_start";
26384                signal: "elm,action,hide";
26385                source: "elm";
26386                action:  STATE_SET "visible" 0.0;
26387                target: "clip";
26388                target: "clip_base";
26389                after: "hide_start2";
26390            }
26391            program { name: "hide_start2";
26392                action:  STATE_SET "hidden" 0.0;
26393                transition: DECELERATE 0.5;
26394                target: "clip";
26395                target: "clip_base";
26396                after: "hide_end";
26397            }
26398            program { name: "hide_end";
26399                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26400            }
26401            program { name: "reset";
26402                signal: "elm,action,reset";
26403                source: "elm";
26404                action:  STATE_SET "default" 0.0;
26405                target: "clip_base";
26406                target: "clip";
26407            }
26408        }
26409    }
26410    group { name: "elm/pager/base/fade_invisible";
26411        data.item: "onshow" "raise";
26412        // other options
26413        //      data.item: "onhide" "lower";
26414        //      data.item: "onshow" "lower";
26415        parts {
26416            part { name: "clip";
26417                type: RECT;
26418                mouse_events: 0;
26419                description { state: "default" 0.0;
26420                    rel1 {
26421                        offset: -9999 -9999;
26422                    }
26423                    rel2 {
26424                        offset: 9999 9999;
26425                    }
26426                    color: 255 255 255 255;
26427                }
26428                description { state: "visible" 0.0;
26429                    inherit: "default" 0.0;
26430                }
26431                description { state: "hidden" 0.0;
26432                    inherit: "default" 0.0;
26433                    color: 255 255 255 0;
26434                    visible: 0;
26435                }
26436            }
26437            part { name: "elm.swallow.content";
26438                type: SWALLOW;
26439                clip_to: "clip";
26440                description { state: "default" 0.0;
26441                    rel1 {
26442                        offset: 8 8;
26443                    }
26444                    rel2 {
26445                        offset: -9 -9;
26446                    }
26447                }
26448            }
26449        }
26450        programs {
26451            program { name: "push_start";
26452                signal: "elm,action,push";
26453                source: "elm";
26454                action:  STATE_SET "hidden" 0.0;
26455                target: "clip";
26456                after: "show_start2";
26457            }
26458            program { name: "show_start";
26459                signal: "elm,action,show";
26460                source: "elm";
26461                action:  STATE_SET "hidden" 0.0;
26462                target: "clip";
26463                after: "show_start2";
26464            }
26465            program { name: "show_start2";
26466                action:  STATE_SET "visible" 0.0;
26467                transition: DECELERATE 0.5;
26468                target: "clip";
26469                after: "show_end";
26470            }
26471            program { name: "show_end";
26472                action: SIGNAL_EMIT "elm,action,show,finished" "";
26473            }
26474            program { name: "pop_start";
26475                signal: "elm,action,pop";
26476                source: "elm";
26477                action:  STATE_SET "visible" 0.0;
26478                target: "clip";
26479                after: "hide_start2";
26480            }
26481            program { name: "hide_start";
26482                signal: "elm,action,hide";
26483                source: "elm";
26484                action:  STATE_SET "visible" 0.0;
26485                target: "clip";
26486                after: "hide_start2";
26487            }
26488            program { name: "hide_start2";
26489                action:  STATE_SET "hidden" 0.0;
26490                transition: DECELERATE 0.5;
26491                target: "clip";
26492                after: "hide_end";
26493            }
26494            program { name: "hide_end";
26495                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26496            }
26497            program { name: "reset";
26498                signal: "elm,action,reset";
26499                source: "elm";
26500                action:  STATE_SET "default" 0.0;
26501                target: "clip";
26502            }
26503        }
26504    }
26505
26506    group { name: "elm/pager/base/flip";
26507       data.item: "onshow" "raise";
26508       images {
26509          image: "frame_1.png" COMP;
26510          image: "frame_2.png" COMP;
26511          image: "dia_grad.png" COMP;
26512       }
26513       parts {
26514          part { name: "elm.swallow.content";
26515             type: SWALLOW;
26516             description { state: "default" 0.0;
26517                map {
26518                   on: 1;
26519                   smooth: 1;
26520                   backface_cull: 1;
26521                   perspective_on: 1;
26522                }
26523                perspective {
26524                   zplane: 0;
26525                   focal: 1000;
26526                }
26527             }
26528             description { state: "hidden" 0.0;
26529                inherit: "default" 0.0;
26530                visible: 0;
26531                map.rotation.y: 90.0;
26532             }
26533             description { state: "before_hidden" 0.0;
26534                inherit: "default" 0.0;
26535                visible: 0;
26536                map.rotation.y: -90.0;
26537             }
26538          }
26539       }
26540       programs {
26541          program { name: "push_start";
26542             signal: "elm,action,push";
26543             source: "elm";
26544             after: "push1";
26545          }
26546          program { name: "push1";
26547             action:  STATE_SET "hidden" 0.0;
26548             target: "elm.swallow.content";
26549             after: "push2";
26550          }
26551          program { name: "push2";
26552             action:  STATE_SET "default" 0.0;
26553             in: 0.5 0.0;
26554             transition: LINEAR 0.5;
26555             target: "elm.swallow.content";
26556             after: "push3";
26557          }
26558          program { name: "push3";
26559             action: SIGNAL_EMIT "elm,action,show,finished" "";
26560          }
26561
26562          program { name: "show_start";
26563             signal: "elm,action,show";
26564             source: "elm";
26565             after: "show1";
26566          }
26567          program { name: "show1";
26568             action:  STATE_SET "before_hidden" 0.0;
26569             target: "elm.swallow.content";
26570             after: "show2";
26571          }
26572          program { name: "show2";
26573             action:  STATE_SET "default" 0.0;
26574             in: 0.5 0.0;
26575             transition: LINEAR 0.5;
26576             target: "elm.swallow.content";
26577             after: "show3";
26578          }
26579          program { name: "show3";
26580             action: SIGNAL_EMIT "elm,action,show,finished" "";
26581          }
26582
26583          program { name: "pop_start";
26584             signal: "elm,action,pop";
26585             source: "elm";
26586             after: "pop1";
26587          }
26588          program { name: "pop1";
26589             action:  STATE_SET "default" 0.0;
26590             target: "elm.swallow.content";
26591             after: "pop2";
26592          }
26593          program { name: "pop2";
26594             action:  STATE_SET "hidden" 0.0;
26595             transition: LINEAR 0.5;
26596             target: "elm.swallow.content";
26597             after: "pop3";
26598          }
26599          program { name: "pop3";
26600             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26601          }
26602
26603          program { name: "hide_start";
26604             signal: "elm,action,hide";
26605             source: "elm";
26606             after: "hide1";
26607          }
26608          program { name: "hide1";
26609             action:  STATE_SET "default" 0.0;
26610             target: "elm.swallow.content";
26611             after: "hide2";
26612          }
26613          program { name: "hide2";
26614             action:  STATE_SET "before_hidden" 0.0;
26615             transition: LINEAR 0.5;
26616             target: "elm.swallow.content";
26617             after: "hide3";
26618          }
26619          program { name: "hide3";
26620             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26621          }
26622
26623          program { name: "reset";
26624             signal: "elm,action,reset";
26625             source: "elm";
26626             action:  STATE_SET "default" 0.0;
26627             target: "elm.swallow.content";
26628          }
26629       }
26630    }
26631
26632
26633
26634 ///////////////////////////////////////////////////////////////////////////////
26635 // FIXME: this doesn't look too hot. need to fix it up
26636    group { name: "elm/progressbar/horizontal/default";
26637       images {
26638          image: "shelf_inset.png" COMP;
26639          image: "bt_sm_base2.png" COMP;
26640          image: "bt_sm_hilight.png" COMP;
26641          image: "bt_sm_shine.png" COMP;
26642       }
26643       parts {
26644          part { name: "elm.background.progressbar";
26645             mouse_events: 0;
26646             description {
26647                state: "default" 0.0;
26648                rel1 {
26649                   relative: 0.0 0.0;
26650                   offset: 0 0;
26651                }
26652                rel2 {
26653                   relative: 1.0 1.0;
26654                }
26655             }
26656          }
26657          part { name: "elm.swallow.bar";
26658             mouse_events: 0;
26659             type: SWALLOW;
26660             description {
26661                min: 48 28;
26662                max: 99999 28;
26663                state: "default" 0.0;
26664                rel1 {
26665                   to_x: "elm.text";
26666                   to_y: "elm.background.progressbar";
26667                   relative: 1.0 0.0;
26668                }
26669                rel2 {
26670                   to: "elm.background.progressbar";
26671                   relative: 1.0 1.0;
26672                }
26673             }
26674          }
26675          part { name: "elm.swallow.content";
26676             type: SWALLOW;
26677             description { state: "default" 0.0;
26678                visible: 0;
26679                align: 0.0 0.5;
26680                rel1 {
26681                   offset: 4 0;
26682                   to_y: "elm.background.progressbar";
26683                }
26684                rel2 {
26685                   offset: 3 -1;
26686                   relative: 0.0 1.0;
26687                   to_y: "elm.background.progressbar";
26688                }
26689             }
26690             description { state: "visible" 0.0;
26691                inherit: "default" 0.0;
26692                visible: 1;
26693                aspect: 1.0 1.0;
26694                aspect_preference: VERTICAL;
26695                rel2.offset: 4 -1;
26696             }
26697          }
26698          part { name: "elm.text";
26699             type: TEXT;
26700             mouse_events: 0;
26701             scale: 1;
26702             description { state: "default" 0.0;
26703                visible: 0;
26704                fixed: 1 1;
26705                align: 0.0 0.5;
26706                rel1.to_x: "elm.swallow.content";
26707                rel1.relative: 1.0 0.0;
26708                rel1.offset: -1 4;
26709                rel2.to_x: "elm.swallow.content";
26710                rel2.relative: 1.0 1.0;
26711                rel2.offset: -1 -5;
26712                color: 0 0 0 255;
26713                text {
26714                   font: "Sans,Edje-Vera";
26715                   size: 10;
26716                   min: 0 0;
26717                   align: 0.0 0.5;
26718                }
26719             }
26720             description { state: "visible" 0.0;
26721                inherit: "default" 0.0;
26722                visible: 1;
26723                text.min: 1 1;
26724                rel1.offset: 0 4;
26725                rel2.offset: 0 -5;
26726             }
26727          }
26728
26729          part { name: "background";
26730             mouse_events: 0;
26731             clip_to: "elm.background.progressbar";
26732             description {
26733                state: "default" 0.0;
26734                rel1 {
26735                   to: "elm.swallow.bar";
26736                   relative: 0.0 0.0;
26737                }
26738                rel2 {
26739                   to: "elm.swallow.bar";
26740                   relative: 1.0 1.0;
26741                   offset: -1 -1;
26742                }
26743                image {
26744                   normal: "shelf_inset.png";
26745                   border: 7 7 7 7;
26746                }
26747             }
26748          }
26749
26750          part { name: "elm.text.status";
26751             type: TEXT;
26752             mouse_events: 0;
26753             description { state: "default" 0.0;
26754                fixed: 1 1;
26755                visible: 1;
26756                rel1 {
26757                   to: "background";
26758                   relative: 0.5 0.5;
26759                }
26760                rel2 {
26761                   to: "background";
26762                   relative: 0.5 0.5;
26763                }
26764                text {
26765                   font: "Sans:style=Bold,Edje-Vera-Bold";
26766                   size: 10;
26767                   min: 1 1;
26768                   align: 0.5 0.0;
26769                }
26770                color: 0 0 0 255;
26771             }
26772             description { state: "hidden" 0.0;
26773                inherit: "default" 0.0;
26774                visible: 0;
26775                text.min: 0 0;
26776             }
26777          }
26778
26779          part { name: "elm.progress.progressbar";
26780             mouse_events: 0;
26781             clip_to: "elm.background.progressbar";
26782             description {
26783                state: "default" 0.0;
26784                min: 14 28;
26785                fixed: 1 1;
26786                rel1 {
26787                   to: "elm.swallow.bar";
26788                   relative: 0.0 0.0;
26789                }
26790                rel2 {
26791                   to_y: "elm.swallow.bar";
26792                   to_x: "elm.cur.progressbar";
26793                   offset: -1 -1;
26794                }
26795                image {
26796                   normal: "bt_sm_base2.png";
26797                   border: 6 6 6 6;
26798                }
26799             }
26800             description {
26801                state: "invert" 0.0;
26802                inherit: "default" 0.0;
26803                rel1 {
26804                   to_y: "elm.swallow.bar";
26805                   to_x: "elm.cur.progressbar";
26806                }
26807                rel2 {
26808                   to: "elm.swallow.bar";
26809                   relative: 1.0 1.0;
26810                }
26811             }
26812             description {
26813                state: "state_begin" 0.0;
26814                inherit: "default" 0.0;
26815                rel1 {
26816                   to: "elm.swallow.bar";
26817                   relative: 0.0 0.0;
26818                }
26819                rel2 {
26820                   to: "elm.swallow.bar";
26821                   relative: 0.1 1.0;
26822                }
26823             }
26824             description {
26825                state: "state_end" 0.0;
26826                inherit: "default" 0.0;
26827                rel1 {
26828                   to: "elm.swallow.bar";
26829                   relative: 0.9 0.0;
26830                }
26831                rel2 {
26832                   to: "elm.swallow.bar";
26833                   relative: 1.0 1.0;
26834                }
26835             }
26836          }
26837          part { name: "text-bar";
26838             type: TEXT;
26839             mouse_events: 0;
26840             clip_to: "progress-rect";
26841             effect: SOFT_SHADOW;
26842             scale: 1;
26843             description { state: "default" 0.0;
26844                align: 0.0 0.0;
26845                fixed: 1 1;
26846                visible: 1;
26847                rel1.to: "elm.text.status";
26848                rel1.offset: -1 -1;
26849                rel2.to: "elm.text.status";
26850                text {
26851                   text_source: "elm.text.status";
26852                   font: "Sans:style=Bold,Edje-Vera-Bold";
26853                   size: 10;
26854                   min: 1 1;
26855                   align: 0.0 0.0;
26856                }
26857                color: 224 224 224 255;
26858                color3: 0 0 0 64;
26859             }
26860             description { state: "hidden" 0.0;
26861                inherit: "default" 0.0;
26862                visible: 0;
26863                text.min: 0 0;
26864             }
26865          }
26866
26867          part { name: "over1";
26868             mouse_events: 0;
26869             description { state: "default" 0.0;
26870                rel1.to: "elm.progress.progressbar";
26871                rel2.to: "elm.progress.progressbar";
26872                rel2.relative: 1.0 0.5;
26873                image {
26874                   normal: "bt_sm_hilight.png";
26875                   border: 6 6 6 0;
26876                }
26877             }
26878          }
26879
26880          part { name: "over2";
26881             mouse_events: 1;
26882             repeat_events: 1;
26883             description { state: "default" 0.0;
26884                rel1.to: "elm.progress.progressbar";
26885                rel2.to: "elm.progress.progressbar";
26886                image {
26887                   normal: "bt_sm_shine.png";
26888                   border: 6 6 6 0;
26889                }
26890             }
26891          }
26892
26893          part { name: "elm.cur.progressbar";
26894             mouse_events: 0;
26895             dragable {
26896                confine: "background";
26897                x: 1 1 1;
26898                y: 0 0 0;
26899             }
26900             description { state: "default" 0.0;
26901                min: 14 28;
26902                fixed: 1 1;
26903                visible: 0;
26904                rel1 {
26905                   to: "background";
26906                   relative: 0 0;
26907                }
26908                rel2.to: "background";
26909            }
26910          }
26911          part { name: "progress-rect";
26912             mouse_events: 0;
26913             description {
26914                state: "default" 0.0;
26915                rel1.to: "elm.progress.progressbar";
26916                rel2.to: "elm.progress.progressbar";
26917             }
26918          }
26919       }
26920       programs {
26921          program { name: "label_show";
26922             signal: "elm,state,text,visible";
26923             source: "elm";
26924             action:  STATE_SET "visible" 0.0;
26925             target: "elm.text";
26926          }
26927          program { name: "label_hide";
26928             signal: "elm,state,text,hidden";
26929             source: "elm";
26930             action:  STATE_SET "default" 0.0;
26931             target: "elm.text";
26932          }
26933          program { name: "icon_show";
26934             signal: "elm,state,icon,visible";
26935             source: "elm";
26936             action:  STATE_SET "visible" 0.0;
26937             target: "elm.swallow.content";
26938          }
26939          program { name: "icon_hide";
26940             signal: "elm,state,icon,hidden";
26941             source: "elm";
26942             action:  STATE_SET "default" 0.0;
26943             target: "elm.swallow.content";
26944          }
26945          program { name: "units_show";
26946             signal: "elm,state,units,visible";
26947             source: "elm";
26948             action:  STATE_SET "default" 0.0;
26949             target: "text-bar";
26950             target: "elm.text.status";
26951          }
26952          program { name: "units_hide";
26953             signal: "elm,state,units,hidden";
26954             source: "elm";
26955             action:  STATE_SET "hidden" 0.0;
26956             target: "text-bar";
26957             target: "elm.text.status";
26958          }
26959          program { name: "slide_to_end";
26960             action:  STATE_SET "state_end" 0.0;
26961             transition: LINEAR 0.5;
26962             target: "elm.progress.progressbar";
26963             after: "slide_to_begin";
26964          }
26965          program { name: "slide_to_begin";
26966             signal: "elm,state,slide,begin";
26967             action: STATE_SET "state_begin" 0.0;
26968             target: "elm.progress.progressbar";
26969             transition: LINEAR 0.5;
26970             after: "slide_to_end";
26971          }
26972          program { name: "start_pulse";
26973             signal: "elm,state,pulse,start";
26974             source: "elm";
26975             after: "slide_to_end";
26976          }
26977          program { name: "stop_pulse";
26978             signal: "elm,state,pulse,stop";
26979             source: "elm";
26980             action: ACTION_STOP;
26981             target: "slide_to_begin";
26982             target: "slide_to_end";
26983             target: "start_pulse";
26984             after: "state_pulse";
26985          }
26986          program { name: "state_pulse";
26987             signal: "elm,state,pulse";
26988             source: "elm";
26989             action: STATE_SET "state_begin" 0.0;
26990             target: "elm.progress.progressbar";
26991             after: "units_hide";
26992          }
26993          program { name: "state_fraction";
26994             signal: "elm,state,fraction";
26995             source: "elm";
26996             action: ACTION_STOP;
26997             target: "slide_to_begin";
26998             target: "slide_to_end";
26999             target: "start_pulse";
27000             action: STATE_SET "default" 0.0;
27001             target: "elm.progress.progressbar";
27002          }
27003          program { name: "set_invert_on";
27004             signal: "elm,state,inverted,on";
27005             source: "elm";
27006             action:  STATE_SET "invert" 0.0;
27007             target: "elm.progress.progressbar";
27008          }
27009          program { name: "set_invert_off";
27010             signal: "elm,state,inverted,off";
27011             source: "elm";
27012             action:  STATE_SET "default" 0.0;
27013             target: "elm.progress.progressbar";
27014          }
27015       }
27016    }
27017
27018 ///////////////////////////////////////////////////////////////////////////////
27019    group { name: "elm/progressbar/vertical/default";
27020       images {
27021          image: "shelf_inset.png" COMP;
27022          image: "bt_sm_base2.png" COMP;
27023          image: "bt_sm_hilight.png" COMP;
27024          image: "bt_sm_shine.png" COMP;
27025       }
27026       parts {
27027          part { name: "elm.background.progressbar";
27028             type: RECT;
27029             mouse_events: 0;
27030             description {
27031                state: "default" 0.0;
27032                rel1 {
27033                   relative: 0.0 0.0;
27034                   offset: 0 0;
27035                }
27036                rel2 {
27037                   relative: 1.0 1.0;
27038                   offset: -1 -1;
27039                }
27040             }
27041          }
27042          part { name: "elm.swallow.bar";
27043             type: SWALLOW;
27044             scale: 1;
27045             description { state: "default" 0.0;
27046                min: 28 48;
27047                max: 28 9999;
27048                align: 0.5 1.0;
27049                rel1 {
27050                   to_y: "elm.text";
27051                   relative: 0.0 1.0;
27052                   offset: 0 2;
27053                }
27054                rel2 {
27055                   to_y: "elm.text.box";
27056                   relative: 1.0 0.0;
27057                   offset: -1 -3;
27058                }
27059             }
27060          }
27061          part { name: "elm.swallow.content";
27062             type: SWALLOW;
27063             description { state: "default" 0.0;
27064                visible: 0;
27065                align: 0.5 0.0;
27066                rel1 {
27067                   offset: 0 4;
27068                   to_x: "elm.swallow.bar";
27069                }
27070                rel2 {
27071                   offset: -1 3;
27072                   relative: 1.0 0.0;
27073                   to_x: "elm.swallow.bar";
27074                }
27075             }
27076             description { state: "visible" 0.0;
27077                inherit: "default" 0.0;
27078                visible: 1;
27079                aspect: 1.0 1.0;
27080                aspect_preference: HORIZONTAL;
27081                rel2.offset: -1 4;
27082             }
27083          }
27084          part { name: "elm.text";
27085             type: TEXT;
27086             mouse_events: 0;
27087             scale: 1;
27088             description { state: "default" 0.0;
27089                visible: 0;
27090                fixed: 1 1;
27091                align: 0.5 0.0;
27092                rel1.to_y: "elm.swallow.content";
27093                rel1.relative: 0.5 1.0;
27094                rel1.offset: 0 -1;
27095                rel2.to_y: "elm.swallow.content";
27096                rel2.relative: 0.5 1.0;
27097                rel2.offset: -1 -1;
27098                color: 0 0 0 255;
27099                text {
27100                   font: "Sans,Edje-Vera";
27101                   size: 10;
27102                   min: 0 0;
27103                   align: 0.5 0.0;
27104                }
27105             }
27106             description { state: "visible" 0.0;
27107                inherit: "default" 0.0;
27108                visible: 1;
27109                text.min: 1 1;
27110                rel1.offset: 4 0;
27111                rel2.offset: -5 0;
27112             }
27113          }
27114
27115          part { name: "background";
27116             mouse_events: 0;
27117             clip_to: "elm.background.progressbar";
27118             description {
27119                state: "default" 0.0;
27120                rel1 {
27121                   to: "elm.swallow.bar";
27122                   relative: 0.0 0.0;
27123                }
27124                rel2 {
27125                   to: "elm.swallow.bar";
27126                   relative: 1.0 1.0;
27127                   offset: -1 -1;
27128                }
27129                image {
27130                   normal: "shelf_inset.png";
27131                   border: 7 7 7 7;
27132                }
27133             }
27134          }
27135
27136          part { name: "elm.progress.progressbar";
27137             mouse_events: 0;
27138             clip_to: "elm.background.progressbar";
27139             description {
27140                state: "default" 0.0;
27141                min: 28 14;
27142                fixed: 1 1;
27143                rel1 {
27144                   to: "elm.swallow.bar";
27145                   relative: 0.0 0.0;
27146                }
27147                rel2 {
27148                   to_x: "elm.swallow.bar";
27149                   to_y: "elm.cur.progressbar";
27150                   offset: -1 -1;
27151                }
27152                image {
27153                   normal: "bt_sm_base2.png";
27154                   border: 6 6 6 6;
27155                }
27156             }
27157             description {
27158                state: "invert" 0.0;
27159                inherit: "default" 0.0;
27160                rel1 {
27161                   to_x: "elm.swallow.bar";
27162                   to_y: "elm.cur.progressbar";
27163                }
27164                rel2 {
27165                   to: "elm.swallow.bar";
27166                   relative: 1.0 1.0;
27167                }
27168             }
27169             description {
27170                state: "state_begin" 0.0;
27171                inherit: "default" 0.0;
27172                rel1 {
27173                   to: "elm.swallow.bar";
27174                   relative: 0.0 0.0;
27175                }
27176                rel2 {
27177                   to: "elm.swallow.bar";
27178                   relative: 1.0 0.1;
27179                }
27180             }
27181             description {
27182                state: "state_end" 0.0;
27183                inherit: "default" 0.0;
27184                rel1 {
27185                   to: "elm.swallow.bar";
27186                   relative: 0.0 0.9;
27187                }
27188                rel2 {
27189                   to: "elm.swallow.bar";
27190                   relative: 1.0 1.0;
27191                }
27192             }
27193          }
27194
27195          part { name: "over1";
27196             mouse_events: 0;
27197             description { state: "default" 0.0;
27198                rel1.to: "elm.progress.progressbar";
27199                rel2.to: "elm.progress.progressbar";
27200                rel2.relative: 1.0 0.5;
27201                image {
27202                   normal: "bt_sm_hilight.png";
27203                   border: 6 6 6 0;
27204                }
27205             }
27206          }
27207
27208          part { name: "over2";
27209             mouse_events: 1;
27210             repeat_events: 1;
27211             description { state: "default" 0.0;
27212                rel1.to: "elm.progress.progressbar";
27213                rel2.to: "elm.progress.progressbar";
27214                image {
27215                   normal: "bt_sm_shine.png";
27216                   border: 6 6 6 0;
27217                }
27218             }
27219          }
27220
27221          part { name: "elm.cur.progressbar";
27222             mouse_events: 0;
27223             dragable {
27224                confine: "background";
27225                x: 0 0 0;
27226                y: 1 1 1;
27227             }
27228             description { state: "default" 0.0;
27229                min: 28 14;
27230                fixed: 1 1;
27231                visible: 0;
27232                rel1 {
27233                   to: "background";
27234                   relative: 0 0;
27235                }
27236                rel2.to: "background";
27237            }
27238          }
27239
27240          part { name: "elm.text.box";
27241             mouse_events: 0;
27242             type: RECT;
27243             description { state: "default" 0.0;
27244                visible: 0;
27245                rel1 {
27246                   to: "elm.text.status";
27247                   offset: -2 -2;
27248                }
27249                rel2 {
27250                   to: "elm.text.status";
27251                   offset: 2 2;
27252                }
27253                color: 255 255 255 0;
27254             }
27255             description { state: "visible" 0.0;
27256                inherit: "default" 0.0;
27257                visible: 1;
27258             }
27259          }
27260          part { name: "elm.text.status";
27261             type: TEXT;
27262             mouse_events: 0;
27263             scale: 1;
27264             description { state: "default" 0.0;
27265                visible: 0;
27266                fixed: 1 1;
27267                align: 0.5 1.0;
27268                rel1.relative: 0.0 1.0;
27269                rel1.offset: 2 0;
27270                rel2.relative: 1.0 1.0;
27271                rel2.offset: -2 0;
27272                color: 0 0 0 255;
27273                text {
27274                   font: "Sans:style=Bold,Edje-Vera-Bold";
27275                   size: 10;
27276                   min: 0 0;
27277                   align: 0.5 0.0;
27278                }
27279             }
27280             description { state: "visible" 0.0;
27281                inherit: "default" 0.0;
27282                fixed: 1 1;
27283                visible: 1;
27284                text.min: 1 1;
27285                rel1.offset: 8 -9;
27286                rel2.offset: -9 -9;
27287             }
27288          }
27289       }
27290       programs {
27291          program { name: "label_show";
27292             signal: "elm,state,text,visible";
27293             source: "elm";
27294             action:  STATE_SET "visible" 0.0;
27295             target: "elm.text";
27296          }
27297          program { name: "label_hide";
27298             signal: "elm,state,text,hidden";
27299             source: "elm";
27300             action:  STATE_SET "default" 0.0;
27301             target: "elm.text";
27302          }
27303          program { name: "icon_show";
27304             signal: "elm,state,icon,visible";
27305             source: "elm";
27306             action:  STATE_SET "visible" 0.0;
27307             target: "elm.swallow.content";
27308          }
27309          program { name: "icon_hide";
27310             signal: "elm,state,icon,hidden";
27311             source: "elm";
27312             action:  STATE_SET "default" 0.0;
27313             target: "elm.swallow.content";
27314          }
27315          program { name: "units_show";
27316             signal: "elm,state,units,visible";
27317             source: "elm";
27318             action:  STATE_SET "visible" 0.0;
27319             target: "elm.text.status";
27320             target: "elm.text.box";
27321          }
27322          program { name: "units_hide";
27323             signal: "elm,state,units,hidden";
27324             source: "elm";
27325             action:  STATE_SET "default" 0.0;
27326             target: "elm.text.status";
27327             target: "elm.text.box";
27328          }
27329          program { name: "slide_to_end";
27330             action:  STATE_SET "state_end" 0.0;
27331             transition: LINEAR 0.5;
27332             target: "elm.progress.progressbar";
27333             after: "slide_to_begin";
27334          }
27335          program { name: "slide_to_begin";
27336             action:  STATE_SET "state_begin" 0.0;
27337             target: "elm.progress.progressbar";
27338             transition: LINEAR 0.5;
27339             after: "slide_to_end";
27340          }
27341          program { name: "start_pulse";
27342             signal: "elm,state,pulse,start";
27343             source: "elm";
27344             action: STATE_SET "state_begin" 0.0;
27345             target: "elm.progress.progressbar";
27346             after: "slide_to_end";
27347          }
27348          program { name: "stop_pulse";
27349             signal: "elm,state,pulse,stop";
27350             source: "elm";
27351             action: ACTION_STOP;
27352             target: "slide_to_begin";
27353             target: "slide_to_end";
27354             target: "start_pulse";
27355             after: "state_pulse";
27356          }
27357          program { name: "state_pulse";
27358             signal: "elm,state,pulse";
27359             source: "elm";
27360             action: STATE_SET "state_begin" 0.0;
27361             target: "elm.progress.progressbar";
27362             after: "units_hide";
27363          }
27364          program { name: "state_fraction";
27365             signal: "elm,state,fraction";
27366             source: "elm";
27367             action: ACTION_STOP;
27368             target: "slide_to_begin";
27369             target: "slide_to_end";
27370             target: "start_pulse";
27371             action: STATE_SET "default" 0.0;
27372             target: "elm.progress.progressbar";
27373          }
27374          program { name: "set_invert_on";
27375             signal: "elm,state,inverted,on";
27376             source: "elm";
27377             action:  STATE_SET "invert" 0.0;
27378             target: "elm.progress.progressbar";
27379             target: "elm.cur.progressbar";
27380          }
27381          program { name: "set_invert_off";
27382             signal: "elm,state,inverted,off";
27383             source: "elm";
27384             action:  STATE_SET "default" 0.0;
27385             target: "elm.progress.progressbar";
27386             target: "elm.cur.progressbar";
27387          }
27388       }
27389    }
27390
27391 ///////////////////////////////////////////////////////////////////////////////
27392    group { name: "elm/separator/horizontal/default";
27393        images {
27394            image: "separator_h.png" COMP;
27395        }
27396        parts {
27397            part { name: "separator"; // separator group
27398                description { state: "default" 0.0;
27399                    min: 2 2;
27400                    rel1.offset: 4 4;
27401                    rel2.offset: -5 -5;
27402                    image {
27403                        normal: "separator_h.png";
27404                    }
27405                    fill {
27406                        smooth: 0;
27407                    }
27408                }
27409            }
27410        }
27411    }
27412
27413    ///////////////////////////////////////////////////////////////////////////////
27414    group { name: "elm/separator/vertical/default";
27415        images {
27416            image: "separator_v.png" COMP;
27417        }
27418        parts {
27419            part { name: "separator"; // separator group
27420                description { state: "default" 0.0;
27421                    min: 2 2;
27422                    rel1.offset: 4 4;
27423                    rel2.offset: -5 -5;
27424                    image {
27425                        normal: "separator_v.png";
27426                    }
27427                    fill {
27428                        smooth: 0;
27429                    }
27430                }
27431            }
27432        }
27433    }
27434
27435    group { name: "elm/progressbar/horizontal/wheel";
27436        images {
27437            image: "busy-1.png" COMP;
27438            image: "busy-2.png" COMP;
27439            image: "busy-3.png" COMP;
27440            image: "busy-4.png" COMP;
27441            image: "busy-5.png" COMP;
27442            image: "busy-6.png" COMP;
27443            image: "busy-7.png" COMP;
27444            image: "busy-8.png" COMP;
27445            image: "busy-9.png" COMP;
27446        }
27447        parts {
27448            part { name: "elm.background.progressbar";
27449                mouse_events: 0;
27450                type: RECT;
27451                description {
27452                    state: "default" 0.0;
27453                }
27454            }
27455            part { name: "elm.swallow.bar";
27456                mouse_events: 0;
27457                type: SWALLOW;
27458                description { state: "default" 0.0;
27459                    min: 0 0;
27460                    max: 0 0;
27461                    visible: 0;
27462                }
27463            }
27464            part { name: "elm.swallow.content";
27465                type: SWALLOW;
27466                description { state: "default" 0.0;
27467                    min: 0 0;
27468                    max: 0 0;
27469                    visible: 0;
27470                }
27471            }
27472            part { name: "background";
27473                mouse_events: 0;
27474                clip_to: "elm.background.progressbar";
27475                description {
27476                    state: "default" 0.0;
27477                    min: 32 32;
27478                    max: 32 32;
27479                    visible: 1;
27480                    aspect: 1.0 1.0;
27481                    aspect_preference: BOTH;
27482                    image {
27483                        normal: "busy-9.png";
27484                        border: 7 7 7 7;
27485                    }
27486                }
27487                description {
27488                    state: "pulse" 0.0;
27489                    inherit: "default" 0.0;
27490                    image {
27491                        normal: "busy-9.png";
27492                        tween:  "busy-1.png";
27493                        tween:  "busy-2.png";
27494                        tween:  "busy-3.png";
27495                        tween:  "busy-4.png";
27496                        tween:  "busy-5.png";
27497                        tween:  "busy-6.png";
27498                        tween:  "busy-7.png";
27499                        tween:  "busy-8.png";
27500                        border: 7 7 7 7;
27501                    }
27502                }
27503            }
27504        }
27505        programs {
27506            program { name: "start_pulse";
27507                signal: "elm,state,pulse,start";
27508                source: "elm";
27509                action: STATE_SET "pulse" 0.0;
27510                target: "background";
27511                transition: LINEAR 0.5;
27512                after: "start_pulse";
27513            }
27514            program { name: "stop_pulse";
27515                signal: "elm,state,pulse,stop";
27516                source: "elm";
27517                action: STATE_SET "default" 0.0;
27518                target: "background";
27519            }
27520        }
27521    }
27522
27523
27524 ///////////////////////////////////////////////////////////////////////////////
27525    group { name: "elm/spinner/base/default";
27526        images {
27527            image: "shelf_inset.png" COMP;
27528            image: "bt_base1.png" COMP;
27529            image: "bt_hilight.png" COMP;
27530            image: "bt_shine.png" COMP;
27531            image: "bt_glow.png" COMP;
27532            image: "bt_dis_base.png" COMP;
27533            image: "bt_dis_hilight.png" COMP;
27534            image: "sp_bt_l.png" COMP;
27535            image: "sp_bt_r.png" COMP;
27536        }
27537        parts {
27538            part { name: "bg";
27539                type: RECT;
27540                description { state: "default" 0.0;
27541                    min: 0 30;
27542                    rel1.offset: 1 1;
27543                    rel2.offset: -2 -2;
27544                    color: 255 255 255 0;
27545                }
27546            }
27547            part { name: "conf_over";
27548                mouse_events:  0;
27549                description { state: "default" 0.0;
27550                    rel1.to: "bg";
27551                    rel2.to: "bg";
27552                    image {
27553                        normal: "shelf_inset.png";
27554                        border: 7 7 7 7;
27555                        middle: 0;
27556                    }
27557                    fill.smooth : 0;
27558                }
27559            }
27560            part { name: "left_bt";
27561                mouse_events:  1;
27562                description { state: "default" 0.0;
27563                    rel1 { to: "bg";
27564                        offset: 3 3;
27565                    }
27566                    rel2 { to: "bg";
27567                        offset: -4 -4;
27568                    }
27569                    align: 0.0 0.5;
27570                    min: 24 24;
27571                    aspect: 1.0 1.0;
27572                    aspect_preference: VERTICAL;
27573                    image {
27574                        normal: "bt_base1.png";
27575                        border: 6 6 6 6;
27576                    }
27577                    fill.smooth : 0;
27578                }
27579                description { state: "clicked" 0.0;
27580                    inherit: "default" 0.0;
27581                    image.normal: "bt_base1.png";
27582                    image.middle: SOLID;
27583                }
27584                description { state: "disabled" 0.0;
27585                    inherit:  "default" 0.0;
27586                    image {
27587                        normal: "bt_dis_base.png";
27588                        border: 4 4 4 4;
27589                    }
27590                }
27591            }
27592            part {          name: "left_over1";
27593                mouse_events: 0;
27594                description { state: "default" 0.0;
27595                    rel1.to: "left_bt";
27596                    rel2 { to: "left_bt";
27597                        relative: 1.0 0.5;
27598                    }
27599                    image {
27600                        normal: "bt_hilight.png";
27601                        border: 7 7 7 0;
27602                    }
27603                }
27604                description { state: "disabled" 0.0;
27605                    inherit:  "default" 0.0;
27606                    image {
27607                        normal: "bt_dis_hilight.png";
27608                        border: 4 4 4 0;
27609                    }
27610                }
27611            }
27612            part { name: "left_over2";
27613                mouse_events: 1;
27614                repeat_events: 1;
27615                ignore_flags: ON_HOLD;
27616                description { state: "default" 0.0;
27617                    rel1.to: "left_bt";
27618                    rel2.to: "left_bt";
27619                    image {
27620                        normal: "bt_shine.png";
27621                        border: 7 7 7 7;
27622                    }
27623                }
27624                description { state: "disabled" 0.0;
27625                    inherit:  "default" 0.0;
27626                    visible: 0;
27627                }
27628            }
27629            part { name: "left_over3";
27630                mouse_events: 1;
27631                repeat_events: 1;
27632                description { state: "default" 0.0;
27633                    color: 255 255 255 0;
27634                    rel1.to: "left_bt";
27635                    rel2.to: "left_bt";
27636                    image {
27637                        normal: "bt_glow.png";
27638                        border: 12 12 12 12;
27639                    }
27640                    fill.smooth : 0;
27641                }
27642                description { state: "clicked" 0.0;
27643                    inherit:  "default" 0.0;
27644                    visible: 1;
27645                    color: 255 255 255 255;
27646                }
27647            }
27648            part { name: "right_bt";
27649                mouse_events:  1;
27650                description { state: "default" 0.0;
27651                    rel1 { to: "bg";
27652                        offset: -26 3;
27653                    }
27654                    rel2 { to: "bg";
27655                        offset: -4 -4;
27656                    }
27657                    align: 1.0 0.5;
27658                    min: 24 24;
27659                    aspect: 1.0 1.0;
27660                    aspect_preference: VERTICAL;
27661                    image {
27662                        normal: "bt_base1.png";
27663                        border: 5 5 4 12;
27664                    }
27665                    fill.smooth : 0;
27666                }
27667                description { state: "clicked" 0.0;
27668                    inherit: "default" 0.0;
27669                    image.normal: "bt_base1.png";
27670                    image.middle: SOLID;
27671                }
27672                description { state: "disabled" 0.0;
27673                    inherit:  "default" 0.0;
27674                    image {
27675                        normal: "bt_dis_base.png";
27676                        border: 4 4 4 4;
27677                    }
27678                }
27679            }
27680            part { name: "right_over1";
27681                mouse_events: 0;
27682                description { state: "default" 0.0;
27683                    rel1.to: "right_bt";
27684                    rel2 { to: "right_bt";
27685                        relative: 1.0 0.5;
27686                    }
27687                    image {
27688                        normal: "bt_hilight.png";
27689                        border: 7 7 7 0;
27690                    }
27691                }
27692                description { state: "disabled" 0.0;
27693                    inherit:  "default" 0.0;
27694                    image {
27695                        normal: "bt_dis_hilight.png";
27696                        border: 4 4 4 0;
27697                    }
27698                }
27699            }
27700            part { name: "right_over2";
27701                mouse_events: 1;
27702                repeat_events: 1;
27703                ignore_flags: ON_HOLD;
27704                description { state: "default" 0.0;
27705                    rel1.to: "right_bt";
27706                    rel2.to: "right_bt";
27707                    image {
27708                        normal: "bt_shine.png";
27709                        border: 7 7 7 7;
27710                    }
27711                }
27712                description { state: "disabled" 0.0;
27713                    inherit:  "default" 0.0;
27714                    visible: 0;
27715                }
27716            }
27717            part { name: "right_over3";
27718                mouse_events: 1;
27719                repeat_events: 1;
27720                description { state: "default" 0.0;
27721                    color: 255 255 255 0;
27722                    rel1.to: "right_bt";
27723                    rel2.to: "right_bt";
27724                    image {
27725                        normal: "bt_glow.png";
27726                        border: 12 12 12 12;
27727                    }
27728                    fill.smooth : 0;
27729                }
27730                description { state: "clicked" 0.0;
27731                    inherit:  "default" 0.0;
27732                    visible: 1;
27733                    color: 255 255 255 255;
27734                }
27735            }
27736            part { name: "left_bt_icon";
27737                repeat_events: 1;
27738                description { state: "default" 0.0;
27739                    rel1.to: "left_bt";
27740                    rel1.offset: 4 4;
27741                    rel2.to: "left_bt";
27742                    rel2.offset: -5 -5;
27743                    align: 0.5 0.5;
27744                    min: 16 16;
27745                    aspect: 1.0 1.0;
27746                    aspect_preference: BOTH;
27747                    image.normal: "sp_bt_l.png";
27748                }
27749                description { state: "rtl" 0.0;
27750                    inherit: "default" 0.0;
27751                    image.normal: "sp_bt_r.png";
27752                }
27753            }
27754            part { name: "right_bt_icon";
27755                repeat_events: 1;
27756                description { state: "default" 0.0;
27757                    rel1.to: "right_bt";
27758                    rel1.offset: 4 4;
27759                    rel2.to: "right_bt";
27760                    rel2.offset: -5 -5;
27761                    align: 0.5 0.5;
27762                    min: 16 16;
27763                    aspect: 1.0 1.0;
27764                    aspect_preference: BOTH;
27765                    image.normal: "sp_bt_r.png";
27766                }
27767                description { state: "rtl" 0.0;
27768                    inherit: "default" 0.0;
27769                    image.normal: "sp_bt_l.png";
27770                }
27771            }
27772            part { name: "elm.text";
27773                type: TEXT;
27774                mouse_events: 0;
27775                scale: 1;
27776                description { state: "default" 0.0;
27777                    visible: 1;
27778                    align: 0.0 0.5;
27779                    rel1 { relative: 1.0 0.0;
27780                        offset: 3 2;
27781                        to_x: "left_bt";
27782                        to_y: "bg";
27783                    }
27784                    rel2 { relative: 0.0 1.0;
27785                        offset: -3 -2;
27786                        to_x: "right_bt";
27787                        to_y: "bg";
27788                    }
27789                    color: 0 0 0 255;
27790                    text {
27791                        font: "Sans,Edje-Vera";
27792                        size: 10;
27793                        min: 1 1;
27794                        align: 0.5 0.5;
27795                    }
27796                }
27797                description { state: "active" 0.0;
27798                    inherit: "default" 0.0;
27799                    visible: 0;
27800                }
27801                description { state: "disabled_active" 0.0;
27802                    inherit: "default" 0.0;
27803                    color: 0 0 0 128;
27804                    color3: 0 0 0 0;
27805                }
27806                description { state: "disabled" 0.0;
27807                    inherit: "default" 0.0;
27808                    color: 0 0 0 128;
27809                    color3: 0 0 0 0;
27810                }
27811            }
27812            part { name: "elm.dragable.slider";
27813                type: RECT;
27814                mouse_events: 0;
27815                scale: 1;
27816                dragable {
27817                    x: 1 1 0;
27818                    y: 0 0 0;
27819                }
27820                description { state: "default" 0.0;
27821                    rel1.to: "bg";
27822                    rel2.to: "bg";
27823                    fixed: 1 1;
27824                    color: 0 0 0 0;
27825                }
27826            }
27827            part { name: "button_events";
27828                type: RECT;
27829                dragable {
27830                    events: "elm.dragable.slider";
27831                }
27832                mouse_events: 1;
27833                description { state: "default" 0.0;
27834                    rel1.to: "elm.text";
27835                    rel2.to: "elm.text";
27836                    color: 0 0 0 0;
27837                }
27838            }
27839            part { name: "elm.swallow.entry";
27840                type: SWALLOW;
27841                description { state: "default" 0.0;
27842                    visible: 0;
27843                    align: 0.5 0.5;
27844                    rel1 { relative: 1.0 0.5;
27845                        offset: 3 2;
27846                        to_x: "left_bt";
27847                        to_y: "bg";
27848                    }
27849                    rel2 { relative: 0.0 0.5;
27850                        offset: -3 -2;
27851                        to_x: "right_bt";
27852                        to_y: "bg";
27853                    }
27854                    fixed: 1 1;
27855                    color: 0 0 0 0;
27856                }
27857                description { state: "active" 0.0;
27858                    inherit: "default" 0.0;
27859                    visible: 1;
27860                    color: 255 255 255 255;
27861                }
27862                description { state: "disabled_active" 0.0;
27863                    inherit: "default" 0.0;
27864                    visible: 0;
27865                }
27866                description { state: "disabled" 0.0;
27867                    inherit: "default" 0.0;
27868                    visible: 0;
27869                }
27870            }
27871            part { name: "disabler";
27872                type: RECT;
27873                description { state: "default" 0.0;
27874                    color: 0 0 0 0;
27875                    visible: 0;
27876                }
27877                description { state: "disabled" 0.0;
27878                    inherit: "default" 0.0;
27879                    visible: 1;
27880                }
27881            }
27882        }
27883        programs {
27884            program { name: "text_show";
27885                signal: "elm,state,text,visible";
27886                source: "elm";
27887                action:  STATE_SET "visible" 0.0;
27888                target: "elm.text";
27889            }
27890            program { name: "text_hide";
27891                signal: "elm,state,text,hidden";
27892                source: "elm";
27893                action:  STATE_SET "default" 0.0;
27894                target: "elm.text";
27895            }
27896            program { name: "dec";
27897                signal: "mouse,down,1";
27898                source: "left_bt";
27899                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27900            }
27901            program { name: "dec2";
27902                signal: "mouse,up,1";
27903                source: "left_bt";
27904                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27905            }
27906            program { name: "inc";
27907                signal: "mouse,down,1";
27908                source: "right_bt";
27909                action: SIGNAL_EMIT "elm,action,increment,start" "";
27910            }
27911            program { name: "inc2";
27912                signal: "mouse,up,1";
27913                source: "right_bt";
27914                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27915            }
27916            program {
27917                name:   "left_bt_click";
27918                signal: "mouse,down,1";
27919                source: "left_over2";
27920                action: STATE_SET "clicked" 0.0;
27921                target: "left_bt";
27922            }
27923            program {
27924                name:   "left_bt_unclick";
27925                signal: "mouse,up,1";
27926                source: "left_over2";
27927                action: STATE_SET "default" 0.0;
27928                target: "left_bt";
27929            }
27930            program {
27931                name:   "left_bt_click2";
27932                signal: "mouse,down,1";
27933                source: "left_over3";
27934                action: STATE_SET "clicked" 0.0;
27935                target: "left_over3";
27936            }
27937            program {
27938                name:   "left_bt_unclick2";
27939                signal: "mouse,up,1";
27940                source: "left_over3";
27941                action: STATE_SET "default" 0.0;
27942                transition: DECELERATE 0.5;
27943                target: "left_over3";
27944            }
27945            program {
27946                name:   "left_bt_unclick3";
27947                signal: "mouse,up,1";
27948                source: "left_over2";
27949                action: SIGNAL_EMIT "elm,action,click" "";
27950            }
27951            program {
27952                name:   "left_bt_pressed_anim";
27953                signal: "elm,left,anim,activate";
27954                source: "elm";
27955                action: STATE_SET "clicked" 0.0;
27956                target: "left_bt";
27957                target: "left_over3";
27958                after: "left_bt_unpressed_anim";
27959            }
27960            program {
27961                name:   "left_bt_unpressed_anim";
27962                action: STATE_SET "default" 0.0;
27963                transition: DECELERATE 0.5;
27964                target: "left_bt";
27965                target: "left_over3";
27966            }
27967
27968            program {
27969                name:   "right_bt_click";
27970                signal: "mouse,down,1";
27971                source: "right_over2";
27972                action: STATE_SET "clicked" 0.0;
27973                target: "right_bt";
27974            }
27975            program {
27976                name:   "right_bt_unclick";
27977                signal: "mouse,up,1";
27978                source: "right_over2";
27979                action: STATE_SET "default" 0.0;
27980                target: "right_bt";
27981            }
27982            program {
27983                name:   "right_bt_click2";
27984                signal: "mouse,down,1";
27985                source: "right_over3";
27986                action: STATE_SET "clicked" 0.0;
27987                target: "right_over3";
27988            }
27989            program {
27990                name:   "right_bt_unclick2";
27991                signal: "mouse,up,1";
27992                source: "right_over3";
27993                action: STATE_SET "default" 0.0;
27994                transition: DECELERATE 0.5;
27995                target: "right_over3";
27996            }
27997            program {
27998                name:   "right_bt_unclick3";
27999                signal: "mouse,up,1";
28000                source: "right_over2";
28001                action: SIGNAL_EMIT "elm,action,click" "";
28002            }
28003            program {
28004                name:   "right_bt_pressed_anim";
28005                signal: "elm,right,anim,activate";
28006                source: "elm";
28007                action: STATE_SET "clicked" 0.0;
28008                target: "right_bt";
28009                target: "right_over3";
28010                after: "right_bt_unpressed_anim";
28011            }
28012            program {
28013                name:   "right_bt_unpressed_anim";
28014                action: STATE_SET "default" 0.0;
28015                transition: DECELERATE 0.5;
28016                target: "right_bt";
28017                target: "right_over3";
28018            }
28019
28020            program { name: "disable";
28021                signal: "elm,state,disabled";
28022                source: "elm";
28023                action: STATE_SET "disabled" 0.0;
28024                target: "left_bt";
28025                target: "left_over1";
28026                target: "left_over2";
28027                target: "right_bt";
28028                target: "right_over1";
28029                target: "right_over2";
28030                target: "disabler";
28031                after: "disable_text";
28032            }
28033            program { name: "disable_text";
28034                script {
28035                    new st[31];
28036                    new Float:vl;
28037                    get_state(PART:"elm.text", st, 30, vl);
28038                    if (!strcmp(st, "active"))
28039                    set_state(PART:"elm.text", "disabled_active", 0.0);
28040                    else
28041                    set_state(PART:"elm.text", "disabled", 0.0);
28042
28043                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28044                    if (!strcmp(st, "active"))
28045                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28046                    else
28047                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28048                }
28049            }
28050            program { name: "enable";
28051                signal: "elm,state,enabled";
28052                source: "elm";
28053                action: STATE_SET "default" 0.0;
28054                target: "left_bt";
28055                target: "left_over1";
28056                target: "left_over2";
28057                target: "right_bt";
28058                target: "right_over1";
28059                target: "right_over2";
28060                target: "disabler";
28061                after: "enable_text";
28062            }
28063            program { name: "enable_text";
28064                script {
28065                    new st[31];
28066                    new Float:vl;
28067                    get_state(PART:"elm.text", st, 30, vl);
28068                    if (!strcmp(st, "disabled_active"))
28069                    set_state(PART:"elm.text", "active", 0.0);
28070                    else
28071                    set_state(PART:"elm.text", "default", 0.0);
28072
28073                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28074                    if (!strcmp(st, "disabled_active"))
28075                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28076                    else
28077                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28078                }
28079            }
28080            program { name: "active";
28081                signal: "elm,state,active";
28082                source: "elm";
28083                action: STATE_SET "active" 0.0;
28084                target: "elm.text";
28085                target: "elm.swallow.entry";
28086            }
28087            program { name: "inactive";
28088                signal: "elm,state,inactive";
28089                source: "elm";
28090                action: STATE_SET "default" 0.0;
28091                target: "elm.text";
28092                target: "elm.swallow.entry";
28093            }
28094            program { name: "toggle_text";
28095                signal: "mouse,up,1";
28096                source: "button_events";
28097                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28098            }
28099            program { name: "to_rtl";
28100                signal: "edje,state,rtl";
28101                source: "edje";
28102                action: STATE_SET "rtl" 0.0;
28103                target: "right_bt_icon";
28104                target: "left_bt_icon";
28105            }
28106            program { name: "to_ltr";
28107                signal: "edje,state,ltr";
28108                source: "edje";
28109                action: STATE_SET "default" 0.0;
28110                target: "right_bt_icon";
28111                target: "left_bt_icon";
28112            }
28113        }
28114    }
28115
28116 ///////////////////////////////////////////////////////////////////////////////
28117    group { name: "elm/spinner/base/vertical";
28118        images {
28119            image: "shelf_inset.png" COMP;
28120            image: "bt_hilight.png" COMP;
28121            image: "bt_shine.png" COMP;
28122            image: "bt_glow.png" COMP;
28123            image: "bt_dis_base.png" COMP;
28124            image: "bt_dis_hilight.png" COMP;
28125            image: "up.png" COMP;
28126            image: "down.png" COMP;
28127            image: "bt_spinner_up.png" COMP;
28128            image: "bt_spinner_down.png" COMP;
28129            image: "bt_spinner_hilight.png" COMP;
28130        }
28131        parts {
28132            part { name: "bg";
28133                type: RECT;
28134                description { state: "default" 0.0;
28135                    min: 0 30;
28136                    rel1.offset: 1 1;
28137                    rel2.offset: -2 -2;
28138                    color: 255 255 255 0;
28139                }
28140            }
28141            part { name: "conf_over";
28142                mouse_events:  0;
28143                description { state: "default" 0.0;
28144                    rel1 {
28145                      to: "bg";
28146                      relative: 0.0 0.0;
28147                    }
28148                    rel2 {
28149                       to: "bg";
28150                    }
28151                    image {
28152                        normal: "shelf_inset.png";
28153                        border: 7 7 7 7;
28154                        middle: 0;
28155                    }
28156                    fill.smooth : 0;
28157                }
28158            }
28159            part { name: "down_bt";
28160                mouse_events:  1;
28161                description { state: "default" 0.0;
28162                    fixed: 1 1;
28163                    rel1 {
28164                        to: "up_bt";
28165                        relative: 0 1;
28166                        offset: 0 1;
28167                    }
28168                    rel2 {
28169                        to_y: "bg";
28170                        to_x: "up_bt";
28171                        relative: 1 1;
28172                        offset: -1 -4;
28173                    }
28174                    align: 1.0 0.5;
28175                    min: 24 16;
28176                    image {
28177                        normal: "bt_spinner_down.png";
28178                        border: 6 6 6 6;
28179                    }
28180                    fill.smooth : 0;
28181                }
28182                description { state: "clicked" 0.0;
28183                    inherit: "default" 0.0;
28184                    image.normal: "bt_spinner_down.png";
28185                    image.middle: SOLID;
28186                }
28187                description { state: "disabled" 0.0;
28188                    inherit:  "default" 0.0;
28189                    image {
28190                        normal: "bt_dis_base.png";
28191                        border: 4 4 4 4;
28192                    }
28193                }
28194            }
28195            part { name: "down_over3";
28196                mouse_events: 1;
28197                repeat_events: 1;
28198                description { state: "default" 0.0;
28199                    color: 255 255 255 0;
28200                    rel1.to: "down_bt";
28201                    rel2.to: "down_bt";
28202                    image {
28203                        normal: "bt_glow.png";
28204                        border: 12 12 12 12;
28205                    }
28206                    fill.smooth : 0;
28207                }
28208                description { state: "clicked" 0.0;
28209                    inherit:  "default" 0.0;
28210                    visible: 1;
28211                    color: 255 255 255 255;
28212                }
28213            }
28214            part { name: "up_bt";
28215                mouse_events:  1;
28216                description { state: "default" 0.0;
28217                    fixed: 1 0;
28218                    rel1 { to: "bg";
28219                        relative: 0 0;
28220                        offset: 0 2;
28221                    }
28222                    rel2 { to: "bg";
28223                        relative: 1 0.5;
28224                        offset: -3 0;
28225                    }
28226                    align: 1.0 0.5;
28227                    min: 24 16;
28228                    aspect: 1.5 1.0;
28229                    aspect_preference: BOTH;
28230                    image {
28231                        normal: "bt_spinner_up.png";
28232                        border: 6 6 6 6;
28233                    }
28234                    fill.smooth : 0;
28235                }
28236                description { state: "clicked" 0.0;
28237                    inherit: "default" 0.0;
28238                    image.normal: "bt_spinner_up.png";
28239                    image.middle: SOLID;
28240                }
28241                description { state: "disabled" 0.0;
28242                    inherit:  "default" 0.0;
28243                    image {
28244                        normal: "bt_dis_base.png";
28245                        border: 4 4 4 4;
28246                    }
28247                }
28248            }
28249            part { name: "up_over1";
28250                mouse_events: 0;
28251                description { state: "default" 0.0;
28252                    rel1.to: "up_bt";
28253                    rel2 { to: "up_bt";
28254                        relative: 1.0 0.5;
28255                    }
28256                    image {
28257                        normal: "bt_spinner_hilight.png";
28258                        border: 7 7 7 0;
28259                    }
28260                }
28261                description { state: "disabled" 0.0;
28262                    inherit:  "default" 0.0;
28263                    image {
28264                        normal: "bt_dis_hilight.png";
28265                        border: 4 4 4 0;
28266                    }
28267                }
28268            }
28269            part { name: "up_over3";
28270                mouse_events: 1;
28271                repeat_events: 1;
28272                description { state: "default" 0.0;
28273                    color: 255 255 255 0;
28274                    rel1.to: "up_bt";
28275                    rel2.to: "up_bt";
28276                    image {
28277                        normal: "bt_glow.png";
28278                        border: 12 12 12 12;
28279                    }
28280                    fill.smooth : 0;
28281                }
28282                description { state: "clicked" 0.0;
28283                    inherit:  "default" 0.0;
28284                    visible: 1;
28285                    color: 255 255 255 255;
28286                }
28287            }
28288            part { name: "down_bt_icon";
28289                repeat_events: 1;
28290                description { state: "default" 0.0;
28291                    rel1.to: "down_bt";
28292                    rel1.offset: 5 3;
28293                    rel2.to: "down_bt";
28294                    rel2.offset: -6 -3;
28295                    align: 0.5 0.5;
28296                    image.normal: "down.png";
28297                }
28298            }
28299            part { name: "up_bt_icon";
28300                repeat_events: 1;
28301                description { state: "default" 0.0;
28302                    rel1.to: "up_bt";
28303                    rel1.offset: 5 3;
28304                    rel2.to: "up_bt";
28305                    rel2.offset: -6 -3;
28306                    align: 0.5 0.5;
28307                    image.normal: "up.png";
28308                }
28309            }
28310            part { name: "elm.text";
28311                type: TEXT;
28312                mouse_events: 0;
28313                scale: 1;
28314                description { state: "default" 0.0;
28315                    visible: 1;
28316                    align: 0.0 0.5;
28317                    rel1 { relative: 0.0 0.0;
28318                        offset: 3 2;
28319                        to_x: "bg";
28320                        to_y: "bg";
28321                    }
28322                    rel2 { relative: 0.0 1.0;
28323                        offset: -3 -2;
28324                        to_x: "down_bt";
28325                        to_y: "bg";
28326                    }
28327                    color: 0 0 0 255;
28328                    text {
28329                        font: "Sans,Edje-Vera";
28330                        size: 10;
28331                        min: 1 1;
28332                        align: 0.5 0.5;
28333                    }
28334                }
28335                description { state: "active" 0.0;
28336                    inherit: "default" 0.0;
28337                    visible: 0;
28338                }
28339                description { state: "disabled_active" 0.0;
28340                    inherit: "default" 0.0;
28341                    color: 0 0 0 128;
28342                    color3: 0 0 0 0;
28343                }
28344                description { state: "disabled" 0.0;
28345                    inherit: "default" 0.0;
28346                    color: 0 0 0 128;
28347                    color3: 0 0 0 0;
28348                }
28349            }
28350            part { name: "elm.dragable.slider";
28351                type: RECT;
28352                mouse_events: 0;
28353                scale: 1;
28354                dragable {
28355                    x: 1 1 0;
28356                    y: 0 0 0;
28357                }
28358                description { state: "default" 0.0;
28359                    rel1.to: "bg";
28360                    rel2.to: "bg";
28361                    fixed: 1 1;
28362                    color: 0 0 0 0;
28363                }
28364            }
28365            part { name: "button_events";
28366                type: RECT;
28367                dragable {
28368                    events: "elm.dragable.slider";
28369                }
28370                mouse_events: 1;
28371                description { state: "default" 0.0;
28372                    rel1.to: "elm.text";
28373                    rel2.to: "elm.text";
28374                    color: 0 0 0 0;
28375                }
28376            }
28377            part { name: "elm.swallow.entry";
28378                type: SWALLOW;
28379                description { state: "default" 0.0;
28380                    visible: 0;
28381                    align: 0.5 0.5;
28382                    rel1 { relative: 0.0 0.5;
28383                        offset: 3 2;
28384                        to: "bg";
28385                    }
28386                    rel2 { relative: 1.0 0.5;
28387                        offset: -3 -2;
28388                        to: "bg";
28389                    }
28390                    fixed: 1 1;
28391                    color: 0 0 0 0;
28392                }
28393                description { state: "active" 0.0;
28394                    inherit: "default" 0.0;
28395                    visible: 1;
28396                    color: 255 255 255 255;
28397                }
28398                description { state: "disabled_active" 0.0;
28399                    inherit: "default" 0.0;
28400                    visible: 0;
28401                }
28402                description { state: "disabled" 0.0;
28403                    inherit: "default" 0.0;
28404                    visible: 0;
28405                }
28406            }
28407            part { name: "disabler";
28408                type: RECT;
28409                description { state: "default" 0.0;
28410                    color: 0 0 0 0;
28411                    visible: 0;
28412                }
28413                description { state: "disabled" 0.0;
28414                    inherit: "default" 0.0;
28415                    visible: 1;
28416                }
28417            }
28418        }
28419        programs {
28420            program { name: "text_show";
28421                signal: "elm,state,text,visible";
28422                source: "elm";
28423                action:  STATE_SET "visible" 0.0;
28424                target: "elm.text";
28425            }
28426            program { name: "text_hide";
28427                signal: "elm,state,text,hidden";
28428                source: "elm";
28429                action:  STATE_SET "default" 0.0;
28430                target: "elm.text";
28431            }
28432            program { name: "dec";
28433                signal: "mouse,down,1";
28434                source: "down_bt";
28435                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28436            }
28437            program { name: "dec2";
28438                signal: "mouse,up,1";
28439                source: "down_bt";
28440                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28441            }
28442            program { name: "inc";
28443                signal: "mouse,down,1";
28444                source: "up_bt";
28445                action: SIGNAL_EMIT "elm,action,increment,start" "";
28446            }
28447            program { name: "inc2";
28448                signal: "mouse,up,1";
28449                source: "up_bt";
28450                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28451            }
28452            program {
28453                name:   "down_bt_click2";
28454                signal: "mouse,down,1";
28455                source: "down_over3";
28456                action: STATE_SET "clicked" 0.0;
28457                target: "down_over3";
28458            }
28459            program {
28460                name:   "down_bt_unclick2";
28461                signal: "mouse,up,1";
28462                source: "down_over3";
28463                action: STATE_SET "default" 0.0;
28464                transition: DECELERATE 0.5;
28465                target: "down_over3";
28466            }
28467            program {
28468                name:   "up_bt_click2";
28469                signal: "mouse,down,1";
28470                source: "up_over3";
28471                action: STATE_SET "clicked" 0.0;
28472                target: "up_over3";
28473            }
28474            program {
28475                name:   "up_bt_unclick2";
28476                signal: "mouse,up,1";
28477                source: "up_over3";
28478                action: STATE_SET "default" 0.0;
28479                transition: DECELERATE 0.5;
28480                target: "up_over3";
28481            }
28482            program { name: "disable";
28483                signal: "elm,state,disabled";
28484                source: "elm";
28485                action: STATE_SET "disabled" 0.0;
28486                target: "down_bt";
28487                target: "up_bt";
28488                target: "disabler";
28489                after: "disable_text";
28490            }
28491            program { name: "disable_text";
28492                script {
28493                    new st[31];
28494                    new Float:vl;
28495                    get_state(PART:"elm.text", st, 30, vl);
28496                    if (!strcmp(st, "active"))
28497                    set_state(PART:"elm.text", "disabled_active", 0.0);
28498                    else
28499                    set_state(PART:"elm.text", "disabled", 0.0);
28500
28501                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28502                    if (!strcmp(st, "active"))
28503                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28504                    else
28505                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28506                }
28507            }
28508            program { name: "enable";
28509                signal: "elm,state,enabled";
28510                source: "elm";
28511                action: STATE_SET "default" 0.0;
28512                target: "down_bt";
28513                target: "up_bt";
28514                target: "disabler";
28515                after: "enable_text";
28516            }
28517            program { name: "enable_text";
28518                script {
28519                    new st[31];
28520                    new Float:vl;
28521                    get_state(PART:"elm.text", st, 30, vl);
28522                    if (!strcmp(st, "disabled_active"))
28523                    set_state(PART:"elm.text", "active", 0.0);
28524                    else
28525                    set_state(PART:"elm.text", "default", 0.0);
28526
28527                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28528                    if (!strcmp(st, "disabled_active"))
28529                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28530                    else
28531                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28532                }
28533            }
28534            program { name: "active";
28535                signal: "elm,state,active";
28536                source: "elm";
28537                action: STATE_SET "active" 0.0;
28538                target: "elm.text";
28539                target: "elm.swallow.entry";
28540            }
28541            program { name: "inactive";
28542                signal: "elm,state,inactive";
28543                source: "elm";
28544                action: STATE_SET "default" 0.0;
28545                target: "elm.text";
28546                target: "elm.swallow.entry";
28547            }
28548            program { name: "toggle_text";
28549                signal: "mouse,up,1";
28550                source: "button_events";
28551                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28552            }
28553        }
28554    }
28555
28556
28557    ///////////////////////////////////////////////////////////////////////////////
28558    group { name: "elm/index/base/vertical/default";
28559        images {
28560            image: "bt_base1.png" COMP;
28561            image: "bt_base2.png" COMP;
28562            image: "bt_hilight.png" COMP;
28563            image: "bt_shine.png" COMP;
28564        }
28565        parts {
28566            part { name: "clip";
28567                type: RECT;
28568                mouse_events:  0;
28569                description { state: "default" 0.0;
28570                    visible:  0;
28571                    color: 255 255 255 0;
28572                }
28573                description { state: "active" 0.0;
28574                    visible:  1;
28575                    color: 255 255 255 255;
28576                }
28577            }
28578            part { name: "clip2";
28579                type: RECT;
28580                mouse_events:  0;
28581                clip_to: "clip";
28582                description { state: "default" 0.0;
28583                    visible: 0;
28584                    color: 255 255 255 0;
28585                }
28586                description { state: "active" 0.0;
28587                    visible:  1;
28588                    color: 255 255 255 255;
28589                }
28590            }
28591            part { name: "elm.swallow.index.0";
28592                type: SWALLOW;
28593                clip_to: "clip";
28594                description { state: "default" 0.0;
28595                    align: 1.0 0.5;
28596                    fixed: 1 1;
28597                    rel1 {
28598                        relative: 1.0 0.5;
28599                        offset: -1 5;
28600                    }
28601                    rel2 {
28602                        relative: 1.0 0.5;
28603                        offset: -1 -6;
28604                    }
28605                }
28606            }
28607            part { name: "button_image";
28608                mouse_events: 1;
28609                clip_to: "clip";
28610                description { state: "default" 0.0;
28611                    rel1 {
28612                        to: "elm.text.body";
28613                        offset: -5 -5;
28614                    }
28615                    rel2 {
28616                        to: "elm.text";
28617                        offset: 4 4;
28618                    }
28619                    image {
28620                        normal: "bt_base2.png";
28621                        border: 7 7 7 7;
28622                    }
28623                    image.middle: SOLID;
28624                }
28625            }
28626            part { name: "elm.text.body";
28627                type: TEXT;
28628                effect: SOFT_SHADOW;
28629                mouse_events: 0;
28630                scale: 1;
28631                clip_to: "clip";
28632                description { state: "default" 0.0;
28633                    align: 1.0 0.5;
28634                    fixed: 1 1;
28635                    rel1 {
28636                        to: "elm.text";
28637                        relative: 0.0 0.0;
28638                        offset: 5 0;
28639                    }
28640                    rel2 {
28641                        to: "elm.text";
28642                        relative: 0.0 1.0;
28643                        offset: 5 -1;
28644                    }
28645                    color: 224 224 224 255;
28646                    color3: 0 0 0 64;
28647                    text {
28648                        font:     "Sans,Edje-Vera";
28649                        size:     20;
28650                        min:      1 1;
28651                        align:    1.0 0.5;
28652                    }
28653                }
28654            }
28655            part { name: "elm.text";
28656                type: TEXT;
28657                effect: SOFT_SHADOW;
28658                mouse_events: 0;
28659                scale: 1;
28660                clip_to: "clip";
28661                description { state: "default" 0.0;
28662                    align: 1.0 0.5;
28663                    fixed: 1 1;
28664                    rel1 {
28665                        to_x: "elm.swallow.event.0";
28666                        to_y: "elm.dragable.pointer";
28667                        relative: 0.0 0.5;
28668                        offset: -16 0;
28669                    }
28670                    rel2 {
28671                        to_x: "elm.swallow.event.0";
28672                        to_y: "elm.dragable.pointer";
28673                        relative: 0.0 0.5;
28674                        offset: -16 -1;
28675                    }
28676                    color: 255 0 0 255;
28677                    color3: 0 0 0 64;
28678                    text {
28679                        font:     "Sans,Edje-Vera";
28680                        size:     20;
28681                        min:      1 1;
28682                        align:    1.0 0.5;
28683                    }
28684                }
28685            }
28686            part {        name: "over1";
28687                mouse_events: 0;
28688                clip_to: "clip";
28689                description { state: "default" 0.0;
28690                    rel1 {
28691                        to: "button_image";
28692                    }
28693                    rel2 {
28694                        to: "button_image";
28695                        relative: 1.0 0.5;
28696                    }
28697                    image {
28698                        normal: "bt_hilight.png";
28699                        border: 7 7 7 0;
28700                    }
28701                }
28702            }
28703            part { name: "over2";
28704                mouse_events: 1;
28705                repeat_events: 1;
28706                ignore_flags: ON_HOLD;
28707                clip_to: "clip";
28708                description { state: "default" 0.0;
28709                    rel1 {
28710                        to: "button_image";
28711                    }
28712                    rel2 {
28713                        to: "button_image";
28714                    }
28715                    image {
28716                        normal: "bt_shine.png";
28717                        border: 7 7 7 7;
28718                    }
28719                }
28720            }
28721            part { name: "elm.dragable.pointer";
28722                type: RECT;
28723                mouse_events: 0;
28724                dragable {
28725                    x: 1 1 0;
28726                    y: 1 1 0;
28727                }
28728                clip_to: "clip";
28729                description { state: "default" 0.0;
28730                    fixed: 1 1;
28731                    min: 8 8;
28732                    max: 8 8;
28733                    visible: 0;
28734                    rel1 {
28735                        relative: 0.0 0.0;
28736                        offset:   0 0;
28737                    }
28738                    rel2 {
28739                        relative: 0.0 0.0;
28740                        offset:   0 0;
28741                    }
28742                }
28743            }
28744            part { name: "elm.swallow.event.0";
28745                type: SWALLOW;
28746                description { state: "default" 0.0;
28747                    align: 1.0 0.5;
28748                    fixed: 1 1;
28749                    rel1 {
28750                        relative: 1.0 0.0;
28751                        offset: -1 0;
28752                    }
28753                    rel2 {
28754                        relative: 1.0 1.0;
28755                        offset: -1 -1;
28756                    }
28757                }
28758            }
28759        }
28760        programs {
28761            program { name: "active";
28762                signal: "elm,state,active";
28763                source: "elm";
28764                action: STATE_SET "active" 0.0;
28765                transition: DECELERATE 0.5;
28766                target: "clip";
28767            }
28768            program { name: "inactive";
28769                signal: "elm,state,inactive";
28770                source: "elm";
28771                action: STATE_SET "default" 0.0;
28772                transition: DECELERATE 0.5;
28773                target: "clip";
28774            }
28775        }
28776    }
28777
28778    group { name: "elm/index/item/vertical/default";
28779        data.item: "stacking" "above";
28780        data.item: "selectraise" "on";
28781        images {
28782            image: "ilist_1.png" COMP;
28783            image: "ilist_item_shadow.png" COMP;
28784        }
28785        parts {
28786            part {
28787                name: "base_sh";
28788                mouse_events: 0;
28789                description {
28790                    state: "default" 0.0;
28791                    align: 0.0 0.0;
28792                    min: 0 10;
28793                    fixed: 1 1;
28794                    rel1 {
28795                        to: "base";
28796                        relative: 0.0 1.0;
28797                        offset: 0 0;
28798                    }
28799                    rel2 {
28800                        to: "base";
28801                        relative: 1.0 1.0;
28802                        offset: -1 0;
28803                    }
28804                    image {
28805                        normal: "ilist_item_shadow.png";
28806                    }
28807                    fill.smooth: 0;
28808                }
28809            }
28810            part {
28811                name: "base";
28812                mouse_events: 0;
28813                description {
28814                    state: "default" 0.0;
28815                    image {
28816                        normal: "ilist_1.png";
28817                        border: 2 2 2 2;
28818                    }
28819                    fill.smooth: 0;
28820                }
28821                description { state: "active" 0.0;
28822                    inherit: "default" 0.0;
28823                    rel1 {
28824                        offset: -16 0;
28825                    }
28826                }
28827            }
28828            part { name: "elm.text";
28829                type:           TEXT;
28830                mouse_events:   0;
28831                scale: 1;
28832                description {
28833                    state: "default" 0.0;
28834                           //               min: 16 16;
28835                    rel1 {
28836                        to: "base";
28837                        relative: 0.0  0.0;
28838                        offset:   4 4;
28839                    }
28840                    rel2 {
28841                        to: "base";
28842                        relative: 0.5  1.0;
28843                        offset:   -1 -1;
28844                    }
28845                    color: 0 0 0 128;
28846                    text {
28847                        font: "Sans";
28848                        size: 10;
28849                        min: 1 1;
28850                             //                  min: 0 1;
28851                        align: 0.5 0.5;
28852                    }
28853                }
28854                description { state: "active" 0.0;
28855                    inherit: "default" 0.0;
28856                    color: 0 0 0 255;
28857                }
28858            }
28859        }
28860        programs {
28861            program { name: "active";
28862                signal: "elm,state,active";
28863                source: "elm";
28864                action: STATE_SET "active" 0.0;
28865                transition: DECELERATE 0.5;
28866                target: "elm.text";
28867                target: "base";
28868            }
28869            program { name: "inactive";
28870                signal: "elm,state,inactive";
28871                source: "elm";
28872                action: STATE_SET "default" 0.0;
28873                transition: DECELERATE 0.5;
28874                target: "elm.text";
28875                target: "base";
28876            }
28877        }
28878    }
28879
28880    group { name: "elm/index/item_odd/vertical/default";
28881        data.item: "stacking" "below";
28882        images {
28883            image: "ilist_2.png" COMP;
28884        }
28885        parts {
28886            part {
28887                name: "base";
28888                mouse_events: 0;
28889                description {
28890                    state: "default" 0.0;
28891                    image {
28892                        normal: "ilist_2.png";
28893                        border: 2 2 2 2;
28894                    }
28895                    fill.smooth: 0;
28896                }
28897                description { state: "active" 0.0;
28898                    inherit: "default" 0.0;
28899                    rel1 {
28900                        offset: -16 0;
28901                    }
28902                }
28903            }
28904            part { name: "elm.text";
28905                type:           TEXT;
28906                mouse_events:   0;
28907                scale: 1;
28908                description {
28909                    state: "default" 0.0;
28910                           //               min: 16 16;
28911                    rel1 {
28912                        to: "base";
28913                        relative: 0.0  0.0;
28914                        offset:   4 4;
28915                    }
28916                    rel2 {
28917                        to: "base";
28918                        relative: 0.5  1.0;
28919                        offset:   -1 -1;
28920                    }
28921                    color: 0 0 0 128;
28922                    text {
28923                        font: "Sans";
28924                        size: 10;
28925                        min: 1 1;
28926                             //                  min: 0 1;
28927                        align: 0.5 0.5;
28928                    }
28929                }
28930                description { state: "active" 0.0;
28931                    inherit: "default" 0.0;
28932                    color: 0 0 0 255;
28933                }
28934            }
28935        }
28936        programs {
28937            program { name: "active";
28938                signal: "elm,state,active";
28939                source: "elm";
28940                action: STATE_SET "active" 0.0;
28941                transition: DECELERATE 0.5;
28942                target: "elm.text";
28943                target: "base";
28944            }
28945            program { name: "inactive";
28946                signal: "elm,state,inactive";
28947                source: "elm";
28948                action: STATE_SET "default" 0.0;
28949                transition: DECELERATE 0.5;
28950                target: "elm.text";
28951                target: "base";
28952            }
28953        }
28954    }
28955
28956 ///////////////////////////////////////////////////////////////////////////////
28957    group { name: "elm/gengrid/item/default/default";
28958       data.item: "labels" "elm.text";
28959       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28960       images {
28961          image: "bt_sm_base1.png" COMP;
28962          image: "bt_sm_shine.png" COMP;
28963          image: "bt_sm_hilight.png" COMP;
28964          image: "ilist_1.png" COMP;
28965          image: "ilist_item_shadow.png" COMP;
28966       }
28967       parts {
28968          part { name: "event";
28969             type: RECT;
28970             repeat_events: 1;
28971             description {
28972                state: "default" 0.0;
28973                color: 0 0 0 0;
28974             }
28975          }
28976          part { name: "base_sh";
28977             mouse_events: 0;
28978             description { state: "default" 0.0;
28979                align: 0.0 0.0;
28980                min: 0 10;
28981                fixed: 1 1;
28982                rel1 {
28983                   to: "base";
28984                   relative: 0.0 1.0;
28985                   offset: 0 0;
28986                }
28987                rel2 {
28988                   to: "base";
28989                   relative: 1.0 1.0;
28990                   offset: -1 0;
28991                }
28992                image {
28993                   normal: "ilist_item_shadow.png";
28994                }
28995                fill.smooth: 0;
28996             }
28997          }
28998          part { name: "base";
28999             mouse_events: 0;
29000             description { state: "default" 0.0;
29001                image {
29002                   normal: "ilist_1.png";
29003                   border: 2 2 2 2;
29004                }
29005                fill.smooth: 0;
29006             }
29007          }
29008          part { name: "bg";
29009             clip_to: "disclip";
29010             mouse_events: 0;
29011             description { state: "default" 0.0;
29012                visible: 0;
29013                color: 255 255 255 0;
29014                rel1 {
29015                   relative: 0.0 0.0;
29016                   offset: -5 -5;
29017                }
29018                rel2 {
29019                   relative: 1.0 1.0;
29020                   offset: 4 4;
29021                }
29022                image {
29023                   normal: "bt_sm_base1.png";
29024                   border: 6 6 6 6;
29025                }
29026                image.middle: SOLID;
29027             }
29028             description { state: "selected" 0.0;
29029                inherit: "default" 0.0;
29030                visible: 1;
29031                color: 255 255 255 255;
29032                rel1 {
29033                   relative: 0.0 0.0;
29034                   offset: -2 -2;
29035                }
29036                rel2 {
29037                   relative: 1.0 1.0;
29038                   offset: 1 1;
29039                }
29040             }
29041          }
29042          part { name: "elm.swallow.pad";
29043             type: SWALLOW;
29044             description { state: "default" 0.0;
29045                fixed: 1 0;
29046                align: 0.0 0.5;
29047                rel1 {
29048                   relative: 0.0  1.0;
29049                   offset:   0    -10;
29050                }
29051                rel2 {
29052                   to_y: "elm.text";
29053                   relative: 0.0  0.0;
29054                   offset:   -1   -1;
29055                }
29056             }
29057          }
29058          part { name: "elm.swallow.icon";
29059             clip_to: "disclip";
29060             type: SWALLOW;
29061             description { state: "default" 0.0;
29062                fixed: 1 0;
29063                align: 0.5 0.5;
29064                rel1 {
29065                   relative: 0.0  0.0;
29066                   offset:   -1    4;
29067                }
29068                rel2 {
29069                   to_y: "elm.swallow.pad";
29070                   relative: 1.0  0.0;
29071                   offset:   -1   -5;
29072                }
29073             }
29074          }
29075          part { name: "elm.swallow.end";
29076             clip_to: "disclip";
29077             type: SWALLOW;
29078             description { state: "default" 0.0;
29079                fixed: 1 0;
29080                align: 1.0 0.0;
29081                aspect: 1.0 1.0;
29082                aspect_preference: HORIZONTAL;
29083                rel1 {
29084                   relative: 1.0 0.0;
29085                   offset: -5 -5;
29086                }
29087                rel2 {
29088                   relative: 1.0 1.0;
29089                   offset: 5 5;
29090                }
29091             }
29092          }
29093          part { name: "elm.text";
29094             clip_to: "disclip";
29095             type: TEXT;
29096             effect: SOFT_SHADOW;
29097             mouse_events: 0;
29098             scale: 1;
29099             description { state: "default" 0.0;
29100                rel1 {
29101                   relative: 0.0  1.0;
29102                   offset: 0 0;
29103                }
29104                rel2 {
29105                   relative: 1.0  1.0;
29106                   offset: -5 -5;
29107                }
29108                color: 0 0 0 255;
29109                color3: 0 0 0 0;
29110                text {
29111                   font: "Sans";
29112                   size: 10;
29113                   min: 0 1;
29114                   align: 0.5 0.0;
29115                   text_class: "grid_item";
29116                }
29117             }
29118             description { state: "selected" 0.0;
29119                inherit: "default" 0.0;
29120                color: 224 224 224 255;
29121                color3: 0 0 0 64;
29122             }
29123          }
29124          part { name: "fg1";
29125             clip_to: "disclip";
29126             mouse_events: 0;
29127             description { state: "default" 0.0;
29128                visible: 0;
29129                color: 255 255 255 0;
29130                rel1.to: "bg";
29131                rel2.relative: 1.0 0.5;
29132                rel2.to: "bg";
29133                image {
29134                   normal: "bt_sm_hilight.png";
29135                   border: 6 6 6 0;
29136                }
29137             }
29138             description { state: "selected" 0.0;
29139                inherit: "default" 0.0;
29140                visible: 1;
29141                color: 255 255 255 255;
29142             }
29143          }
29144          part { name: "fg2";
29145             clip_to: "disclip";
29146             mouse_events: 0;
29147             description { state: "default" 0.0;
29148                visible: 0;
29149                color: 255 255 255 0;
29150                rel1.to: "bg";
29151                rel2.to: "bg";
29152                image {
29153                   normal: "bt_sm_shine.png";
29154                   border: 6 6 6 0;
29155                }
29156             }
29157             description { state: "selected" 0.0;
29158                inherit: "default" 0.0;
29159                visible: 1;
29160                color: 255 255 255 255;
29161             }
29162          }
29163          part { name: "disclip";
29164             type: RECT;
29165             description { state: "default" 0.0;
29166                rel1.to: "bg";
29167                rel2.to: "bg";
29168             }
29169             description { state: "disabled" 0.0;
29170                inherit: "default" 0.0;
29171                color: 255 255 255 64;
29172             }
29173          }
29174       }
29175       programs {
29176          // signal: elm,state,%s,active
29177          //   a "check" item named %s went active
29178          // signal: elm,state,%s,passive
29179          //   a "check" item named %s went passive
29180          // default is passive
29181          program { name:    "go_active";
29182             signal:  "elm,state,selected";
29183             source:  "elm";
29184             action:  STATE_SET "selected" 0.0;
29185             target:  "bg";
29186             target:  "fg1";
29187             target:  "fg2";
29188             target:  "elm.text";
29189          }
29190          program { name:    "go_passive";
29191             signal:  "elm,state,unselected";
29192             source:  "elm";
29193             action:  STATE_SET "default" 0.0;
29194             target:  "bg";
29195             target:  "fg1";
29196             target:  "fg2";
29197             target:  "elm.text";
29198             transition: LINEAR 0.1;
29199          }
29200          program { name:    "go_disabled";
29201             signal:  "elm,state,disabled";
29202             source:  "elm";
29203             action:  STATE_SET "disabled" 0.0;
29204             target:  "disclip";
29205          }
29206          program { name:    "go_enabled";
29207             signal:  "elm,state,enabled";
29208             source:  "elm";
29209             action:  STATE_SET "default" 0.0;
29210             target:  "disclip";
29211          }
29212       }
29213    }
29214    group { name: "elm/gengrid/item/default_style/default";
29215        styles
29216        {
29217            style { name: "gengrid_style";
29218                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29219                tag:  "br" "\n";
29220                tag:  "ps" "ps";
29221                tag:  "hilight" "+ font=Sans:style=Bold";
29222                tag:  "b" "+ font=Sans:style=Bold";
29223                tag:  "tab" "\t";
29224            }
29225            style { name: "gengrid_selected_style";
29226                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29227                tag:  "br" "\n";
29228                tag:  "ps" "ps";
29229                tag:  "hilight" "+ font=Sans:style=Bold";
29230                tag:  "b" "+ font=Sans:style=Bold";
29231                tag:  "tab" "\t";
29232            }
29233        }
29234        data.item: "labels" "elm.text";
29235        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29236        images {
29237            image: "bt_sm_base1.png" COMP;
29238            image: "bt_sm_shine.png" COMP;
29239            image: "bt_sm_hilight.png" COMP;
29240            image: "ilist_1.png" COMP;
29241            image: "ilist_item_shadow.png" COMP;
29242        }
29243        parts {
29244            part { name: "event";
29245                type: RECT;
29246                repeat_events: 1;
29247                description { state: "default" 0.0;
29248                    color: 0 0 0 0;
29249                }
29250            }
29251            part { name: "base_sh";
29252                mouse_events: 0;
29253                description { state: "default" 0.0;
29254                    align: 0.0 0.0;
29255                    min: 0 10;
29256                    fixed: 1 1;
29257                    rel1 {
29258                        to: "base";
29259                        relative: 0.0 1.0;
29260                        offset: 0 0;
29261                    }
29262                    rel2 {
29263                        to: "base";
29264                        relative: 1.0 1.0;
29265                        offset: -1 0;
29266                    }
29267                    image {
29268                        normal: "ilist_item_shadow.png";
29269                    }
29270                    fill.smooth: 0;
29271                }
29272            }
29273            part { name: "base";
29274                mouse_events: 0;
29275                description { state: "default" 0.0;
29276                    min: 16 28;
29277                    image {
29278                        normal: "ilist_1.png";
29279                        border: 2 2 2 2;
29280                    }
29281                    fill.smooth: 0;
29282                }
29283            }
29284            part { name: "bg";
29285                clip_to: "disclip";
29286                mouse_events: 0;
29287                description { state: "default" 0.0;
29288                    visible: 0;
29289                    color: 255 255 255 0;
29290                    rel1 {
29291                        relative: 0.0 0.0;
29292                        offset: -5 -5;
29293                    }
29294                    rel2 {
29295                        relative: 1.0 1.0;
29296                        offset: 4 4;
29297                    }
29298                    image {
29299                        normal: "bt_sm_base1.png";
29300                        border: 6 6 6 6;
29301                    }
29302                    image.middle: SOLID;
29303                }
29304                description { state: "selected" 0.0;
29305                    inherit: "default" 0.0;
29306                    visible: 1;
29307                    color: 255 255 255 255;
29308                    rel1 {
29309                        relative: 0.0 0.0;
29310                        offset: -2 -2;
29311                    }
29312                    rel2 {
29313                        relative: 1.0 1.0;
29314                        offset: 1 1;
29315                    }
29316                }
29317            }
29318            part { name: "elm.swallow.pad";
29319                type: SWALLOW;
29320                description { state: "default" 0.0;
29321                    fixed: 1 0;
29322                    align: 0.0 0.5;
29323                    rel1 {
29324                        relative: 0.0  0.0;
29325                        offset:   4    4;
29326                    }
29327                    rel2 {
29328                        relative: 0.0  1.0;
29329                        offset:   4   -5;
29330                    }
29331                }
29332            }
29333            part { name: "elm.swallow.icon";
29334                clip_to: "disclip";
29335                type: SWALLOW;
29336                description { state: "default" 0.0;
29337                    fixed: 1 0;
29338                    align: 0.0 0.5;
29339                    rel1 {
29340                        to_x: "elm.swallow.pad";
29341                        relative: 1.0  0.0;
29342                        offset:   -1    4;
29343                    }
29344                    rel2 {
29345                        to_x: "elm.swallow.pad";
29346                        relative: 1.0  1.0;
29347                        offset:   -1   -5;
29348                    }
29349                }
29350            }
29351            part { name: "elm.swallow.end";
29352                clip_to: "disclip";
29353                type: SWALLOW;
29354                description { state: "default" 0.0;
29355                    fixed: 1 0;
29356                    align: 1.0 0.5;
29357                    aspect: 1.0 1.0;
29358                    aspect_preference: VERTICAL;
29359                    rel1 {
29360                        relative: 1.0  0.0;
29361                        offset:   -5    4;
29362                    }
29363                    rel2 {
29364                        relative: 1.0  1.0;
29365                        offset:   -5   -5;
29366                    }
29367                }
29368            }
29369            part { name: "elm.text";
29370                clip_to: "disclip";
29371                type: TEXTBLOCK;
29372                mouse_events: 0;
29373                scale: 1;
29374                description {
29375                    state: "default" 0.0;
29376                    align: 0.0 0.5;
29377                    fixed: 0 1;
29378                    rel1 {
29379                        to_x: "elm.swallow.icon";
29380                        to_y: "base";
29381                        relative: 1.0  0.5;
29382                        offset:   0 4;
29383                    }
29384                    rel2 {
29385                        to_x: "elm.swallow.end";
29386                        to_y: "base";
29387                        relative: 0.0  0.5;
29388                        offset:   -1 -5;
29389                    }
29390                    text {
29391                        style: "gengrid_style";
29392                        min: 1 1;
29393                    }
29394                }
29395                description { state: "selected" 0.0;
29396                    inherit: "default" 0.0;
29397                    text {
29398                        style: "gengrid_selected_style";
29399                    }
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.to: "bg";
29409                    rel2.relative: 1.0 0.5;
29410                    rel2.to: "bg";
29411                    image {
29412                        normal: "bt_sm_hilight.png";
29413                        border: 6 6 6 0;
29414                    }
29415                }
29416                description { state: "selected" 0.0;
29417                    inherit: "default" 0.0;
29418                    visible: 1;
29419                    color: 255 255 255 255;
29420                }
29421            }
29422            part { name: "fg2";
29423                clip_to: "disclip";
29424                mouse_events: 0;
29425                description { state: "default" 0.0;
29426                    visible: 0;
29427                    color: 255 255 255 0;
29428                    rel1.to: "bg";
29429                    rel2.to: "bg";
29430                    image {
29431                        normal: "bt_sm_shine.png";
29432                        border: 6 6 6 0;
29433                    }
29434                }
29435                description { state: "selected" 0.0;
29436                    inherit: "default" 0.0;
29437                    visible: 1;
29438                    color: 255 255 255 255;
29439                }
29440            }
29441            part { name: "disclip";
29442                type: RECT;
29443                description { state: "default" 0.0;
29444                    rel1.to: "bg";
29445                    rel2.to: "bg";
29446                }
29447                description { state: "disabled" 0.0;
29448                    inherit: "default" 0.0;
29449                    color: 255 255 255 64;
29450                }
29451            }
29452        }
29453        programs {
29454            // signal: elm,state,%s,active
29455            //   a "check" item named %s went active
29456            // signal: elm,state,%s,passive
29457            //   a "check" item named %s went passive
29458            // default is passive
29459            program { name:    "go_active";
29460                signal:  "elm,state,selected";
29461                source:  "elm";
29462                action:  STATE_SET "selected" 0.0;
29463                target:  "bg";
29464                target:  "fg1";
29465                target:  "fg2";
29466                target:  "elm.text";
29467            }
29468            program { name:    "go_passive";
29469                signal:  "elm,state,unselected";
29470                source:  "elm";
29471                action:  STATE_SET "default" 0.0;
29472                target:  "bg";
29473                target:  "fg1";
29474                target:  "fg2";
29475                target:  "elm.text";
29476                transition: LINEAR 0.1;
29477            }
29478            program { name:    "go_disabled";
29479                signal:  "elm,state,disabled";
29480                source:  "elm";
29481                action:  STATE_SET "disabled" 0.0;
29482                target:  "disclip";
29483            }
29484            program { name:    "go_enabled";
29485                signal:  "elm,state,enabled";
29486                source:  "elm";
29487                action:  STATE_SET "default" 0.0;
29488                target:  "disclip";
29489            }
29490        }
29491    }
29492
29493    group { name: "elm/gengrid/item/up/default";
29494       data.item: "labels" "elm.text";
29495       images {
29496           image: "bt_sm_base1.png" COMP;
29497           image: "bt_sm_shine.png" COMP;
29498           image: "bt_sm_hilight.png" COMP;
29499           image: "arrow_up.png" COMP;
29500       }
29501       parts {
29502          part { name: "event";
29503             type: RECT;
29504             repeat_events: 1;
29505             description { state: "default" 0.0;
29506                color: 0 0 0 0;
29507             }
29508          }
29509          part { name: "bg";
29510             clip_to: "disclip";
29511             mouse_events: 0;
29512             description { state: "default" 0.0;
29513                visible: 0;
29514                color: 255 255 255 0;
29515                rel1.offset: -3 -3;
29516                rel2.offset: 2 2;
29517                image { 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: "arrow_up.png";
29535                  rel2 {
29536                      to_y: "elm.text";
29537                      relative: 1.0 0.0;
29538                      offset: -1 -2;
29539                  }
29540              }
29541          }
29542          part { name: "elm.text";
29543             clip_to: "disclip";
29544             type: TEXT;
29545             effect: SOFT_SHADOW;
29546             mouse_events: 0;
29547             scale: 1;
29548             description { state: "default" 0.0;
29549                rel1 {
29550                   relative: 0.0  1.0;
29551                   offset: 20 -25;
29552                }
29553                rel2 {
29554                   relative: 1.0  1.0;
29555                   offset: -21 -3;
29556                }
29557                color: 0 0 0 255;
29558                color3: 0 0 0 0;
29559                text {
29560                   font: "Sans";
29561                   size: 10;
29562                   min: 0 1;
29563                   align: 0.5 0.0;
29564                   text_class: "grid_item";
29565                }
29566             }
29567             description { state: "selected" 0.0;
29568                inherit: "default" 0.0;
29569                color: 224 224 224 255;
29570                color3: 0 0 0 64;
29571             }
29572          }
29573          part { name: "fg1";
29574             clip_to: "disclip";
29575             mouse_events: 0;
29576             description { state: "default" 0.0;
29577                visible: 0;
29578                color: 255 255 255 0;
29579                rel1.offset: -3 -3;
29580                rel2 {
29581                    relative: 1.0 0.5;
29582                    offset: 2 -1;
29583                }
29584                image {
29585                   normal: "bt_sm_hilight.png";
29586                   border: 6 6 6 0;
29587                }
29588             }
29589             description { state: "selected" 0.0;
29590                inherit: "default" 0.0;
29591                visible: 1;
29592                color: 255 255 255 255;
29593             }
29594          }
29595          part { name: "fg2";
29596             clip_to: "disclip";
29597             mouse_events: 0;
29598             description { state: "default" 0.0;
29599                visible: 0;
29600                color: 255 255 255 0;
29601                rel1.offset: -3 -3;
29602                rel2.offset: 2 2;
29603                image {
29604                   normal: "bt_sm_shine.png";
29605                   border: 6 6 6 0;
29606                }
29607             }
29608             description { state: "selected" 0.0;
29609                inherit: "default" 0.0;
29610                visible: 1;
29611                color: 255 255 255 255;
29612             }
29613          }
29614          part { name: "disclip";
29615             type: RECT;
29616             description { state: "default" 0.0;
29617                rel1.to: "bg";
29618                rel2.to: "bg";
29619             }
29620             description { state: "disabled" 0.0;
29621                inherit: "default" 0.0;
29622                color: 255 255 255 64;
29623             }
29624          }
29625       }
29626       programs {
29627          program { name:    "go_active";
29628             signal:  "elm,state,selected";
29629             source:  "elm";
29630             action:  STATE_SET "selected" 0.0;
29631             target:  "bg";
29632             target:  "fg1";
29633             target:  "fg2";
29634             target:  "elm.text";
29635          }
29636          program { name:    "go_passive";
29637             signal:  "elm,state,unselected";
29638             source:  "elm";
29639             action:  STATE_SET "default" 0.0;
29640             target:  "bg";
29641             target:  "fg1";
29642             target:  "fg2";
29643             target:  "elm.text";
29644             transition: LINEAR 0.1;
29645          }
29646          program { name:    "go_disabled";
29647             signal:  "elm,state,disabled";
29648             source:  "elm";
29649             action:  STATE_SET "disabled" 0.0;
29650             target:  "disclip";
29651          }
29652          program { name:    "go_enabled";
29653             signal:  "elm,state,enabled";
29654             source:  "elm";
29655             action:  STATE_SET "default" 0.0;
29656             target:  "disclip";
29657          }
29658       }
29659    }
29660
29661    group { name: "elm/gengrid/item/album-preview/default";
29662       data.item: "labels" "elm.text";
29663       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29664       data.item: "states" "have_files";
29665       images {
29666          image: "bt_sm_base1.png" COMP;
29667          image: "bt_sm_shine.png" COMP;
29668          image: "bt_sm_hilight.png" COMP;
29669          image: "icon_folder.png" COMP;
29670       }
29671       parts {
29672          part { name: "event";
29673             type: RECT;
29674             repeat_events: 1;
29675             description { state: "default" 0.0;
29676                color: 0 0 0 0;
29677             }
29678          }
29679          part { name: "bg";
29680             clip_to: "disclip";
29681             mouse_events: 0;
29682             description { state: "default" 0.0;
29683                visible: 0;
29684                color: 255 255 255 0;
29685                rel1.offset: -3 -3;
29686                rel2.offset: 2 2;
29687                image {
29688                   normal: "bt_sm_base1.png";
29689                   border: 6 6 6 6;
29690                   middle: SOLID;
29691                }
29692             }
29693             description { state: "selected" 0.0;
29694                inherit: "default" 0.0;
29695                visible: 1;
29696                color: 255 255 255 255;
29697             }
29698          }
29699          part { name: "image";
29700              type: IMAGE;
29701              mouse_events: 0;
29702              description { state: "default" 0.0;
29703                  aspect_preference: BOTH;
29704                  aspect: 1.0 1.0;
29705                  image.normal: "icon_folder.png";
29706                  rel2 {
29707                      to_y: "elm.text";
29708                      relative: 1.0 0.0;
29709                      offset: -1 -2;
29710                  }
29711              }
29712          }
29713          part { name: "have-files-clipper";
29714              type: RECT;
29715              description { state: "default" 0.0;
29716                  color: 255 255 255 0;
29717                  visible: 0;
29718              }
29719              description { state: "visible" 0.0;
29720                  inherit: "default" 0.0;
29721                  color: 255 255 255 255;
29722                  visible: 1;
29723              }
29724          }
29725          part { name: "icon_box_margin";
29726              type: RECT;
29727              mouse_events: 0;
29728              clip_to: "have-files-clipper";
29729              description { state: "default" 0.0;
29730                  color: 0 0 0 255;
29731                  rel1 {
29732                      to: "icon_box";
29733                      offset: -1 -1;
29734                  }
29735                  rel2 {
29736                      to: "icon_box";
29737                      offset: 0 0;
29738                  }
29739              }
29740          }
29741          part { name: "icon_box";
29742              type: RECT;
29743              mouse_events: 0;
29744              clip_to: "have-files-clipper";
29745              description { state: "default" 0.0;
29746                  color: 255 255 255 255;
29747                  align: 1.0 1.0;
29748                  min: 32 32;
29749                  rel1 {
29750                      relative: 0.25 0.25;
29751                      offset: 0 0;
29752                  }
29753                  rel2 {
29754                      relative: 1.0 0.0;
29755                      offset: -11 -4;
29756                      to_y: "elm.text";
29757                  }
29758              }
29759          }
29760          part { name: "elm.swallow.icon.1";
29761              type: SWALLOW;
29762              mouse_events: 0;
29763              clip_to: "have-files-clipper";
29764              description { state: "default" 0.0;
29765                rel1 {
29766                   relative: 0.0  0.0;
29767                   to: "icon_box";
29768                }
29769                rel2 {
29770                   relative: 0.5  0.5;
29771                   offset: -1 -1;
29772                   to: "icon_box";
29773                }
29774             }
29775          }
29776          part { name: "elm.swallow.icon.2";
29777              type: SWALLOW;
29778              mouse_events: 0;
29779              clip_to: "have-files-clipper";
29780              description { state: "default" 0.0;
29781                rel1 {
29782                   relative: 0.5  0.0;
29783                   to: "icon_box";
29784                }
29785                rel2 {
29786                   relative: 1.0  0.5;
29787                   offset: -1 -1;
29788                   to: "icon_box";
29789                }
29790             }
29791          }
29792          part { name: "elm.swallow.icon.3";
29793              type: SWALLOW;
29794              mouse_events: 0;
29795              clip_to: "have-files-clipper";
29796              description { state: "default" 0.0;
29797                rel1 {
29798                   relative: 0.0  0.5;
29799                   to: "icon_box";
29800                }
29801                rel2 {
29802                   relative: 0.5  1.0;
29803                   offset: -1 -1;
29804                   to: "icon_box";
29805                }
29806             }
29807          }
29808          part { name: "elm.swallow.icon.4";
29809              type: SWALLOW;
29810              mouse_events: 0;
29811              clip_to: "have-files-clipper";
29812              description { state: "default" 0.0;
29813                rel1 {
29814                   relative: 0.5  0.5;
29815                   to: "icon_box";
29816                }
29817                rel2 {
29818                   relative: 1.0  1.0;
29819                   offset: -1 -1;
29820                   to: "icon_box";
29821                }
29822             }
29823          }
29824          part { name: "elm.text";
29825             clip_to: "disclip";
29826             type: TEXT;
29827             effect: SOFT_SHADOW;
29828             mouse_events: 0;
29829             scale: 1;
29830             description { state: "default" 0.0;
29831                rel1 {
29832                   relative: 0.0  1.0;
29833                   offset: 20 -30;
29834                }
29835                rel2 {
29836                   relative: 1.0  1.0;
29837                   offset: -21 -15;
29838                }
29839                color: 0 0 0 255;
29840                color3: 0 0 0 0;
29841                text {
29842                   font: "Sans";
29843                   size: 10;
29844                   min: 0 1;
29845                   align: 0.5 0.0;
29846                   text_class: "grid_item";
29847                }
29848             }
29849             description { state: "selected" 0.0;
29850                 inherit: "default" 0.0;
29851                 color: 255 255 255 255;
29852             }
29853          }
29854          part { name: "fg1";
29855             clip_to: "disclip";
29856             mouse_events: 0;
29857             description { state: "default" 0.0;
29858                visible: 0;
29859                color: 255 255 255 0;
29860                rel1.offset: -3 -3;
29861                rel2 {
29862                    relative: 1.0 0.5;
29863                    offset: 2 -1;
29864                }
29865                image {
29866                   normal: "bt_sm_hilight.png";
29867                   border: 6 6 6 0;
29868                }
29869             }
29870             description { state: "selected" 0.0;
29871                inherit: "default" 0.0;
29872                visible: 1;
29873                color: 255 255 255 255;
29874             }
29875          }
29876          part { name: "fg2";
29877             clip_to: "disclip";
29878             mouse_events: 0;
29879             description { state: "default" 0.0;
29880                visible: 0;
29881                color: 255 255 255 0;
29882                rel1.offset: -3 -3;
29883                rel2.offset: 2 2;
29884                image {
29885                   normal: "bt_sm_shine.png";
29886                   border: 6 6 6 0;
29887                }
29888             }
29889             description { state: "selected" 0.0;
29890                inherit: "default" 0.0;
29891                visible: 1;
29892                color: 255 255 255 255;
29893             }
29894          }
29895          part { name: "disclip";
29896             type: RECT;
29897             description { state: "default" 0.0;
29898                rel1.to: "bg";
29899                rel2.to: "bg";
29900             }
29901             description { state: "disabled" 0.0;
29902                inherit: "default" 0.0;
29903                color: 255 255 255 64;
29904             }
29905          }
29906       }
29907       programs {
29908          program { name:    "go_active";
29909             signal:  "elm,state,selected";
29910             source:  "elm";
29911             action:  STATE_SET "selected" 0.0;
29912             target:  "bg";
29913             target:  "fg1";
29914             target:  "fg2";
29915             target:  "elm.text";
29916          }
29917          program { name:    "go_passive";
29918             signal:  "elm,state,unselected";
29919             source:  "elm";
29920             action:  STATE_SET "default" 0.0;
29921             target:  "bg";
29922             target:  "fg1";
29923             target:  "fg2";
29924             target:  "elm.text";
29925             transition: LINEAR 0.1;
29926          }
29927          program { name:    "go_disabled";
29928             signal:  "elm,state,disabled";
29929             source:  "elm";
29930             action:  STATE_SET "disabled" 0.0;
29931             target:  "disclip";
29932          }
29933          program { name:    "go_enabled";
29934             signal:  "elm,state,enabled";
29935             source:  "elm";
29936             action:  STATE_SET "default" 0.0;
29937             target:  "disclip";
29938          }
29939          program {
29940              signal: "elm,state,have_files,active";
29941              source: "elm";
29942              action: STATE_SET "visible" 0.0;
29943              target: "have-files-clipper";
29944          }
29945       }
29946    }
29947
29948    group { name: "elm/gengrid/item/thumb/default";
29949        data {
29950            item: "icons" "elm.swallow.icon";
29951            item: "labels" "elm.text";
29952        }
29953        images {
29954            image: "bt_sm_base1.png" COMP;
29955            image: "bt_sm_shine.png" COMP;
29956            image: "bt_sm_hilight.png" COMP;
29957            image: "thumb_shadow.png" COMP;
29958        }
29959        parts {
29960            part { name: "event";
29961                type: RECT;
29962                repeat_events: 1;
29963                description { state: "default" 0.0;
29964                    color: 0 0 0 0;
29965                }
29966            }
29967            part { name: "bg";
29968                mouse_events: 0;
29969                description { state: "default" 0.0;
29970                    visible: 0;
29971                    color: 255 255 255 0;
29972                    rel1.offset: -3 -3;
29973                    rel2.offset: 2 2;
29974                    image {
29975                        normal: "bt_sm_base1.png";
29976                        border: 6 6 6 6;
29977                        middle: SOLID;
29978                    }
29979                }
29980                description { state: "selected" 0.0;
29981                    inherit: "default" 0.0;
29982                    visible: 1;
29983                    color: 255 255 255 255;
29984                }
29985            }
29986            part { name: "border-shadow";
29987                type: IMAGE;
29988                mouse_events: 0;
29989                description { state: "default" 0.0;
29990                    rel1 {
29991                        to: "elm.swallow.icon";
29992                        offset: -18 -18;
29993                    }
29994                    rel2 {
29995                        to_x: "elm.swallow.icon";
29996                        to_y: "elm.text";
29997                        offset: 17 17;
29998                    }
29999                    image {
30000                        normal: "thumb_shadow.png";
30001                        border: 17 17 17 17;
30002                        middle: NONE;
30003                    }
30004                }
30005            }
30006            part { name: "border";
30007                type: RECT;
30008                mouse_events: 0;
30009                description { state: "default" 0.0;
30010                    rel1 {
30011                        to: "border-shadow";
30012                        offset: 16 16;
30013                    }
30014                    rel2 {
30015                        to: "border-shadow";
30016                        offset: -15 -15;
30017                    }
30018                }
30019            }
30020            part { name: "elm.swallow.icon";
30021                type: SWALLOW;
30022                mouse_events: 0;
30023                description { state: "default" 0.0;
30024                    aspect_preference: BOTH;
30025                    aspect: 1.0 1.0;
30026                    rel1.offset: 0 8;
30027                    rel2 {
30028                        to_y: "elm.text";
30029                        relative: 1.0 0.0;
30030                        offset: -1 -2;
30031                    }
30032                }
30033            }
30034            part { name: "elm.text";
30035                type: TEXT;
30036                effect: SOFT_SHADOW;
30037                mouse_events: 0;
30038                scale: 1;
30039                description { state: "default" 0.0;
30040                    color: 0 0 0 255;
30041                    color3: 0 0 0 0;
30042                    align: 0.5 1.0;
30043                    rel1 {
30044                        relative: 0.0 1.0;
30045                        offset: 20 -30;
30046                    }
30047                    rel2 {
30048                        relative: 1.0 1.0;
30049                        offset: -21 -15;
30050                    }
30051                    text {
30052                        font: "Sans";
30053                        size: 10;
30054                        min: 0 1;
30055                        align: 0.5 0.0;
30056                        text_class: "grid_item";
30057                    }
30058                }
30059            }
30060            part { name: "fg1";
30061                mouse_events: 0;
30062                description { state: "default" 0.0;
30063                    visible: 0;
30064                    color: 255 255 255 0;
30065                    rel1.offset: -3 -3;
30066                    rel2 {
30067                        relative: 1.0 0.5;
30068                        offset: 2 -1;
30069                    }
30070                    image {
30071                        normal: "bt_sm_hilight.png";
30072                        border: 6 6 6 0;
30073                    }
30074                }
30075                description { state: "selected" 0.0;
30076                    inherit: "default" 0.0;
30077                    visible: 1;
30078                    color: 255 255 255 255;
30079                }
30080            }
30081            part { name: "fg2";
30082                mouse_events: 0;
30083                description { state: "default" 0.0;
30084                    visible: 0;
30085                    color: 255 255 255 0;
30086                    rel1.offset: -3 -3;
30087                    rel2.offset: 2 2;
30088                    image {
30089                        image: "bt_sm_shine.png";
30090                        border: 6 6 6 0;
30091                    }
30092                }
30093                description { state: "selected" 0.0;
30094                    inherit: "default" 0.0;
30095                    visible: 1;
30096                    color: 255 255 255 255;
30097                }
30098            }
30099        }
30100        programs {
30101            program {
30102                signal: "elm,state,selected";
30103                source: "elm";
30104                action: STATE_SET "selected" 0.0;
30105                target: "bg";
30106                target: "fg1";
30107                target: "fg2";
30108            }
30109            program {
30110                signal: "elm,state,unselected";
30111                source: "elm";
30112                action:  STATE_SET "default" 0.0;
30113                target: "bg";
30114                target: "fg1";
30115                target: "fg2";
30116                transition: LINEAR 0.1;
30117            }
30118        }
30119    }
30120
30121 ///////////////////////////////////////////////////////////////////////////////
30122    group { name: "elm/photocam/base/default";
30123        script {
30124            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30125            public timer0(val) {
30126                new v;
30127                v = get_int(sbvis_v);
30128                if (v) {
30129                    v = get_int(sbalways_v);
30130                    if (!v) {
30131                        emit("do-hide-vbar", "");
30132                        set_int(sbvis_v, 0);
30133                    }
30134                }
30135                v = get_int(sbvis_h);
30136                if (v) {
30137                    v = get_int(sbalways_h);
30138                    if (!v) {
30139                        emit("do-hide-hbar", "");
30140                        set_int(sbvis_h, 0);
30141                    }
30142                }
30143                set_int(sbvis_timer, 0);
30144                return 0;
30145            }
30146        }
30147        images {
30148            image: "shelf_inset.png" COMP;
30149            image: "bt_sm_base2.png" COMP;
30150            image: "bt_sm_shine.png" COMP;
30151            image: "bt_sm_hilight.png" COMP;
30152            image: "busy-1.png" COMP;
30153            image: "busy-2.png" COMP;
30154            image: "busy-3.png" COMP;
30155            image: "busy-4.png" COMP;
30156            image: "busy-5.png" COMP;
30157            image: "busy-6.png" COMP;
30158            image: "busy-7.png" COMP;
30159            image: "busy-8.png" COMP;
30160            image: "busy-9.png" COMP;
30161        }
30162        parts {
30163            part { name: "bg";
30164                type: RECT;
30165                description { state: "default" 0.0;
30166                    rel1.offset: 1 1;
30167                    rel2.offset: -2 -2;
30168                    color: 255 255 255 0;
30169                }
30170            }
30171            part { name: "clipper";
30172                type: RECT;
30173                mouse_events: 0;
30174                description { state: "default" 0.0;
30175                    rel1.to: "bg";
30176                    rel2.to: "bg";
30177                }
30178            }
30179            part { name: "elm.swallow.content";
30180                clip_to: "clipper";
30181                type: SWALLOW;
30182                description { state: "default" 0.0;
30183                    rel1.offset: 1 1;
30184                    rel2.offset: -2 -2;
30185                }
30186            }
30187            part { name: "busy_clip";
30188                type: RECT;
30189                mouse_events: 0;
30190                description { state: "default" 0.0;
30191                    visible: 0;
30192                    color: 255 255 255 0;
30193                }
30194                description { state: "active" 0.0;
30195                    visible: 1;
30196                    color: 255 255 255 255;
30197                }
30198            }
30199            part { name: "busy";
30200                clip_to: "busy_clip";
30201                mouse_events: 0;
30202                description { state: "default" 0.0;
30203                    fixed: 1 1;
30204                    min: 32 32;
30205                    aspect: 1.0 1.0;
30206                    align: 1.0 1.0;
30207                    aspect_preference: BOTH;
30208                    rel1 {
30209                        relative: 0.9 0.9;
30210                        offset:   -9 -9;
30211                    }
30212                    rel2 {
30213                        relative: 0.9 0.9;
30214                        offset:   -9 -9;
30215                    }
30216                    image {
30217                        normal: "busy-9.png";
30218                        tween:  "busy-1.png";
30219                        tween:  "busy-2.png";
30220                        tween:  "busy-3.png";
30221                        tween:  "busy-4.png";
30222                        tween:  "busy-5.png";
30223                        tween:  "busy-6.png";
30224                        tween:  "busy-7.png";
30225                        tween:  "busy-8.png";
30226                    }
30227                }
30228            }
30229            part { name: "conf_over";
30230                mouse_events:  0;
30231                description { state: "default" 0.0;
30232                    rel1.offset: 0 0;
30233                    rel2.offset: -1 -1;
30234                    image {
30235                        normal: "shelf_inset.png";
30236                        border: 7 7 7 7;
30237                        middle: 0;
30238                    }
30239                    fill.smooth : 0;
30240                }
30241            }
30242            part { name: "sb_vbar_clip_master";
30243                type: RECT;
30244                mouse_events: 0;
30245                description { state: "default" 0.0;
30246                }
30247                description { state: "hidden" 0.0;
30248                    visible: 0;
30249                    color: 255 255 255 0;
30250                }
30251            }
30252            part { name: "sb_vbar_clip";
30253                clip_to: "sb_vbar_clip_master";
30254                type: RECT;
30255                mouse_events: 0;
30256                description { state: "default" 0.0;
30257                }
30258                description { state: "hidden" 0.0;
30259                    visible: 0;
30260                    color: 255 255 255 0;
30261                }
30262            }
30263            part { name: "sb_vbar";
30264                type: RECT;
30265                mouse_events: 0;
30266                description { state: "default" 0.0;
30267                    fixed: 1 1;
30268                    visible: 0;
30269                    min: 10 17;
30270                    align: 1.0 0.0;
30271                    rel1 {
30272                        relative: 1.0 0.0;
30273                        offset:   -2 0;
30274                    }
30275                    rel2 {
30276                        relative: 1.0 0.0;
30277                        offset:   -2 -1;
30278                        to_y:     "sb_hbar";
30279                    }
30280                }
30281            }
30282            part { name: "elm.dragable.vbar";
30283                clip_to: "sb_vbar_clip";
30284                mouse_events: 0;
30285                dragable {
30286                    x: 0 0 0;
30287                    y: 1 1 0;
30288                    confine: "sb_vbar";
30289                }
30290                description { state: "default" 0.0;
30291                    fixed: 1 1;
30292                    min: 10 17;
30293                    max: 10 99999;
30294                    rel1 {
30295                        relative: 0.5  0.5;
30296                        offset:   0    0;
30297                        to: "sb_vbar";
30298                    }
30299                    rel2 {
30300                        relative: 0.5  0.5;
30301                        offset:   0    0;
30302                        to: "sb_vbar";
30303                    }
30304                    image {
30305                        normal: "bt_sm_base2.png";
30306                        border: 6 6 6 6;
30307                        middle: SOLID;
30308                    }
30309                }
30310            }
30311            part { name: "sb_vbar_over1";
30312                clip_to: "sb_vbar_clip";
30313                mouse_events: 0;
30314                description { state: "default" 0.0;
30315                    rel1.to: "elm.dragable.vbar";
30316                    rel2.relative: 1.0 0.5;
30317                    rel2.to: "elm.dragable.vbar";
30318                    image {
30319                        normal: "bt_sm_hilight.png";
30320                        border: 6 6 6 0;
30321                    }
30322                }
30323            }
30324            part { name: "sb_vbar_over2";
30325                clip_to: "sb_vbar_clip";
30326                mouse_events: 0;
30327                description { state: "default" 0.0;
30328                    rel1.to: "elm.dragable.vbar";
30329                    rel2.to: "elm.dragable.vbar";
30330                    image {
30331                        normal: "bt_sm_shine.png";
30332                        border: 6 6 6 0;
30333                    }
30334                }
30335            }
30336
30337            part { name: "sb_hbar_clip_master";
30338                type: RECT;
30339                mouse_events: 0;
30340                description { state: "default" 0.0;
30341                }
30342                description { state: "hidden" 0.0;
30343                    visible: 0;
30344                    color: 255 255 255 0;
30345                }
30346            }
30347            part { name: "sb_hbar_clip";
30348                clip_to: "sb_hbar_clip_master";
30349                type: RECT;
30350                mouse_events: 0;
30351                description { state: "default" 0.0;
30352                }
30353                description { state: "hidden" 0.0;
30354                    visible: 0;
30355                    color: 255 255 255 0;
30356                }
30357            }
30358            part { name: "sb_hbar";
30359                type: RECT;
30360                mouse_events: 0;
30361                description { state: "default" 0.0;
30362                    fixed: 1 1;
30363                    visible: 0;
30364                    min: 17 10;
30365                    align: 0.0 1.0;
30366                    rel1 {
30367                        relative: 0.0 1.0;
30368                        offset:   0 -2;
30369                    }
30370                    rel2 {
30371                        relative: 0.0 1.0;
30372                        offset:   -1 -2;
30373                        to_x:     "sb_vbar";
30374                    }
30375                }
30376            }
30377            part { name: "elm.dragable.hbar";
30378                clip_to: "sb_hbar_clip";
30379                mouse_events: 0;
30380                dragable {
30381                    x: 1 1 0;
30382                    y: 0 0 0;
30383                    confine: "sb_hbar";
30384                }
30385                description { state: "default" 0.0;
30386                    fixed: 1 1;
30387                    min: 17 10;
30388                    max: 99999 10;
30389                    rel1 {
30390                        relative: 0.5  0.5;
30391                        offset:   0    0;
30392                        to: "sb_hbar";
30393                    }
30394                    rel2 {
30395                        relative: 0.5  0.5;
30396                        offset:   0    0;
30397                        to: "sb_hbar";
30398                    }
30399                    image {
30400                        normal: "bt_sm_base2.png";
30401                        border: 4 4 4 4;
30402                        middle: SOLID;
30403                    }
30404                }
30405            }
30406            part { name: "sb_hbar_over1";
30407                clip_to: "sb_hbar_clip";
30408                mouse_events: 0;
30409                description { state: "default" 0.0;
30410                    rel1.to: "elm.dragable.hbar";
30411                    rel2.relative: 1.0 0.5;
30412                    rel2.to: "elm.dragable.hbar";
30413                    image {
30414                        normal: "bt_sm_hilight.png";
30415                        border: 4 4 4 0;
30416                    }
30417                }
30418            }
30419            part { name: "sb_hbar_over2";
30420                clip_to: "sb_hbar_clip";
30421                mouse_events: 0;
30422                description { state: "default" 0.0;
30423                    rel1.to: "elm.dragable.hbar";
30424                    rel2.to: "elm.dragable.hbar";
30425                    image {
30426                        normal: "bt_sm_shine.png";
30427                        border: 4 4 4 0;
30428                    }
30429                }
30430            }
30431        }
30432        programs {
30433            program { name: "load";
30434                signal: "load";
30435                source: "";
30436                script {
30437                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30438                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30439                    set_int(sbvis_h, 0);
30440                    set_int(sbvis_v, 0);
30441                    set_int(sbalways_v, 0);
30442                    set_int(sbalways_h, 0);
30443                    set_int(sbvis_timer, 0);
30444                }
30445            }
30446
30447            program { name: "vbar_show";
30448                signal: "elm,action,show,vbar";
30449                source: "elm";
30450                action:  STATE_SET "default" 0.0;
30451                target: "sb_vbar_clip_master";
30452            }
30453            program { name: "vbar_hide";
30454                signal: "elm,action,hide,vbar";
30455                source: "elm";
30456                action:  STATE_SET "hidden" 0.0;
30457                target: "sb_vbar_clip_master";
30458            }
30459            program { name: "vbar_show_always";
30460                signal: "elm,action,show_always,vbar";
30461                source: "elm";
30462                script {
30463                    new v;
30464                    v = get_int(sbvis_v);
30465                    v |= get_int(sbalways_v);
30466                    if (!v) {
30467                        set_int(sbalways_v, 1);
30468                        emit("do-show-vbar", "");
30469                        set_int(sbvis_v, 1);
30470                    }
30471                }
30472            }
30473            program { name: "vbar_show_notalways";
30474                signal: "elm,action,show_notalways,vbar";
30475                source: "elm";
30476                script {
30477                    new v;
30478                    v = get_int(sbalways_v);
30479                    if (v) {
30480                        set_int(sbalways_v, 0);
30481                        v = get_int(sbvis_v);
30482                        if (!v) {
30483                            emit("do-hide-vbar", "");
30484                            set_int(sbvis_v, 0);
30485                        }
30486                    }
30487                }
30488            }
30489            program { name: "sb_vbar_show";
30490                signal: "do-show-vbar";
30491                source: "";
30492                action:  STATE_SET "default" 0.0;
30493                transition: LINEAR 0.5;
30494                target: "sb_vbar_clip";
30495            }
30496            program { name: "sb_vbar_hide";
30497                signal: "do-hide-vbar";
30498                source: "";
30499                action:  STATE_SET "hidden" 0.0;
30500                transition: LINEAR 0.5;
30501                target: "sb_vbar_clip";
30502            }
30503
30504            program { name: "hbar_show";
30505                signal: "elm,action,show,hbar";
30506                source: "elm";
30507                action:  STATE_SET "default" 0.0;
30508                target: "sb_hbar_clip_master";
30509            }
30510            program { name: "hbar_hide";
30511                signal: "elm,action,hide,hbar";
30512                source: "elm";
30513                action:  STATE_SET "hidden" 0.0;
30514                target: "sb_hbar_clip_master";
30515            }
30516            program { name: "hbar_show_always";
30517                signal: "elm,action,show_always,hbar";
30518                source: "elm";
30519                script {
30520                    new v;
30521                    v = get_int(sbvis_h);
30522                    v |= get_int(sbalways_h);
30523                    if (!v) {
30524                        set_int(sbalways_h, 1);
30525                        emit("do-show-hbar", "");
30526                        set_int(sbvis_h, 1);
30527                    }
30528                }
30529            }
30530            program { name: "hbar_show_notalways";
30531                signal: "elm,action,show_notalways,hbar";
30532                source: "elm";
30533                script {
30534                    new v;
30535                    v = get_int(sbalways_h);
30536                    if (v) {
30537                        set_int(sbalways_h, 0);
30538                        v = get_int(sbvis_h);
30539                        if (!v) {
30540                            emit("do-hide-hbar", "");
30541                            set_int(sbvis_h, 0);
30542                        }
30543                    }
30544                }
30545            }
30546            program { name: "sb_hbar_show";
30547                signal: "do-show-hbar";
30548                source: "";
30549                action:  STATE_SET "default" 0.0;
30550                transition: LINEAR 0.5;
30551                target: "sb_hbar_clip";
30552            }
30553            program { name: "sb_hbar_hide";
30554                signal: "do-hide-hbar";
30555                source: "";
30556                action:  STATE_SET "hidden" 0.0;
30557                transition: LINEAR 0.5;
30558                target: "sb_hbar_clip";
30559            }
30560
30561            program { name: "scroll";
30562                signal: "elm,action,scroll";
30563                source: "elm";
30564                script {
30565                    new v;
30566                    v = get_int(sbvis_v);
30567                    v |= get_int(sbalways_v);
30568                    if (!v) {
30569                        emit("do-show-vbar", "");
30570                        set_int(sbvis_v, 1);
30571                    }
30572                    v = get_int(sbvis_h);
30573                    v |= get_int(sbalways_h);
30574                    if (!v) {
30575                        emit("do-show-hbar", "");
30576                        set_int(sbvis_h, 1);
30577                    }
30578                    v = get_int(sbvis_timer);
30579                    if (v > 0) cancel_timer(v);
30580                    v = timer(1.0, "timer0", 0);
30581                    set_int(sbvis_timer, v);
30582                }
30583            }
30584            program { name: "go1";
30585                signal: "elm,state,busy,start";
30586                source: "elm";
30587                action: STATE_SET "active" 0.0;
30588                transition: SINUSOIDAL 1.0;
30589                target:  "busy_clip";
30590            }
30591            program { name: "go2";
30592                signal: "elm,state,busy,start";
30593                source: "elm";
30594                action: STATE_SET "default" 0.0;
30595                transition: LINEAR 0.5;
30596                target: "busy";
30597                after:  "go2";
30598            }
30599            program { name: "stop1";
30600                signal: "elm,state,busy,stop";
30601                source: "elm";
30602                action: STATE_SET "default" 0.0;
30603                transition: SINUSOIDAL 1.0;
30604                target: "busy_clip";
30605                after: "stop2";
30606            }
30607          program { name: "stop2";
30608             action: ACTION_STOP;
30609             target: "go2";
30610          }
30611       }
30612    }
30613
30614    ///////////////////////////////////////////////////////////////////////////////
30615    group { name: "elm/map/base/default";
30616        script {
30617            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30618            public timer0(val) {
30619                new v;
30620                v = get_int(sbvis_v);
30621                if (v) {
30622                    v = get_int(sbalways_v);
30623                    if (!v) {
30624                        emit("do-hide-vbar", "");
30625                        set_int(sbvis_v, 0);
30626                    }
30627                }
30628                v = get_int(sbvis_h);
30629                if (v) {
30630                    v = get_int(sbalways_h);
30631                    if (!v) {
30632                        emit("do-hide-hbar", "");
30633                        set_int(sbvis_h, 0);
30634                    }
30635                }
30636                set_int(sbvis_timer, 0);
30637                return 0;
30638            }
30639        }
30640        images {
30641            image: "shelf_inset.png" COMP;
30642            image: "bt_sm_base2.png" COMP;
30643            image: "bt_sm_shine.png" COMP;
30644            image: "bt_sm_hilight.png" COMP;
30645            image: "busy-1.png" COMP;
30646            image: "busy-2.png" COMP;
30647            image: "busy-3.png" COMP;
30648            image: "busy-4.png" COMP;
30649            image: "busy-5.png" COMP;
30650            image: "busy-6.png" COMP;
30651            image: "busy-7.png" COMP;
30652            image: "busy-8.png" COMP;
30653            image: "busy-9.png" COMP;
30654        }
30655        parts {
30656            part { name: "bg";
30657                type: RECT;
30658                description { state: "default" 0.0;
30659                    rel1.offset: 1 1;
30660                    rel2.offset: -2 -2;
30661                    color: 255 255 255 0;
30662                }
30663            }
30664            part { name: "clipper";
30665                type: RECT;
30666                mouse_events: 0;
30667                description { state: "default" 0.0;
30668                    rel1.to: "bg";
30669                    rel2.to: "bg";
30670                }
30671            }
30672            part { name: "elm.swallow.content";
30673                clip_to: "clipper";
30674                type: SWALLOW;
30675                description { state: "default" 0.0;
30676                    rel1.offset: 1 1;
30677                    rel2.offset: -2 -2;
30678                }
30679            }
30680            part { name: "busy_clip";
30681                type: RECT;
30682                mouse_events: 0;
30683                description { state: "default" 0.0;
30684                    visible: 0;
30685                    color: 255 255 255 0;
30686                }
30687                description { state: "active" 0.0;
30688                    visible: 1;
30689                    color: 255 255 255 255;
30690                }
30691            }
30692            part { name: "busy";
30693                clip_to: "busy_clip";
30694                mouse_events: 0;
30695                description { state: "default" 0.0;
30696                    fixed: 1 1;
30697                    min: 32 32;
30698                    aspect: 1.0 1.0;
30699                    align: 1.0 1.0;
30700                    aspect_preference: BOTH;
30701                    rel1 {
30702                        relative: 0.9 0.9;
30703                        offset:   -9 -9;
30704                    }
30705                    rel2 {
30706                        relative: 0.9 0.9;
30707                        offset:   -9 -9;
30708                    }
30709                    image {
30710                        normal: "busy-9.png";
30711                        tween:  "busy-1.png";
30712                        tween:  "busy-2.png";
30713                        tween:  "busy-3.png";
30714                        tween:  "busy-4.png";
30715                        tween:  "busy-5.png";
30716                        tween:  "busy-6.png";
30717                        tween:  "busy-7.png";
30718                        tween:  "busy-8.png";
30719                    }
30720                }
30721            }
30722            part { name: "conf_over";
30723                mouse_events:  0;
30724                description { state: "default" 0.0;
30725                    rel1.offset: 0 0;
30726                    rel2.offset: -1 -1;
30727                    image {
30728                        normal: "shelf_inset.png";
30729                        border: 7 7 7 7;
30730                        middle: 0;
30731                    }
30732                    fill.smooth : 0;
30733                }
30734            }
30735            part { name: "sb_vbar_clip_master";
30736                type: RECT;
30737                mouse_events: 0;
30738                description { state: "default" 0.0;
30739                }
30740                description { state: "hidden" 0.0;
30741                    visible: 0;
30742                    color: 255 255 255 0;
30743                }
30744            }
30745            part { name: "sb_vbar_clip";
30746                clip_to: "sb_vbar_clip_master";
30747                type: RECT;
30748                mouse_events: 0;
30749                description { state: "default" 0.0;
30750                }
30751                description { state: "hidden" 0.0;
30752                    visible: 0;
30753                    color: 255 255 255 0;
30754                }
30755            }
30756            part { name: "sb_vbar";
30757                type: RECT;
30758                mouse_events: 0;
30759                description { state: "default" 0.0;
30760                    fixed: 1 1;
30761                    visible: 0;
30762                    min: 10 17;
30763                    align: 1.0 0.0;
30764                    rel1 {
30765                        relative: 1.0 0.0;
30766                        offset:   -2 0;
30767                    }
30768                    rel2 {
30769                        relative: 1.0 0.0;
30770                        offset:   -2 -1;
30771                        to_y:     "sb_hbar";
30772                    }
30773                }
30774            }
30775            part { name: "elm.dragable.vbar";
30776                clip_to: "sb_vbar_clip";
30777                mouse_events: 0;
30778                dragable {
30779                    x: 0 0 0;
30780                    y: 1 1 0;
30781                    confine: "sb_vbar";
30782                }
30783                description { state: "default" 0.0;
30784                    fixed: 1 1;
30785                    min: 10 17;
30786                    max: 10 99999;
30787                    rel1 {
30788                        relative: 0.5  0.5;
30789                        offset:   0    0;
30790                        to: "sb_vbar";
30791                    }
30792                    rel2 {
30793                        relative: 0.5  0.5;
30794                        offset:   0    0;
30795                        to: "sb_vbar";
30796                    }
30797                    image {
30798                        normal: "bt_sm_base2.png";
30799                        border: 6 6 6 6;
30800                        middle: SOLID;
30801                    }
30802                }
30803            }
30804            part { name: "sb_vbar_over1";
30805                clip_to: "sb_vbar_clip";
30806                mouse_events: 0;
30807                description { state: "default" 0.0;
30808                    rel1.to: "elm.dragable.vbar";
30809                    rel2.relative: 1.0 0.5;
30810                    rel2.to: "elm.dragable.vbar";
30811                    image {
30812                        normal: "bt_sm_hilight.png";
30813                        border: 6 6 6 0;
30814                    }
30815                }
30816            }
30817            part { name: "sb_vbar_over2";
30818                clip_to: "sb_vbar_clip";
30819                mouse_events: 0;
30820                description { state: "default" 0.0;
30821                    rel1.to: "elm.dragable.vbar";
30822                    rel2.to: "elm.dragable.vbar";
30823                    image {
30824                        normal: "bt_sm_shine.png";
30825                        border: 6 6 6 0;
30826                    }
30827                }
30828            }
30829
30830            part { name: "sb_hbar_clip_master";
30831                type: RECT;
30832                mouse_events: 0;
30833                description { state: "default" 0.0;
30834                }
30835                description { state: "hidden" 0.0;
30836                    visible: 0;
30837                    color: 255 255 255 0;
30838                }
30839            }
30840            part { name: "sb_hbar_clip";
30841                clip_to: "sb_hbar_clip_master";
30842                type: RECT;
30843                mouse_events: 0;
30844                description { state: "default" 0.0;
30845                }
30846                description { state: "hidden" 0.0;
30847                    visible: 0;
30848                    color: 255 255 255 0;
30849                }
30850            }
30851            part { name: "sb_hbar";
30852                type: RECT;
30853                mouse_events: 0;
30854                description { state: "default" 0.0;
30855                    fixed: 1 1;
30856                    visible: 0;
30857                    min: 17 10;
30858                    align: 0.0 1.0;
30859                    rel1 {
30860                        relative: 0.0 1.0;
30861                        offset:   0 -2;
30862                    }
30863                    rel2 {
30864                        relative: 0.0 1.0;
30865                        offset:   -1 -2;
30866                        to_x:     "sb_vbar";
30867                    }
30868                }
30869            }
30870            part { name: "elm.dragable.hbar";
30871                clip_to: "sb_hbar_clip";
30872                mouse_events: 0;
30873                dragable {
30874                    x: 1 1 0;
30875                    y: 0 0 0;
30876                    confine: "sb_hbar";
30877                }
30878                description { state: "default" 0.0;
30879                    fixed: 1 1;
30880                    min: 17 10;
30881                    max: 99999 10;
30882                    rel1 {
30883                        relative: 0.5  0.5;
30884                        offset:   0    0;
30885                        to: "sb_hbar";
30886                    }
30887                    rel2 {
30888                        relative: 0.5  0.5;
30889                        offset:   0    0;
30890                        to: "sb_hbar";
30891                    }
30892                    image {
30893                        normal: "bt_sm_base2.png";
30894                        border: 4 4 4 4;
30895                        middle: SOLID;
30896                    }
30897                }
30898            }
30899            part { name: "sb_hbar_over1";
30900                clip_to: "sb_hbar_clip";
30901                mouse_events: 0;
30902                description { state: "default" 0.0;
30903                    rel1.to: "elm.dragable.hbar";
30904                    rel2.relative: 1.0 0.5;
30905                    rel2.to: "elm.dragable.hbar";
30906                    image {
30907                        normal: "bt_sm_hilight.png";
30908                        border: 4 4 4 0;
30909                    }
30910                }
30911            }
30912            part { name: "sb_hbar_over2";
30913                clip_to: "sb_hbar_clip";
30914                mouse_events: 0;
30915                description { state: "default" 0.0;
30916                    rel1.to: "elm.dragable.hbar";
30917                    rel2.to: "elm.dragable.hbar";
30918                    image {
30919                        normal: "bt_sm_shine.png";
30920                        border: 4 4 4 0;
30921                    }
30922                }
30923            }
30924        }
30925        programs {
30926            program { name: "load";
30927                signal: "load";
30928                source: "";
30929                script {
30930                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30931                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30932                    set_int(sbvis_h, 0);
30933                    set_int(sbvis_v, 0);
30934                    set_int(sbalways_v, 0);
30935                    set_int(sbalways_h, 0);
30936                    set_int(sbvis_timer, 0);
30937                }
30938            }
30939
30940            program { name: "vbar_show";
30941                signal: "elm,action,show,vbar";
30942                source: "elm";
30943                action:  STATE_SET "default" 0.0;
30944                target: "sb_vbar_clip_master";
30945            }
30946            program { name: "vbar_hide";
30947                signal: "elm,action,hide,vbar";
30948                source: "elm";
30949                action:  STATE_SET "hidden" 0.0;
30950                target: "sb_vbar_clip_master";
30951            }
30952            program { name: "vbar_show_always";
30953                signal: "elm,action,show_always,vbar";
30954                source: "elm";
30955                script {
30956                    new v;
30957                    v = get_int(sbvis_v);
30958                    v |= get_int(sbalways_v);
30959                    if (!v) {
30960                        set_int(sbalways_v, 1);
30961                        emit("do-show-vbar", "");
30962                        set_int(sbvis_v, 1);
30963                    }
30964                }
30965            }
30966            program { name: "vbar_show_notalways";
30967                signal: "elm,action,show_notalways,vbar";
30968                source: "elm";
30969                script {
30970                    new v;
30971                    v = get_int(sbalways_v);
30972                    if (v) {
30973                        set_int(sbalways_v, 0);
30974                        v = get_int(sbvis_v);
30975                        if (!v) {
30976                            emit("do-hide-vbar", "");
30977                            set_int(sbvis_v, 0);
30978                        }
30979                    }
30980                }
30981            }
30982            program { name: "sb_vbar_show";
30983                signal: "do-show-vbar";
30984                source: "";
30985                action:  STATE_SET "default" 0.0;
30986                transition: LINEAR 0.5;
30987                target: "sb_vbar_clip";
30988            }
30989            program { name: "sb_vbar_hide";
30990                signal: "do-hide-vbar";
30991                source: "";
30992                action:  STATE_SET "hidden" 0.0;
30993                transition: LINEAR 0.5;
30994                target: "sb_vbar_clip";
30995            }
30996
30997            program { name: "hbar_show";
30998                signal: "elm,action,show,hbar";
30999                source: "elm";
31000                action:  STATE_SET "default" 0.0;
31001                target: "sb_hbar_clip_master";
31002            }
31003            program { name: "hbar_hide";
31004                signal: "elm,action,hide,hbar";
31005                source: "elm";
31006                action:  STATE_SET "hidden" 0.0;
31007                target: "sb_hbar_clip_master";
31008            }
31009            program { name: "hbar_show_always";
31010                signal: "elm,action,show_always,hbar";
31011                source: "elm";
31012                script {
31013                    new v;
31014                    v = get_int(sbvis_h);
31015                    v |= get_int(sbalways_h);
31016                    if (!v) {
31017                        set_int(sbalways_h, 1);
31018                        emit("do-show-hbar", "");
31019                        set_int(sbvis_h, 1);
31020                    }
31021                }
31022            }
31023            program { name: "hbar_show_notalways";
31024                signal: "elm,action,show_notalways,hbar";
31025                source: "elm";
31026                script {
31027                    new v;
31028                    v = get_int(sbalways_h);
31029                    if (v) {
31030                        set_int(sbalways_h, 0);
31031                        v = get_int(sbvis_h);
31032                        if (!v) {
31033                            emit("do-hide-hbar", "");
31034                            set_int(sbvis_h, 0);
31035                        }
31036                    }
31037                }
31038            }
31039            program { name: "sb_hbar_show";
31040                signal: "do-show-hbar";
31041                source: "";
31042                action:  STATE_SET "default" 0.0;
31043                transition: LINEAR 0.5;
31044                target: "sb_hbar_clip";
31045            }
31046            program { name: "sb_hbar_hide";
31047                signal: "do-hide-hbar";
31048                source: "";
31049                action:  STATE_SET "hidden" 0.0;
31050                transition: LINEAR 0.5;
31051                target: "sb_hbar_clip";
31052            }
31053
31054            program { name: "scroll";
31055                signal: "elm,action,scroll";
31056                source: "elm";
31057                script {
31058                    new v;
31059                    v = get_int(sbvis_v);
31060                    v |= get_int(sbalways_v);
31061                    if (!v) {
31062                        emit("do-show-vbar", "");
31063                        set_int(sbvis_v, 1);
31064                    }
31065                    v = get_int(sbvis_h);
31066                    v |= get_int(sbalways_h);
31067                    if (!v) {
31068                        emit("do-show-hbar", "");
31069                        set_int(sbvis_h, 1);
31070                    }
31071                    v = get_int(sbvis_timer);
31072                    if (v > 0) cancel_timer(v);
31073                    v = timer(1.0, "timer0", 0);
31074                    set_int(sbvis_timer, v);
31075                }
31076            }
31077            program { name: "go1";
31078                signal: "elm,state,busy,start";
31079                source: "elm";
31080                action: STATE_SET "active" 0.0;
31081                transition: SINUSOIDAL 1.0;
31082                target:  "busy_clip";
31083            }
31084            program { name: "go2";
31085                signal: "elm,state,busy,start";
31086                source: "elm";
31087                action: STATE_SET "default" 0.0;
31088                transition: LINEAR 0.5;
31089                target: "busy";
31090                after:  "go2";
31091            }
31092            program { name: "stop1";
31093                signal: "elm,state,busy,stop";
31094                source: "elm";
31095                action: STATE_SET "default" 0.0;
31096                transition: SINUSOIDAL 1.0;
31097                target: "busy_clip";
31098                after: "stop2";
31099            }
31100          program { name: "stop2";
31101             action: ACTION_STOP;
31102             target: "go2";
31103          }
31104       }
31105    }
31106    group { name: "elm/map/marker/radio/default";
31107         data {
31108             item: size_w 24;
31109             item: size_h 24;
31110             item: size_max_w 58;
31111             item: size_max_h 58;
31112         }
31113         images {
31114                 image: "map_item.png" COMP;
31115         }
31116         parts {
31117             part { name: "whole";
31118                 description { state: "default" 0.0;
31119                 }
31120             }
31121             part { name: "base";
31122                 ignore_flags: ON_HOLD;
31123                 description { state: "default" 0.0;
31124                     image.normal: "map_item.png";
31125                 }
31126             }
31127             part { name: "elm.icon";
31128                 type: SWALLOW;
31129                 clip_to: "whole";
31130                 mouse_events:  0;
31131                 description { state: "default" 0.0;
31132                     rel1.relative: 0.27 0.27;
31133                     rel2.relative: 0.73 0.73;
31134                 }
31135             }
31136             part { name: "elm.text";
31137                 type:          TEXT;
31138                 effect:        SOFT_SHADOW;
31139                 mouse_events:  0;
31140                 scale: 1;
31141                 description { state: "default" 0.0;
31142                     align:    0.5 0.5;
31143                     color: 224 224 224 255;
31144                     color3: 0 0 0 64;
31145                     rel1.relative: 0.28 0.25;
31146                     rel2.relative: 0.75 0.75;
31147                     text {
31148                         font:     "Sans,Edje-Vera";
31149                         size:     10;
31150                         min:      0 0;
31151                         align:    0.5 0.5;
31152                     }
31153                 }
31154             }
31155        }
31156        programs {
31157             program { name: "open";
31158                 signal: "mouse,clicked,1";
31159                 source: "base";
31160                 action: SIGNAL_EMIT "open" "elm";
31161             }
31162             program { name: "bringin";
31163                 signal: "mouse,down,1,double";
31164                 source: "base";
31165                 action: SIGNAL_EMIT "bringin" "elm";
31166             }
31167        }
31168    }
31169    group { name: "elm/map/marker/radio2/default";
31170         data {
31171             item: size_w 24;
31172             item: size_h 24;
31173             item: size_max_w 58;
31174             item: size_max_h 58;
31175         }
31176         images {
31177                 image: "map_item_2.png" COMP;
31178         }
31179         parts {
31180             part { name: "base";
31181                 ignore_flags: ON_HOLD;
31182                 description { state: "default" 0.0;
31183                     image.normal: "map_item_2.png";
31184                 }
31185             }
31186             part { name: "elm.text";
31187                 type:          TEXT;
31188                 effect:        SOFT_SHADOW;
31189                 mouse_events:  0;
31190                 scale: 1;
31191                 description { state: "default" 0.0;
31192                     align:    0.5 0.5;
31193                     color: 224 224 224 255;
31194                     color3: 0 0 0 64;
31195                     rel1.relative: 0.28 0.25;
31196                     rel2.relative: 0.75 0.75;
31197                     text {
31198                         font:     "Sans,Edje-Vera";
31199                         size:     10;
31200                         min:      0 0;
31201                         align:    0.5 0.5;
31202                     }
31203                 }
31204             }
31205        }
31206        programs {
31207             program { name: "open";
31208                 signal: "mouse,clicked,1";
31209                 source: "base";
31210                 action: SIGNAL_EMIT "open" "elm";
31211             }
31212             program { name: "bringin";
31213                 signal: "mouse,down,1,double";
31214                 source: "base";
31215                 action: SIGNAL_EMIT "bringin" "elm";
31216             }
31217        }
31218    }
31219    group { name: "elm/map/marker/empty/default";
31220         data {
31221             item: size_w 22;
31222             item: size_h 22;
31223             item: size_max_w 64;
31224             item: size_max_h 64;
31225         }
31226         parts {
31227             part { name: "whole";
31228                 description { state: "default" 0.0;
31229                 }
31230             }
31231             part { name: "base";
31232                 ignore_flags: ON_HOLD;
31233                 description { state: "default" 0.0;
31234                 }
31235             }
31236             part { name: "elm.icon";
31237                 type: SWALLOW;
31238                 clip_to: "whole";
31239                 mouse_events:  0;
31240                 description { state: "default" 0.0;
31241                 }
31242             }
31243             part { name: "elm.text";
31244                 type:          TEXT;
31245                 effect:        SOFT_SHADOW;
31246                 mouse_events:  0;
31247                 scale: 1;
31248                 description { state: "default" 0.0;
31249                     align:    0.5 0.5;
31250                     color: 224 224 224 255;
31251                     color3: 0 0 0 64;
31252                     rel1.relative: 0.28 0.25;
31253                     rel2.relative: 0.75 0.75;
31254                     text {
31255                         font:     "Sans,Edje-Vera";
31256                         size:     10;
31257                         min:      0 0;
31258                         align:    0.5 0.5;
31259                     }
31260                 }
31261             }
31262        }
31263        programs {
31264             program { name: "open";
31265                 signal: "mouse,clicked,1";
31266                 source: "base";
31267                 action: SIGNAL_EMIT "open" "elm";
31268             }
31269             program { name: "bringin";
31270                 signal: "mouse,down,1,double";
31271                 source: "base";
31272                 action: SIGNAL_EMIT "bringin" "elm";
31273             }
31274        }
31275    }
31276    group { name: "elm/map/marker_bubble/default";
31277     images {
31278       image: "bubble.png" COMP;
31279       image: "bubble_shine.png" COMP;
31280     }
31281     data {
31282             item: size_w 400;
31283             item: size_h 100;
31284         }
31285     parts {
31286     part { name: "clipper";
31287         mouse_events:  1;
31288         description { state: "default" 0.0;
31289           color: 255 255 255 0;
31290         }
31291         description { state: "show" 0.0;
31292             inherit: "default" 0.0;
31293             color: 255 255 255 255;
31294         }
31295       }
31296      part { name: "base0";
31297         mouse_events:  0;
31298         clip_to: "clipper";
31299         description { state: "default" 0.0;
31300           image {
31301             normal: "bubble.png";
31302             border: 11 36 10 19;
31303           }
31304           image.middle: SOLID;
31305           fill.smooth: 0;
31306         }
31307         description { state: "rtl" 0.0;
31308            inherit: "default" 0.0;
31309            image {
31310               normal: "bubble_4.png";
31311               border: 11 36 18 9;
31312            }
31313         }
31314       }
31315       part { name: "elm.swallow.content";
31316         type: SWALLOW;
31317         clip_to: "clipper";
31318         description { state: "default" 0.0;
31319             align: 0.5 0.5;
31320           rel1 {
31321             offset: 9 8;
31322           }
31323           rel2 {
31324             offset: -10 -17;
31325           }
31326         }
31327       }
31328       part { name: "shine";
31329         mouse_events:  0;
31330         clip_to: "clipper";
31331         description { state:    "default" 0.0;
31332           rel1 {
31333             to: "base0";
31334           }
31335           rel2 {
31336             to: "base0";
31337             relative: 1.0 0.5;
31338           }
31339           image {
31340             normal: "bubble_shine.png";
31341             border: 5 5 5 0;
31342           }
31343           fill.smooth: 0;
31344         }
31345         }
31346     }
31347     programs {
31348         program { name: "show";
31349             signal: "show";
31350             action: STATE_SET "show" 0.0;
31351             target: "clipper";
31352             transition: ACCELERATE 0.5;
31353         }
31354     }
31355   }
31356
31357 /////////////////////////////////////////////////////////////////////////////
31358 // PANES
31359 /////////////////////////////////////////////////////////////////////////////
31360   group {
31361      name: "elm/panes/vertical/default";
31362       images {
31363          image: "bt_base1.png" COMP;
31364          image: "bt_base2.png" COMP;
31365          image: "bt_hilight.png" COMP;
31366          image: "bt_shine.png" COMP;
31367          image: "bt_glow.png" COMP;
31368          image: "bt_dis_base.png" COMP;
31369          image: "bt_dis_hilight.png" COMP;
31370          image: "arrow_right.png" COMP;
31371          image: "arrow_left.png" COMP;
31372       }
31373      parts
31374        {
31375           part
31376             {
31377                name: "whole";
31378                type: RECT;
31379                mouse_events: 0;
31380                description
31381                  {
31382                     state: "default" 0.0;
31383                     visible: 0;
31384                  }
31385             }
31386
31387          //2 contents
31388           part
31389             {
31390                name: "whole_left";
31391                type: RECT;
31392                mouse_events: 0;
31393                description
31394                  {
31395                     state: "default" 0.0;
31396                     rel2.to_x: "elm.bar";
31397                     rel2.relative: 0.0 1.0;
31398                     visible: 1;
31399                  }
31400             }
31401           part
31402             {
31403                name: "elm.swallow.left";
31404                type: SWALLOW;
31405                clip_to: "whole_left";
31406                description
31407                  {
31408                     state: "default" 0.0;
31409                     rel1.to: "whole_left";
31410                     rel2.to: "whole_left";
31411                  }
31412             }
31413
31414             part
31415             {
31416                name: "whole_right";
31417                type: RECT;
31418                mouse_events: 0;
31419                description
31420                  {
31421                     state: "default" 0.0;
31422                     rel1.to_x: "elm.bar";
31423                     rel1.relative: 1.0 0.0;
31424                     visible: 1;
31425                  }
31426             }
31427           part
31428             {
31429                name: "elm.swallow.right";
31430                type: SWALLOW;
31431                clip_to: "whole_right";
31432                description
31433                  {
31434                     state: "default" 0.0;
31435                     rel1.to: "whole_right";
31436                     rel2.to: "whole_right";
31437                  }
31438             }
31439          //BAR
31440          part { name: "elm.bar";
31441             mouse_events: 1;
31442             dragable {
31443                confine: "whole";
31444                x: 1 1 1;
31445                y: 0 0 0;
31446             }
31447             description { state: "default" 0.0;
31448                max: 15 9999;
31449                min: 15 100;
31450                rel1.relative: 0.0 0.5;
31451                rel2.relative: 1.0 0.5;
31452                image {
31453                   normal: "bt_base2.png";
31454                   border: 7 7 7 7;
31455                }
31456                image.middle: SOLID;
31457             }
31458             description { state: "clicked" 0.0;
31459                inherit: "default" 0.0;
31460                image.normal: "bt_base1.png";
31461                image.middle: SOLID;
31462             }
31463             description { state: "disabled" 0.0;
31464                inherit:  "default" 0.0;
31465                image {
31466                   normal: "bt_dis_base.png";
31467                   border: 4 4 4 4;
31468                }
31469             }
31470          }
31471          part {          name: "over1";
31472             mouse_events: 0;
31473             description { state: "default" 0.0;
31474             rel1.to: "elm.bar";
31475             rel2.to: "elm.bar";
31476                rel2.relative: 1.0 0.5;
31477                image {
31478                   normal: "bt_hilight.png";
31479                   border: 7 7 7 0;
31480                }
31481             }
31482             description { state: "disabled" 0.0;
31483                inherit:  "default" 0.0;
31484                image {
31485                   normal: "bt_dis_hilight.png";
31486                   border: 4 4 4 0;
31487                }
31488             }
31489          }
31490          part { name: "over2";
31491             mouse_events: 1;
31492             repeat_events: 1;
31493             ignore_flags: ON_HOLD;
31494             description { state: "default" 0.0;
31495             rel1.to: "elm.bar";
31496             rel2.to: "elm.bar";
31497                image {
31498                   normal: "bt_shine.png";
31499                   border: 7 7 7 7;
31500                }
31501             }
31502             description { state: "disabled" 0.0;
31503                inherit:  "default" 0.0;
31504                visible: 0;
31505             }
31506          }
31507          part { name: "over3";
31508             mouse_events: 1;
31509             repeat_events: 1;
31510             description { state: "default" 0.0;
31511                color: 255 255 255 0;
31512             rel1.to: "elm.bar";
31513             rel2.to: "elm.bar";
31514                image {
31515                   normal: "bt_glow.png";
31516                   border: 12 12 12 12;
31517                }
31518                fill.smooth : 0;
31519             }
31520             description { state: "clicked" 0.0;
31521                inherit:  "default" 0.0;
31522                visible: 1;
31523                color: 255 255 255 255;
31524             }
31525          }
31526
31527          //Arrow
31528          part {
31529             name: "arrow_right";
31530             repeat_events: 1;
31531             description { state: "default" 0.0;
31532                 min: 45 45;
31533                 max: 45 45;
31534                 color: 255 255 255 0;
31535
31536                 rel1.relative: 1.0 0.5;
31537                 rel1.to_x: "elm.bar";
31538                 rel1.offset: 45/2 -45/2;
31539
31540                 rel2.relative: 1.0 0.5;
31541                 rel2.to_x: "elm.bar";
31542                 rel2.offset: 45/2 45/2;
31543
31544                 image.normal: "arrow_right.png";
31545
31546                 fixed: 1 1;
31547             }
31548             description { state: "default" 0.1;
31549                 inherit: "default" 0.0;
31550                 image.normal: "arrow_left.png";
31551             }
31552             description { state: "anim_1" 0.0;
31553                 inherit: "default" 0.0;
31554                 color: 255 255 255 200;
31555                 rel1.offset: (45/2 + 10) -45/2;
31556                 rel2.offset: (45/2 +10) 45/2;
31557             }
31558             description { state: "anim_1" 0.1;
31559                 inherit: "default" 0.0;
31560                 image.normal: "arrow_left.png";
31561                 color: 255 255 255 200;
31562                 rel1.offset: (45/2 + 10) -45/2;
31563                 rel2.offset: (45/2 +10) 45/2;
31564             }
31565             description { state: "anim_2" 0.0;
31566                 inherit: "default" 0.0;
31567                 color: 255 255 255 0;
31568                 rel1.offset: (45/2 + 20) -45/2;
31569                 rel2.offset: (45/2 + 20) 45/2;
31570             }
31571             description { state: "anim_2" 0.1;
31572                 inherit: "default" 0.0;
31573                 image.normal: "arrow_left.png";
31574                 color: 255 255 255 0;
31575                 rel1.offset: (45/2 + 20) -45/2;
31576                 rel2.offset: (45/2 + 20) 45/2;
31577             }
31578          }
31579         part {
31580             name: "arrow_left";
31581             repeat_events: 1;
31582             description { state: "default" 0.0;
31583                 min: 45 45;
31584                 max: 45 45;
31585                 color: 255 255 255 0;
31586
31587                 rel1.relative: 0.0 0.5;
31588                 rel1.to_x: "elm.bar";
31589                 rel1.offset: -45/2 -45/2;
31590
31591                 rel2.relative: 0.0 0.5;
31592                 rel2.to_x: "elm.bar";
31593                 rel2.offset: -45/2 45/2;
31594
31595                 image.normal: "arrow_left.png";
31596
31597                 fixed: 1 1;
31598             }
31599             description { state: "default" 0.1;
31600                 inherit: "default" 0.0;
31601                 image.normal: "arrow_right.png";
31602             }
31603             description { state: "anim_1" 0.0;
31604                 inherit: "default" 0.0;
31605                 color: 255 255 255 200;
31606                 rel1.offset: (-45/2 - 10) -45/2;
31607                 rel2.offset: (-45/2 - 10) 45/2;
31608             }
31609             description { state: "anim_1" 0.1;
31610                 inherit: "default" 0.0;
31611                 image.normal: "arrow_right.png";
31612                 color: 255 255 255 200;
31613                 rel1.offset: (-45/2 - 10) -45/2;
31614                 rel2.offset: (-45/2 - 10) 45/2;
31615             }
31616             description { state: "anim_2" 0.0;
31617                 inherit: "default" 0.0;
31618                 color: 255 255 255 0;
31619                 rel1.offset: (-45/2 - 20) -45/2;
31620                 rel2.offset: (-45/2 - 20) 45/2;
31621             }
31622             description { state: "anim_2" 0.1;
31623                 inherit: "default" 0.0;
31624                 image.normal: "arrow_right.png";
31625                 color: 255 255 255 0;
31626                 rel1.offset: (-45/2 - 20) -45/2;
31627                 rel2.offset: (-45/2 - 20) 45/2;
31628             }
31629          }
31630
31631        }
31632         programs {
31633          program {
31634             name:   "button_click";
31635             signal: "mouse,down,1";
31636             source: "over2";
31637             action: SIGNAL_EMIT "elm,action,press" "";
31638             after: "button_click_anim";
31639             after: "arrow_anim_start";
31640          }
31641          program {
31642             name:   "button_click_anim";
31643             action: STATE_SET "clicked" 0.0;
31644             target: "elm.bar";
31645          }
31646          program {
31647             name:   "button_unclick";
31648             signal: "mouse,up,1";
31649             source: "over2";
31650             action: SIGNAL_EMIT "elm,action,unpress" "";
31651             after: "button_unclick_anim";
31652             after: "arrow_anim_stop";
31653          }
31654          program {
31655             name:   "button_unclick_anim";
31656             action: STATE_SET "default" 0.0;
31657             target: "elm.bar";
31658          }
31659          program {
31660             name:   "button_click2";
31661             signal: "mouse,down,1";
31662             source: "over3";
31663             action: STATE_SET "clicked" 0.0;
31664             target: "over3";
31665          }
31666          program {
31667             name:   "button_unclick2";
31668             signal: "mouse,up,1";
31669             source: "over3";
31670             action: STATE_SET "default" 0.0;
31671             transition: DECELERATE 0.5;
31672             target: "over3";
31673          }
31674          program {
31675             name:   "button_unclick3";
31676             signal: "mouse,up,1";
31677             source: "over2";
31678             action: SIGNAL_EMIT "elm,action,click" "";
31679          }
31680          program {
31681             name:   "button_down_double";
31682             signal: "mouse,down,1,double";
31683             source: "over3";
31684             action: SIGNAL_EMIT "elm,action,click,double" "";
31685          }
31686
31687          //arrows animation
31688          program {
31689             name: "arrow_anim_start";
31690             script {
31691                new st[31];
31692                new Float:vl;
31693                get_state(PART:"arrow_left", st, 30, vl);
31694                if (vl == 0.0) {
31695                   run_program(PROGRAM:"arrow_anim_start_ltr");
31696                }
31697                else {
31698                   run_program(PROGRAM:"arrow_anim_start_rtl");
31699                }
31700             }
31701          }
31702          program {
31703             name: "arrow_anim_stop";
31704             script {
31705                new st[31];
31706                new Float:vl;
31707                get_state(PART:"arrow_left", st, 30, vl);
31708                if (vl == 0.0) {
31709                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31710                }
31711                else {
31712                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31713                }
31714             }
31715          }
31716
31717          program {
31718             name: "arrow_anim_start_ltr";
31719             action: STATE_SET "anim_1" 0.0;
31720             target: "arrow_right";
31721             target: "arrow_left";
31722             transition: LINEAR 0.6;
31723             after: "arrow_anim_1_ltr";
31724          }
31725          program {
31726             name: "arrow_anim_1_ltr";
31727             action: STATE_SET "anim_2" 0.0;
31728             target: "arrow_right";
31729             target: "arrow_left";
31730             transition: LINEAR 0.6;
31731             after: "arrow_anim_2_ltr";
31732          }
31733          program {
31734             name: "arrow_anim_2_ltr";
31735             action: STATE_SET "default" 0.0;
31736             target: "arrow_right";
31737             target: "arrow_left";
31738             after: "arrow_anim_start_ltr";
31739          }
31740          program {
31741             name: "arrow_anim_stop_ltr";
31742             action: ACTION_STOP;
31743             target: "arrow_anim_start_ltr";
31744             target: "arrow_anim_1_ltr";
31745             target: "arrow_anim_2_ltr";
31746             after: "arrow_anim_stop_1_ltr";
31747          }
31748          program {
31749             name: "arrow_anim_stop_1_ltr";
31750             action: STATE_SET "default" 0.0;
31751             target: "arrow_right";
31752             target: "arrow_left";
31753             transition: DECELERATE 0.4;
31754         }
31755          program {
31756             name: "arrow_anim_start_rtl";
31757             action: STATE_SET "anim_1" 0.1;
31758             target: "arrow_right";
31759             target: "arrow_left";
31760             transition: LINEAR 0.6;
31761             after: "arrow_anim_1_rtl";
31762          }
31763          program {
31764             name: "arrow_anim_1_rtl";
31765             action: STATE_SET "anim_2" 0.1;
31766             target: "arrow_right";
31767             target: "arrow_left";
31768             transition: LINEAR 0.6;
31769             after: "arrow_anim_2_rtl";
31770          }
31771          program {
31772             name: "arrow_anim_2_rtl";
31773             action: STATE_SET "default" 0.1;
31774             target: "arrow_right";
31775             target: "arrow_left";
31776             after: "arrow_anim_start_rtl";
31777          }
31778          program {
31779             name: "arrow_anim_stop_rtl";
31780             action: ACTION_STOP;
31781             target: "arrow_anim_start_rtl";
31782             target: "arrow_anim_1_rtl";
31783             target: "arrow_anim_2_rtl";
31784             after: "arrow_anim_stop_1_rtl";
31785          }
31786          program {
31787             name: "arrow_anim_stop_1_rtl";
31788             action: STATE_SET "default" 0.1;
31789             target: "arrow_right";
31790             target: "arrow_left";
31791             transition: DECELERATE 0.4;
31792         }
31793          program { name: "to_rtl";
31794             signal: "edje,state,rtl";
31795             source: "edje";
31796             script {
31797                new st[31];
31798                new Float:vl;
31799                get_state(PART:"arrow_left", st, 30, vl);
31800                if (vl == 0.0) {
31801                   set_state(PART:"arrow_left", st, 0.1);
31802                }
31803                get_state(PART:"arrow_right", st, 30, vl);
31804                if (vl == 0.0) {
31805                   set_state(PART:"arrow_right", st, 0.1);
31806                }
31807             }
31808          }
31809          program { name: "to_ltr";
31810             signal: "edje,state,ltr";
31811             source: "edje";
31812             script {
31813                new st[31];
31814                new Float:vl;
31815                get_state(PART:"arrow_left", st, 30, vl);
31816                if (vl == 0.1) {
31817                   set_state(PART:"arrow_left", st, 0.0);
31818                }
31819                get_state(PART:"arrow_right", st, 30, vl);
31820                if (vl == 0.1) {
31821                   set_state(PART:"arrow_right", st, 0.0);
31822                }
31823             }
31824          }
31825       }
31826   }
31827
31828   group {
31829      name: "elm/panes/horizontal/default";
31830       images {
31831          image: "bt_base1.png" COMP;
31832          image: "bt_base2.png" COMP;
31833          image: "bt_hilight.png" COMP;
31834          image: "bt_shine.png" COMP;
31835          image: "bt_glow.png" COMP;
31836          image: "bt_dis_base.png" COMP;
31837          image: "bt_dis_hilight.png" COMP;
31838          image: "arrow_up.png" COMP;
31839          image: "arrow_down.png" COMP;
31840       }
31841      parts
31842        {
31843           part
31844             {
31845                name: "whole";
31846                type: RECT;
31847                mouse_events: 0;
31848                description
31849                  {
31850                     state: "default" 0.0;
31851                     visible: 0;
31852                  }
31853             }
31854
31855          //2 contents
31856           part
31857             {
31858                name: "whole_left";
31859                type: RECT;
31860                mouse_events: 0;
31861                description
31862                  {
31863                     state: "default" 0.0;
31864                     rel2.to_y: "elm.bar";
31865                     rel2.relative: 1.0 0.0;
31866                     visible: 1;
31867                  }
31868             }
31869           part
31870             {
31871                name: "elm.swallow.left";
31872                type: SWALLOW;
31873                clip_to: "whole_left";
31874                description
31875                  {
31876                     state: "default" 0.0;
31877                     rel1.to: "whole_left";
31878                     rel2.to: "whole_left";
31879                  }
31880             }
31881
31882             part
31883             {
31884                name: "whole_right";
31885                type: RECT;
31886                mouse_events: 0;
31887                description
31888                  {
31889                     state: "default" 0.0;
31890                     rel1.to_y: "elm.bar";
31891                     rel1.relative: 0.0 1.0;
31892                     visible: 1;
31893                  }
31894             }
31895           part
31896             {
31897                name: "elm.swallow.right";
31898                type: SWALLOW;
31899                clip_to: "whole_right";
31900                description
31901                  {
31902                     state: "default" 0.0;
31903                     rel1.to: "whole_right";
31904                     rel2.to: "whole_right";
31905                  }
31906             }
31907          //BAR
31908          part { name: "elm.bar";
31909             mouse_events: 1;
31910             dragable {
31911                confine: "whole";
31912                x: 0 0 0;
31913                y: 1 1 1;
31914             }
31915             description { state: "default" 0.0;
31916                max: 999 15;
31917                min: 100 15;
31918                rel1.relative: 0.5 0.0;
31919                rel2.relative: 0.5 1.0;
31920                image {
31921                   normal: "bt_base2.png";
31922                   border: 7 7 7 7;
31923                }
31924                image.middle: SOLID;
31925             }
31926             description { state: "clicked" 0.0;
31927                inherit: "default" 0.0;
31928                image.normal: "bt_base1.png";
31929                image.middle: SOLID;
31930             }
31931             description { state: "disabled" 0.0;
31932                inherit:  "default" 0.0;
31933                image {
31934                   normal: "bt_dis_base.png";
31935                   border: 4 4 4 4;
31936                }
31937             }
31938          }
31939          part {          name: "over1";
31940             mouse_events: 0;
31941             description { state: "default" 0.0;
31942             rel1.to: "elm.bar";
31943             rel2.to: "elm.bar";
31944                rel2.relative: 1.0 0.5;
31945                image {
31946                   normal: "bt_hilight.png";
31947                   border: 7 7 7 0;
31948                }
31949             }
31950             description { state: "disabled" 0.0;
31951                inherit:  "default" 0.0;
31952                image {
31953                   normal: "bt_dis_hilight.png";
31954                   border: 4 4 4 0;
31955                }
31956             }
31957          }
31958          part { name: "over2";
31959             mouse_events: 1;
31960             repeat_events: 1;
31961             ignore_flags: ON_HOLD;
31962             description { state: "default" 0.0;
31963             rel1.to: "elm.bar";
31964             rel2.to: "elm.bar";
31965                image {
31966                   normal: "bt_shine.png";
31967                   border: 7 7 7 7;
31968                }
31969             }
31970             description { state: "disabled" 0.0;
31971                inherit:  "default" 0.0;
31972                visible: 0;
31973             }
31974          }
31975          part { name: "over3";
31976             mouse_events: 1;
31977             repeat_events: 1;
31978             description { state: "default" 0.0;
31979                color: 255 255 255 0;
31980             rel1.to: "elm.bar";
31981             rel2.to: "elm.bar";
31982                image {
31983                   normal: "bt_glow.png";
31984                   border: 12 12 12 12;
31985                }
31986                fill.smooth : 0;
31987             }
31988             description { state: "clicked" 0.0;
31989                inherit:  "default" 0.0;
31990                visible: 1;
31991                color: 255 255 255 255;
31992             }
31993          }
31994
31995          //Arrow
31996          part {
31997             name: "arrow_right";
31998             repeat_events: 1;
31999             description { state: "default" 0.0;
32000                 min: 45 45;
32001                 max: 45 45;
32002                 color: 255 255 255 0;
32003
32004                 rel1.relative: 0.5 1.0;
32005                 rel1.to_y: "elm.bar";
32006                 rel1.offset: -45/2 45/2;
32007
32008                 rel2.relative: 0.5 1.0;
32009                 rel2.to_y: "elm.bar";
32010                 rel2.offset: 45/2 45/2;
32011
32012                 image.normal: "arrow_down.png";
32013
32014                 fixed: 1 1;
32015             }
32016             description { state: "anim_1" 0.0;
32017                 inherit: "default" 0.0;
32018                 color: 255 255 255 200;
32019                 rel1.offset: -45/2 (45/2 +10);
32020                 rel2.offset: 45/2 (45/2 +10);
32021             }
32022             description { state: "anim_2" 0.0;
32023                 inherit: "default" 0.0;
32024                 color: 255 255 255 0;
32025                 rel1.offset: -45/2 (45/2 + 20);
32026                 rel2.offset: 45/2 (45/2 + 20);
32027             }
32028          }
32029         part {
32030             name: "arrow_left";
32031             repeat_events: 1;
32032             description { state: "default" 0.0;
32033                 min: 45 45;
32034                 max: 45 45;
32035                 color: 255 255 255 0;
32036
32037                 rel1.relative: 0.5 0.0;
32038                 rel1.to_y: "elm.bar";
32039                 rel1.offset: -45/2 -45/2;
32040
32041                 rel2.relative: 0.5 0.0;
32042                 rel2.to_y: "elm.bar";
32043                 rel2.offset: 45/2 -45/2;
32044
32045                 image.normal: "arrow_up.png";
32046
32047                 fixed: 1 1;
32048             }
32049             description { state: "anim_1" 0.0;
32050                 inherit: "default" 0.0;
32051                 color: 255 255 255 200;
32052                 rel1.offset: -45/2 (-45/2 - 10);
32053                 rel2.offset: 45/2 (-45/2 - 10);
32054             }
32055             description { state: "anim_2" 0.0;
32056                 inherit: "default" 0.0;
32057                 color: 255 255 255 0;
32058                 rel1.offset: -45/2 (-45/2 - 20);
32059                 rel2.offset: 45/2 (-45/2 - 20);
32060             }
32061          }
32062
32063        }
32064         programs {
32065          program {
32066             name:   "button_click";
32067             signal: "mouse,down,1";
32068             source: "over2";
32069             action: SIGNAL_EMIT "elm,action,press" "";
32070             after: "button_click_anim";
32071             after: "arrow_anim_start";
32072          }
32073          program {
32074             name:   "button_click_anim";
32075             action: STATE_SET "clicked" 0.0;
32076             target: "elm.bar";
32077          }
32078          program {
32079             name:   "button_unclick";
32080             signal: "mouse,up,1";
32081             source: "over2";
32082             action: SIGNAL_EMIT "elm,action,unpress" "";
32083             after: "button_unclick_anim";
32084             after: "arrow_anim_stop";
32085          }
32086          program {
32087             name:   "button_unclick_anim";
32088             action: STATE_SET "default" 0.0;
32089             target: "elm.bar";
32090          }
32091          program {
32092             name:   "button_click2";
32093             signal: "mouse,down,1";
32094             source: "over3";
32095             action: STATE_SET "clicked" 0.0;
32096             target: "over3";
32097          }
32098          program {
32099             name:   "button_unclick2";
32100             signal: "mouse,up,1";
32101             source: "over3";
32102             action: STATE_SET "default" 0.0;
32103             transition: DECELERATE 0.5;
32104             target: "over3";
32105          }
32106          program {
32107             name:   "button_unclick3";
32108             signal: "mouse,up,1";
32109             source: "over2";
32110             action: SIGNAL_EMIT "elm,action,click" "";
32111          }
32112          program {
32113             name:   "button_down_double";
32114             signal: "mouse,down,1,double";
32115             source: "over3";
32116             action: SIGNAL_EMIT "elm,action,click,double" "";
32117          }
32118
32119          //arrows animation
32120          program {
32121             name: "arrow_anim_start";
32122             action: STATE_SET "anim_1" 0.0;
32123             target: "arrow_right";
32124             target: "arrow_left";
32125             transition: LINEAR 0.6;
32126             after: "arrow_anim_1";
32127          }
32128          program {
32129             name: "arrow_anim_1";
32130             action: STATE_SET "anim_2" 0.0;
32131             target: "arrow_right";
32132             target: "arrow_left";
32133             transition: LINEAR 0.6;
32134             after: "arrow_anim_2";
32135          }
32136          program {
32137             name: "arrow_anim_2";
32138             action: STATE_SET "default" 0.0;
32139             target: "arrow_right";
32140             target: "arrow_left";
32141             after: "arrow_anim_start";
32142          }
32143          program {
32144             name: "arrow_anim_stop";
32145             action: ACTION_STOP;
32146             target: "arrow_anim_start";
32147             target: "arrow_anim_1";
32148             target: "arrow_anim_2";
32149             after: "arrow_anim_stop_1";
32150          }
32151          program {
32152             name: "arrow_anim_stop_1";
32153             action: STATE_SET "default" 0.0;
32154             target: "arrow_right";
32155             target: "arrow_left";
32156             transition: DECELERATE 0.4;
32157         }
32158       }
32159   }
32160
32161
32162
32163 /////////////////////////////////////////////////////////////////////////////
32164 // PANEL
32165 /////////////////////////////////////////////////////////////////////////////
32166   group {
32167      name: "elm/panel/base/left";
32168      alias: "elm/panel/base/top";
32169      images
32170        {
32171           image: "bt_base1.png" COMP;
32172           image: "bt_hilight.png" COMP;
32173           image: "bt_shine.png" COMP;
32174           image: "bt_glow.png" COMP;
32175           image: "bt_dis_base.png" COMP;
32176           image: "icon_arrow_left.png" COMP;
32177           image: "icon_arrow_right.png" COMP;
32178        }
32179        data {
32180           item: "focus_highlight" "on";
32181        }
32182      parts
32183        {
32184             part { name: "focus_highlight";
32185                description { state: "default" 0.0;
32186                   visible: 0;
32187                   color: 255 255 255 0;
32188                   rel1 {
32189                      to: "btn";
32190                      offset: -8 -8;
32191                   }
32192                   rel2 {
32193                      to: "btn";
32194                      offset: 7 7;
32195                   }
32196                   image {
32197                      normal: "frame_2.png";
32198                      border: 5 5 32 26;
32199                      middle: 0;
32200                   }
32201                }
32202                description { state: "enabled" 0.0;
32203                   inherit: "default" 0.0;
32204                   visible: 1;
32205                   color: 255 255 255 255;
32206                }
32207             }
32208           part
32209             {
32210                name: "bg";
32211                type: RECT;
32212                mouse_events: 0;
32213                description
32214                  {
32215                     state: "default" 0.0;
32216                     color: 255 255 255 0;
32217                     rel1.relative: 0.0 0.0;
32218                     rel1.offset: 0 0;
32219                     rel2.relative: 1.0 1.0;
32220                     rel2.offset: -1 -1;
32221                  }
32222                description
32223                  {
32224                     state: "hidden" 0.0;
32225                     inherit: "default" 0.0;
32226                     rel1.relative: -1.0 0.0;
32227                     rel1.offset: 21 0;
32228                     rel2.relative: 0.0 1.0;
32229                     rel2.offset: 20 -1;
32230                  }
32231             }
32232           part
32233             {
32234                name: "base";
32235                type: IMAGE;
32236                mouse_events: 0;
32237                description
32238                  {
32239                     state: "default" 0.0;
32240                     rel1.to: "bg";
32241                     rel2.to: "bg";
32242                     rel2.offset: -20 -1;
32243                     image
32244                       {
32245                          normal: "bt_dis_base.png";
32246                          border: 4 4 4 4;
32247                       }
32248                  }
32249             }
32250           part
32251             {
32252                name: "clipper";
32253                type: RECT;
32254                mouse_events: 0;
32255                description
32256                  {
32257                     state: "default" 0.0;
32258                     rel1
32259                       {
32260                          offset: 4 4;
32261                          to: "base";
32262                       }
32263                     rel2
32264                       {
32265                          offset: -5 -5;
32266                          to: "base";
32267                       }
32268                  }
32269             }
32270           part
32271             {
32272                name: "elm.swallow.content";
32273                type: SWALLOW;
32274                clip_to: "clipper";
32275                description
32276                  {
32277                     state: "default" 0.0;
32278                     rel1.to: "clipper";
32279                     rel2.to: "clipper";
32280                  }
32281             }
32282           part
32283             {
32284                name: "btn";
32285                type: IMAGE;
32286                mouse_events: 1;
32287                description
32288                  {
32289                     state: "default" 0.0;
32290                     max: 32 48;
32291                     fixed: 1 1;
32292                     align: 0.0 0.5;
32293                     rel1
32294                       {
32295                          relative: 1.0 0.0;
32296                          offset: -3 0;
32297                          to_x: "base";
32298                       }
32299                     rel2.to_x: "bg";
32300                     image
32301                       {
32302                          normal: "bt_base1.png";
32303                          border: 0 5 4 12;
32304                       }
32305                     fill.smooth: 0;
32306                  }
32307                description
32308                  {
32309                     state: "clicked" 0.0;
32310                     inherit: "default" 0.0;
32311                  }
32312             }
32313           part
32314             {
32315                name: "btn_over";
32316                type: IMAGE;
32317                mouse_events: 0;
32318                description
32319                  {
32320                     state: "default" 0.0;
32321                     rel1.to: "btn";
32322                     rel2
32323                       {
32324                          relative: 1.0 0.5;
32325                          to: "btn";
32326                       }
32327                     image
32328                       {
32329                          normal: "bt_hilight.png";
32330                          border: 0 7 7 0;
32331                       }
32332                  }
32333             }
32334           part
32335             {
32336                name: "btn_over2";
32337                type: IMAGE;
32338                mouse_events: 1;
32339                repeat_events: 1;
32340                ignore_flags: ON_HOLD;
32341                description
32342                  {
32343                     state: "default" 0.0;
32344                     rel1.to: "btn";
32345                     rel2.to: "btn";
32346                     image
32347                       {
32348                          normal: "bt_shine.png";
32349                          border: 0 7 7 7;
32350                     }
32351                  }
32352             }
32353           part
32354             {
32355                name: "btn_over3";
32356                type: IMAGE;
32357                mouse_events: 1;
32358                repeat_events: 1;
32359                description
32360                  {
32361                     state: "default" 0.0;
32362                     color: 255 255 255 0;
32363                     rel1.to: "btn";
32364                     rel2.to: "btn";
32365                     image
32366                       {
32367                        normal: "bt_glow.png";
32368                        border: 12 12 12 12;
32369                     }
32370                   fill.smooth: 0;
32371                }
32372              description
32373                {
32374                   state: "clicked" 0.0;
32375                   inherit: "default" 0.0;
32376                   visible: 1;
32377                   color: 255 255 255 255;
32378                }
32379             }
32380           part
32381             {
32382                name: "btn_icon";
32383                type: IMAGE;
32384                repeat_events: 1;
32385                description
32386                  {
32387                     state: "default" 0.0;
32388                     rel1.to: "btn";
32389                     rel2.to: "btn";
32390                     align: 0.5 0.5;
32391                     min: 16 16;
32392                     max: 16 16;
32393                     image.normal: "icon_arrow_left.png";
32394                  }
32395                description
32396                  {
32397                     state: "hidden" 0.0;
32398                     inherit: "default" 0.0;
32399                     image.normal: "icon_arrow_right.png";
32400                  }
32401             }
32402        }
32403      programs
32404        {
32405           program
32406             {
32407                name: "show";
32408                signal: "elm,action,show";
32409                source: "elm";
32410                action: STATE_SET "default" 0.0;
32411                target: "bg";
32412                target: "btn_icon";
32413                transition: LINEAR 0.5;
32414             }
32415           program
32416             {
32417                name: "hide";
32418                signal: "elm,action,hide";
32419                source: "elm";
32420                action: STATE_SET "hidden" 0.0;
32421                target: "bg";
32422                target: "btn_icon";
32423                transition: LINEAR 0.5;
32424             }
32425           program
32426             {
32427                name: "btn_click";
32428                signal: "mouse,down,1";
32429                source: "btn_over2";
32430                action: STATE_SET "clicked" 0.0;
32431                target: "btn";
32432             }
32433           program
32434             {
32435                name: "btn_unclick";
32436                signal: "mouse,up,1";
32437                source: "btn_over2";
32438                action: STATE_SET "default" 0.0;
32439                target: "btn";
32440             }
32441           program
32442             {
32443                name: "btn_click2";
32444                signal: "mouse,down,1";
32445                source: "btn_over3";
32446                action: STATE_SET "clicked" 0.0;
32447                target: "btn_over3";
32448             }
32449           program
32450             {
32451                name: "btn_unclick2";
32452                signal: "mouse,up,1";
32453                source: "btn_over3";
32454                action: STATE_SET "default" 0.0;
32455                transition: DECELERATE 0.5;
32456                target: "btn_over3";
32457             }
32458           program
32459             {
32460                name: "btn_unclick3";
32461                signal: "mouse,clicked,1";
32462                source: "btn_over2";
32463                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32464             }
32465          program { name: "highlight_show";
32466             signal: "elm,action,focus_highlight,show";
32467             source: "elm";
32468             action: STATE_SET "enabled" 0.0;
32469             transition: ACCELERATE 0.3;
32470             target: "focus_highlight";
32471          }
32472          program { name: "highlight_hide";
32473             signal: "elm,action,focus_highlight,hide";
32474             source: "elm";
32475             action: STATE_SET "default" 0.0;
32476             transition: DECELERATE 0.3;
32477             target: "focus_highlight";
32478          }
32479        }
32480   }
32481
32482   group {
32483      name: "elm/panel/base/right";
32484      alias: "elm/panel/base/bottom";
32485      images
32486        {
32487           image: "bt_base1.png" COMP;
32488           image: "bt_hilight.png" COMP;
32489           image: "bt_shine.png" COMP;
32490           image: "bt_glow.png" COMP;
32491           image: "bt_dis_base.png" COMP;
32492           image: "icon_arrow_left.png" COMP;
32493           image: "icon_arrow_right.png" COMP;
32494        }
32495      parts
32496        {
32497             part { name: "focus_highlight";
32498                description { state: "default" 0.0;
32499                   visible: 0;
32500                   color: 255 255 255 0;
32501                   rel1 {
32502                      to: "btn";
32503                      offset: -8 -8;
32504                   }
32505                   rel2 {
32506                      to: "btn";
32507                      offset: 7 7;
32508                   }
32509                   image {
32510                      normal: "frame_2.png";
32511                      border: 5 5 32 26;
32512                      middle: 0;
32513                   }
32514                }
32515                description { state: "enabled" 0.0;
32516                   inherit: "default" 0.0;
32517                   visible: 1;
32518                   color: 255 255 255 255;
32519                }
32520             }
32521           part
32522             {
32523                name: "bg";
32524                type: RECT;
32525                mouse_events: 0;
32526                description
32527                  {
32528                     state: "default" 0.0;
32529                     color: 255 255 255 0;
32530                     rel1.relative: 0.0 0.0;
32531                     rel1.offset: 0 0;
32532                     rel2.relative: 1.0 1.0;
32533                     rel2.offset: -1 -1;
32534                  }
32535                description
32536                  {
32537                     state: "hidden" 0.0;
32538                     inherit: "default" 0.0;
32539                     rel1.relative: 1.0 0.0;
32540                     rel1.offset: -22 0;
32541                     rel2.relative: 2.0 1.0;
32542                     rel2.offset: -23 -1;
32543                  }
32544             }
32545           part
32546             {
32547                name: "base";
32548                type: IMAGE;
32549                mouse_events: 0;
32550                description
32551                  {
32552                     state: "default" 0.0;
32553                     rel1.to: "bg";
32554                     rel1.offset: 20 0;
32555                     rel2.to: "bg";
32556                     image
32557                       {
32558                          normal: "bt_dis_base.png";
32559                          border: 4 4 4 4;
32560                       }
32561                  }
32562             }
32563           part
32564             {
32565                name: "clipper";
32566                type: RECT;
32567                mouse_events: 0;
32568                description
32569                  {
32570                     state: "default" 0.0;
32571                     rel1
32572                       {
32573                          offset: 4 4;
32574                          to: "base";
32575                       }
32576                     rel2
32577                       {
32578                          offset: -5 -5;
32579                          to: "base";
32580                       }
32581                  }
32582             }
32583           part
32584             {
32585                name: "elm.swallow.content";
32586                type: SWALLOW;
32587                clip_to: "clipper";
32588                description
32589                  {
32590                     state: "default" 0.0;
32591                     rel1.to: "clipper";
32592                     rel2.to: "clipper";
32593                  }
32594             }
32595           part
32596             {
32597                name: "btn";
32598                type: IMAGE;
32599                mouse_events: 1;
32600                description
32601                  {
32602                     state: "default" 0.0;
32603                     max: 32 48;
32604                     fixed: 1 1;
32605                     align: 1 0.5;
32606                     rel1
32607                       {
32608                          to_x: "bg";
32609                       }
32610                     rel2
32611                       {
32612                          offset: 2 0;
32613                          relative: 0.0 1;
32614                          to_x: "base";
32615                       }
32616                     image
32617                       {
32618                          normal: "bt_base1.png";
32619                          border: 5 0 4 12;
32620                       }
32621                     fill.smooth: 0;
32622                  }
32623                description
32624                  {
32625                     state: "clicked" 0.0;
32626                     inherit: "default" 0.0;
32627                  }
32628             }
32629           part
32630             {
32631                name: "btn_over";
32632                type: IMAGE;
32633                mouse_events: 0;
32634                description
32635                  {
32636                     state: "default" 0.0;
32637                     rel1.to: "btn";
32638                     rel2
32639                       {
32640                          relative: 1.0 0.5;
32641                          to: "btn";
32642                       }
32643                     image
32644                       {
32645                          normal: "bt_hilight.png";
32646                          border: 7 0 7 0;
32647                       }
32648                  }
32649             }
32650           part
32651             {
32652                name: "btn_over2";
32653                type: IMAGE;
32654                mouse_events: 1;
32655                repeat_events: 1;
32656                ignore_flags: ON_HOLD;
32657                description
32658                  {
32659                     state: "default" 0.0;
32660                     rel1.to: "btn";
32661                     rel2.to: "btn";
32662                     image
32663                       {
32664                          normal: "bt_shine.png";
32665                          border: 7 0 7 7;
32666                     }
32667                  }
32668             }
32669           part
32670             {
32671                name: "btn_over3";
32672                type: IMAGE;
32673                mouse_events: 1;
32674                repeat_events: 1;
32675                description
32676                  {
32677                     state: "default" 0.0;
32678                     color: 255 255 255 0;
32679                     rel1.to: "btn";
32680                     rel2.to: "btn";
32681                     image
32682                       {
32683                        normal: "bt_glow.png";
32684                        border: 12 12 12 12;
32685                     }
32686                   fill.smooth: 0;
32687                }
32688              description
32689                {
32690                   state: "clicked" 0.0;
32691                   inherit: "default" 0.0;
32692                   visible: 1;
32693                   color: 255 255 255 255;
32694                }
32695             }
32696           part
32697             {
32698                name: "btn_icon";
32699                type: IMAGE;
32700                repeat_events: 1;
32701                description
32702                  {
32703                     state: "default" 0.0;
32704                     rel1.to: "btn";
32705                     rel2.to: "btn";
32706                     align: 0.5 0.5;
32707                     min: 16 16;
32708                     max: 16 16;
32709                     image.normal: "icon_arrow_right.png";
32710                  }
32711                description
32712                  {
32713                     state: "hidden" 0.0;
32714                     inherit: "default" 0.0;
32715                     image.normal: "icon_arrow_left.png";
32716                  }
32717             }
32718        }
32719      programs
32720        {
32721           program
32722             {
32723                name: "show";
32724                signal: "elm,action,show";
32725                source: "elm";
32726                action: STATE_SET "default" 0.0;
32727                target: "bg";
32728                target: "btn_icon";
32729                transition: LINEAR 0.5;
32730             }
32731           program
32732             {
32733                name: "hide";
32734                signal: "elm,action,hide";
32735                source: "elm";
32736                action: STATE_SET "hidden" 0.0;
32737                target: "bg";
32738                target: "btn_icon";
32739                transition: LINEAR 0.5;
32740             }
32741           program
32742             {
32743                name: "btn_click";
32744                signal: "mouse,down,1";
32745                source: "btn_over2";
32746                action: STATE_SET "clicked" 0.0;
32747                target: "btn";
32748             }
32749           program
32750             {
32751                name: "btn_unclick";
32752                signal: "mouse,up,1";
32753                source: "btn_over2";
32754                action: STATE_SET "default" 0.0;
32755                target: "btn";
32756             }
32757           program
32758             {
32759                name: "btn_click2";
32760                signal: "mouse,down,1";
32761                source: "btn_over3";
32762                action: STATE_SET "clicked" 0.0;
32763                target: "btn_over3";
32764             }
32765           program
32766             {
32767                name: "btn_unclick2";
32768                signal: "mouse,up,1";
32769                source: "btn_over3";
32770                action: STATE_SET "default" 0.0;
32771                transition: DECELERATE 0.5;
32772                target: "btn_over3";
32773             }
32774           program
32775             {
32776                name: "btn_unclick3";
32777                signal: "mouse,up,1";
32778                source: "btn_over2";
32779                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32780             }
32781          program { name: "highlight_show";
32782             signal: "elm,action,focus";
32783             source: "elm";
32784             action: STATE_SET "enabled" 0.0;
32785             transition: ACCELERATE 0.3;
32786             target: "focus_highlight";
32787          }
32788          program { name: "highlight_hide";
32789             signal: "elm,action,unfocus";
32790             source: "elm";
32791             action: STATE_SET "default" 0.0;
32792             transition: DECELERATE 0.3;
32793             target: "focus_highlight";
32794          }
32795        }
32796   }
32797
32798 ///////////////////////////////////////////////////////////////////////////////
32799   group { name: "elm/conformant/base/default";
32800      parts {
32801         part { name: "elm.swallow.shelf";
32802            type: SWALLOW;
32803            description { state: "default" 0.0;
32804               fixed: 0 1;
32805               align: 0.0 0.0;
32806               rel2.relative: 1.0 0.0;
32807            }
32808         }
32809         part { name: "elm.swallow.content";
32810            type: SWALLOW;
32811            description { state: "default" 0.0;
32812               fixed: 0 1;
32813               align: 0.5 0.5;
32814               rel1.relative: 0.0 1.0;
32815               rel1.to_y: "elm.swallow.shelf";
32816               rel2.relative: 1.0 0.0;
32817               rel2.to_y: "elm.swallow.virtualkeypad";
32818            }
32819         }
32820         part { name: "elm.swallow.virtualkeypad";
32821            type: SWALLOW;
32822            description { state: "default" 0.0;
32823               fixed: 0 1;
32824               align: 0.0 1.0;
32825               rel2.relative: 1.0 0.0;
32826               rel2.to_y: "elm.swallow.panel";
32827            }
32828         }
32829         part { name: "elm.swallow.panel";
32830            type: SWALLOW;
32831            description { state: "default" 0.0;
32832               fixed: 0 1;
32833               align: 0.0 1.0;
32834               rel1.relative: 0.0 1.0;
32835            }
32836         }
32837      }
32838   }
32839
32840 /////////////////////////////////////////////////////////////////////////////
32841 // CALENDAR
32842 /////////////////////////////////////////////////////////////////////////////
32843 #define CH(_pos) \
32844          part { name: "ch_"#_pos".base"; \
32845             type: RECT; \
32846             description { state: "default" 0.0; \
32847                rel1 { \
32848                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32849                   to: "header"; \
32850                } \
32851                rel2 { \
32852                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32853                   to: "header"; \
32854                } \
32855                color: 0 0 0 0; \
32856                visible: 0; \
32857             } \
32858          } \
32859          part { name: "ch_"#_pos".text"; \
32860             type: TEXT; \
32861             effect: SOFT_SHADOW; \
32862             mouse_events: 0; \
32863             scale: 1; \
32864             clip_to: "ch_"#_pos".clipper"; \
32865             description { \
32866                state: "default" 0.0; \
32867                rel1.to: "ch_"#_pos".base"; \
32868                rel2.to: "ch_"#_pos".base"; \
32869                color: 0 0 0 255; \
32870                color3: 0 0 0 0; \
32871                text { \
32872                   font: "Sans"; \
32873                   size: 10; \
32874                   min: 1 1; \
32875                   align: 0.5 0.5; \
32876                } \
32877             } \
32878          } \
32879          part { name: "ch_"#_pos".clipper"; \
32880             type: RECT; \
32881             description { state: "default" 0.0; \
32882                rel1.to: "ch_"#_pos".base"; \
32883                rel2.to: "ch_"#_pos".base"; \
32884             } \
32885          }
32886
32887 #define CIT(_pos) \
32888          part { name: "cit_"#_pos".rect"; \
32889             type: RECT; \
32890             description { state: "default" 0.0; \
32891                rel1 { \
32892                   relative: (_pos % 7 * 7 / 8 / 6) \
32893                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32894                   to: "base"; \
32895                } \
32896                rel2 { \
32897                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32898                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32899                   to: "base"; \
32900                } \
32901                color: 0 0 0 0; \
32902                visible: 0; \
32903             } \
32904          } \
32905          part { \
32906             name: "cit_"#_pos".event"; \
32907             type: RECT; \
32908             repeat_events: 1; \
32909             description { \
32910                rel1.to: "cit_"#_pos".rect"; \
32911                rel2.to: "cit_"#_pos".rect"; \
32912                state: "default" 0.0; \
32913                color: 0 0 0 0; \
32914             } \
32915          } \
32916          part { name: "cit_"#_pos".shelf"; \
32917             type: RECT; \
32918             mouse_events: 0; \
32919             description { state: "default" 0.0; \
32920                rel1 { \
32921                   to: "cit_"#_pos".bg"; \
32922                   offset: -1 -1; \
32923                } \
32924                rel2 { \
32925                   to: "cit_"#_pos".bg"; \
32926                } \
32927                color: 200 200 200 255; \
32928             } \
32929          } \
32930          part { name: "cit_"#_pos".hd"; \
32931             type: RECT; \
32932             mouse_events: 0; \
32933             description { state: "default" 0.0; \
32934                rel1 { \
32935                   to: "cit_"#_pos".bg"; \
32936                   offset: -1 -1; \
32937                } \
32938                rel2 { \
32939                   to: "cit_"#_pos".bg"; \
32940                } \
32941                visible: 0; \
32942                color: 160 0 0 255; \
32943             } \
32944             description { state: "visible" 0.0; \
32945                inherit: "default" 0.0; \
32946                visible: 1; \
32947             } \
32948          } \
32949          part { \
32950             name: "cit_"#_pos".base_sh"; \
32951             mouse_events: 0; \
32952             description { \
32953                state: "default" 0.0; \
32954                align: 0.0 0.0; \
32955                min: 0 1; \
32956                rel1 { \
32957                   to: "cit_"#_pos".base"; \
32958                   relative: 0.0 1.0; \
32959                   offset: 0 0; \
32960                } \
32961                rel2 { \
32962                   to: "cit_"#_pos".base"; \
32963                   relative: 1.0 1.05; \
32964                   offset: -1 0; \
32965                } \
32966                image { \
32967                   normal: "ilist_item_shadow.png"; \
32968                } \
32969                fill.smooth: 0; \
32970             } \
32971          } \
32972          part { \
32973             name: "cit_"#_pos".base"; \
32974             mouse_events: 0; \
32975             description { \
32976                state: "default" 0.0; \
32977                rel1.to: "cit_"#_pos".rect"; \
32978                rel2.to: "cit_"#_pos".rect"; \
32979                rel2.offset: -1 -1; \
32980                image { \
32981                   normal: "ilist_1.png"; \
32982                   border: 2 2 2 2; \
32983                } \
32984                fill.smooth: 0; \
32985             } \
32986             description { \
32987                state: "today" 0.0; \
32988                inherit: "default" 0.0; \
32989                image.normal: "ilist_2.png"; \
32990                color: 240 240 240 255; \
32991             } \
32992          } \
32993          part { name: "cit_"#_pos".bg"; \
32994             mouse_events: 0; \
32995             description { state: "default" 0.0; \
32996                visible: 0; \
32997                color: 255 255 255 0; \
32998                rel1 { \
32999                   to: "cit_"#_pos".rect"; \
33000                   relative: 0.0 0.0; \
33001                } \
33002                rel2 { \
33003                   to: "cit_"#_pos".rect"; \
33004                   relative: 1.0 1.0; \
33005                   offset: -1 -1; \
33006                } \
33007                image { \
33008                   normal: "bt_sm_base1.png"; \
33009                   border: 6 6 6 6; \
33010                } \
33011                image.middle: SOLID; \
33012             } \
33013             description { state: "selected" 0.0; \
33014                inherit: "default" 0.0; \
33015                visible: 1; \
33016                color: 255 255 255 255; \
33017             } \
33018          } \
33019          part { name: "cit_"#_pos".text"; \
33020             type: TEXT; \
33021             effect: SOFT_SHADOW; \
33022             mouse_events: 0; \
33023             scale: 1; \
33024             description { \
33025                state: "default" 0.0; \
33026                rel1.to: "cit_"#_pos".bg"; \
33027                rel2.to: "cit_"#_pos".bg"; \
33028                color: 0 0 0 255; \
33029                color3: 0 0 0 0; \
33030                text { \
33031                   font: "Sans"; \
33032                   size: 10; \
33033                   min: 1 1; \
33034                   align: 0.5 0.5; \
33035                } \
33036             } \
33037             description { state: "selected" 0.0; \
33038                inherit: "default" 0.0; \
33039                color: 224 224 224 255; \
33040                color3: 0 0 0 64; \
33041             } \
33042          } \
33043          part { name: "cit_"#_pos".fg1"; \
33044             mouse_events: 0; \
33045             description { state: "default" 0.0; \
33046                visible: 0; \
33047                color: 255 255 255 0; \
33048                rel1.to: "cit_"#_pos".bg"; \
33049                rel2.relative: 1.0 0.5; \
33050                rel2.to: "cit_"#_pos".bg"; \
33051                image { \
33052                   normal: "bt_sm_hilight.png"; \
33053                   border: 6 6 6 0; \
33054                } \
33055             } \
33056             description { state: "selected" 0.0; \
33057                inherit: "default" 0.0; \
33058                visible: 1; \
33059                color: 255 255 255 255; \
33060             } \
33061          } \
33062          part { name: "cit_"#_pos".fg2"; \
33063             mouse_events: 0; \
33064             description { state: "default" 0.0; \
33065                visible: 0; \
33066                color: 255 255 255 0; \
33067                rel1.to: "cit_"#_pos".bg"; \
33068                rel2.to: "cit_"#_pos".bg"; \
33069                image { \
33070                   normal: "bt_sm_shine.png"; \
33071                   border: 6 6 6 0; \
33072                } \
33073             } \
33074             description { state: "selected" 0.0; \
33075                inherit: "default" 0.0; \
33076                visible: 1; \
33077                color: 255 255 255 255; \
33078             } \
33079          } \
33080          part { name: "cit_"#_pos".check"; \
33081             mouse_events: 0; \
33082             description { state: "default" 0.0; \
33083                rel1 { \
33084                   to: "cit_"#_pos".bg"; \
33085                   relative: 0.7 0.6; \
33086                   offset: 1 1; \
33087                } \
33088                rel2 { \
33089                   to: "cit_"#_pos".bg"; \
33090                   relative: 1.1 1.2; \
33091                   offset: -2 -2; \
33092                } \
33093                aspect: 1 1; \
33094                visible: 0; \
33095                color: 255 0 0 255; \
33096                image.normal: "check.png"; \
33097             } \
33098             description { state: "visible" 0.0; \
33099                inherit: "default" 0.0; \
33100                visible: 1; \
33101             } \
33102          } \
33103       programs { \
33104          program { \
33105             name:    "cit_"#_pos".go_active"; \
33106             signal:  "cit_"#_pos",selected"; \
33107             source:  "elm"; \
33108             action:  STATE_SET "selected" 0.0; \
33109             target:  "cit_"#_pos".bg"; \
33110             target:  "cit_"#_pos".fg1"; \
33111             target:  "cit_"#_pos".fg2"; \
33112             target:  "cit_"#_pos".text"; \
33113          } \
33114          program { \
33115             name:    "cit_"#_pos".go_passive"; \
33116             signal:  "cit_"#_pos",unselected"; \
33117             source:  "elm"; \
33118             action:  STATE_SET "default" 0.0; \
33119             target:  "cit_"#_pos".bg"; \
33120             target:  "cit_"#_pos".fg1"; \
33121             target:  "cit_"#_pos".fg2"; \
33122             target:  "cit_"#_pos".text"; \
33123          } \
33124          program { \
33125             name:    "cit_"#_pos".is_today"; \
33126             signal:  "cit_"#_pos",today"; \
33127             source:  "elm"; \
33128             action:  STATE_SET "today" 0.0; \
33129             target: "cit_"#_pos".base"; \
33130          } \
33131          program { \
33132             name:    "cit_"#_pos".not_today"; \
33133             signal:  "cit_"#_pos",not_today"; \
33134             source:  "elm"; \
33135             action:  STATE_SET "default" 0.0; \
33136             target: "cit_"#_pos".base"; \
33137          } \
33138          program { \
33139             source: "cit_"#_pos".clicked"; \
33140             signal: "mouse,clicked,1"; \
33141             source: "cit_"#_pos".event"; \
33142             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33143          } \
33144          program { \
33145             name:    "cit_"#_pos".clear"; \
33146             signal:  "cit_"#_pos",clear"; \
33147             source:  "elm"; \
33148             action:  STATE_SET "default" 0.0; \
33149             target: "cit_"#_pos".check"; \
33150             target: "cit_"#_pos".hd"; \
33151          } \
33152          program { \
33153             name:    "cit_"#_pos".checked"; \
33154             signal:  "cit_"#_pos",checked"; \
33155             source:  "elm"; \
33156             action:  STATE_SET "visible" 0.0; \
33157             target: "cit_"#_pos".check"; \
33158          } \
33159          program { \
33160             name:    "cit_"#_pos".holiday"; \
33161             signal:  "cit_"#_pos",holiday"; \
33162             source:  "elm"; \
33163             action:  STATE_SET "visible" 0.0; \
33164             target: "cit_"#_pos".hd"; \
33165          } \
33166       }
33167
33168    group { name: "elm/calendar/base/default";
33169        images {
33170            image: "shelf_inset.png" COMP;
33171            image: "bt_base1.png" COMP;
33172            image: "bt_hilight.png" COMP;
33173            image: "bt_shine.png" COMP;
33174            image: "bt_glow.png" COMP;
33175            image: "bt_dis_base.png" COMP;
33176            image: "bt_dis_hilight.png" COMP;
33177            image: "sp_bt_l.png" COMP;
33178            image: "sp_bt_r.png" COMP;
33179            image: "bt_sm_base1.png" COMP;
33180            image: "bt_sm_shine.png" COMP;
33181            image: "bt_sm_hilight.png" COMP;
33182            image: "ilist_1.png" COMP;
33183            image: "ilist_2.png" COMP;
33184            image: "ilist_item_shadow.png" COMP;
33185            image: "check.png" COMP;
33186        }
33187        parts {
33188            part { name: "bg";
33189                type: RECT;
33190                description { state: "default" 0.0;
33191                    min: 0 30;
33192                    rel1.offset: 1 1;
33193                    rel2.offset: -2 -2;
33194                    color: 255 255 255 0;
33195                    align: 0.0 0.5;
33196                }
33197            }
33198            part { name: "spinner-base";
33199                type: RECT;
33200                mouse_events: 0;
33201                description { state: "default" 0.0;
33202                    min: 24 24;
33203                    max: 999999 24;
33204                    rel1.to: "bg";
33205                    rel1.offset: 6 6;
33206                    rel2.to: "bg";
33207                    rel2.offset: -7 -7;
33208                    color: 255 255 255 0;
33209                    align: 0.0 0.0;
33210                }
33211            }
33212            part { name: "conf_over_spinner";
33213                mouse_events:  0;
33214                description { state: "default" 0.0;
33215                    rel1.to: "spinner-base";
33216                    rel1.offset: -3 -3;
33217                    rel2.to: "spinner-base";
33218                    rel2.offset: 2 2;
33219                    image {
33220                        normal: "shelf_inset.png";
33221                        border: 7 7 7 7;
33222                        middle: 0;
33223                    }
33224                    fill.smooth : 0;
33225                }
33226            }
33227            part { name: "table-base";
33228                type: RECT;
33229                mouse_events: 0;
33230                description { state: "default" 0.0;
33231                    min: 256 220;
33232                    rel1.to_x: "bg";
33233                    rel1.to_y: "spinner-base";
33234                    rel1.offset: 6 6;
33235                    rel1.relative: 0 1;
33236                    rel2.to: "bg";
33237                    rel2.offset: -7 -7;
33238                    color: 255 255 255 0;
33239                }
33240            }
33241            part { name: "conf_over_table";
33242                mouse_events:  0;
33243                description { state: "default" 0.0;
33244                    rel1.to: "table-base";
33245                    rel1.offset: -3 -3;
33246                    rel2.to: "table-base";
33247                    rel2.offset: 2 2;
33248                    image {
33249                        normal: "shelf_inset.png";
33250                        border: 7 7 7 7;
33251                        middle: 0;
33252                    }
33253                    fill.smooth : 0;
33254                }
33255            }
33256            part { name: "header";
33257                type: RECT;
33258                mouse_events: 0;
33259                description { state: "default" 0.0;
33260                    rel1.to: "table-base";
33261                    rel1.relative: 0 0;
33262                    rel2.to: "table-base";
33263                    rel2.relative: 1 0.1;
33264                    color: 255 255 255 0;
33265                }
33266            }
33267            part { name: "base";
33268                type: RECT;
33269                mouse_events: 0;
33270                description { state: "default" 0.0;
33271                    rel1.to_x: "table-base";
33272                    rel1.to_y: "header";
33273                    rel1.relative: 0 1;
33274                    rel1.offset: 3 0;
33275                    rel2.to: "table-base";
33276                    rel2.offset: -3 0;
33277                    color: 255 255 255 0;
33278                }
33279            }
33280            part { name: "left_bt";
33281                mouse_events:  1;
33282                description { state: "default" 0.0;
33283                    rel1 { to: "spinner-base";
33284                        offset: 2 2;
33285                    }
33286                    rel2 { to: "spinner-base";
33287                        offset: -3 -3;
33288                    }
33289                    align: 0.0 0.5;
33290                    min: 24 24;
33291                    max: 24 24;
33292                    fixed: 1 1;
33293                    image {
33294                        normal: "bt_base1.png";
33295                        border: 6 6 6 6;
33296                    }
33297                    fill.smooth : 0;
33298                }
33299                description { state: "clicked" 0.0;
33300                    inherit: "default" 0.0;
33301                    image.normal: "bt_base1.png";
33302                    image.middle: SOLID;
33303                }
33304            }
33305            part { name: "left_over1";
33306                mouse_events: 0;
33307                description { state: "default" 0.0;
33308                    rel1.to: "left_bt";
33309                    rel2 { to: "left_bt";
33310                        relative: 1.0 0.5;
33311                    }
33312                    image {
33313                        normal: "bt_hilight.png";
33314                        border: 7 7 7 0;
33315                    }
33316                }
33317            }
33318            part { name: "left_over2";
33319                mouse_events: 1;
33320                repeat_events: 1;
33321                description { state: "default" 0.0;
33322                    rel1.to: "left_bt";
33323                    rel2.to: "left_bt";
33324                    image {
33325                        normal: "bt_shine.png";
33326                        border: 7 7 7 7;
33327                    }
33328                }
33329            }
33330            part { name: "left_over3";
33331                mouse_events: 1;
33332                repeat_events: 1;
33333                description { state: "default" 0.0;
33334                    color: 255 255 255 0;
33335                    rel1.to: "left_bt";
33336                    rel2.to: "left_bt";
33337                    image {
33338                        normal: "bt_glow.png";
33339                        border: 12 12 12 12;
33340                    }
33341                    fill.smooth : 0;
33342                }
33343                description { state: "clicked" 0.0;
33344                    inherit:  "default" 0.0;
33345                    visible: 1;
33346                    color: 255 255 255 255;
33347                }
33348            }
33349            part { name: "right_bt";
33350                mouse_events:  1;
33351                description { state: "default" 0.0;
33352                    rel1 { to: "spinner-base";
33353                        offset: -27 3;
33354                    }
33355                    rel2 { to: "spinner-base";
33356                        offset: -3 -3;
33357                    }
33358                    align: 1.0 0.5;
33359                    min: 24 24;
33360                    max: 24 24;
33361                    fixed: 1 1;
33362                    image {
33363                        normal: "bt_base1.png";
33364                        border: 5 5 4 12;
33365                    }
33366                    fill.smooth : 0;
33367                }
33368                description { state: "clicked" 0.0;
33369                    inherit: "default" 0.0;
33370                    image.normal: "bt_base1.png";
33371                    image.middle: SOLID;
33372                }
33373            }
33374            part { name: "right_over1";
33375                mouse_events: 0;
33376                description { state: "default" 0.0;
33377                    rel1.to: "right_bt";
33378                    rel2 { to: "right_bt";
33379                        relative: 1.0 0.5;
33380                    }
33381                    image {
33382                        normal: "bt_hilight.png";
33383                        border: 7 7 7 0;
33384                    }
33385                }
33386            }
33387            part { name: "right_over2";
33388                mouse_events: 1;
33389                repeat_events: 1;
33390                description { state: "default" 0.0;
33391                    rel1.to: "right_bt";
33392                    rel2.to: "right_bt";
33393                    image {
33394                        normal: "bt_shine.png";
33395                        border: 7 7 7 7;
33396                    }
33397                }
33398            }
33399            part { name: "right_over3";
33400                mouse_events: 1;
33401                repeat_events: 1;
33402                description { state: "default" 0.0;
33403                    color: 255 255 255 0;
33404                    rel1.to: "right_bt";
33405                    rel2.to: "right_bt";
33406                    image {
33407                        normal: "bt_glow.png";
33408                        border: 12 12 12 12;
33409                    }
33410                    fill.smooth : 0;
33411                }
33412                description { state: "clicked" 0.0;
33413                    inherit:  "default" 0.0;
33414                    visible: 1;
33415                    color: 255 255 255 255;
33416                }
33417            }
33418            part { name: "left_bt_icon";
33419                repeat_events: 1;
33420                description { state: "default" 0.0;
33421                    rel1.to: "left_bt";
33422                    rel2.to: "left_bt";
33423                    align: 0.5 0.5;
33424                    min: 16 16;
33425                    max: 16 16;
33426                    image.normal: "sp_bt_l.png";
33427                }
33428                description { state: "rtl" 0.0;
33429                    inherit: "default" 0.0;
33430                    image.normal: "sp_bt_r.png";
33431                }
33432            }
33433            part { name: "right_bt_icon";
33434                repeat_events: 1;
33435                description { state: "default" 0.0;
33436                    rel1.to: "right_bt";
33437                    rel2.to: "right_bt";
33438                    align: 0.5 0.5;
33439                    min: 16 16;
33440                    max: 16 16;
33441                    image.normal: "sp_bt_r.png";
33442                }
33443                description { state: "rtl" 0.0;
33444                    inherit: "default" 0.0;
33445                    image.normal: "sp_bt_l.png";
33446                }
33447            }
33448            part { name: "month_text";
33449                type: TEXT;
33450                mouse_events: 0;
33451                scale: 1;
33452                description { state: "default" 0.0;
33453                    align: 0 0.5;
33454                    fixed: 1 1;
33455                    rel1 { relative: 1.0 0.0;
33456                        offset: 3 2;
33457                        to: "left_bt";
33458                        to_y: "spinner-base";
33459                    }
33460                    rel2 { relative: 0.0 1.0;
33461                        offset: -3 -2;
33462                        to_x: "right_bt";
33463                        to_y: "spinner-base";
33464                    }
33465                    color: 0 0 0 255;
33466                    text {
33467                        font: "Sans,Edje-Vera";
33468                        size: 12;
33469                        min: 1 1;
33470                        align: 0.5 0.5;
33471                    }
33472                }
33473            }
33474            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33475            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33476            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33477            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33478            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33479            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33480            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33481        }
33482        programs {
33483            program { name: "dec_start";
33484                signal: "mouse,down,1";
33485                source: "left_bt";
33486                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33487            }
33488            program { name: "dec_stop";
33489                signal: "mouse,up,1";
33490                source: "left_bt";
33491                action: SIGNAL_EMIT "elm,action,stop" "";
33492            }
33493            program { name: "inc_start";
33494                signal: "mouse,down,1";
33495                source: "right_bt";
33496                action: SIGNAL_EMIT "elm,action,increment,start" "";
33497            }
33498            program { name: "inc_stop";
33499                signal: "mouse,up,1";
33500                source: "right_bt";
33501                action: SIGNAL_EMIT "elm,action,stop" "";
33502            }
33503            program {
33504                name:   "left_bt_click";
33505                signal: "mouse,down,1";
33506                source: "left_over2";
33507                action: STATE_SET "clicked" 0.0;
33508                target: "left_bt";
33509            }
33510            program {
33511                name:   "left_bt_unclick";
33512                signal: "mouse,up,1";
33513                source: "left_over2";
33514                action: STATE_SET "default" 0.0;
33515                target: "left_bt";
33516            }
33517            program {
33518                name:   "left_bt_click2";
33519                signal: "mouse,down,1";
33520                source: "left_over3";
33521                action: STATE_SET "clicked" 0.0;
33522                target: "left_over3";
33523            }
33524            program {
33525                name:   "left_bt_unclick2";
33526                signal: "mouse,up,1";
33527                source: "left_over3";
33528                action: STATE_SET "default" 0.0;
33529                transition: DECELERATE 0.5;
33530                target: "left_over3";
33531            }
33532            program {
33533                name:   "right_bt_click";
33534                signal: "mouse,down,1";
33535                source: "right_over2";
33536                action: STATE_SET "clicked" 0.0;
33537                target: "right_bt";
33538            }
33539            program {
33540                name:   "right_bt_unclick";
33541                signal: "mouse,up,1";
33542                source: "right_over2";
33543                action: STATE_SET "default" 0.0;
33544                target: "right_bt";
33545            }
33546            program {
33547                name:   "right_bt_click2";
33548                signal: "mouse,down,1";
33549                source: "right_over3";
33550                action: STATE_SET "clicked" 0.0;
33551                target: "right_over3";
33552            }
33553            program {
33554                name:   "right_bt_unclick2";
33555                signal: "mouse,up,1";
33556                source: "right_over3";
33557                action: STATE_SET "default" 0.0;
33558                transition: DECELERATE 0.5;
33559                target: "right_over3";
33560            }
33561            program { name: "to_rtl";
33562                signal: "edje,state,rtl";
33563                source: "edje";
33564                action: STATE_SET "rtl" 0.0;
33565                target: "right_bt_icon";
33566                target: "left_bt_icon";
33567            }
33568            program { name: "to_ltr";
33569                signal: "edje,state,ltr";
33570                source: "edje";
33571                action: STATE_SET "default" 0.0;
33572                target: "right_bt_icon";
33573                target: "left_bt_icon";
33574            }
33575        }
33576    }
33577
33578 #undef CIT
33579 #undef CH
33580
33581 ////////////////////////////////////////////////////////////////////////////////
33582 // colorselector
33583 ////////////////////////////////////////////////////////////////////////////////
33584    group { name: "elm/colorselector/bg/default";
33585       parts {
33586          part { name: "elm.colorbar_0";
33587             type: SWALLOW;
33588             mouse_events: 1;
33589             description { state: "default" 0.0;
33590                min: 120 30;
33591                rel1.relative: 0.0 0.00653594771;
33592                rel2.relative: 1.0 0.254901961;
33593             }
33594          }
33595          part { name: "elm.colorbar_1";
33596             type: SWALLOW;
33597             mouse_events: 1;
33598             description { state: "default" 0.0;
33599                min: 120 30;
33600                rel1.relative: 0.0 0.254901961;
33601                rel2.relative: 1.0 0.503267974;
33602             }
33603          }
33604          part { name: "elm.colorbar_2";
33605             type: SWALLOW;
33606             mouse_events: 1;
33607             description { state: "default" 0.0;
33608                min: 120 30;
33609                rel1.relative: 0.0 0.503267974;
33610                rel2.relative: 1.0 0.751633987;
33611             }
33612          }
33613          part { name: "elm.colorbar_3";
33614             type: SWALLOW;
33615             mouse_events: 1;
33616             description { state: "default" 0.0;
33617                min: 120 30;
33618                rel1.relative: 0.0 0.751633987;
33619                rel2.relative: 1.0 1.0;
33620             }
33621          }
33622       }
33623    }
33624
33625    group { name: "elm/colorselector/base/default";
33626       parts {
33627          part { name: "elm.bar_bg";
33628             type: SWALLOW;
33629             mouse_events: 0;
33630             description { state: "default" 0.0;
33631                min: 60 22;
33632                rel1 {
33633                   relative: 0.0 0.8;
33634                   to_x: "elm.arrow_bg";
33635                   to_y: "elm.arrow_icon";
33636                   offset: 0 0;
33637                }
33638                rel2 {
33639                   relative: 1.0 0.83;
33640                   to_x: "elm.arrow_bg";
33641                   offset: 0 0;
33642                }
33643             }
33644          }
33645          part { name: "elm.bar";
33646             type: SWALLOW;
33647             mouse_events: 0;
33648             description { state: "default" 0.0;
33649                rel1.to: "elm.bar_bg";
33650                rel2.to: "elm.bar_bg";
33651             }
33652          }
33653          part { name: "elm.arrow_bg";
33654             type: SWALLOW;
33655             mouse_events: 1;
33656             description { state: "default" 0.0;
33657                rel1 {
33658                   relative: 1.0 0.17;
33659                   offset: 3 0;
33660                   to_x: "elm.l_button";
33661                }
33662                rel2 {
33663                   relative: 0.0 0.83;
33664                      offset: -4 0;
33665                   to_x: "elm.r_button";
33666                }
33667             }
33668          }
33669          part { name: "elm.arrow";
33670             type: RECT;
33671             mouse_events: 1;
33672             scale: 1;
33673             description { state: "default" 0.0;
33674                min: 1 1;
33675                fixed: 1 1;
33676                align: 0 0;
33677                rel1 {
33678                   to_x: "elm.arrow_bg";
33679                }
33680                rel2 {
33681                   relative: 0.0 0.17;
33682                   to_x: "elm.arrow_bg";
33683                }
33684                color: 0 0 0 0;
33685                visible: 0;
33686             }
33687             dragable {
33688                confine: "elm.arrow_bg";
33689                x: 1 1 0;
33690                y: 0 0 0;
33691             }
33692          }
33693          part { name: "elm.arrow_icon";
33694             type: SWALLOW;
33695             mouse_events: 0;
33696             description { state: "default" 0.0;
33697                min: 25 15;
33698                max: 25 15;
33699                fixed: 1 1;
33700                align: 0.5 0;
33701                rel1 {
33702                   to_x: "elm.arrow";
33703                }
33704                rel2 {
33705                   relative: 1.0 0.0;
33706                   offset: 0 10;
33707                   to_x: "elm.arrow";
33708                }
33709             }
33710          }
33711          part { name: "event";
33712             type: RECT;
33713             mouse_events: 1;
33714             description { state: "default" 0.0;
33715                rel1 {
33716                   to: "elm.arrow_icon";
33717                }
33718                rel2 {
33719                   to_x: "elm.arrow_icon";
33720                   to_y: "elm.arrow_bg";
33721                   offset: 0 0;
33722                }
33723                color: 0 0 0 0;
33724             }
33725             dragable {
33726                events: "elm.arrow";
33727             }
33728          }
33729          part { name: "elm.l_button";
33730             type: SWALLOW;
33731             mouse_events: 1;
33732             scale: 1;
33733             description { state: "default" 0.0;
33734                min: 24 24;
33735                fixed: 1 1;
33736                rel1 {
33737                   relative: 0.0 0.0;
33738                   to_y: "elm.bar_bg";
33739                }
33740                rel2 {
33741                   relative: 0.0 1.0;
33742                   to_y: "elm.bar_bg";
33743                }
33744                align: 0.0 0.5;
33745             }
33746          }
33747          part { name: "elm.r_button";
33748             type: SWALLOW;
33749             mouse_events: 1;
33750             scale: 1;
33751             description {
33752                state: "default" 0.0;
33753                min: 24 24;
33754                fixed: 1 1;
33755                rel1 {
33756                   relative: 1.0 0.0;
33757                   to_y: "elm.bar_bg";
33758                }
33759                rel2 {
33760                   relative: 1.0 1.0;
33761                   to_y: "elm.bar_bg";
33762                }
33763                align: 1.0 0.5;
33764             }
33765          }
33766       }
33767    }
33768
33769    group{ name: "elm/colorselector/image/colorbar_0";
33770       images {
33771          image: "color_picker_color.png" COMP;
33772       }
33773       parts {
33774          part { name: "colorbar_0_image";
33775             type: IMAGE;
33776             mouse_events: 1;
33777             description { state: "default" 0.0;
33778                rel2.offset: -1 -1;
33779                image.normal: "color_picker_color.png";
33780             }
33781          }
33782       }
33783    }
33784
33785    group { name: "elm/colorselector/image/colorbar_1";
33786       images {
33787          image: "color_picker_opacity.png" COMP;
33788       }
33789       parts {
33790          part { name: "colorbar_1_image";
33791             type: IMAGE;
33792             mouse_events: 1;
33793             description { state: "default" 0.0;
33794                rel2.offset: -1 -1;
33795                image.normal: "color_picker_opacity.png";
33796             }
33797          }
33798       }
33799    }
33800
33801    group { name: "elm/colorselector/image/colorbar_2";
33802       images {
33803          image: "color_picker_brightness.png" COMP;
33804       }
33805       parts {
33806          part { name: "colorbar_2_image";
33807             type: IMAGE;
33808             mouse_events: 1;
33809             description { state: "default" 0.0;
33810                rel2.offset: -1 -1;
33811                image.normal: "color_picker_brightness.png";
33812             }
33813          }
33814       }
33815    }
33816
33817    group { name: "elm/colorselector/image/colorbar_3";
33818       images {
33819          image: "color_picker_alpha.png" COMP;
33820       }
33821       parts {
33822          part { name: "colorbar_3_image";
33823             type: IMAGE;
33824             mouse_events: 1;
33825             description { state: "default" 0.0;
33826                rel2.offset: -1 -1;
33827                image.normal: "color_picker_alpha.png";
33828             }
33829          }
33830       }
33831    }
33832
33833    group { name: "elm/colorselector/bg_image/colorbar_3";
33834       images {
33835          image: "color_picker_alpha_bg.png" COMP;
33836       }
33837       parts {
33838          part { name: "colorbar_3_image";
33839             type: IMAGE;
33840             mouse_events: 1;
33841             description { state: "default" 0.0;
33842                rel2.offset: -1 -1;
33843                image.normal: "color_picker_alpha_bg.png";
33844             }
33845          }
33846       }
33847    }
33848
33849    group { name: "elm/colorselector/image/updown";
33850       images {
33851          image: "icon_arrow_down.png" COMP;
33852       }
33853       parts {
33854          part { name: "bg";
33855             type: RECT;
33856             mouse_events: 1;
33857             description { state: "default" 0.0;
33858                color: 0 0 0 0;
33859             }
33860          }
33861          part { name: "arrow_image";
33862             type: IMAGE;
33863             mouse_events: 1;
33864             description { state: "default" 0.0;
33865                image.normal: "icon_arrow_down.png";
33866             }
33867          }
33868       }
33869    }
33870
33871    group { name: "elm/colorselector/button/left";
33872       images {
33873          image: "bt_base1.png" COMP;
33874          image: "bt_shine.png" COMP;
33875          image: "sp_bt_l.png" COMP;
33876       }
33877       parts {
33878          part { name: "button_image";
33879             mouse_events: 1;
33880             description { state: "default" 0.0;
33881                image.normal: "bt_base1.png";
33882                image.border: 6 6 6 6;
33883                image.middle: SOLID;
33884             }
33885
33886             description { state: "clicked" 0.0;
33887                inherit: "default" 0.0;
33888                image.normal: "bt_shine.png";
33889                image.border: 6 6 6 6;
33890                image.middle: SOLID;
33891             }
33892          }
33893          part { name: "btn_over";
33894             type: IMAGE;
33895             mouse_events: 0;
33896             description { state: "default" 0.0;
33897                rel1.to: "button_image";
33898                rel2 {
33899                   relative: 1.0 0.5;
33900                   to: "button_image";
33901                }
33902                image {
33903                   normal: "bt_hilight.png";
33904                   border: 7 7 7 0;
33905                }
33906             }
33907          }
33908          part { name: "btn_over2";
33909             type: IMAGE;
33910             mouse_events: 1;
33911             repeat_events: 1;
33912             ignore_flags: ON_HOLD;
33913             description { state: "default" 0.0;
33914                rel1.to: "button_image";
33915                rel2.to: "button_image";
33916                image {
33917                   normal: "bt_shine.png";
33918                   border: 7 7 7 7;
33919                }
33920             }
33921          }
33922          part { name: "focus_image";
33923             type: IMAGE;
33924             description { state: "default" 0.0;
33925                color: 255 255 255 0;
33926                rel1.to: "button_image";
33927                rel2.to: "button_image";
33928                image {
33929                   normal: "bt_glow.png";
33930                   border: 12 12 12 12;
33931                }
33932                fill.smooth: 0;
33933
33934             }
33935             description { state: "clicked" 0.0;
33936                inherit: "default" 0.0;
33937                visible: 1;
33938                color: 255 255 255 255;
33939             }
33940          }
33941          part { name: "left_arrow";
33942             mouse_events: 1;
33943             description { state: "default" 0.0;
33944                min: 16 16;
33945                max: 16 16;
33946                image.normal: "sp_bt_l.png";
33947             }
33948          }
33949       }
33950
33951       programs {
33952          program {
33953             name:   "button_down";
33954             signal: "elm,state,left,button,down";
33955             source: "left_button";
33956             action: STATE_SET "clicked" 0.0;
33957             target: "button_image";
33958             target: "focus_image";
33959          }
33960          program {
33961             name:   "button_up";
33962             signal: "elm,state,left,button,up";
33963             source: "left_button";
33964             action: STATE_SET "default" 0.0;
33965             target: "button_image";
33966             target: "focus_image";
33967          }
33968       }
33969    }
33970
33971    group { name: "elm/colorselector/button/right";
33972       images {
33973          image: "bt_base1.png" COMP;
33974          image: "bt_shine.png" COMP;
33975          image: "sp_bt_r.png" COMP;
33976       }
33977       parts {
33978          part { name: "button_image";
33979             mouse_events: 1;
33980             description { state: "default" 0.0;
33981                image.normal: "bt_base1.png";
33982                image.border: 6 6 6 6;
33983                image.middle: SOLID;
33984             }
33985
33986             description { state: "clicked" 0.0;
33987                inherit: "default" 0.0;
33988                image.normal: "bt_shine.png";
33989                image.border: 6 6 6 6;
33990                image.middle: SOLID;
33991             }
33992          }
33993          part { name: "btn_over";
33994             type: IMAGE;
33995             mouse_events: 0;
33996             description { state: "default" 0.0;
33997                rel1.to: "button_image";
33998                rel2 {
33999                   relative: 1.0 0.5;
34000                   to: "button_image";
34001                }
34002                image {
34003                   normal: "bt_hilight.png";
34004                   border: 7 7 7 0;
34005                }
34006             }
34007          }
34008          part { name: "btn_over2";
34009             type: IMAGE;
34010             mouse_events: 1;
34011             repeat_events: 1;
34012             ignore_flags: ON_HOLD;
34013             description { state: "default" 0.0;
34014                rel1.to: "button_image";
34015                rel2.to: "button_image";
34016                image {
34017                   normal: "bt_shine.png";
34018                   border: 7 7 7 7;
34019                }
34020             }
34021          }
34022          part { name: "focus_image";
34023             type: IMAGE;
34024             description { state: "default" 0.0;
34025                color: 255 255 255 0;
34026                rel1.to: "button_image";
34027                rel2.to: "button_image";
34028                image {
34029                   normal: "bt_glow.png";
34030                   border: 12 12 12 12;
34031                }
34032                fill.smooth: 0;
34033
34034             }
34035             description { state: "clicked" 0.0;
34036                inherit: "default" 0.0;
34037                visible: 1;
34038                color: 255 255 255 255;
34039             }
34040          }
34041          part { name: "right_arrow";
34042             mouse_events: 1;
34043             description { state: "default" 0.0;
34044                min: 16 16;
34045                max: 16 16;
34046                image.normal: "sp_bt_r.png";
34047             }
34048          }
34049       }
34050
34051       programs {
34052          program {
34053             name:   "button_down";
34054             signal: "elm,state,right,button,down";
34055             source: "right_button";
34056             action: STATE_SET "clicked" 0.0;
34057             target: "button_image";
34058             target: "focus_image";
34059          }
34060          program {
34061             name:   "button_up";
34062             signal: "elm,state,right,button,up";
34063             source: "right_button";
34064             action: STATE_SET "default" 0.0;
34065             target: "button_image";
34066             target: "focus_image";
34067          }
34068       }
34069    }
34070
34071 ///////////////////////////////////////////////////////////////////////////////
34072 #define FLIP_PICKER_MAX_LEN (50)
34073 #define FLIP_PICKER_MAX_LEN_STR "50"
34074
34075    group { name: "elm/flipselector/base/default";
34076       images {
34077          image: "flip_base.png" COMP;
34078          image: "flip_base_shad.png" COMP;
34079          image: "flip_shad.png" COMP;
34080          image: "arrow_up.png" COMP;
34081          image: "arrow_down.png" COMP;
34082          image: "flip_t.png" COMP;
34083          image: "flip_b.png" COMP;
34084       }
34085
34086       data {
34087          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34088       }
34089
34090       //FIXME: quick successive clicks on, say, up, lead to nastiness
34091       script {
34092          public cur, prev, next, lock;
34093
34094          public animator_bottom_down(val, Float:pos) {
34095             new tmp[FLIP_PICKER_MAX_LEN];
34096
34097             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34098             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34099                             0.0);
34100             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34101                             0.0);
34102
34103             if (pos >= 1.0) {
34104                set_state(PART:"shadow", "default", 0.0);
34105                set_int(lock, 0);
34106
34107                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34108                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34109                   replace_str(next, 0, "");
34110                   message(MSG_STRING, 1, tmp);
34111                }
34112             }
34113          }
34114
34115          public animator_top_down(val, Float:pos) {
34116             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34117             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34118                             0.0);
34119             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34120                             0.0);
34121
34122             if (pos >= 1.0)
34123                anim(0.2, "animator_bottom_down", val);
34124          }
34125
34126          public animator_bottom_up(val, Float:pos) {
34127             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34128             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34129                             0.0);
34130             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34131                             0.0);
34132
34133             if (pos >= 1.0)
34134                anim(0.2, "animator_top_up", val);
34135          }
34136
34137          public animator_top_up(val, Float:pos) {
34138             new tmp[FLIP_PICKER_MAX_LEN];
34139
34140             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34141             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34142                             0.0);
34143             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34144                             0.0);
34145
34146             if (pos >= 1.0) {
34147                set_state(PART:"shadow", "default", 0.0);
34148                set_int(lock, 0);
34149
34150                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34151                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34152                   replace_str(next, 0, "");
34153                   message(MSG_STRING, 2, tmp);
34154                }
34155             }
34156          }
34157
34158          public message(Msg_Type:type, id, ...) {
34159             /* flip down */
34160             if ((type == MSG_STRING) && (id == 1)) {
34161                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34162
34163                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34164
34165                if (get_int(lock) == 1) {
34166                   replace_str(next, 0, value);
34167                   return;
34168                }
34169
34170                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34171
34172                set_text(PART:"bottom_b", tmp);
34173
34174                set_state(PART:"top", "shrink", 0.0);
34175                set_text(PART:"top", tmp);
34176                set_state(PART:"top", "default", 0.0);
34177                set_text(PART:"top", tmp);
34178
34179                replace_str(prev, 0, tmp);
34180
34181                set_state(PART:"bottom", "default", 0.0);
34182                set_text(PART:"bottom", value);
34183                set_state(PART:"bottom", "shrink", 0.0);
34184                set_text(PART:"bottom", value);
34185
34186                set_text(PART:"top_b", value);
34187
34188                replace_str(cur, 0, value);
34189
34190                set_state(PART:"bottom_sheet", "shrink", 0.0);
34191                set_state(PART:"top_sheet", "default", 0.0);
34192
34193                set_int(lock, 1);
34194                set_state(PART:"shadow", "default", 0.0);
34195                anim(0.2, "animator_top_down", 1);
34196             }
34197
34198             /* flip up */
34199             if ((type == MSG_STRING) && (id == 2)) {
34200                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34201
34202                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34203
34204                if (get_int(lock) == 1) {
34205                   replace_str(next, 0, value);
34206                   return;
34207                }
34208
34209                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34210
34211                set_text(PART:"top_b", tmp);
34212
34213                set_state(PART:"bottom", "shrink", 0.0);
34214                set_text(PART:"bottom", tmp);
34215                set_state(PART:"bottom", "default", 0.0);
34216                set_text(PART:"bottom", tmp);
34217
34218                replace_str(prev, 0, tmp);
34219
34220                set_state(PART:"top", "default", 0.0);
34221                set_text(PART:"top", value);
34222                set_state(PART:"top", "shrink", 0.0);
34223                set_text(PART:"top", value);
34224
34225                set_text(PART:"bottom_b", value);
34226
34227                replace_str(cur, 0, value);
34228
34229                set_state(PART:"bottom_sheet", "default", 0.0);
34230                set_state(PART:"top_sheet", "shrink", 0.0);
34231
34232                set_int(lock, 1);
34233                set_state(PART:"shadow", "full", 0.0);
34234                anim(0.2, "animator_bottom_up", 1);
34235             }
34236          }
34237       }
34238
34239       parts {
34240          part { name: "shad";
34241             mouse_events: 0;
34242             description { state: "default" 0.0;
34243                rel1.offset: -4 -4;
34244                rel1.to: "base";
34245                rel2.offset: 3 3;
34246                rel2.to: "base";
34247                image {
34248                   normal: "flip_base_shad.png";
34249                   border: 8 8 8 8;
34250                }
34251             }
34252          }
34253
34254          part { name: "base";
34255             scale: 1;
34256             description { state: "default" 0.0;
34257                rel1.offset: 4 4;
34258                rel2.offset: -5 -5;
34259                min: 24 48;
34260                image.normal: "flip_base.png";
34261             }
34262          }
34263
34264          part { name: "b";
34265             type: RECT;
34266             mouse_events: 1;
34267             description { state: "default" 0.0;
34268                rel1.to: "base";
34269                rel1.relative: 0.0 0.5;
34270                rel2.to: "base";
34271                color: 0 0 0 0;
34272             }
34273             description { state: "hidden" 0.0;
34274                inherit: "default" 0.0;
34275                visible: 0;
34276             }
34277          }
34278
34279          part { name: "t";
34280             type: RECT;
34281             mouse_events: 1;
34282             description { state: "default" 0.0;
34283                rel1.to: "base";
34284                rel2.to: "base";
34285                rel2.relative: 1.0 0.5;
34286                color: 0 0 0 0;
34287             }
34288             description { state: "hidden" 0.0;
34289                inherit: "default" 0.0;
34290                visible: 0;
34291             }
34292          }
34293
34294          part { name: "bottom_sheet_static";
34295             mouse_events: 0;
34296             description { state: "default" 0.0;
34297                visible: 1;
34298                rel1.to: "b";
34299                rel2.to: "b";
34300                image.normal: "flip_b.png";
34301             }
34302          }
34303
34304          part { name: "bottom_b";
34305             mouse_events: 0;
34306             clip_to: "bottom_clipper";
34307             type: TEXT;
34308             scale: 1;
34309             description { state: "default" 0.0;
34310                rel1.to: "base";
34311                rel2.to: "base";
34312                color: 0 0 0 255;
34313                color2: 0 0 0 255;
34314                text {
34315                   font: "Sans:style=Bold,Edje-Vera-Bold";
34316                   size: 30;
34317                   min: 1 1;
34318                   align: 0.5 0.5;
34319                }
34320             }
34321          }
34322
34323          part { name: "shadow";
34324             mouse_events: 0;
34325             description { state: "default" 0.0;
34326                rel1.to: "b";
34327                rel2.to: "b";
34328                rel2.relative: 1.0 0.0;
34329                image.normal: "flip_shad.png";
34330             }
34331             description { state: "half" 0.0;
34332                inherit: "default" 0.0;
34333                rel2.relative: 1.0 0.5;
34334             }
34335             description { state: "full" 0.0;
34336                inherit: "default" 0.0;
34337                rel2.relative: 1.0 1.0;
34338             }
34339          }
34340
34341          part { name: "bottom_sheet";
34342             mouse_events: 0;
34343             description { state: "default" 0.0;
34344                visible: 1;
34345                rel1.to: "b";
34346                rel2.to: "b";
34347                image.normal: "flip_b.png";
34348             }
34349             description { state: "shrink" 0.0;
34350                inherit: "default" 0.0;
34351                visible: 0;
34352                rel2.relative: 1.0 0.0;
34353             }
34354          }
34355
34356          part { name: "bottom";
34357             mouse_events: 0;
34358             clip_to: "bottom_clipper";
34359             type: TEXT;
34360             scale: 1;
34361             description { state: "default" 0.0;
34362                rel1.to: "base";
34363                rel2.to: "base";
34364                color: 0 0 0 255;
34365                color2: 0 0 0 255;
34366                text {
34367                   font: "Sans:style=Bold,Edje-Vera-Bold";
34368                   size: 30;
34369                   min: 1 1;
34370                   align: 0.5 0.5;
34371                }
34372             }
34373             description { state: "shrink" 0.0;
34374                inherit: "default" 0.0;
34375                color: 128 128 128 255;
34376                visible: 0;
34377                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34378             }
34379          }
34380
34381          part { name: "top_sheet_static";
34382             mouse_events: 0;
34383             description { state: "default" 0.0;
34384                visible: 1;
34385                rel1.to: "t";
34386                rel2.to: "t";
34387                image.normal: "flip_t.png";
34388             }
34389          }
34390
34391          part { name: "top_b";
34392             mouse_events: 0;
34393             clip_to: "top_clipper";
34394             type: TEXT;
34395             scale: 1;
34396             description { state: "default" 0.0;
34397                rel1.to: "base";
34398                rel2.to: "base";
34399                color: 0 0 0 255;
34400                color2: 0 0 0 255;
34401                text {
34402                   font: "Sans:style=Bold,Edje-Vera-Bold";
34403                   size: 30;
34404                   min: 1 1;
34405                   align: 0.5 0.5;
34406                   source: "top";
34407                }
34408             }
34409          }
34410
34411          part { name: "top_sheet";
34412             mouse_events: 0;
34413             description { state: "default" 0.0;
34414                visible: 1;
34415                rel1.to: "t";
34416                rel2.to: "t";
34417                image.normal: "flip_t.png";
34418             }
34419             description { state: "shrink" 0.0;
34420                inherit: "default" 0.0;
34421                color: 128 128 128 255;
34422                visible: 0;
34423                rel1.relative: 0.0 1.0;
34424             }
34425          }
34426
34427          part { name: "top";
34428             mouse_events: 0;
34429             clip_to: "top_clipper";
34430             type: TEXT;
34431             scale: 1;
34432             description { state: "default" 0.0;
34433                rel1.to: "base";
34434                rel2.to: "base";
34435                color: 0 0 0 255;
34436                color2: 0 0 0 255;
34437                text {
34438                   font: "Sans:style=Bold,Edje-Vera-Bold";
34439                   size: 30;
34440                   min: 1 1;
34441                   align: 0.5 0.5;
34442                }
34443             }
34444             description { state: "shrink" 0.0;
34445                inherit: "default" 0.0;
34446                visible: 0;
34447                rel1.relative: 0.0 0.5;
34448             }
34449          }
34450
34451          part { name: "arrow_top";
34452             mouse_events: 0;
34453             scale: 1;
34454             description { state: "default" 0.0;
34455                min: 15 15;
34456                max: 15 15;
34457                align: 0.5 0.0;
34458                rel1.to: "t";
34459                rel2.to: "t";
34460                image.normal: "arrow_up.png";
34461             }
34462             description { state: "hidden" 0.0;
34463                inherit: "default" 0.0;
34464                visible: 0;
34465             }
34466          }
34467          part { name: "arrow_bottom";
34468             mouse_events: 0;
34469             scale: 1;
34470             description { state: "default" 0.0;
34471                min: 15 15;
34472                max: 15 15;
34473                align: 0.5 1.0;
34474                rel1.to: "b";
34475                rel2.to: "b";
34476                image.normal: "arrow_down.png";
34477             }
34478             description { state: "hidden" 0.0;
34479                inherit: "default" 0.0;
34480                visible: 0;
34481             }
34482          }
34483
34484          part {
34485             type: RECT;
34486             mouse_events: 0;
34487             name: "top_clipper";
34488             description {
34489                state: "default" 0.0;
34490                rel1.to: "t";
34491                rel2.to: "t";
34492                visible: 1;
34493             }
34494          }
34495
34496          part {
34497             type: RECT;
34498             mouse_events: 0;
34499             name: "bottom_clipper";
34500             description {
34501                state: "default" 0.0;
34502                rel1.to: "b";
34503                rel2.to: "b";
34504                visible: 1;
34505             }
34506          }
34507       }
34508
34509       programs {
34510          program { name: "load";
34511             signal: "load";
34512             source: "";
34513             script {
34514                append_str(cur, "");
34515                append_str(prev, "");
34516                append_str(next, "");
34517                set_int(lock, 0);
34518             }
34519          }
34520
34521          program { name: "hide_arrows";
34522             signal: "elm,state,button,hidden";
34523             source: "elm";
34524             action: STATE_SET "hidden" 0.0;
34525             target: "arrow_top";
34526             target: "arrow_bottom";
34527             target: "t";
34528             target: "b";
34529          }
34530
34531          program { name: "show_arrows";
34532             signal: "elm,state,button,visible";
34533             source: "elm";
34534             action: STATE_SET "default" 0.0;
34535             target: "arrow_top";
34536             target: "arrow_bottom";
34537             target: "t";
34538             target: "b";
34539          }
34540
34541          program { name: "up";
34542             signal: "mouse,down,1";
34543             source: "t";
34544             action: SIGNAL_EMIT "elm,action,up,start" "";
34545          }
34546          program { name: "up,stop";
34547             signal: "mouse,up,1";
34548             source: "t";
34549             action: SIGNAL_EMIT "elm,action,up,stop" "";
34550          }
34551          program { name: "down";
34552             signal: "mouse,down,1";
34553             source: "b";
34554             action: SIGNAL_EMIT "elm,action,down,start" "";
34555          }
34556          program { name: "down,stop";
34557             signal: "mouse,up,1";
34558             source: "b";
34559             action: SIGNAL_EMIT "elm,action,down,stop" "";
34560          }
34561       }
34562    }
34563
34564 ////////////////////////////////////////////////////////////////////////////////
34565 // diskselector
34566 ////////////////////////////////////////////////////////////////////////////////
34567    group { name: "elm/diskselector/base/default";
34568       images {
34569          image: "bar_shine.png" COMP;
34570       }
34571
34572       parts {
34573          part { name: "bg";
34574             type: RECT;
34575             mouse_events: 0;
34576             description { state: "default" 0.0;
34577                color: 0 0 0 255;
34578             }
34579          }
34580          part { name: "shine_left";
34581             mouse_events:  0;
34582             description { state: "default" 0.0;
34583                rel1.to: "bg";
34584                rel1.relative: -0.1 0;
34585                rel2.to: "bg";
34586                rel2.relative: 0.1 1;
34587                image.normal: "bar_shine.png";
34588                color: 255 255 255 120;
34589             }
34590          }
34591          part { name: "shine_center";
34592             mouse_events:  0;
34593             description { state: "default" 0.0;
34594                rel1.to: "bg";
34595                rel1.relative: 0.2 0;
34596                rel2.to: "bg";
34597                rel2.relative: 0.8 1;
34598                image.normal: "bar_shine.png";
34599                color: 255 255 255 180;
34600             }
34601          }
34602          part { name: "shine_right";
34603             mouse_events:  0;
34604             description { state: "default" 0.0;
34605                rel1.to: "bg";
34606                rel1.relative: 0.9 0;
34607                rel2.to: "bg";
34608                rel2.relative: 1.1 1;
34609                image.normal: "bar_shine.png";
34610                color: 255 255 255 120;
34611             }
34612          }
34613          part { name: "clipper";
34614             type: RECT;
34615             mouse_events: 0;
34616             description { state: "default" 0.0;
34617                rel1.to: "bg";
34618                rel2.to: "bg";
34619                rel1.offset: 2 2;
34620                rel2.offset: -3 -3;
34621             }
34622          }
34623          part { name: "elm.swallow.content";
34624             clip_to: "clipper";
34625             type: SWALLOW;
34626             description { state: "default" 0.0;
34627                rel1.to: "bg";
34628                rel2.to: "bg";
34629             }
34630          }
34631       }
34632    }
34633
34634    group { name: "elm/diskselector/item/default";
34635
34636       data {
34637          item: "len_threshold" "14";
34638          item: "display_item_num" "3";
34639          item: "min_height" "-1";
34640          item: "min_width" "-1";
34641       }
34642
34643       parts {
34644          part { name: "elm.swallow.icon";
34645             type: SWALLOW;
34646             description { state: "default" 0.0;
34647                fixed: 1 0;
34648                align: 0.0 0.5;
34649                rel1 {
34650                   relative: 0 0;
34651                   offset: 4 4;
34652                }
34653                rel2 {
34654                   relative: 0 1;
34655                   offset: 4 -5;
34656                }
34657             }
34658             description { state: "show" 0.0;
34659                inherit: "default" 0.0;
34660             }
34661             description { state: "default_small" 0.0;
34662                inherit: "default" 0.0;
34663                rel1.relative: 0 0.2;
34664                rel2.relative: 0 0.8;
34665             }
34666             description { state: "left_side" 0.0;
34667                inherit: "default" 0.0;
34668                rel1.relative: 0 0.2;
34669                rel2.relative: 0 0.8;
34670                color: 255 255 255 160;
34671             }
34672             description { state: "right_side" 0.0;
34673                inherit: "left_side" 0.0;
34674                rel1.relative: 0.4 0.2;
34675                rel2.relative: 0.4 0.8;
34676                color: 255 255 255 160;
34677             }
34678          }
34679          part { name: "elm.text";
34680             type: TEXT;
34681             mouse_events: 0;
34682             scale: 1;
34683             description { state: "default" 0.0;
34684                rel1.relative: 1 0.0;
34685                rel1.to_x: "elm.swallow.icon";
34686                rel2.relative: 1.0 1.0;
34687                color: 255 255 255 255;
34688                visible: 0;
34689                text {
34690                   font: "Sans,Edje-Vera";
34691                   size: 13;
34692                   align: 0.5 0.5;
34693                   min: 0 1;
34694                }
34695             }
34696             description { state: "show" 0.0;
34697                inherit: "default" 0.0;
34698                visible: 1;
34699             }
34700             description { state: "default_small" 0.0;
34701                inherit: "default" 0.0;
34702                visible: 1;
34703                text.size: 10;
34704             }
34705             description { state: "left_side" 0.0;
34706                inherit: "default" 0.0;
34707                color: 172 172 172 255;
34708                text.size: 10;
34709                visible: 1;
34710                text.align: 0.2 0.5;
34711             }
34712             description { state: "right_side" 0.0;
34713                inherit: "default" 0.0;
34714                color: 172 172 172 255;
34715                visible: 1;
34716                text.size: 10;
34717                text.align: 0.8 0.5;
34718             }
34719          }
34720       }
34721
34722       programs {
34723          program { name: "center_text";
34724             signal: "elm,state,center";
34725             source: "elm";
34726             action: STATE_SET "show" 0.0;
34727             target: "elm.text";
34728             target: "elm.swallow.icon";
34729          }
34730          program { name: "center_small_text";
34731             signal: "elm,state,center_small";
34732             source: "elm";
34733             action: STATE_SET "default_small" 0.0;
34734             target: "elm.text";
34735             target: "elm.swallow.icon";
34736          }
34737          program { name: "l_side_text";
34738             signal: "elm,state,left_side";
34739             source: "elm";
34740             action: STATE_SET "left_side" 0.0;
34741             target: "elm.text";
34742             target: "elm.swallow.icon";
34743          }
34744          program { name: "r_side_text";
34745             signal: "elm,state,right_side";
34746             source: "elm";
34747             action: STATE_SET "right_side" 0.0;
34748             target: "elm.text";
34749             target: "elm.swallow.icon";
34750          }
34751       }
34752    }
34753
34754    group { name: "elm/entry/path/separator/default";
34755       images.image: "arrow_right.png" COMP;
34756       parts {
34757          part { name: "icon";
34758             mouse_events: 0;
34759             description { state: "default" 0.0;
34760                image.normal: "arrow_right.png";
34761                max: 64 64;
34762                aspect: 1.0 1.0;
34763             }
34764          }
34765       }
34766    }
34767
34768    group { name: "elm/fileselector/base/default";
34769       data {
34770          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34771       }
34772       parts {
34773          part { name: "elm.swallow.up";
34774             type: SWALLOW;
34775             description { state: "default" 0.0;
34776                align: 0.0 0.0;
34777                min: 10 10;
34778                fixed: 1 1;
34779                rel2 {
34780                   relative: 0.0 0.0;
34781                   offset: 0 0;
34782                }
34783             }
34784          }
34785          part { name: "elm.swallow.home";
34786             type: SWALLOW;
34787             description { state: "default" 0.0;
34788                align: 0.0 0.0;
34789                min: 10 10;
34790                fixed: 1 1;
34791                rel1 {
34792                   to: "elm.swallow.up";
34793                   relative: 1.0 0.0;
34794                   offset: 5 0;
34795                }
34796                rel2 {
34797                   to: "elm.swallow.up";
34798                   relative: 1.0 1.0;
34799                   offset: 20 -1;
34800                }
34801             }
34802          }
34803          part { name: "elm.swallow.files";
34804             type: SWALLOW;
34805             description { state: "default" 0.0;
34806                align: 1.0 0.0;
34807                min: 10 10;
34808                fixed: 1 1;
34809                rel1 {
34810                   to_y: "elm.swallow.home";
34811                   relative: 0.0 1.0;
34812                   offset: 0 0;
34813                }
34814                rel2 {
34815                   to_y: "elm.swallow.path";
34816                   relative: 1.0 0.0;
34817                   offset: -1 -1;
34818                }
34819             }
34820          }
34821          part { name: "elm.swallow.path";
34822             type: SWALLOW;
34823             description { state: "default" 0.0;
34824                align: 0.5 1.0;
34825                fixed: 1 1;
34826                rel1 {
34827                   to_y: "elm.swallow.filename";
34828                   relative: 0.0 0.0;
34829                   offset: 0 -1;
34830                }
34831                rel2 {
34832                   to_y: "elm.swallow.filename";
34833                   relative: 1.0 0.0;
34834                   offset: -1 -1;
34835                }
34836             }
34837          }
34838          part { name: "elm.swallow.filename";
34839             type: SWALLOW;
34840             description { state: "default" 0.0;
34841                align: 0.5 1.0;
34842                fixed: 1 1;
34843                rel1 {
34844                   to_y: "elm.swallow.ok";
34845                   relative: 0.0 0.0;
34846                   offset: 0 -1;
34847                }
34848                rel2 {
34849                   to_y: "elm.swallow.ok";
34850                   relative: 1.0 0.0;
34851                   offset: -1 -1;
34852                }
34853             }
34854          }
34855          part { name: "elm.swallow.cancel";
34856             type: SWALLOW;
34857             description { state: "default" 0.0;
34858                align: 1.0 1.0;
34859                fixed: 1 1;
34860                rel1 {
34861                   to: "elm.swallow.ok";
34862                   relative: 0.0 0.0;
34863                   offset: -3 0;
34864                }
34865                rel2 {
34866                   to: "elm.swallow.ok";
34867                   relative: 0.0 1.0;
34868                   offset: -3 -1;
34869                }
34870             }
34871          }
34872          part { name: "elm.swallow.ok";
34873             type: SWALLOW;
34874             description { state: "default" 0.0;
34875                align: 1.0 1.0;
34876                fixed: 1 1;
34877                rel1 {
34878                   relative: 1.0 1.0;
34879                   offset: -1 -1;
34880                }
34881             }
34882          }
34883       }
34884    }
34885
34886    group { name: "elm/fileselector_entry/base/default";
34887       parts {
34888          part { name: "elm.swallow.entry";
34889             type: SWALLOW;
34890             description { state: "default" 0.0;
34891                align: 0.0 0.0;
34892                min: 50 10;
34893                rel2 { to_x: "elm.swallow.button";
34894                   relative: 0.0 1.0;
34895                   offset: -1 -1;
34896                }
34897             }
34898          }
34899          part { name: "elm.swallow.button";
34900             type: SWALLOW;
34901             description { state: "default" 0.0;
34902                align: 1.0 0.0;
34903                min: 10 10;
34904                fixed: 1 1;
34905                rel1 {
34906                   relative: 1.0 0.0;
34907                   offset: -21 0;
34908                }
34909             }
34910          }
34911       }
34912    }
34913
34914 ////////////////////////////////////////////////////////////////////////
34915 // Standard layouts to be used                                        //
34916 ////////////////////////////////////////////////////////////////////////
34917    /* application with toolbar and main content area */
34918    group { name: "elm/layout/application/toolbar-content";
34919       parts {
34920          part { name: "elm.swallow.content";
34921             type: SWALLOW;
34922             description { state: "default" 0.0;
34923                rel1 { to_y: "elm.external.toolbar";
34924                   relative: 0.0 1.0;
34925                   offset: -1 1;
34926                }
34927             }
34928          }
34929
34930          part { name: "elm.external.toolbar";
34931             type: EXTERNAL;
34932             source: "elm/toolbar";
34933             description { state: "default" 0.0;
34934                align: 0.5 0.0;
34935                fixed: 0 1;
34936                rel2 {
34937                   relative: 1.0 0.0;
34938                   offset: -1 47;
34939                }
34940             }
34941          }
34942       }
34943    }
34944
34945    /* application with toolbar and main content area with a back button and title area */
34946    group { name: "elm/layout/application/toolbar-content-back";
34947       parts {
34948          part { name: "elm.swallow.content";
34949             type: SWALLOW;
34950             description { state: "default" 0.0;
34951                rel1 { to_y: "title_clipper";
34952                   relative: 0.0 1.0;
34953                   offset: -1 1;
34954                }
34955             }
34956          }
34957
34958          part { name: "elm.external.toolbar";
34959             type: EXTERNAL;
34960             source: "elm/toolbar";
34961             description { state: "default" 0.0;
34962                fixed: 0 1;
34963                align: 0.5 0.0;
34964                rel2 {
34965                   relative: 1.0 0.0;
34966                   offset: -1 47;
34967                }
34968             }
34969          }
34970          part { name: "title_clipper";
34971             type: RECT;
34972             description { state: "default" 0.0;
34973                visible: 1;
34974                rel1 {
34975                   to_y: "back";
34976                }
34977                rel2 {
34978                   to_y: "back";
34979                }
34980             }
34981             description { state: "hidden" 0.0;
34982                inherit: "default" 0.0;
34983                visible: 0;
34984                rel2 {
34985                   relative: 1.0 0.0;
34986                }
34987             }
34988          }
34989          part { name: "back_clipper";
34990             type: RECT;
34991             clip_to: "title_clipper";
34992             description { state: "default" 0.0;
34993                visible: 1;
34994             }
34995             description { state: "hidden" 0.0;
34996                visible: 0;
34997             }
34998          }
34999          part { name: "back";
35000             type: EXTERNAL;
35001             source: "elm/button";
35002             clip_to: "back_clipper";
35003             description { state: "default" 0.0;
35004                align: 0.0 0.0;
35005                fixed: 1 1;
35006                rel1 { to_y: "elm.external.toolbar";
35007                   relative: 0.0 1.0;
35008                   offset: 0 1;
35009                }
35010                rel2 { to_y: "elm.external.toolbar";
35011                   relative: 0.0 1.0;
35012                   offset: 50 32;
35013                }
35014                params.string: "label" "Back";
35015             }
35016          }
35017          programs {
35018             program {
35019                signal: "clicked";
35020                source: "back";
35021                action: SIGNAL_EMIT "elm,action,back" "";
35022             }
35023             program {
35024                signal: "elm,back,hide";
35025                source: "elm";
35026                action: STATE_SET "hidden" 0.0;
35027                target: "back_clipper";
35028             }
35029             program {
35030                signal: "elm,back,show";
35031                source: "elm";
35032                action: STATE_SET "default" 0.0;
35033                target: "back_clipper";
35034             }
35035             program {
35036                signal: "elm,title,hide";
35037                source: "elm";
35038                action: STATE_SET "hidden" 0.0;
35039                transition: LINEAR 0.1;
35040                target: "title_clipper";
35041             }
35042             program {
35043                signal: "elm,title,show";
35044                source: "elm";
35045                action: STATE_SET "default" 0.0;
35046                target: "title_clipper";
35047             }
35048          }
35049
35050          part { name: "elm.swallow.end";
35051             type: SWALLOW;
35052             description { state: "default" 0.0;
35053                align: 1.0 0.0;
35054                fixed: 1 1;
35055                rel1 { to_y: "elm.external.toolbar";
35056                   relative: 1.0 1.0;
35057                   offset: -2 1;
35058                }
35059                rel2 { to_y: "elm.external.toolbar";
35060                   relative: 1.0 1.0;
35061                   offset: -1 32;
35062                }
35063             }
35064          }
35065
35066          part { name: "elm.text.title";
35067             type: TEXT;
35068             effect: SOFT_SHADOW;
35069             scale: 1;
35070             description { state: "default" 0.0;
35071                rel1 { to_y: "elm.external.toolbar";
35072                   to_x: "back";
35073                   relative: 1.0 1.0;
35074                   offset: 2 1;
35075                }
35076                rel2 { to_y: "back";
35077                   to_x: "elm.swallow.end";
35078                   relative: 0.0 1.0;
35079                   offset: -3 -1;
35080                }
35081                text {
35082                   font: "Sans:style=Bold";
35083                   size: 12;
35084                }
35085             }
35086          }
35087       }
35088    }
35089
35090    /* application with toolbar and main content area with a back and next buttons and title area */
35091    group { name: "elm/layout/application/toolbar-content-back-next";
35092       parts {
35093          part { name: "elm.swallow.content";
35094             type: SWALLOW;
35095             description { state: "default" 0.0;
35096                rel1 { to_y: "title_clipper";
35097                   relative: 0.0 1.0;
35098                   offset: -1 1;
35099                }
35100             }
35101          }
35102
35103          part { name: "elm.external.toolbar";
35104             type: EXTERNAL;
35105             source: "elm/toolbar";
35106             description { state: "default" 0.0;
35107                fixed: 0 1;
35108                align: 0.5 0.0;
35109                rel2 {
35110                   relative: 1.0 0.0;
35111                   offset: -1 47;
35112                }
35113             }
35114          }
35115          part { name: "title_clipper";
35116             type: RECT;
35117             description { state: "default" 0.0;
35118                visible: 1;
35119                rel1 {
35120                   to_y: "back";
35121                }
35122                rel2 {
35123                   to_y: "back";
35124                }
35125             }
35126             description { state: "hidden" 0.0;
35127                inherit: "default" 0.0;
35128                visible: 0;
35129                rel2 {
35130                   relative: 1.0 0.0;
35131                }
35132             }
35133          }
35134          part { name: "back";
35135             type: EXTERNAL;
35136             source: "elm/button";
35137             clip_to: "back_clipper";
35138             description { state: "default" 0.0;
35139                align: 0.0 0.0;
35140                fixed: 1 1;
35141                rel1 { to_y: "elm.external.toolbar";
35142                   relative: 0.0 1.0;
35143                   offset: 0 1;
35144                }
35145                rel2 { to_y: "elm.external.toolbar";
35146                   relative: 0.0 1.0;
35147                   offset: 50 32;
35148                }
35149                params.string: "label" "Back";
35150             }
35151          }
35152          part { name: "back_clipper";
35153             type: RECT;
35154             clip_to: "title_clipper";
35155             description { state: "default" 0.0;
35156                visible: 1;
35157             }
35158             description { state: "hidden" 0.0;
35159                visible: 0;
35160             }
35161          }
35162          part { name: "next";
35163             type: EXTERNAL;
35164             source: "elm/button";
35165             clip_to: "next_clipper";
35166             description { state: "default" 0.0;
35167                align: 1.0 0.0;
35168                fixed: 1 1;
35169                rel1 { to_y: "elm.external.toolbar";
35170                   relative: 1.0 1.0;
35171                   offset: -2 1;
35172                }
35173                rel2 { to_y: "elm.external.toolbar";
35174                   relative: 1.0 1.0;
35175                   offset: -1 32;
35176                }
35177                params.string: "label" "Next";
35178            }
35179          }
35180          part { name: "next_clipper";
35181             type: RECT;
35182             clip_to: "title_clipper";
35183             description { state: "default" 0.0;
35184                visible: 1;
35185             }
35186             description { state: "hidden" 0.0;
35187                visible: 0;
35188             }
35189          }
35190          programs {
35191             program {
35192                signal: "clicked";
35193                source: "back";
35194                action: SIGNAL_EMIT "elm,action,back" "";
35195             }
35196             program {
35197                signal: "elm,title,hide";
35198                source: "elm";
35199                action: STATE_SET "hidden" 0.0;
35200                transition: LINEAR 0.1;
35201                target: "title_clipper";
35202             }
35203             program {
35204                signal: "elm,title,show";
35205                source: "elm";
35206                action: STATE_SET "default" 0.0;
35207                target: "title_clipper";
35208             }
35209             program {
35210                signal: "elm,back,hide";
35211                source: "elm";
35212                action: STATE_SET "hidden" 0.0;
35213                target: "back_clipper";
35214             }
35215             program {
35216                signal: "elm,back,show";
35217                source: "elm";
35218                action: STATE_SET "default" 0.0;
35219                target: "back_clipper";
35220             }
35221             program {
35222                signal: "clicked";
35223                source: "next";
35224                action: SIGNAL_EMIT "elm,action,next" "";
35225             }
35226             program {
35227                signal: "elm,next,hide";
35228                source: "elm";
35229                action: STATE_SET "hidden" 0.0;
35230                target: "next_clipper";
35231             }
35232             program {
35233                signal: "elm,next,show";
35234                source: "elm";
35235                action: STATE_SET "default" 0.0;
35236                target: "next_clipper";
35237             }
35238          }
35239          part { name: "elm.text.title";
35240             type: TEXT;
35241             effect: SOFT_SHADOW;
35242             scale: 1;
35243             clip_to: "title_clipper";
35244             description { state: "default" 0.0;
35245                rel1 { to_y: "elm.external.toolbar";
35246                   to_x: "back";
35247                   relative: 1.0 1.0;
35248                   offset: 2 1;
35249                }
35250                rel2 { to_y: "back";
35251                   to_x: "next";
35252                   relative: 0.0 1.0;
35253                   offset: -3 -1;
35254                }
35255                text {
35256                   font: "Sans:style=Bold";
35257                   size: 12;
35258                }
35259             }
35260          }
35261       }
35262    }
35263    /* application with a main content area with a back button and title area */
35264    group { name: "elm/layout/application/content-back";
35265       parts {
35266          part { name: "elm.swallow.content";
35267             type: SWALLOW;
35268             description { state: "default" 0.0;
35269                rel1 { to_y: "title_clipper";
35270                   relative: 0.0 1.0;
35271                   offset: -1 1;
35272                }
35273             }
35274          }
35275          part { name: "title_clipper";
35276             type: RECT;
35277             description { state: "default" 0.0;
35278                visible: 1;
35279                rel1 {
35280                   to_y: "back";
35281                }
35282                rel2 {
35283                   to_y: "back";
35284                }
35285             }
35286             description { state: "hidden" 0.0;
35287                inherit: "default" 0.0;
35288                visible: 0;
35289                rel2 {
35290                   relative: 1.0 0.0;
35291                }
35292             }
35293          }
35294          part { name: "back_clipper";
35295             type: RECT;
35296             clip_to: "title_clipper";
35297             description { state: "default" 0.0;
35298                visible: 1;
35299             }
35300             description { state: "hidden" 0.0;
35301                visible: 0;
35302             }
35303          }
35304          part { name: "back";
35305             type: EXTERNAL;
35306             source: "elm/button";
35307             clip_to: "back_clipper";
35308             description { state: "default" 0.0;
35309                align: 0.0 0.0;
35310                fixed: 1 1;
35311                rel1 {
35312                   relative: 0.0 0.0;
35313                   offset: 0 1;
35314                }
35315                rel2 {
35316                   relative: 0.0 0.0;
35317                   offset: 50 32;
35318                }
35319                params.string: "label" "Back";
35320             }
35321          }
35322          programs {
35323             program {
35324                signal: "clicked";
35325                source: "back";
35326                action: SIGNAL_EMIT "elm,action,back" "";
35327             }
35328             program {
35329                signal: "elm,back,hide";
35330                source: "elm";
35331                action: STATE_SET "hidden" 0.0;
35332                target: "back_clipper";
35333             }
35334             program {
35335                signal: "elm,back,show";
35336                source: "elm";
35337                action: STATE_SET "default" 0.0;
35338                target: "back_clipper";
35339             }
35340             program {
35341                signal: "elm,title,hide";
35342                source: "elm";
35343                action: STATE_SET "hidden" 0.0;
35344                transition: LINEAR 0.1;
35345                target: "title_clipper";
35346             }
35347             program {
35348                signal: "elm,title,show";
35349                source: "elm";
35350                action: STATE_SET "default" 0.0;
35351                target: "title_clipper";
35352             }
35353          }
35354
35355          part { name: "elm.swallow.end";
35356             type: SWALLOW;
35357             description { state: "default" 0.0;
35358                align: 1.0 0.0;
35359                fixed: 1 1;
35360                rel1 {
35361                   relative: 1.0 0.0;
35362                   offset: -2 1;
35363                }
35364                rel2 {
35365                   relative: 1.0 1.0;
35366                   offset: -1 32;
35367                }
35368             }
35369          }
35370
35371          part { name: "elm.text.title";
35372             type: TEXT;
35373             effect: SOFT_SHADOW;
35374             scale: 1; 
35375             description { state: "default" 0.0;
35376                rel1 {
35377                   to_x: "back";
35378                   relative: 1.0 0.0;
35379                   offset: 2 1;
35380                }
35381                rel2 { to_y: "back";
35382                   to_x: "elm.swallow.end";
35383                   relative: 0.0 1.0;
35384                   offset: -3 -1;
35385                }
35386                text {
35387                   font: "Sans:style=Bold";
35388                   size: 12;
35389                }
35390             }
35391          }
35392       }
35393    }
35394
35395    /* application with a main content area with a back and next buttons and title area */
35396    group { name: "elm/layout/application/content-back-next";
35397       parts {
35398          part { name: "elm.swallow.content";
35399             type: SWALLOW;
35400             description { state: "default" 0.0;
35401                rel1 { to_y: "title_clipper";
35402                   relative: 0.0 1.0;
35403                   offset: -1 1;
35404                }
35405             }
35406          }
35407
35408          part { name: "title_clipper";
35409             type: RECT;
35410             description { state: "default" 0.0;
35411                visible: 1;
35412                rel1 {
35413                   to_y: "back";
35414                }
35415                rel2 {
35416                   to_y: "back";
35417                }
35418             }
35419             description { state: "hidden" 0.0;
35420                inherit: "default" 0.0;
35421                visible: 0;
35422                rel2 {
35423                   relative: 1.0 0.0;
35424                }
35425             }
35426          }
35427          part { name: "back";
35428             type: EXTERNAL;
35429             source: "elm/button";
35430             clip_to: "back_clipper";
35431             description { state: "default" 0.0;
35432                align: 0.0 0.0;
35433                fixed: 1 1;
35434                rel1 {
35435                   relative: 0.0 0.0;
35436                   offset: 0 1;
35437                }
35438                rel2 {
35439                   relative: 0.0 0.0;
35440                   offset: 50 32;
35441                }
35442                params.string: "label" "Back";
35443             }
35444          }
35445          part { name: "back_clipper";
35446             type: RECT;
35447             clip_to: "title_clipper";
35448             description { state: "default" 0.0;
35449                visible: 1;
35450             }
35451             description { state: "hidden" 0.0;
35452                visible: 0;
35453             }
35454          }
35455          part { name: "next";
35456             type: EXTERNAL;
35457             source: "elm/button";
35458             clip_to: "next_clipper";
35459             description { state: "default" 0.0;
35460                align: 1.0 0.0;
35461                fixed: 1 1;
35462                rel1 {
35463                   relative: 1.0 0.0;
35464                   offset: -2 1;
35465                }
35466                rel2 {
35467                   relative: 1.0 0.0;
35468                   offset: -1 32;
35469                }
35470                params.string: "label" "Next";
35471            }
35472          }
35473          part { name: "next_clipper";
35474             type: RECT;
35475             clip_to: "title_clipper";
35476             description { state: "default" 0.0;
35477                visible: 1;
35478             }
35479             description { state: "hidden" 0.0;
35480                visible: 0;
35481             }
35482          }
35483          programs {
35484             program {
35485                signal: "clicked";
35486                source: "back";
35487                action: SIGNAL_EMIT "elm,action,back" "";
35488             }
35489             program {
35490                signal: "elm,title,hide";
35491                source: "elm";
35492                action: STATE_SET "hidden" 0.0;
35493                transition: LINEAR 0.1;
35494                target: "title_clipper";
35495             }
35496             program {
35497                signal: "elm,title,show";
35498                source: "elm";
35499                action: STATE_SET "default" 0.0;
35500                target: "title_clipper";
35501             }
35502             program {
35503                signal: "elm,back,hide";
35504                source: "elm";
35505                action: STATE_SET "hidden" 0.0;
35506                target: "back_clipper";
35507             }
35508             program {
35509                signal: "elm,back,show";
35510                source: "elm";
35511                action: STATE_SET "default" 0.0;
35512                target: "back_clipper";
35513             }
35514             program {
35515                signal: "clicked";
35516                source: "next";
35517                action: SIGNAL_EMIT "elm,action,next" "";
35518             }
35519             program {
35520                signal: "elm,next,hide";
35521                source: "elm";
35522                action: STATE_SET "hidden" 0.0;
35523                target: "next_clipper";
35524             }
35525             program {
35526                signal: "elm,next,show";
35527                source: "elm";
35528                action: STATE_SET "default" 0.0;
35529                target: "next_clipper";
35530             }
35531          }
35532          part { name: "elm.text.title";
35533             type: TEXT;
35534             effect: SOFT_SHADOW;
35535             scale: 1;
35536             clip_to: "title_clipper";
35537             description { state: "default" 0.0;
35538                rel1 {
35539                   to_x: "back";
35540                   relative: 1.0 0.0;
35541                   offset: 2 1;
35542                }
35543                rel2 { to_y: "back";
35544                   to_x: "next";
35545                   relative: 0.0 1.0;
35546                   offset: -3 -1;
35547                }
35548                text {
35549                   font: "Sans:style=Bold";
35550                   size: 12;
35551                }
35552             }
35553          }
35554       }
35555    }
35556
35557    /* application with toolbar and main content area as a vertical box */
35558    group { name: "elm/layout/application/toolbar-vbox";
35559       parts {
35560          part { name: "elm.box.content";
35561             type: BOX;
35562             description { state: "default" 0.0;
35563                rel1 { to_y: "elm.external.toolbar";
35564                   relative: 0.0 1.0;
35565                   offset: -1 1;
35566                }
35567                box.layout: "vertical";
35568             }
35569          }
35570
35571          part { name: "elm.external.toolbar";
35572             type: EXTERNAL;
35573             source: "elm/toolbar";
35574             description { state: "default" 0.0;
35575                align: 0.5 0.0;
35576                fixed: 0 1;
35577                rel2 {
35578                   relative: 1.0 0.0;
35579                   offset: -1 47;
35580                }
35581             }
35582          }
35583       }
35584    }
35585
35586    /* application with toolbar and main content area as a table */
35587    group { name: "elm/layout/application/toolbar-table";
35588       parts {
35589          part { name: "elm.table.content";
35590             type: TABLE;
35591             description { state: "default" 0.0;
35592                rel1 { to_y: "elm.external.toolbar";
35593                   relative: 0.0 1.0;
35594                   offset: -1 1;
35595                }
35596             }
35597          }
35598
35599          part { name: "elm.external.toolbar";
35600             type: EXTERNAL;
35601             source: "elm/toolbar";
35602             description { state: "default" 0.0;
35603                align: 0.5 0.0;
35604                fixed: 0 1;
35605                rel2 {
35606                   relative: 1.0 0.0;
35607                   offset: -1 47;
35608                }
35609             }
35610          }
35611       }
35612    }
35613
35614 ///////////////////////////////////////////////////////////////////////////////
35615    group { name: "elm/segment_control/base/default";
35616 #define SEGMENT_TYPE_SINGLE 1
35617 #define SEGMENT_TYPE_LEFT 2
35618 #define SEGMENT_TYPE_MIDDLE 3
35619 #define SEGMENT_TYPE_RIGHT 4
35620 #define SEGMENT_STATE_NORMAL 1
35621 #define SEGMENT_STATE_PRESSED 2
35622 #define SEGMENT_STATE_SELECTED 3
35623 #define SEGMENT_STATUS_ENABLED 0
35624 #define SEGMENT_STATUS_DISABLED 1
35625       parts {
35626          part { name: "bg";
35627             type: RECT;
35628             mouse_events: 0;
35629             scale: 1;
35630             description {
35631                state: "default" 0.0;
35632                color: 0 0 0 0;
35633                min: 100 40;
35634             }
35635          }
35636       }
35637    }
35638    group { name: "elm/segment_control/item/default";
35639       data.item: "label.wrap.part" "label.bg";
35640       styles {
35641          style { name: "seg_text_style_normal";
35642             base: "font=Sans font_size=16 style=shadow \
35643             shadow_color=#2924224d \
35644             align=center \
35645             color=#ffffffff wrap=char text_class=label";
35646             tag:  "br" "\n";
35647             tag:  "hilight" "+ font=Sans:style=Bold";
35648             tag:  "tab" "\t";
35649          }
35650          style { name: "seg_text_style_selected";
35651             base: "font=Sans:style=Bold font_size=16 style=shadow \
35652             shadow_color=#aaaaaa4d \
35653             align=center \
35654             color=#111111ff wrap=char text_class=label";
35655             tag:  "br" "\n";
35656             tag:  "hilight" "+ font=Sans:style=Bold";
35657             tag:  "b" "+ font=Sans:style=Bold";
35658             tag:  "tab" "\t";
35659          }
35660          style { name: "seg_text_style_disabled";
35661             base: "font=Sans:style=Medium font_size=16 style=shadow \
35662             shadow_color=#2924224d \
35663             align=center color=#2924224d \
35664             wrap=char text_class=label";
35665             tag:  "br" "\n";
35666             tag:  "hilight" "+ font=Sans:style=Bold";
35667             tag:  "b" "+ font=Sans:style=Bold";
35668             tag:  "tab" "\t";
35669          }
35670       }
35671       images {
35672          image: "seg_single_pressed.png" COMP;
35673          image: "seg_single_selected.png" COMP;
35674          image: "seg_single_normal.png" COMP;
35675
35676          image: "seg_left_pressed.png" COMP;
35677          image: "seg_left_selected.png" COMP;
35678          image: "seg_left_normal.png" COMP;
35679
35680          image: "seg_middle_pressed.png" COMP;
35681          image: "seg_middle_selected.png" COMP;
35682          image: "seg_middle_normal.png" COMP;
35683
35684          image: "seg_right_pressed.png" COMP;
35685          image: "seg_right_selected.png" COMP;
35686          image: "seg_right_normal.png" COMP;
35687       }
35688       parts {
35689          part { name: "segment";
35690             mouse_events: 1;
35691             scale: 1;
35692             description { state: "default" 0.0;
35693                min: 1 1;
35694                visible: 0;
35695                image {
35696                   normal: "seg_single_normal.png";
35697                   border: 7 7 7 7;
35698                   border_scale: 1;
35699                   middle: 1;
35700                }
35701             }
35702             description { state: "default_single" 0.0;
35703                inherit: "default" 0.0;
35704                visible: 1;
35705                image {
35706                   normal: "seg_single_normal.png";
35707                   border: 7 7 7 7;
35708                }
35709             }
35710             description { state: "default_left" 0.0;
35711                inherit: "default" 0.0;
35712                visible: 1;
35713                image {
35714                normal: "seg_left_normal.png";
35715                   border:  6 1 7 7;
35716                }
35717             }
35718             description { state: "default_right" 0.0;
35719                inherit: "default" 0.0;
35720                visible: 1;
35721                image {
35722                   normal: "seg_right_normal.png";
35723                   border: 1 6 7 7;
35724                }
35725             }
35726             description { state: "default_middle" 0.0;
35727                inherit: "default" 0.0;
35728                visible: 1;
35729                image {
35730                   normal: "seg_middle_normal.png";
35731                   border: 2 2 2 2;
35732                }
35733             }
35734             description { state: "pressed_single" 0.0;
35735                inherit: "default" 0.0;
35736                visible: 1;
35737                image {
35738                   normal: "seg_single_pressed.png";
35739                   border: 7 7 7 7;
35740                }
35741             }
35742             description { state: "pressed_left" 0.0;
35743                inherit: "default" 0.0;
35744                visible: 1;
35745                image {
35746                   normal: "seg_left_pressed.png";
35747                   border:  6 1 7 7;
35748                }
35749             }
35750             description { state: "pressed_right" 0.0;
35751                inherit: "default" 0.0;
35752                visible: 1;
35753                image {
35754                   normal: "seg_right_pressed.png";
35755                   border: 1 6 7 7;
35756                }
35757             }
35758             description { state: "pressed_middle" 0.0;
35759                inherit: "default" 0.0;
35760                visible: 1;
35761                image {
35762                   normal: "seg_middle_pressed.png";
35763                   border: 1 1 2 2;
35764                }
35765             }
35766             description { state: "selected_single" 0.0;
35767                inherit: "default" 0.0;
35768                visible: 1;
35769                image {
35770                   normal: "seg_single_selected.png";
35771                   border: 7 7 7 7;
35772                }
35773             }
35774             description { state: "selected_left" 0.0;
35775                inherit: "default" 0.0;
35776                visible: 1;
35777                image {
35778                   normal: "seg_left_selected.png";
35779                   border:  6 3 7 7;
35780                }
35781             }
35782             description { state: "selected_right" 0.0;
35783                inherit: "default" 0.0;
35784                visible: 1;
35785                image {
35786                   normal: "seg_right_selected.png";
35787                   border: 3 6 7 7;
35788                }
35789             }
35790             description { state: "selected_middle" 0.0;
35791                inherit: "default" 0.0;
35792                visible: 1;
35793                image {
35794                   normal: "seg_middle_selected.png";
35795                   border: 3 3 3 3;
35796                }
35797             }
35798          }
35799          part { name: "padding_left";
35800             type: RECT;
35801             scale: 1;
35802             mouse_events: 0;
35803             description { state: "default" 0.0;
35804                align: 0.0 0.0;
35805                rel1.relative: 0.0 0.0;
35806                rel2.relative: 0.0 1.0;
35807                min: 2 2;
35808                max: 2 2;
35809                fixed: 1 0;
35810                color: 0 0 0 0;
35811             }
35812          }
35813          part { name: "padding_right";
35814             type: RECT;
35815             scale: 1;
35816             mouse_events: 0;
35817             description { state: "default" 0.0;
35818                align: 1.0 0.0;
35819                rel1.relative: 1.0 0.0;
35820                rel2.relative: 1.0 1.0;
35821                min: 2 2;
35822                max: 2 2;
35823                fixed: 1 0;
35824                color: 0 0 0 0;
35825             }
35826          }
35827          part { name: "padding_top";
35828             type: RECT;
35829             scale: 1;
35830             mouse_events: 0;
35831             description { state: "default" 0.0;
35832                align: 0.0 0.0;
35833                rel1.relative: 0.0 0.0;
35834                rel2.relative: 1.0 0.0;
35835                min: 2 2;
35836                max: 2 2;
35837                fixed: 0 1;
35838                color: 0 0 0 0;
35839             }
35840          }
35841          part { name: "padding_bottom";
35842             type: RECT;
35843             scale: 1;
35844             mouse_events: 0;
35845             description { state: "default" 0.0;
35846                align: 1.0 1.0;
35847                rel1.relative: 0.0 1.0;
35848                rel2.relative: 1.0 1.0;
35849                min: 2 2;
35850                max: 2 2;
35851                fixed: 0 1;
35852                color: 0 0 0 0;
35853             }
35854          }
35855          part { name: "icon.bg";
35856             type: RECT;
35857             scale: 1;
35858             mouse_events: 0;
35859             description { state: "default" 0.0;
35860                visible: 1;
35861                fixed: 1 0;
35862                rel1 {
35863                   to_x: "padding_left";
35864                   to_y: "padding_top";
35865                   relative: 1.0 1.0;
35866                }
35867                rel2 {
35868                   to: "elm.swallow.icon";
35869                   relative: 1.0 1.0;
35870                }
35871                align: 0.0 0.5;
35872                color: 0 0 0 0;
35873             }
35874          }
35875          part { name: "padding_icon_text";
35876             type: RECT;
35877             scale: 1;
35878             mouse_events: 0;
35879             description { state: "default" 0.0; //when only icon or no icon is there
35880                align: 0.0 0.0;
35881                rel1 {
35882                   to: "icon.bg";
35883                   relative: 1.0 0.0;
35884                }
35885                rel2 {
35886                   to: "icon.bg";
35887                   relative: 1.0 1.0;
35888                }
35889                fixed: 1 0;
35890                min: 0 0;
35891                color: 0 0 0 0;
35892             }
35893             description { state: "icononly" 0.0;
35894                inherit: "default" 0.0;
35895             }
35896             description { state: "visible" 0.0; //when icon is visible
35897                inherit: "default" 0.0;
35898                min: 2 0;
35899             }
35900          }
35901          part { name: "elm.swallow.icon";
35902             type: SWALLOW;
35903             scale: 1;
35904             description { state: "default" 0.0;
35905                visible: 0;
35906                align: 0.0 0.5;
35907                rel1 {
35908                   to_x: "padding_left";
35909                   to_y: "padding_top";
35910                   relative: 1.0 1.0;
35911                }
35912                rel2 {
35913                   to_y: "padding_bottom";
35914                   relative: 0.0 0.0;
35915                }
35916                fixed: 1 0;
35917                aspect: 1.0 1.0;
35918                aspect_preference: BOTH;
35919             }
35920             description { state: "visible" 0.0;
35921                inherit: "default" 0.0;
35922                visible: 1;
35923                rel2 {
35924                   to_y: "padding_bottom";
35925                   relative: 0.3 0.0;
35926                }
35927             }
35928             description { state: "icononly" 0.0;
35929                inherit: "default" 0.0;
35930                visible: 1;
35931                rel2 {
35932                   to_x: "padding_right";
35933                   to_y: "padding_bottom";
35934                   relative: 0.0 0.0;
35935                }
35936                align: 0.5 0.5;
35937             }
35938          }
35939          part { name: "elm.text";
35940             type: TEXT;
35941             mouse_events: 0;
35942             scale: 1;
35943             description {
35944                state: "default" 0.0;
35945                visible: 0;
35946                fixed: 1 1;
35947                min: 1 1;
35948                rel1 {
35949                   to_x: "padding_icon_text";
35950                   relative: 1.0 1.0;
35951                }
35952                rel2 {
35953                   to_x: "padding_right";
35954                   relative: 0.0 0.0;
35955                }
35956                color: 224 224 224 255;
35957                color3: 0 0 0 64;
35958                text {
35959                   font: "Sans";
35960                   ellipsis: 0.0;
35961                   fit: 1 1;
35962                   size: 24;
35963                   size_range: 8 36;
35964                   min: 0 1;
35965                }
35966             }
35967             description { state: "normal" 0.0;
35968                inherit: "default" 0.0;
35969                visible: 1;
35970             }
35971             description { state: "pressed" 0.0;
35972                inherit: "default" 0.0;
35973                visible: 1;
35974                color: 0 0 0 255;
35975             }
35976             description { state: "selected" 0.0;
35977                inherit: "default" 0.0;
35978                visible: 1;
35979                color: 50 50 50 255;
35980             }
35981             description { state: "disabled" 0.0;
35982                inherit: "default" 0.0;
35983                visible: 1;
35984                color: 200 200 200 255;
35985             }
35986          }
35987          part { name: "disabler";
35988             repeat_events: 0;
35989             scale: 1;
35990             description { state: "default" 0.0;
35991                visible: 0;
35992                fixed: 1 1;
35993                min: 1 1;
35994                align: 0.0 0.5;
35995                rel1 { relative: 0.0 0.0; to: "segment";}
35996                rel2 { relative: 1.0 1.0; to: "segment";}
35997                color: 255 255 255 150;
35998             }
35999             description { state: "disabled_single" 0.0;
36000                inherit: "default" 0.0;
36001                visible: 1;
36002                image {
36003                   normal: "seg_single_normal.png";
36004                   border: 7 7 7 7;
36005                }
36006             }
36007             description { state: "disabled_left" 0.0;
36008                inherit: "default" 0.0;
36009                visible: 1;
36010                image {
36011                   normal: "seg_left_normal.png";
36012                   border:  6 1 7 7;
36013                }
36014             }
36015             description { state: "disabled_right" 0.0;
36016                inherit: "default" 0.0;
36017                visible: 1;
36018                image {
36019                   normal: "seg_right_normal.png";
36020                   border: 1 6 7 7;
36021                }
36022             }
36023             description { state: "disabled_middle" 0.0;
36024                inherit: "default" 0.0;
36025                visible: 1;
36026                image {
36027                   normal: "seg_middle_normal.png";
36028                   border: 2 2 2 2;
36029                }
36030             }
36031          }
36032       }
36033       programs {
36034          script {
36035             public seg_type; // Single, Left, Middle, Right.
36036             public seg_state; // Normal/Default, Pressed, Selected.
36037             public seg_status;// Enabled/Default, Disabled
36038
36039             public update_state() {
36040                new type, state, disabled;
36041                type = get_int(seg_type);
36042                state = get_int(seg_state);
36043                disabled = get_int(seg_status);
36044
36045                if(state == SEGMENT_STATE_NORMAL)
36046                  {
36047                     if(type == SEGMENT_TYPE_SINGLE)
36048                       set_state(PART:"segment", "default_single", 0.0);
36049                     else if(type == SEGMENT_TYPE_LEFT)
36050                       set_state(PART:"segment", "default_left", 0.0);
36051                     else if(type == SEGMENT_TYPE_MIDDLE)
36052                       set_state(PART:"segment", "default_middle", 0.0);
36053                     else if(type == SEGMENT_TYPE_RIGHT)
36054                       set_state(PART:"segment", "default_right", 0.0);
36055                     set_state(PART:"elm.text", "normal", 0.0);
36056                  }
36057                else if(state == SEGMENT_STATE_PRESSED)
36058                  {
36059                     if(type == SEGMENT_TYPE_SINGLE)
36060                       set_state(PART:"segment", "pressed_single", 0.0);
36061                     else if(type == SEGMENT_TYPE_LEFT)
36062                       set_state(PART:"segment", "pressed_left", 0.0);
36063                     else if(type == SEGMENT_TYPE_MIDDLE)
36064                       set_state(PART:"segment", "pressed_middle", 0.0);
36065                     else if(type == SEGMENT_TYPE_RIGHT)
36066                       set_state(PART:"segment", "pressed_right", 0.0);
36067                     set_state(PART:"elm.text", "pressed", 0.0);
36068                  }
36069                else if(state == SEGMENT_STATE_SELECTED)
36070                  {
36071                     if(type == SEGMENT_TYPE_SINGLE)
36072                       set_state(PART:"segment", "selected_single", 0.0);
36073                     else if(type == SEGMENT_TYPE_LEFT)
36074                       set_state(PART:"segment", "selected_left", 0.0);
36075                     else if(type == SEGMENT_TYPE_MIDDLE)
36076                       set_state(PART:"segment", "selected_middle", 0.0);
36077                     else if(type == SEGMENT_TYPE_RIGHT)
36078                       set_state(PART:"segment", "selected_right", 0.0);
36079                     set_state(PART:"elm.text", "selected", 0.0);
36080                  }
36081                if(disabled == SEGMENT_STATUS_DISABLED)
36082                  {
36083                     if(type == SEGMENT_TYPE_SINGLE)
36084                       set_state(PART:"disabler", "disabled_single", 0.0);
36085                     else if(type == SEGMENT_TYPE_LEFT)
36086                       set_state(PART:"disabler", "disabled_left", 0.0);
36087                     else if(type == SEGMENT_TYPE_MIDDLE)
36088                       set_state(PART:"disabler", "disabled_middle", 0.0);
36089                     else if(type == SEGMENT_TYPE_RIGHT)
36090                       set_state(PART:"disabler", "disabled_right", 0.0);
36091                     set_state(PART:"elm.text", "disabled", 0.0);
36092                  }
36093             }
36094          }
36095          program {
36096             name: "segment_type_s";
36097             signal: "elm,type,segment,single";
36098             source: "elm";
36099             script {
36100                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36101                update_state();
36102             }
36103          }
36104          program {
36105             name: "segment_type_l";
36106             signal: "elm,type,segment,left";
36107             source: "elm";
36108             script {
36109                set_int(seg_type, SEGMENT_TYPE_LEFT);
36110                update_state();
36111             }
36112          }
36113          program {
36114             name: "segment_type_m";
36115             signal: "elm,type,segment,middle";
36116             source: "elm";
36117             script {
36118                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36119                update_state();
36120             }
36121          }
36122          program {
36123             name: "segment_type_r";
36124             signal: "elm,type,segment,right";
36125             source: "elm";
36126             script {
36127                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36128                update_state();
36129             }
36130          }
36131          program {
36132             name: "normal_segment";
36133             signal: "elm,state,segment,normal";
36134             source: "elm";
36135             script {
36136                set_int(seg_state, SEGMENT_STATE_NORMAL);
36137                update_state();
36138             }
36139          }
36140          program {
36141             name: "pressed_segment";
36142             signal: "elm,state,segment,pressed";
36143             source: "elm";
36144             script {
36145                set_int(seg_state, SEGMENT_STATE_PRESSED);
36146                update_state();
36147             }
36148          }
36149          program {
36150             name: "selected_segment";
36151             signal: "elm,state,segment,selected";
36152             source: "elm";
36153             script {
36154                set_int(seg_state, SEGMENT_STATE_SELECTED);
36155                update_state();
36156             }
36157          }
36158          program { name: "disable_segment";
36159             signal: "elm,state,disabled";
36160             source: "elm";
36161             script {
36162                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36163                update_state();
36164             }
36165          }
36166          program { name: "enable_segment";
36167             signal: "elm,state,enabled";
36168             source: "elm";
36169             script {
36170                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36171                update_state();
36172             }
36173          }
36174          program { name: "text_show";
36175             signal: "elm,state,text,visible";
36176             source: "elm";
36177             script {
36178                new st[31];
36179                new Float:vl;
36180                get_state(PART:"elm.swallow.icon", st, 30, vl);
36181                if (!strcmp(st, "icononly"))
36182                  {
36183                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36184                     set_state(PART:"padding_icon_text", "visible", 0.0);
36185                  }
36186                get_state(PART:"elm.text", st, 30, vl);
36187                if (!strcmp(st, "selected"))
36188                   set_state(PART:"elm.text", "selected", 0.0);
36189                else
36190                   set_state(PART:"elm.text", "normal", 0.0);
36191             }
36192          }
36193          program { name: "text_hide";
36194             signal: "elm,state,text,hidden";
36195             source: "elm";
36196             script {
36197                new st[31];
36198                new Float:vl;
36199                get_state(PART:"elm.swallow.icon", st, 30, vl);
36200                if (!strcmp(st, "visible"))
36201                  {
36202                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36203                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36204                  }
36205                set_state(PART:"elm.text", "default", 0.0);
36206             }
36207          }
36208          program { name: "icon_show";
36209             signal: "elm,state,icon,visible";
36210             source: "elm";
36211             script {
36212                new st[31];
36213                new Float:vl;
36214                get_state(PART:"elm.text", st, 30, vl);
36215                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36216                  {
36217                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36218                     set_state(PART:"padding_icon_text", "visible", 0.0);
36219                  }
36220                else
36221                  {
36222                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36223                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36224                  }
36225             }
36226          }
36227          program { name: "icon_hide";
36228             signal: "elm,state,icon,hidden";
36229             source: "elm";
36230             action:  STATE_SET "default" 0.0;
36231             target: "elm.swallow.icon";
36232          }
36233       }
36234 #undef SEGMENT_TYPE_SINGLE
36235 #undef SEGMENT_TYPE_LEFT
36236 #undef SEGMENT_TYPE_MIDDLE
36237 #undef SEGMENT_TYPE_RIGHT
36238 #undef SEGMENT_STATE_NORMAL
36239 #undef SEGMENT_STATE_PRESSED
36240 #undef SEGMENT_STATE_SELECTED
36241 #undef SEGMENT_STATUS_ENABLED
36242 #undef SEGMENT_STATUS_DISABLED
36243    }
36244
36245    /* a simple title layout, with a label and two icons */
36246    group { name: "elm/layout/application/titlebar";
36247       images {
36248          image: "toolbar_sel.png" COMP;
36249       }
36250       parts {
36251          part { name: "base";
36252             mouse_events: 0;
36253             scale: 1;
36254             description { state: "default" 0.0;
36255                min: 0 33;
36256                max: 99999 33;
36257                align: 0.5 0.0;
36258                rel1.offset: -1 0;
36259                rel2.offset: 1 0;
36260                image {
36261                   normal: "toolbar_sel.png";
36262                   border: 3 3 0 0;
36263                }
36264             }
36265          }
36266          part { name: "elm.swallow.content";
36267             type: SWALLOW;
36268             description { state: "default" 0.0;
36269                visible: 1;
36270                rel1 {
36271                   to: "base";
36272                   relative: 0.0 1.0;
36273                }
36274             }
36275          }
36276          part { name: "elm.swallow.icon";
36277             type: SWALLOW;
36278             scale: 1;
36279             description { state: "default" 0.0;
36280                visible: 0;
36281                fixed: 1 1;
36282                align: 0.0 0.0;
36283                rel1 {
36284                   to: "base";
36285                   relative: 0.0 0.0;
36286                   offset: 4 0;
36287                }
36288                rel2 {
36289                   to: "base";
36290                   relative: 0.0 1.0;
36291                }
36292             }
36293             description { state: "visible" 0.0;
36294                inherit: "default" 0.0;
36295                visible: 1;
36296             }
36297          }
36298          part { name: "elm.swallow.end";
36299             type: SWALLOW;
36300             scale: 1;
36301             description { state: "default" 0.0;
36302                visible: 0;
36303                fixed: 1 1;
36304                align: 1.0 0.0;
36305                rel1 {
36306                   to: "base";
36307                   relative: 1.0 0.0;
36308                   offset: 0 0;
36309                }
36310                rel2 {
36311                   to: "base";
36312                   relative: 1.0 1.0;
36313                   offset: -5 -1;
36314                }
36315             }
36316             description { state: "visible" 0.0;
36317                inherit: "default" 0.0;
36318                visible: 1;
36319             }
36320          }
36321          part { name: "elm.text";
36322             type: TEXT;
36323             effect: SOFT_SHADOW;
36324             mouse_events: 0;
36325             scale: 1;
36326             description { state: "default" 0.0;
36327                fixed: 1 1;
36328                rel1 {
36329                   to_x: "elm.swallow.icon";
36330                   to_y: "base";
36331                   relative: 1.0 0.0;
36332                }
36333                rel2 {
36334                   to_x: "elm.swallow.end";
36335                   to_y: "base";
36336                   relative: 0.0 1.0;
36337                }
36338                text {
36339                   font: "Sans";
36340                   size: 12;
36341                   min: 0 0;
36342                   align: 0.5 0.5;
36343                   text_class: "title_bar";
36344                }
36345             }
36346          }
36347       }
36348       programs {
36349          program { name: "show_icon";
36350             signal: "elm,state,icon,visible";
36351             source: "elm";
36352             action: STATE_SET "visible" 0.0;
36353             target: "elm.swallow.icon";
36354          }
36355          program { name: "hide_icon";
36356             signal: "elm,state,icon,hidden";
36357             source: "elm";
36358             action: STATE_SET "default" 0.0;
36359             target: "elm.swallow.icon";
36360          }
36361          program { name: "show_end";
36362             signal: "elm,state,end,visible";
36363             source: "elm";
36364             action: STATE_SET "visible" 0.0;
36365             target: "elm.swallow.end";
36366          }
36367          program { name: "hide_end";
36368             signal: "elm,state,end,hidden";
36369             source: "elm";
36370             action: STATE_SET "default" 0.0;
36371             target: "elm.swallow.end";
36372          }
36373       }
36374    }
36375 }