elementary/theme - applied border_scale for actionslider, bubble, button
[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                   border_scale: 1;
1969                }
1970                image.middle: SOLID;
1971             }
1972             description { state: "clicked" 0.0;
1973                inherit: "default" 0.0;
1974                image.normal: "bt_base1.png";
1975                image.middle: SOLID;
1976             }
1977             description { state: "disabled" 0.0;
1978                inherit:  "default" 0.0;
1979                image {
1980                   normal: "bt_dis_base.png";
1981                   border: 4 4 4 4;
1982                   border_scale: 1;
1983                }
1984             }
1985          }
1986          part { name: "elm.swallow.content";
1987             type: SWALLOW;
1988             description { state: "default" 0.0;
1989                fixed: 1 0;
1990                visible: 0;
1991                align: 0.0 0.5;
1992                rel1.offset: 4 4;
1993                rel2.offset: 3 -5;
1994                rel2.relative: 0.0 1.0;
1995             }
1996             description { state: "visible" 0.0;
1997                inherit: "default" 0.0;
1998                fixed: 1 0;
1999                visible: 1;
2000                aspect: 1.0 1.0;
2001 //               aspect_preference: VERTICAL;
2002                rel2.offset: 4 -5;
2003             }
2004             description { state: "icononly" 0.0;
2005                inherit: "default" 0.0;
2006                fixed: 0 0;
2007                visible: 1;
2008                align: 0.5 0.5;
2009 //               aspect: 1.0 1.0;
2010                rel2.offset: -5 -5;
2011                rel2.relative: 1.0 1.0;
2012 //               aspect_preference: VERTICAL;
2013             }
2014          }
2015          part {
2016             name:          "elm.text";
2017             type:          TEXT;
2018             effect:        SOFT_SHADOW;
2019             mouse_events:  0;
2020             scale: 1;
2021             description { state: "default" 0.0;
2022                visible: 0;
2023                rel1.to_x: "elm.swallow.content";
2024                rel1.relative: 1.0 0.0;
2025                rel1.offset: 0 4;
2026                rel2.offset: -5 -5;
2027                color: 224 224 224 255;
2028                color3: 0 0 0 64;
2029                text {
2030                   font:     "Sans,Edje-Vera";
2031                   size:     10;
2032                   min:      0 0;
2033                   align:    0.5 0.5;
2034                   text_class: "button";
2035                }
2036             }
2037             description { state: "visible" 0.0;
2038                inherit: "default" 0.0;
2039                visible: 1;
2040                text.min: 1 1;
2041             }
2042             description { state: "disabled" 0.0;
2043                inherit: "default" 0.0;
2044                color: 0 0 0 128;
2045                color3: 0 0 0 0;
2046             }
2047             description { state: "disabled_visible" 0.0;
2048                inherit: "default" 0.0;
2049                color: 0 0 0 128;
2050                color3: 0 0 0 0;
2051                visible: 1;
2052                text.min: 1 1;
2053             }
2054          }
2055          part {          name: "over1";
2056             mouse_events: 0;
2057             description { state: "default" 0.0;
2058                rel2.relative: 1.0 0.5;
2059                image {
2060                   normal: "bt_hilight.png";
2061                   border: 7 7 7 0;
2062                   border_scale: 1;
2063                }
2064             }
2065             description { state: "disabled" 0.0;
2066                inherit:  "default" 0.0;
2067                image {
2068                   normal: "bt_dis_hilight.png";
2069                   border: 4 4 4 0;
2070                   border_scale: 1;
2071                }
2072             }
2073          }
2074          part { name: "over2";
2075             mouse_events: 1;
2076             repeat_events: 1;
2077             ignore_flags: ON_HOLD;
2078             description { state: "default" 0.0;
2079                image {
2080                   normal: "bt_shine.png";
2081                   border: 7 7 7 7;
2082                   border_scale: 1;
2083                }
2084             }
2085             description { state: "disabled" 0.0;
2086                inherit:  "default" 0.0;
2087                visible: 0;
2088             }
2089          }
2090          part { name: "over3";
2091             mouse_events: 1;
2092             repeat_events: 1;
2093             description { state: "default" 0.0;
2094                color: 255 255 255 0;
2095                image {
2096                   normal: "bt_glow.png";
2097                   border: 12 12 12 12;
2098                   border_scale: 1;
2099                }
2100                fill.smooth : 0;
2101             }
2102             description { state: "clicked" 0.0;
2103                inherit:  "default" 0.0;
2104                color: 255 255 255 255;
2105             }
2106          }
2107           part { name: "disabler";
2108             type: RECT;
2109             description { state: "default" 0.0;
2110                color: 0 0 0 0;
2111                visible: 0;
2112             }
2113             description { state: "disabled" 0.0;
2114                inherit: "default" 0.0;
2115                visible: 1;
2116             }
2117          }
2118       }
2119       programs {
2120          program {
2121             name:   "button_click";
2122             signal: "mouse,down,1";
2123             source: "over2";
2124             action: SIGNAL_EMIT "elm,action,press" "";
2125             after: "button_click_anim";
2126          }
2127          program {
2128             name:   "button_click_anim";
2129             action: STATE_SET "clicked" 0.0;
2130             target: "button_image";
2131          }
2132          program {
2133             name:   "button_unclick";
2134             signal: "mouse,up,1";
2135             source: "over3";
2136             action: SIGNAL_EMIT "elm,action,unpress" "";
2137             after: "button_unclick_anim";
2138          }
2139          program {
2140             name:   "button_pressed_anim";
2141             signal: "elm,anim,activate";
2142             source: "elm";
2143             action: STATE_SET "clicked" 0.0;
2144             target: "button_image";
2145             target: "over3";
2146             after: "button_unpressed_anim";
2147          }
2148          program {
2149             name:   "button_unpressed_anim";
2150             action: STATE_SET "default" 0.0;
2151             transition: DECELERATE 0.5;
2152             target: "button_image";
2153             target: "over3";
2154          }
2155          program {
2156             name:   "button_unclick_anim";
2157             action: STATE_SET "default" 0.0;
2158             target: "button_image";
2159          }
2160          program {
2161             name:   "button_click2";
2162             signal: "mouse,down,1";
2163             source: "over3";
2164             action: STATE_SET "clicked" 0.0;
2165             target: "over3";
2166          }
2167          program {
2168             name:   "button_unclick2";
2169             signal: "mouse,up,1";
2170             source: "over3";
2171             action: STATE_SET "default" 0.0;
2172             transition: DECELERATE 0.5;
2173             target: "over3";
2174          }
2175          program {
2176             name:   "button_unclick3";
2177             signal: "mouse,clicked,1";
2178             source: "over2";
2179             action: SIGNAL_EMIT "elm,action,click" "";
2180          }
2181          program { name: "text_show";
2182             signal: "elm,state,text,visible";
2183             source: "elm";
2184             script {
2185                new st[31];
2186                new Float:vl;
2187                get_state(PART:"elm.swallow.content", st, 30, vl);
2188                if (!strcmp(st, "icononly"))
2189                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2190                set_state(PART:"elm.text", "visible", 0.0);
2191             }
2192          }
2193          program { name: "text_hide";
2194             signal: "elm,state,text,hidden";
2195             source: "elm";
2196             script {
2197                new st[31];
2198                new Float:vl;
2199                get_state(PART:"elm.swallow.content", st, 30, vl);
2200                if (!strcmp(st, "visible"))
2201                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2202                set_state(PART:"elm.text", "default", 0.0);
2203             }
2204          }
2205          program { name: "icon_show";
2206             signal: "elm,state,icon,visible";
2207             source: "elm";
2208             script {
2209                new st[31];
2210                new Float:vl;
2211                get_state(PART:"elm.text", st, 30, vl);
2212                if (!strcmp(st, "visible"))
2213                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2214                else
2215                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2216             }
2217          }
2218          program { name: "icon_hide";
2219             signal: "elm,state,icon,hidden";
2220             source: "elm";
2221             action:  STATE_SET "default" 0.0;
2222             target: "elm.swallow.content";
2223          }
2224          program { name: "disable";
2225             signal: "elm,state,disabled";
2226             source: "elm";
2227             action: STATE_SET "disabled" 0.0;
2228             target: "button_image";
2229             target: "over1";
2230             target: "over2";
2231             target: "disabler";
2232             after: "disable_text";
2233          }
2234          program { name: "disable_text";
2235             script {
2236                new st[31];
2237                new Float:vl;
2238                get_state(PART:"elm.text", st, 30, vl);
2239                if (!strcmp(st, "visible"))
2240                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2241                else
2242                  set_state(PART:"elm.text", "disabled", 0.0);
2243             }
2244          }
2245          program { name: "enable";
2246             signal: "elm,state,enabled";
2247             source: "elm";
2248             action: STATE_SET "default" 0.0;
2249             target: "button_image";
2250             target: "over1";
2251             target: "over2";
2252             target: "disabler";
2253             after: "enable_text";
2254          }
2255          program { name: "enable_text";
2256             script {
2257                new st[31];
2258                new Float:vl;
2259                get_state(PART:"elm.text", st, 30, vl);
2260                if (!strcmp(st, "disabled_visible"))
2261                  set_state(PART:"elm.text", "visible", 0.0);
2262                else
2263                  set_state(PART:"elm.text", "default", 0.0);
2264             }
2265          }
2266       }
2267    }
2268
2269    group { name: "elm/button/base/hoversel_vertical/default";
2270       alias: "elm/button/base/hoversel_vertical/entry";
2271       alias: "elm/button/base/hoversel_horizontal/default";
2272       alias: "elm/button/base/hoversel_horizontal/entry";
2273       images {
2274          image: "bt_base1.png" COMP;
2275          image: "bt_base2.png" COMP;
2276          image: "bt_hilight.png" COMP;
2277          image: "bt_shine.png" COMP;
2278          image: "bt_glow.png" COMP;
2279          image: "updown.png" COMP;
2280          image: "bt_dis_base.png" COMP;
2281          image: "bt_dis_hilight.png" COMP;
2282       }
2283       parts {
2284          part { name: "button_image";
2285             mouse_events: 1;
2286             description { state: "default" 0.0;
2287                image {
2288                   normal: "bt_base2.png";
2289                   border: 7 7 7 7;
2290                   border_scale: 1;
2291                }
2292                image.middle: SOLID;
2293             }
2294             description { state: "clicked" 0.0;
2295                inherit: "default" 0.0;
2296                image.normal: "bt_base1.png";
2297                image.middle: SOLID;
2298             }
2299             description { state: "disabled" 0.0;
2300                inherit:  "default" 0.0;
2301                image {
2302                   normal: "bt_dis_base.png";
2303                   border: 4 4 4 4;
2304                   border_scale: 1;
2305                }
2306             }
2307          }
2308          part { name: "arrow";
2309             mouse_events: 0;
2310             description { state: "default" 0.0;
2311                image.normal: "updown.png";
2312                aspect: 0.6666666666 0.6666666666;
2313                aspect_preference: VERTICAL;
2314                rel1.offset: 6 7;
2315                rel2.offset: 6 -7;
2316                rel2.relative: 0.0 1.0;
2317                align: 0.0 0.5;
2318             }
2319          }
2320          part { name: "elm.swallow.content";
2321             type: SWALLOW;
2322             description { state: "default" 0.0;
2323                fixed: 1 0;
2324                visible: 0;
2325                align: 0.0 0.5;
2326                rel1 {
2327                   to_x: "arrow";
2328                   offset: 2 4;
2329                   relative: 1.0 0.0;
2330                }
2331                rel2 {
2332                   to_x: "arrow";
2333                   offset: 1 -5;
2334                   relative: 1.0 1.0;
2335                }
2336             }
2337             description { state: "visible" 0.0;
2338                inherit: "default" 0.0;
2339                fixed: 0 0;
2340                visible: 1;
2341                aspect: 1.0 1.0;
2342                aspect_preference: VERTICAL;
2343                rel2.offset: 2 -5;
2344             }
2345             description { state: "icononly" 0.0;
2346                inherit: "default" 0.0;
2347                fixed: 0 0;
2348                visible: 1;
2349                align: 0.5 0.5;
2350                aspect: 1.0 1.0;
2351                rel1 {
2352                   to_x: "button_image";
2353                   offset: -5 -5;
2354                   relative: 1.0 1.0;
2355                }
2356                aspect_preference: VERTICAL;
2357             }
2358          }
2359          part {
2360             name:          "elm.text";
2361             type:          TEXT;
2362             effect:        SOFT_SHADOW;
2363             mouse_events:  0;
2364             scale: 1;
2365             description { state: "default" 0.0;
2366                visible: 0;
2367                rel1.to_x: "elm.swallow.content";
2368                rel1.relative: 1.0 0.0;
2369                rel1.offset: 0 4;
2370                rel2.offset: -5 -5;
2371                color: 224 224 224 255;
2372                color3: 0 0 0 64;
2373                text {
2374                   font:     "Sans,Edje-Vera";
2375                   size:     10;
2376                   min:      0 0;
2377                   align:    0.5 0.5;
2378                   text_class: "button";
2379                }
2380             }
2381             description { state: "visible" 0.0;
2382                inherit: "default" 0.0;
2383                visible: 1;
2384                text.min: 1 1;
2385             }
2386             description { state: "disabled" 0.0;
2387                inherit: "default" 0.0;
2388                color: 0 0 0 128;
2389                color3: 0 0 0 0;
2390             }
2391             description { state: "disabled_visible" 0.0;
2392                inherit: "default" 0.0;
2393                color: 0 0 0 128;
2394                color3: 0 0 0 0;
2395                visible: 1;
2396                text.min: 1 1;
2397             }
2398          }
2399          part {          name: "over1";
2400             mouse_events: 0;
2401             description { state: "default" 0.0;
2402                rel2.relative: 1.0 0.5;
2403                image {
2404                   normal: "bt_hilight.png";
2405                   border: 7 7 7 0;
2406                }
2407             }
2408             description { state: "disabled" 0.0;
2409                inherit:  "default" 0.0;
2410                image {
2411                   normal: "bt_dis_hilight.png";
2412                   border: 4 4 4 0;
2413                   border_scale: 1;
2414                }
2415             }
2416          }
2417          part { name: "over2";
2418             mouse_events: 1;
2419             repeat_events: 1;
2420             ignore_flags: ON_HOLD;
2421             description { state: "default" 0.0;
2422                image {
2423                   normal: "bt_shine.png";
2424                   border: 7 7 7 7;
2425                   border_scale: 1;
2426                }
2427             }
2428             description { state: "disabled" 0.0;
2429                inherit:  "default" 0.0;
2430                visible: 0;
2431             }
2432          }
2433          part { name: "over3";
2434             mouse_events: 1;
2435             repeat_events: 1;
2436             description { state: "default" 0.0;
2437                color: 255 255 255 0;
2438                image {
2439                   normal: "bt_glow.png";
2440                   border: 12 12 12 12;
2441                   border_scale: 1;
2442                }
2443                fill.smooth : 0;
2444             }
2445             description { state: "clicked" 0.0;
2446                inherit:  "default" 0.0;
2447                visible: 1;
2448                color: 255 255 255 255;
2449             }
2450          }
2451           part { name: "disabler";
2452             type: RECT;
2453             description { state: "default" 0.0;
2454                color: 0 0 0 0;
2455                visible: 0;
2456             }
2457             description { state: "disabled" 0.0;
2458                inherit: "default" 0.0;
2459                visible: 1;
2460             }
2461          }
2462       }
2463       programs {
2464          program {
2465             name:   "button_click";
2466             signal: "mouse,down,1";
2467             source: "over2";
2468             action: STATE_SET "clicked" 0.0;
2469             target: "button_image";
2470          }
2471          program {
2472             name:   "button_unclick";
2473             signal: "mouse,up,1";
2474             source: "over2";
2475             action: STATE_SET "default" 0.0;
2476             target: "button_image";
2477          }
2478          program {
2479             name:   "button_click2";
2480             signal: "mouse,down,1";
2481             source: "over3";
2482             action: STATE_SET "clicked" 0.0;
2483             target: "over3";
2484          }
2485          program {
2486             name:   "button_unclick2";
2487             signal: "mouse,up,1";
2488             source: "over3";
2489             action: STATE_SET "default" 0.0;
2490             transition: DECELERATE 0.5;
2491             target: "over3";
2492          }
2493          program {
2494             name:   "button_unclick3";
2495             signal: "mouse,up,1";
2496             source: "over2";
2497             action: SIGNAL_EMIT "elm,action,click" "";
2498          }
2499          program { name: "text_show";
2500             signal: "elm,state,text,visible";
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, "icononly"))
2507                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2508                set_state(PART:"elm.text", "visible", 0.0);
2509             }
2510          }
2511          program { name: "text_hide";
2512             signal: "elm,state,text,hidden";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.swallow.content", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2520                set_state(PART:"elm.text", "default", 0.0);
2521             }
2522          }
2523          program { name: "icon_show";
2524             signal: "elm,state,icon,visible";
2525             source: "elm";
2526             script {
2527                new st[31];
2528                new Float:vl;
2529                get_state(PART:"elm.text", st, 30, vl);
2530                if (!strcmp(st, "visible"))
2531                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2532                else
2533                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2534             }
2535          }
2536          program { name: "icon_hide";
2537             signal: "elm,state,icon,hidden";
2538             source: "elm";
2539             action:  STATE_SET "default" 0.0;
2540             target: "elm.swallow.content";
2541          }
2542          program { name: "disable";
2543             signal: "elm,state,disabled";
2544             source: "elm";
2545             action: STATE_SET "disabled" 0.0;
2546             target: "button_image";
2547             target: "over1";
2548             target: "over2";
2549             target: "disabler";
2550             after: "disable_text";
2551          }
2552          program { name: "disable_text";
2553             script {
2554                new st[31];
2555                new Float:vl;
2556                get_state(PART:"elm.text", st, 30, vl);
2557                if (!strcmp(st, "visible"))
2558                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2559                else
2560                  set_state(PART:"elm.text", "disabled", 0.0);
2561             }
2562          }
2563          program { name: "enable";
2564             signal: "elm,state,enabled";
2565             source: "elm";
2566             action: STATE_SET "default" 0.0;
2567             target: "button_image";
2568             target: "over1";
2569             target: "over2";
2570             target: "disabler";
2571             after: "enable_text";
2572          }
2573          program { name: "enable_text";
2574             script {
2575                new st[31];
2576                new Float:vl;
2577                get_state(PART:"elm.text", st, 30, vl);
2578                if (!strcmp(st, "disabled_visible"))
2579                  set_state(PART:"elm.text", "visible", 0.0);
2580                else
2581                  set_state(PART:"elm.text", "default", 0.0);
2582             }
2583          }
2584       }
2585    }
2586
2587    group { name: "elm/button/base/hoversel_vertical_entry/default";
2588       alias: "elm/button/base/hoversel_vertical_entry/entry";
2589       alias: "elm/button/base/hoversel_horizontal_entry/default";
2590       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2591       images {
2592          image: "hoversel_entry_bg.png" COMP;
2593       }
2594       parts {
2595          part { name: "button_image";
2596             mouse_events: 1;
2597             description { state: "default" 0.0;
2598                color: 255 255 255 0;
2599                image.normal: "hoversel_entry_bg.png";
2600                image.border: 0 0 2 2;
2601                image.border_scale: 1;
2602                fill.smooth: 0;
2603             }
2604             description { state: "clicked" 0.0;
2605                inherit: "default" 0.0;
2606                color: 255 255 255 255;
2607             }
2608          }
2609          part { name: "elm.swallow.content";
2610             type: SWALLOW;
2611             description { state: "default" 0.0;
2612                visible: 0;
2613                align: 0.0 0.5;
2614                rel1.offset: 4 4;
2615                rel2.offset: 3 -5;
2616                rel2.relative: 0.0 1.0;
2617             }
2618             description { state: "visible" 0.0;
2619                inherit: "default" 0.0;
2620                visible: 1;
2621                aspect: 1.0 1.0;
2622                aspect_preference: VERTICAL;
2623                rel2.offset: 4 -5;
2624             }
2625             description { state: "icononly" 0.0;
2626                inherit: "default" 0.0;
2627                visible: 1;
2628                align: 0.5 0.5;
2629                aspect: 1.0 1.0;
2630                rel2.offset: -5 -5;
2631                rel2.relative: 1.0 1.0;
2632                aspect_preference: VERTICAL;
2633             }
2634          }
2635          part { name: "textvis";
2636             type: RECT;
2637             mouse_events: 0;
2638             description { state: "default" 0.0;
2639                visible: 0;
2640             }
2641             description { state: "visible" 0.0;
2642                visible: 1;
2643             }
2644          }
2645          part {
2646             name:          "elm.text";
2647             type:          TEXT;
2648             effect:        SOFT_SHADOW;
2649             mouse_events:  0;
2650             scale: 1;
2651             clip_to:       "textvis";
2652             description { state: "default" 0.0;
2653                rel1.to_x: "elm.swallow.content";
2654                rel1.relative: 1.0 0.0;
2655                rel1.offset: 0 4;
2656                rel2.offset: -5 -5;
2657                color: 224 224 224 255;
2658                color3: 0 0 0 64;
2659                text {
2660                   font:     "Sans,Edje-Vera";
2661                   size:     10;
2662                   min:      0 0;
2663                   align:    0.5 0.5;
2664                   text_class: "button";
2665                }
2666             }
2667             description { state: "visible" 0.0;
2668                inherit: "default" 0.0;
2669                text.min: 1 1;
2670             }
2671             description { state: "clicked" 0.0;
2672                inherit: "default" 0.0;
2673                text.min: 1 1;
2674                color: 0 0 0 255;
2675                color3: 0 0 0 0;
2676             }
2677          }
2678          part { name: "over2";
2679             type: RECT;
2680             mouse_events: 1;
2681             description { state: "default" 0.0;
2682                color: 0 0 0 0;
2683             }
2684          }
2685       }
2686       programs {
2687          program {
2688             name:   "button_click";
2689             signal: "mouse,down,1";
2690             source: "over2";
2691             action: STATE_SET "clicked" 0.0;
2692             target: "button_image";
2693             target: "elm.text";
2694          }
2695          program {
2696             name:   "button_unclick";
2697             signal: "mouse,up,1";
2698             source: "over2";
2699             action: STATE_SET "default" 0.0;
2700             target: "button_image";
2701             target: "elm.text";
2702          }
2703          program {
2704             name:   "button_unclick3";
2705             signal: "mouse,up,1";
2706             source: "over2";
2707             action: SIGNAL_EMIT "elm,action,click" "";
2708          }
2709          program { name: "text_show";
2710             signal: "elm,state,text,visible";
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, "icononly"))
2717                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2718                set_state(PART:"textvis", "visible", 0.0);
2719                set_state(PART:"elm.text", "visible", 0.0);
2720             }
2721          }
2722          program { name: "text_hide";
2723             signal: "elm,state,text,hidden";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"elm.swallow.content", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2731                set_state(PART:"textvis", "default", 0.0);
2732                set_state(PART:"elm.text", "default", 0.0);
2733             }
2734          }
2735          program { name: "icon_show";
2736             signal: "elm,state,icon,visible";
2737             source: "elm";
2738             script {
2739                new st[31];
2740                new Float:vl;
2741                get_state(PART:"textvis", st, 30, vl);
2742                if (!strcmp(st, "visible"))
2743                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2744                else
2745                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2746             }
2747          }
2748          program { name: "icon_hide";
2749             signal: "elm,state,icon,hidden";
2750             source: "elm";
2751             action:  STATE_SET "default" 0.0;
2752             target: "elm.swallow.content";
2753          }
2754       }
2755    }
2756
2757    group { name: "elm/button/base/anchor";
2758       images {
2759          image: "bt_base1.png" COMP;
2760          image: "bt_base2.png" COMP;
2761          image: "bt_hilight.png" COMP;
2762          image: "bt_shine.png" COMP;
2763          image: "bt_glow.png" COMP;
2764          image: "bt_dis_base.png" COMP;
2765          image: "bt_dis_hilight.png" COMP;
2766       }
2767       parts {
2768          part { name: "button_image";
2769             mouse_events: 1;
2770             description { state: "default" 0.0;
2771           min: 15 15;
2772            color: 255 255 255 0;
2773                image {
2774                   normal: "bt_base2.png";
2775                   border: 7 7 7 7;
2776                   border_scale: 1;
2777                }
2778                image.middle: SOLID;
2779             }
2780        description { state: "visible" 0.0;
2781                inherit: "default" 0.0;
2782           color: 255 255 255 255;
2783             }
2784             description { state: "clicked" 0.0;
2785                inherit: "default" 0.0;
2786           inherit: "visible" 0.0;
2787                image.normal: "bt_base1.png";
2788                image.middle: SOLID;
2789             }
2790             description { state: "disabled" 0.0;
2791                inherit:  "default" 0.0;
2792           inherit: "visible" 0.0;
2793                image {
2794                   normal: "bt_dis_base.png";
2795                   border: 4 4 4 4;
2796                   border_scale: 1;
2797                }
2798             }
2799          }
2800          part { name: "elm.swallow.content";
2801             type: SWALLOW;
2802             description { state: "default" 0.0;
2803                fixed: 1 0;
2804                visible: 0;
2805                align: 0.0 0.5;
2806                rel1.offset: 4 4;
2807                rel2.offset: 3 -5;
2808                rel2.relative: 0.0 1.0;
2809             }
2810             description { state: "visible" 0.0;
2811                inherit: "default" 0.0;
2812                fixed: 1 0;
2813                visible: 1;
2814                aspect: 1.0 1.0;
2815                aspect_preference: VERTICAL;
2816                rel2.offset: 4 -5;
2817             }
2818             description { state: "icononly" 0.0;
2819                inherit: "default" 0.0;
2820                fixed: 0 0;
2821                visible: 1;
2822                align: 0.5 0.5;
2823                aspect: 1.0 1.0;
2824                rel2.offset: -5 -5;
2825                rel2.relative: 1.0 1.0;
2826                aspect_preference: VERTICAL;
2827             }
2828          }
2829          part {
2830             name:          "elm.text";
2831             type:          TEXT;
2832             effect:        SOFT_SHADOW;
2833             mouse_events:  0;
2834             scale: 1;
2835             description { state: "default" 0.0;
2836                visible: 0;
2837                rel1.to_x: "elm.swallow.content";
2838                rel1.relative: 1.0 0.0;
2839                rel1.offset: 0 4;
2840                rel2.offset: -5 -5;
2841                color: 224 224 224 255;
2842                color3: 0 0 0 64;
2843                text {
2844                   font:     "Sans,Edje-Vera";
2845                   size:     10;
2846                   min:      0 0;
2847                   align:    0.5 0.5;
2848                   text_class: "button";
2849                }
2850             }
2851             description { state: "visible" 0.0;
2852                inherit: "default" 0.0;
2853                visible: 1;
2854                text.min: 1 1;
2855             }
2856             description { state: "disabled" 0.0;
2857                inherit: "default" 0.0;
2858                color: 0 0 0 128;
2859                color3: 0 0 0 0;
2860             }
2861             description { state: "disabled_visible" 0.0;
2862                inherit: "default" 0.0;
2863                color: 0 0 0 128;
2864                color3: 0 0 0 0;
2865                visible: 1;
2866                text.min: 1 1;
2867             }
2868          }
2869          part {          name: "over1";
2870             mouse_events: 0;
2871             description { state: "default" 0.0;
2872            color: 255 255 255 0;
2873                rel2.relative: 1.0 0.5;
2874                image {
2875                   normal: "bt_hilight.png";
2876                   border: 7 7 7 0;
2877                   border_scale: 1;
2878                }
2879             }
2880        description { state: "visible" 0.0;
2881                inherit:  "default" 0.0;
2882           color: 255 255 255 255;
2883             }
2884             description { state: "disabled" 0.0;
2885                inherit:  "default" 0.0;
2886           inherit:  "visible" 0.0;
2887                image {
2888                   normal: "bt_dis_hilight.png";
2889                   border: 4 4 4 0;
2890                }
2891             }
2892          }
2893          part { name: "over2";
2894             mouse_events: 1;
2895             repeat_events: 1;
2896             ignore_flags: ON_HOLD;
2897             description { state: "default" 0.0;
2898                image {
2899                   normal: "bt_shine.png";
2900                   border: 7 7 7 7;
2901                   border_scale: 1;
2902                }
2903             }
2904             description { state: "disabled" 0.0;
2905                inherit:  "default" 0.0;
2906                visible: 0;
2907             }
2908          }
2909          part { name: "over3";
2910             mouse_events: 1;
2911             repeat_events: 1;
2912             description { state: "default" 0.0;
2913                color: 255 255 255 0;
2914                image {
2915                   normal: "bt_glow.png";
2916                   border: 12 12 12 12;
2917                   border_scale: 1;
2918                }
2919                fill.smooth : 0;
2920             }
2921             description { state: "clicked" 0.0;
2922                inherit:  "default" 0.0;
2923                visible: 1;
2924                color: 255 255 255 255;
2925             }
2926          }
2927           part { name: "disabler";
2928             type: RECT;
2929             description { state: "default" 0.0;
2930                color: 0 0 0 0;
2931                visible: 0;
2932             }
2933             description { state: "disabled" 0.0;
2934                inherit: "default" 0.0;
2935                visible: 1;
2936             }
2937          }
2938       }
2939       programs {
2940     program {
2941             name:   "button_mouse_in";
2942             signal: "mouse,in";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946        target: "over1";
2947        transition: DECELERATE 0.5;
2948          }
2949          program {
2950             name:   "button_mouse_out";
2951             signal: "mouse,out";
2952             source: "over2";
2953             action: STATE_SET "default" 0.0;
2954             target: "button_image";
2955        target: "over1";
2956        transition: DECELERATE 0.5;
2957          }
2958          program {
2959             name:   "button_unclick";
2960             signal: "mouse,up,1";
2961             source: "over2";
2962             action: STATE_SET "visible" 0.0;
2963             target: "button_image";
2964          }
2965          program {
2966             name:   "button_click2";
2967             signal: "mouse,down,1";
2968             source: "over3";
2969             action: STATE_SET "clicked" 0.0;
2970             target: "over3";
2971          }
2972          program {
2973             name:   "button_unclick2";
2974             signal: "mouse,up,1";
2975             source: "over3";
2976             action: STATE_SET "default" 0.0;
2977             transition: DECELERATE 0.5;
2978             target: "over3";
2979          }
2980          program {
2981             name:   "button_unclick3";
2982             signal: "mouse,up,1";
2983             source: "over2";
2984             action: SIGNAL_EMIT "elm,action,click" "";
2985          }
2986          program { name: "text_show";
2987             signal: "elm,state,text,visible";
2988             source: "elm";
2989             script {
2990                new st[31];
2991                new Float:vl;
2992                get_state(PART:"elm.swallow.content", st, 30, vl);
2993                if (!strcmp(st, "icononly"))
2994                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2995                set_state(PART:"elm.text", "visible", 0.0);
2996             }
2997          }
2998          program { name: "text_hide";
2999             signal: "elm,state,text,hidden";
3000             source: "elm";
3001             script {
3002                new st[31];
3003                new Float:vl;
3004                get_state(PART:"elm.swallow.content", st, 30, vl);
3005                if (!strcmp(st, "visible"))
3006                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3007                set_state(PART:"elm.text", "default", 0.0);
3008             }
3009          }
3010          program { name: "icon_show";
3011             signal: "elm,state,icon,visible";
3012             source: "elm";
3013             script {
3014                new st[31];
3015                new Float:vl;
3016                get_state(PART:"elm.text", st, 30, vl);
3017                if (!strcmp(st, "visible"))
3018                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3019                else
3020                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3021             }
3022          }
3023          program { name: "icon_hide";
3024             signal: "elm,state,icon,hidden";
3025             source: "elm";
3026             action:  STATE_SET "default" 0.0;
3027             target: "elm.swallow.content";
3028          }
3029          program { name: "disable";
3030             signal: "elm,state,disabled";
3031             source: "elm";
3032             action: STATE_SET "disabled" 0.0;
3033             target: "button_image";
3034             target: "over1";
3035             target: "over2";
3036             target: "disabler";
3037             after: "disable_text";
3038          }
3039          program { name: "disable_text";
3040             script {
3041                new st[31];
3042                new Float:vl;
3043                get_state(PART:"elm.text", st, 30, vl);
3044                if (!strcmp(st, "visible"))
3045                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3046                else
3047                  set_state(PART:"elm.text", "disabled", 0.0);
3048             }
3049          }
3050          program { name: "enable";
3051             signal: "elm,state,enabled";
3052             source: "elm";
3053             action: STATE_SET "default" 0.0;
3054             target: "button_image";
3055             target: "over1";
3056             target: "over2";
3057             target: "disabler";
3058             after: "enable_text";
3059          }
3060          program { name: "enable_text";
3061             script {
3062                new st[31];
3063                new Float:vl;
3064                get_state(PART:"elm.text", st, 30, vl);
3065                if (!strcmp(st, "disabled_visible"))
3066                  set_state(PART:"elm.text", "visible", 0.0);
3067                else
3068                  set_state(PART:"elm.text", "default", 0.0);
3069             }
3070          }
3071       }
3072    }
3073
3074 ///////////////////////////////////////////////////////////////////////////////
3075    group { name: "elm/toggle/base/default";
3076       images {
3077          image: "shelf_inset.png" COMP;
3078          image: "bt_basew.png" COMP;
3079          image: "bt_bases.png" COMP;
3080          image: "bt_hilightw.png" COMP;
3081          image: "tog_base_on.png" COMP;
3082          image: "tog_base_off.png" COMP;
3083          image: "tog_dis_base_on.png" COMP;
3084          image: "tog_dis_base_off.png" COMP;
3085       }
3086       script {
3087          public is_rtl;
3088       }
3089       parts {
3090          part { name: "bg";
3091             type: RECT;
3092             mouse_events: 0;
3093             scale: 1;
3094             description { state: "default" 0.0;
3095                rel1.relative: 1.0 0.0;
3096                rel1.offset: -4 3;
3097                rel2.offset: -4 -4;
3098                align: 1.0 0.5;
3099                min: 96 16;
3100                max: 96 16;
3101                aspect: 4.0 4.0;
3102                aspect_preference: VERTICAL;
3103                color: 255 255 255 255;
3104             }
3105          }
3106          part { name: "clipper";
3107             type: RECT;
3108             mouse_events: 0;
3109             description { state: "default" 0.0;
3110                rel1.to: "bg";
3111                rel2.to: "bg";
3112                color: 255 255 255 255;
3113             }
3114          }
3115          part { name: "button";
3116             type: RECT;
3117             scale: 1;
3118             clip_to: "clipper";
3119             mouse_events: 1;
3120              dragable {
3121                x: 1 1 0;
3122                y: 0 0 0;
3123                confine: "bg";
3124             }
3125             description { state: "default" 0.0;
3126                fixed: 1 1;
3127                rel1.to: "bg";
3128                rel2.to: "bg";
3129                min: 16 16;
3130                max: 16 16;
3131                aspect: 1.0 1.0;
3132                aspect_preference: VERTICAL;
3133                color: 0 0 0 0;
3134             }
3135          }
3136          part { name: "button_events";
3137             type: RECT;
3138              dragable {
3139                events: "button";
3140             }
3141             description { state: "default" 0.0;
3142                rel1.to_x: "bg";
3143                rel1.offset: 0 0;
3144                rel1.relative: 0.0 0.0;
3145                rel2.to_x: "bg";
3146                rel2.offset: -1 -1;
3147                rel2.relative: 1.0 1.0;
3148                color: 0 0 0 0;
3149             }
3150          }
3151          part { name: "onrect";
3152             type: IMAGE;
3153             scale: 1;
3154             clip_to: "clipper";
3155             mouse_events: 0;
3156             description { state: "default" 0.0;
3157                rel1.to: "button";
3158                rel1.relative: -5.0 0.0;
3159                rel2.to: "button";
3160                rel2.relative: 0.5 1.0;
3161                image.normal: "tog_base_on.png";
3162             }
3163             description { state: "disabled" 0.0;
3164                inherit: "default" 0.0;
3165                image.normal: "tog_dis_base_on.png";
3166             }
3167          }
3168          part { name: "offrect";
3169             type: IMAGE;
3170             scale: 1;
3171             clip_to: "clipper";
3172             mouse_events: 0;
3173             description { state: "default" 0.0;
3174                rel1.to: "button";
3175                rel1.relative: 0.5 0.0;
3176                rel2.to: "button";
3177                rel2.relative: 6.0 1.0;
3178                image.normal: "tog_base_off.png";
3179             }
3180             description { state: "disabled" 0.0;
3181                inherit: "default" 0.0;
3182                image.normal: "tog_dis_base_off.png";
3183             }
3184          }
3185          part { name: "elm.offtext";
3186             type: TEXT;
3187             mouse_events:  0;
3188             scale: 1;
3189             clip_to: "clipper";
3190             description { state: "default" 0.0;
3191                fixed: 1 1;
3192                rel1.to_x: "button";
3193                rel1.relative: 1.0 0.0;
3194                rel2.to_x: "offrect";
3195                color: 0 0 0 255;
3196                text {
3197                   font:     "Sans,Edje-Vera";
3198                   size:     10;
3199                   min:      0 1;
3200                   align:    0.5 0.5;
3201                   text:     "OFF";
3202                }
3203             }
3204             description { state: "disabled" 0.0;
3205                inherit: "default" 0.0;
3206                color: 128 128 128 128;
3207             }
3208          }
3209          part { name: "elm.ontext";
3210             type: TEXT;
3211             effect: SOFT_SHADOW;
3212             mouse_events:  0;
3213             scale: 1;
3214             clip_to: "clipper";
3215             description { state: "default" 0.0;
3216                fixed: 1 1;
3217                rel1.to_x: "onrect";
3218                rel1.offset: 1 1;
3219                rel2.to_x: "button";
3220                rel2.offset: 0 0;
3221                rel2.relative: 0.0 1.0;
3222                color: 224 224 224 255;
3223                color3: 0 0 0 64;
3224                text {
3225                   font:     "Sans,Edje-Vera";
3226                   size:     10;
3227                   min:      0 1;
3228                   align:    0.5 0.5;
3229                   text:     "ON";
3230                }
3231             }
3232             description { state: "disabled" 0.0;
3233                inherit: "default" 0.0;
3234                color: 128 128 128 128;
3235                color3: 0 0 0 24;
3236             }
3237          }
3238          part { name: "conf_over";
3239             mouse_events:  0;
3240             description { state: "default" 0.0;
3241                rel1.offset: -1 -1;
3242                rel1.to: "bg";
3243                rel2.offset: 0 0;
3244                rel2.to: "bg";
3245                image {
3246                   normal: "shelf_inset.png";
3247                   border: 7 7 7 7;
3248                   middle: 0;
3249                }
3250                fill.smooth : 0;
3251             }
3252          }
3253          part { name: "button0";
3254             mouse_events:  0;
3255             clip_to: "clipper";
3256             description { state: "default" 0.0;
3257                rel1.to: "button2";
3258                rel1.offset: -4 -4;
3259                rel2.to: "button2";
3260                rel2.offset: 3 3;
3261                image {
3262                   normal: "bt_bases.png";
3263                   border: 11 11 11 11;
3264                }
3265                image.middle: SOLID;
3266                color: 255 255 255 128;
3267             }
3268          }
3269          part { name: "button2";
3270             mouse_events:  0;
3271             clip_to: "clipper";
3272             description { state: "default" 0.0;
3273                rel1.to: "button";
3274                rel1.offset: -2 -2;
3275                rel2.to: "button";
3276                rel2.offset: 1 1;
3277                image {
3278                   normal: "bt_basew.png";
3279                   border: 7 7 7 7;
3280                }
3281                image.middle: SOLID;
3282             }
3283          }
3284          part { name: "button3";
3285             mouse_events:  0;
3286             clip_to: "clipper";
3287             description { state: "default" 0.0;
3288                rel1.to: "button2";
3289                rel2.to: "button2";
3290                rel2.relative: 1.0 0.5;
3291                image {
3292                   normal: "bt_hilightw.png";
3293                   border: 4 4 4 0;
3294                }
3295             }
3296          }
3297          part { name: "elm.swallow.content";
3298             type: SWALLOW;
3299             description { state: "default" 0.0;
3300                fixed: 1 0;
3301                visible: 0;
3302                align: 0.0 0.5;
3303                rel1.offset: 4 4;
3304                rel2.relative: 0.0 1.0;
3305                rel2.offset: 3 -5;
3306             }
3307             description { state: "visible" 0.0;
3308                inherit: "default" 0.0;
3309                visible: 1;
3310                aspect: 1.0 1.0;
3311                rel2.offset: 4 -5;
3312             }
3313             description { state: "disabled" 0.0;
3314                inherit: "default" 0.0;
3315                color: 128 128 128 128;
3316             }
3317             description { state: "disabled_visible" 0.0;
3318                inherit: "default" 0.0;
3319                color: 128 128 128 128;
3320                visible: 1;
3321                aspect: 1.0 1.0;
3322             }
3323          }
3324          part { name: "elm.text";
3325             type: TEXT;
3326             mouse_events: 0;
3327             scale: 1;
3328             description { state: "default" 0.0;
3329                visible: 0;
3330                rel1.to_x: "elm.swallow.content";
3331                rel1.relative: 1.0 0.0;
3332                rel1.offset: 0 4;
3333                rel2.to_x: "bg";
3334                rel2.relative: 0.0 1.0;
3335                rel2.offset: -5 -5;
3336                color: 0 0 0 255;
3337                text {
3338                   font: "Sans,Edje-Vera";
3339                   size: 10;
3340                   min: 0 0;
3341                   align: 0.0 0.5;
3342                }
3343             }
3344             description { state: "visible" 0.0;
3345                inherit: "default" 0.0;
3346                visible: 1;
3347                text.min: 1 1;
3348             }
3349             description { state: "disabled" 0.0;
3350                inherit: "default" 0.0;
3351                color: 128 128 128 128;
3352             }
3353             description { state: "disabled_visible" 0.0;
3354                inherit: "default" 0.0;
3355                color: 128 128 128 128;
3356                visible: 1;
3357                text.min: 1 1;
3358             }
3359          }
3360           part { name: "disabler";
3361             type: RECT;
3362             description { state: "default" 0.0;
3363                color: 0 0 0 0;
3364                visible: 0;
3365             }
3366             description { state: "disabled" 0.0;
3367                inherit: "default" 0.0;
3368                visible: 1;
3369             }
3370          }
3371       }
3372       programs {
3373          program { name:   "drag_end";
3374             signal: "mouse,up,1";
3375             source: "button";
3376             script {
3377                new Float:dx, Float:dy;
3378                get_drag(PART:"button", dx, dy);
3379                if (dx > 0.5)
3380                  {
3381                     set_drag(PART:"button", 1.0, 0.0);
3382                  }
3383                else
3384                  {
3385                     set_drag(PART:"button", 0.0, 0.0);
3386                  }
3387                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3388                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3389                   emit("elm,action,toggle,on", "");
3390                }
3391                else {
3392                   emit("elm,action,toggle,off", "");
3393                }
3394        
3395             }
3396          }
3397          program { name: "toggle_on";
3398             signal: "elm,state,toggle,on";
3399             source: "elm";
3400             script {
3401                new Float:drag;
3402                if (get_int(is_rtl) == 0) {
3403                   drag = 100.0;
3404                }
3405                else {
3406                   drag = 0.0;
3407                }
3408                set_drag(PART:"button", drag, 0.0);
3409             }
3410          }
3411          program { name: "toggle_off";
3412             signal: "elm,state,toggle,off";
3413             source: "elm";
3414             script {
3415                new Float:drag;
3416                if (get_int(is_rtl) == 0) {
3417                   drag = 0.0;
3418                }
3419                else {
3420                   drag = 100.0;
3421                }
3422                set_drag(PART:"button", drag, 0.0);
3423             }
3424          }
3425          program { name: "text_show";
3426             signal: "elm,state,text,visible";
3427             source: "elm";
3428             action:  STATE_SET "visible" 0.0;
3429             target: "elm.text";
3430          }
3431          program { name: "text_hide";
3432             signal: "elm,state,text,hidden";
3433             source: "elm";
3434             action:  STATE_SET "default" 0.0;
3435             target: "elm.text";
3436          }
3437          program { name: "icon_show";
3438             signal: "elm,state,icon,visible";
3439             source: "elm";
3440             action:  STATE_SET "visible" 0.0;
3441             target: "elm.swallow.content";
3442          }
3443          program { name: "icon_hide";
3444             signal: "elm,state,icon,hidden";
3445             source: "elm";
3446             action:  STATE_SET "default" 0.0;
3447             target: "elm.swallow.content";
3448          }
3449          program { name: "disable";
3450             signal: "elm,state,disabled";
3451             source: "elm";
3452             action: STATE_SET "disabled" 0.0;
3453             target: "elm.offtext";
3454             target: "elm.ontext";
3455             target: "onrect";
3456             target: "offrect";
3457             target: "disabler";
3458             after: "disable_text";
3459          }
3460          program { name: "disable_text";
3461             script {
3462                new st[31];
3463                new Float:vl;
3464                get_state(PART:"elm.text", st, 30, vl);
3465                if (!strcmp(st, "visible"))
3466                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3467                else
3468                  set_state(PART:"elm.text", "disabled", 0.0);
3469
3470                get_state(PART:"elm.swallow.content", st, 30, vl);
3471                if (!strcmp(st, "visible"))
3472                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3473                else
3474                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3475             }
3476          }
3477          program { name: "enable";
3478             signal: "elm,state,enabled";
3479             source: "elm";
3480             action: STATE_SET "default" 0.0;
3481             target: "disabler";
3482             target: "onrect";
3483             target: "offrect";
3484             after: "enable_text";
3485          }
3486          program { name: "enable_text";
3487             script {
3488                new st[31];
3489                new Float:vl;
3490                get_state(PART:"elm.text", st, 30, vl);
3491                if (!strcmp(st, "disabled_visible"))
3492                  set_state(PART:"elm.text", "visible", 0.0);
3493                else
3494                  set_state(PART:"elm.text", "default", 0.0);
3495
3496                get_state(PART:"elm.swallow.content", st, 30, vl);
3497                if (!strcmp(st, "visible"))
3498                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3499                else
3500                  set_state(PART:"elm.swallow.content", "default", 0.0);
3501             }
3502          }
3503          program { name: "to_rtl";
3504             signal: "edje,state,rtl";
3505             source: "edje";
3506             script {
3507                set_int(is_rtl, 1);
3508             }
3509          }
3510          program { name: "to_ltr";
3511             signal: "edje,state,ltr";
3512             source: "edje";
3513             script {
3514                set_int(is_rtl, 0);
3515             }
3516          }
3517       }
3518    }
3519
3520 ///////////////////////////////////////////////////////////////////////////////
3521    group { name: "elm/clock/flipdigit/default";
3522       images {
3523          image: "flip_base.png" COMP;
3524          image: "flip_base_shad.png" COMP;
3525          image: "flip_shad.png" COMP;
3526          image: "flip_0t.png" COMP;
3527          image: "flip_0b.png" COMP;
3528          image: "flip_1t.png" COMP;
3529          image: "flip_1b.png" COMP;
3530          image: "flip_2t.png" COMP;
3531          image: "flip_2b.png" COMP;
3532          image: "flip_3t.png" COMP;
3533          image: "flip_3b.png" COMP;
3534          image: "flip_4t.png" COMP;
3535          image: "flip_4b.png" COMP;
3536          image: "flip_5t.png" COMP;
3537          image: "flip_5b.png" COMP;
3538          image: "flip_6t.png" COMP;
3539          image: "flip_6b.png" COMP;
3540          image: "flip_7t.png" COMP;
3541          image: "flip_7b.png" COMP;
3542          image: "flip_8t.png" COMP;
3543          image: "flip_8b.png" COMP;
3544          image: "flip_9t.png" COMP;
3545          image: "flip_9b.png" COMP;
3546          image: "arrow_up.png" COMP;
3547          image: "arrow_down.png" COMP;
3548       }
3549       script {
3550          public v0_cur, v0_pre, v0_lock, v0_next;
3551
3552        public animator2(val, Float:pos) {
3553           new st1[11], st2[11], v;
3554
3555           v = get_int(v0_cur);
3556           snprintf(st1, 10, "%ih", v);
3557           snprintf(st2, 10, "%i", v);
3558           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3559           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3560           if (pos >= 1.0) {
3561              set_state(PART:"sh", "default", 0.0);
3562              set_int(v0_lock, 0);
3563              v = get_int(v0_next);
3564              if (v >= 0) {
3565                 set_int(v0_next, -1);
3566                 message(MSG_INT, 1, v);
3567              }
3568           }
3569        }
3570        public animator1(val, Float:pos) {
3571           new st1[11], st2[11], v;
3572
3573           v = get_int(v0_pre);
3574           snprintf(st1, 10, "%i", v);
3575           snprintf(st2, 10, "%ih", v);
3576           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3577           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3578           if (pos >= 1.0) anim(0.2, "animator2", val);
3579        }
3580        public message(Msg_Type:type, id, ...) {
3581           if ((type == MSG_INT) && (id == 1)) {
3582              new value, v, buf[11];
3583
3584              value = getarg(2);
3585              if (get_int(v0_lock) == 1) {
3586                 set_int(v0_next, value);
3587                 return;
3588              }
3589              v = get_int(v0_cur);
3590              set_int(v0_pre, v);
3591              set_int(v0_cur, value);
3592              set_int(v0_lock, 1);
3593              snprintf(buf, 10, "%i", get_int(v0_pre));
3594              set_state(PART:"bot0", buf, 0.0);
3595              snprintf(buf, 10, "%ih", get_int(v0_cur));
3596              set_state(PART:"bot", buf, 0.0);
3597              snprintf(buf, 10, "%i", get_int(v0_cur));
3598              set_state(PART:"top0", buf, 0.0);
3599              snprintf(buf, 10, "%i", get_int(v0_pre));
3600              set_state(PART:"top", buf, 0.0);
3601              set_state(PART:"sh", "default", 0.0);
3602              anim(0.2, "animator1", 1);
3603           }
3604        }
3605       }
3606       parts {
3607          part { name: "shad";
3608             mouse_events: 0;
3609             description { state: "default" 0.0;
3610                rel1.offset: -4 -4;
3611                rel1.to: "base";
3612                rel2.offset: 3 3;
3613                rel2.to: "base";
3614                image {
3615                   normal: "flip_base_shad.png";
3616                   border: 8 8 8 8;
3617                }
3618             }
3619          }
3620          part { name: "base";
3621             scale: 1;
3622             description { state: "default" 0.0;
3623                rel1.offset: 4 4;
3624                rel2.offset: -5 -5;
3625                // FIXME 48x96 should be the native pixel design, right now
3626                // its 80x160. fix int he artwork later
3627                min: 24 48;
3628                aspect: 0.5 0.5;
3629 //               max: 24 48;
3630                image.normal: "flip_base.png";
3631             }
3632          }
3633          part { name: "b";
3634             type: RECT;
3635             mouse_events: 1;
3636             description { state: "default" 0.0;
3637                visible: 0;
3638                rel1.to: "base";
3639                rel1.relative: 0.0 0.5;
3640                rel2.to: "base";
3641                color: 0 0 0 0;
3642             }
3643             description { state: "visible" 0.0;
3644                inherit: "default" 0.0;
3645                visible: 1;
3646             }
3647          }
3648          part { name: "t";
3649             type: RECT;
3650             mouse_events: 1;
3651             description { state: "default" 0.0;
3652                visible: 0;
3653                rel1.to: "base";
3654                rel2.to: "base";
3655                rel2.relative: 1.0 0.5;
3656                color: 0 0 0 0;
3657             }
3658             description { state: "visible" 0.0;
3659                inherit: "default" 0.0;
3660                visible: 1;
3661             }
3662          }
3663          part { name: "bot0";
3664             mouse_events: 0;
3665             description { state: "default" 0.0;
3666                rel1.to: "b";
3667                rel2.to: "b";
3668                image.normal: "flip_0b.png";
3669             }
3670             description { state: "0" 0.0;
3671                inherit: "default" 0.0;
3672                image.normal: "flip_0b.png";
3673             }
3674             description { state: "1" 0.0;
3675                inherit: "default" 0.0;
3676                image.normal: "flip_1b.png";
3677             }
3678             description { state: "2" 0.0;
3679                inherit: "default" 0.0;
3680                image.normal: "flip_2b.png";
3681             }
3682             description { state: "3" 0.0;
3683                inherit: "default" 0.0;
3684                image.normal: "flip_3b.png";
3685             }
3686             description { state: "4" 0.0;
3687                inherit: "default" 0.0;
3688                image.normal: "flip_4b.png";
3689             }
3690             description { state: "5" 0.0;
3691                inherit: "default" 0.0;
3692                image.normal: "flip_5b.png";
3693             }
3694             description { state: "6" 0.0;
3695                inherit: "default" 0.0;
3696                image.normal: "flip_6b.png";
3697             }
3698             description { state: "7" 0.0;
3699                inherit: "default" 0.0;
3700                image.normal: "flip_7b.png";
3701             }
3702             description { state: "8" 0.0;
3703                inherit: "default" 0.0;
3704                image.normal: "flip_8b.png";
3705             }
3706             description { state: "9" 0.0;
3707                inherit: "default" 0.0;
3708                image.normal: "flip_9b.png";
3709             }
3710          }
3711          part { name: "sh";
3712             mouse_events: 0;
3713             description { state: "default" 0.0;
3714                rel1.to: "b";
3715                rel2.to: "b";
3716                rel2.relative: 1.0 0.0;
3717                image.normal: "flip_shad.png";
3718             }
3719             description { state: "half" 0.0;
3720                inherit: "default" 0.0;
3721                rel2.relative: 1.0 0.5;
3722             }
3723             description { state: "full" 0.0;
3724                inherit: "default" 0.0;
3725                rel2.relative: 1.0 1.0;
3726             }
3727          }
3728          part { name: "bot";
3729             mouse_events: 0;
3730             description { state: "default" 0.0;
3731                visible: 1;
3732                rel1.to: "b";
3733                rel2.to: "b";
3734                image.normal: "flip_0b.png";
3735             }
3736             description { state: "0" 0.0;
3737                inherit: "default" 0.0;
3738                visible: 1;
3739                rel2.relative: 1.0 1.0;
3740                image.normal: "flip_0b.png";
3741             }
3742             description { state: "0h" 0.0;
3743                inherit: "default" 0.0;
3744                visible: 0;
3745                rel2.relative: 1.0 0.0;
3746                image.normal: "flip_0b.png";
3747             }
3748             description { state: "1" 0.0;
3749                inherit: "default" 0.0;
3750                visible: 1;
3751                rel2.relative: 1.0 1.0;
3752                image.normal: "flip_1b.png";
3753             }
3754             description { state: "1h" 0.0;
3755                inherit: "default" 0.0;
3756                visible: 0;
3757                rel2.relative: 1.0 0.0;
3758                image.normal: "flip_1b.png";
3759             }
3760             description { state: "2" 0.0;
3761                inherit: "default" 0.0;
3762                visible: 1;
3763                rel2.relative: 1.0 1.0;
3764                image.normal: "flip_2b.png";
3765             }
3766             description { state: "2h" 0.0;
3767                inherit: "default" 0.0;
3768                visible: 0;
3769                rel2.relative: 1.0 0.0;
3770                image.normal: "flip_2b.png";
3771             }
3772             description { state: "3" 0.0;
3773                inherit: "default" 0.0;
3774                visible: 1;
3775                rel2.relative: 1.0 1.0;
3776                image.normal: "flip_3b.png";
3777             }
3778             description { state: "3h" 0.0;
3779                inherit: "default" 0.0;
3780                visible: 0;
3781                rel2.relative: 1.0 0.0;
3782                image.normal: "flip_3b.png";
3783             }
3784             description { state: "4" 0.0;
3785                inherit: "default" 0.0;
3786                visible: 1;
3787                rel2.relative: 1.0 1.0;
3788                image.normal: "flip_4b.png";
3789             }
3790             description { state: "4h" 0.0;
3791                inherit: "default" 0.0;
3792                visible: 0;
3793                rel2.relative: 1.0 0.0;
3794                image.normal: "flip_4b.png";
3795             }
3796             description { state: "5" 0.0;
3797                inherit: "default" 0.0;
3798                visible: 1;
3799                rel2.relative: 1.0 1.0;
3800                image.normal: "flip_5b.png";
3801             }
3802             description { state: "5h" 0.0;
3803                inherit: "default" 0.0;
3804                visible: 0;
3805                rel2.relative: 1.0 0.0;
3806                image.normal: "flip_5b.png";
3807             }
3808             description { state: "6" 0.0;
3809                inherit: "default" 0.0;
3810                visible: 1;
3811                rel2.relative: 1.0 1.0;
3812                image.normal: "flip_6b.png";
3813             }
3814             description { state: "6h" 0.0;
3815                inherit: "default" 0.0;
3816                visible: 0;
3817                rel2.relative: 1.0 0.0;
3818                image.normal: "flip_6b.png";
3819             }
3820             description { state: "7" 0.0;
3821                inherit: "default" 0.0;
3822                visible: 1;
3823                rel2.relative: 1.0 1.0;
3824                image.normal: "flip_7b.png";
3825             }
3826             description { state: "7h" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 0;
3829                rel2.relative: 1.0 0.0;
3830                image.normal: "flip_7b.png";
3831             }
3832             description { state: "8" 0.0;
3833                inherit: "default" 0.0;
3834                visible: 1;
3835                rel2.relative: 1.0 1.0;
3836                image.normal: "flip_8b.png";
3837             }
3838             description { state: "8h" 0.0;
3839                inherit: "default" 0.0;
3840                visible: 0;
3841                rel2.relative: 1.0 0.0;
3842                image.normal: "flip_8b.png";
3843             }
3844             description { state: "9" 0.0;
3845                inherit: "default" 0.0;
3846                visible: 1;
3847                rel2.relative: 1.0 1.0;
3848                image.normal: "flip_9b.png";
3849             }
3850             description { state: "9h" 0.0;
3851                inherit: "default" 0.0;
3852                visible: 0;
3853                rel2.relative: 1.0 0.0;
3854                image.normal: "flip_9b.png";
3855             }
3856          }
3857          part { name: "top0";
3858             mouse_events: 0;
3859             description { state: "default" 0.0;
3860                rel1.to: "t";
3861                rel2.to: "t";
3862                image.normal: "flip_0t.png";
3863             }
3864             description { state: "0" 0.0;
3865                inherit: "default" 0.0;
3866                image.normal: "flip_0t.png";
3867             }
3868             description { state: "1" 0.0;
3869                inherit: "default" 0.0;
3870                image.normal: "flip_1t.png";
3871             }
3872             description { state: "2" 0.0;
3873                inherit: "default" 0.0;
3874                image.normal: "flip_2t.png";
3875             }
3876             description { state: "3" 0.0;
3877                inherit: "default" 0.0;
3878                image.normal: "flip_3t.png";
3879             }
3880             description { state: "4" 0.0;
3881                inherit: "default" 0.0;
3882                image.normal: "flip_4t.png";
3883             }
3884             description { state: "5" 0.0;
3885                inherit: "default" 0.0;
3886                image.normal: "flip_5t.png";
3887             }
3888             description { state: "6" 0.0;
3889                inherit: "default" 0.0;
3890                image.normal: "flip_6t.png";
3891             }
3892             description { state: "7" 0.0;
3893                inherit: "default" 0.0;
3894                image.normal: "flip_7t.png";
3895             }
3896             description { state: "8" 0.0;
3897                inherit: "default" 0.0;
3898                image.normal: "flip_8t.png";
3899             }
3900             description { state: "9" 0.0;
3901                inherit: "default" 0.0;
3902                image.normal: "flip_9t.png";
3903             }
3904          }
3905          part { name: "top";
3906             mouse_events: 0;
3907             description { state: "default" 0.0;
3908                visible: 1;
3909                rel1.to: "t";
3910                rel2.to: "t";
3911                image.normal: "flip_0t.png";
3912             }
3913             description { state: "0" 0.0;
3914                inherit: "default" 0.0;
3915                visible: 1;
3916                rel1.relative: 0.0 0.0;
3917                image.normal: "flip_0t.png";
3918             }
3919             description { state: "0h" 0.0;
3920                inherit: "default" 0.0;
3921                color: 128 128 128 255;
3922                visible: 0;
3923                rel1.relative: 0.0 1.0;
3924                image.normal: "flip_0t.png";
3925             }
3926             description { state: "1" 0.0;
3927                inherit: "default" 0.0;
3928                visible: 1;
3929                rel1.relative: 0.0 0.0;
3930                image.normal: "flip_1t.png";
3931             }
3932             description { state: "1h" 0.0;
3933                inherit: "default" 0.0;
3934                color: 128 128 128 255;
3935                visible: 0;
3936                rel1.relative: 0.0 1.0;
3937                image.normal: "flip_1t.png";
3938             }
3939             description { state: "2" 0.0;
3940                inherit: "default" 0.0;
3941                visible: 1;
3942                rel1.relative: 0.0 0.0;
3943                image.normal: "flip_2t.png";
3944             }
3945             description { state: "2h" 0.0;
3946                inherit: "default" 0.0;
3947                color: 128 128 128 255;
3948                visible: 0;
3949                rel1.relative: 0.0 1.0;
3950                image.normal: "flip_2t.png";
3951             }
3952             description { state: "3" 0.0;
3953                inherit: "default" 0.0;
3954                visible: 1;
3955                rel1.relative: 0.0 0.0;
3956                image.normal: "flip_3t.png";
3957             }
3958             description { state: "3h" 0.0;
3959                inherit: "default" 0.0;
3960                color: 128 128 128 255;
3961                visible: 0;
3962                rel1.relative: 0.0 1.0;
3963                image.normal: "flip_3t.png";
3964             }
3965             description { state: "4" 0.0;
3966                inherit: "default" 0.0;
3967                visible: 1;
3968                rel1.relative: 0.0 0.0;
3969                image.normal: "flip_4t.png";
3970             }
3971             description { state: "4h" 0.0;
3972                inherit: "default" 0.0;
3973                color: 128 128 128 255;
3974                visible: 0;
3975                rel1.relative: 0.0 1.0;
3976                image.normal: "flip_4t.png";
3977             }
3978             description { state: "5" 0.0;
3979                inherit: "default" 0.0;
3980                visible: 1;
3981                rel1.relative: 0.0 0.0;
3982                image.normal: "flip_5t.png";
3983             }
3984             description { state: "5h" 0.0;
3985                inherit: "default" 0.0;
3986                color: 128 128 128 255;
3987                visible: 0;
3988                rel1.relative: 0.0 1.0;
3989                image.normal: "flip_5t.png";
3990             }
3991             description { state: "6" 0.0;
3992                inherit: "default" 0.0;
3993                visible: 1;
3994                rel1.relative: 0.0 0.0;
3995                image.normal: "flip_6t.png";
3996             }
3997             description { state: "6h" 0.0;
3998                inherit: "default" 0.0;
3999                color: 128 128 128 255;
4000                visible: 0;
4001                rel1.relative: 0.0 1.0;
4002                image.normal: "flip_6t.png";
4003             }
4004             description { state: "7" 0.0;
4005                inherit: "default" 0.0;
4006                visible: 1;
4007                rel1.relative: 0.0 0.0;
4008                image.normal: "flip_7t.png";
4009             }
4010             description { state: "7h" 0.0;
4011                inherit: "default" 0.0;
4012                color: 128 128 128 255;
4013                visible: 0;
4014                rel1.relative: 0.0 1.0;
4015                image.normal: "flip_7t.png";
4016             }
4017             description { state: "8" 0.0;
4018                inherit: "default" 0.0;
4019                visible: 1;
4020                rel1.relative: 0.0 0.0;
4021                image.normal: "flip_8t.png";
4022             }
4023             description { state: "8h" 0.0;
4024                inherit: "default" 0.0;
4025                color: 128 128 128 255;
4026                visible: 0;
4027                rel1.relative: 0.0 1.0;
4028                image.normal: "flip_8t.png";
4029             }
4030             description { state: "9" 0.0;
4031                inherit: "default" 0.0;
4032                visible: 1;
4033                rel1.relative: 0.0 0.0;
4034                image.normal: "flip_9t.png";
4035             }
4036             description { state: "9h" 0.0;
4037                inherit: "default" 0.0;
4038                color: 128 128 128 255;
4039                visible: 0;
4040                rel1.relative: 0.0 1.0;
4041                image.normal: "flip_9t.png";
4042             }
4043          }
4044          part { name: "atop";
4045             mouse_events: 0;
4046             scale: 1;
4047             description { state: "default" 0.0;
4048                visible: 0;
4049                min: 15 15;
4050                max: 15 15;
4051                align: 0.5 0.0;
4052                rel1.to: "t";
4053                rel2.to: "t";
4054                image.normal: "arrow_up.png";
4055             }
4056             description { state: "visible" 0.0;
4057                inherit: "default" 0.0;
4058                visible: 1;
4059             }
4060          }
4061          part { name: "abot";
4062             mouse_events: 0;
4063             scale: 1;
4064             description { state: "default" 0.0;
4065                visible: 0;
4066                min: 15 15;
4067                max: 15 15;
4068                align: 0.5 1.0;
4069                rel1.to: "b";
4070                rel2.to: "b";
4071                image.normal: "arrow_down.png";
4072             }
4073             description { state: "visible" 0.0;
4074                inherit: "default" 0.0;
4075                visible: 1;
4076             }
4077          }
4078       }
4079       programs {
4080          program { name: "load";
4081             signal: "load";
4082             source: "";
4083             script {
4084                set_int(v0_cur, 0);
4085                set_int(v0_pre, 0);
4086                set_int(v0_lock, 0);
4087                set_int(v0_next, -1);
4088             }
4089          }
4090          program { name: "edit_on";
4091             signal: "elm,state,edit,on";
4092             source: "elm";
4093             action: STATE_SET "visible" 0.0;
4094             target: "atop";
4095             target: "abot";
4096             target: "t";
4097             target: "b";
4098          }
4099          program { name: "edit_off";
4100             signal: "elm,state,edit,off";
4101             source: "elm";
4102             action: STATE_SET "default" 0.0;
4103             target: "atop";
4104             target: "abot";
4105             target: "t";
4106             target: "b";
4107          }
4108          program { name: "up";
4109             signal: "mouse,down,1";
4110             source: "t";
4111             action: SIGNAL_EMIT "elm,action,up,start" "";
4112          }
4113          program { name: "up,stop";
4114             signal: "mouse,up,1";
4115             source: "t";
4116             action: SIGNAL_EMIT "elm,action,up,stop" "";
4117          }
4118          program { name: "down";
4119             signal: "mouse,down,1";
4120             source: "b";
4121             action: SIGNAL_EMIT "elm,action,down,start" "";
4122          }
4123          program { name: "down,stop";
4124             signal: "mouse,up,1";
4125             source: "b";
4126             action: SIGNAL_EMIT "elm,action,down,stop" "";
4127          }
4128       }
4129    }
4130
4131 ///////////////////////////////////////////////////////////////////////////////
4132    group { name: "elm/clock/flipampm/default";
4133       images {
4134          image: "flip_base.png" COMP;
4135          image: "flip_base_shad.png" COMP;
4136          image: "flip_shad.png" COMP;
4137          image: "flip_amt.png" COMP;
4138          image: "flip_amb.png" COMP;
4139          image: "flip_pmt.png" COMP;
4140          image: "flip_pmb.png" COMP;
4141          image: "arrow_up.png" COMP;
4142          image: "arrow_down.png" COMP;
4143       }
4144       script {
4145          public v0_cur, v0_pre, v0_lock, v0_next;
4146
4147        public animator2(val, Float:pos) {
4148           new st1[11], st2[11], v;
4149
4150           v = get_int(v0_cur);
4151           snprintf(st1, 10, "%ih", v);
4152           snprintf(st2, 10, "%i", v);
4153           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4154           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4155           if (pos >= 1.0) {
4156              set_state(PART:"sh", "default", 0.0);
4157              set_int(v0_lock, 0);
4158              v = get_int(v0_next);
4159              if (v >= 0) {
4160                 set_int(v0_next, -1);
4161                 message(MSG_INT, 1, v);
4162              }
4163           }
4164        }
4165        public animator1(val, Float:pos) {
4166           new st1[11], st2[11], v;
4167
4168           v = get_int(v0_pre);
4169           snprintf(st1, 10, "%i", v);
4170           snprintf(st2, 10, "%ih", v);
4171           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4172           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4173           if (pos >= 1.0) anim(0.2, "animator2", val);
4174        }
4175        public message(Msg_Type:type, id, ...) {
4176           if ((type == MSG_INT) && (id == 1)) {
4177              new value, v, buf[11];
4178
4179              value = getarg(2);
4180              if (get_int(v0_lock) == 1) {
4181                 set_int(v0_next, value);
4182                 return;
4183              }
4184              v = get_int(v0_cur);
4185              set_int(v0_pre, v);
4186              set_int(v0_cur, value);
4187              set_int(v0_lock, 1);
4188              snprintf(buf, 10, "%i", get_int(v0_pre));
4189              set_state(PART:"bot0", buf, 0.0);
4190              snprintf(buf, 10, "%ih", get_int(v0_cur));
4191              set_state(PART:"bot", buf, 0.0);
4192              snprintf(buf, 10, "%i", get_int(v0_cur));
4193              set_state(PART:"top0", buf, 0.0);
4194              snprintf(buf, 10, "%i", get_int(v0_pre));
4195              set_state(PART:"top", buf, 0.0);
4196              set_state(PART:"sh", "default", 0.0);
4197              anim(0.2, "animator1", 1);
4198           }
4199        }
4200       }
4201       parts {
4202          part { name: "shad";
4203             mouse_events: 0;
4204             description { state: "default" 0.0;
4205                rel1.offset: -4 -4;
4206                rel1.to: "base";
4207                rel2.offset: 3 3;
4208                rel2.to: "base";
4209                image {
4210                   normal: "flip_base_shad.png";
4211                   border: 8 8 8 8;
4212                }
4213             }
4214          }
4215          part { name: "base";
4216             mouse_events: 0;
4217             scale: 1;
4218             description { state: "default" 0.0;
4219                rel1.offset: 4 4;
4220                rel2.offset: -5 -5;
4221                // FIXME 48x96 should be the native pixel design, right now
4222                // its 80x160. fix int he artwork later
4223                aspect: 0.5 0.5;
4224                min: 24 48;
4225 //               max: 24 48;
4226                image.normal: "flip_base.png";
4227             }
4228          }
4229          part { name: "b";
4230             type: RECT;
4231             mouse_events: 1;
4232             description { state: "default" 0.0;
4233                rel1.to: "base";
4234                rel1.relative: 0.0 0.5;
4235                rel2.to: "base";
4236                color: 0 0 0 0;
4237             }
4238          }
4239          part { name: "t";
4240             type: RECT;
4241             mouse_events: 1;
4242             description { state: "default" 0.0;
4243                rel1.to: "base";
4244                rel2.to: "base";
4245                rel2.relative: 1.0 0.5;
4246                color: 0 0 0 0;
4247             }
4248          }
4249          part { name: "bot0";
4250             mouse_events: 0;
4251             description { state: "default" 0.0;
4252                rel1.to: "b";
4253                rel2.to: "b";
4254                image.normal: "flip_amb.png";
4255             }
4256             description { state: "0" 0.0;
4257                inherit: "default" 0.0;
4258                image.normal: "flip_amb.png";
4259             }
4260             description { state: "1" 0.0;
4261                inherit: "default" 0.0;
4262                image.normal: "flip_pmb.png";
4263             }
4264          }
4265          part { name: "sh";
4266             mouse_events: 0;
4267             description { state: "default" 0.0;
4268                rel1.to: "b";
4269                rel2.to: "b";
4270                rel2.relative: 1.0 0.0;
4271                image.normal: "flip_shad.png";
4272             }
4273             description { state: "half" 0.0;
4274                inherit: "default" 0.0;
4275                rel2.relative: 1.0 0.5;
4276             }
4277             description { state: "full" 0.0;
4278                inherit: "default" 0.0;
4279                rel2.relative: 1.0 1.0;
4280             }
4281          }
4282          part { name: "bot";
4283             mouse_events: 0;
4284             description { state: "default" 0.0;
4285                visible: 1;
4286                rel1.to: "b";
4287                rel2.to: "b";
4288                image.normal: "flip_amb.png";
4289             }
4290             description { state: "0" 0.0;
4291                inherit: "default" 0.0;
4292                visible: 1;
4293                rel2.relative: 1.0 1.0;
4294                image.normal: "flip_amb.png";
4295             }
4296             description { state: "0h" 0.0;
4297                inherit: "default" 0.0;
4298                visible: 0;
4299                rel2.relative: 1.0 0.0;
4300                image.normal: "flip_amb.png";
4301             }
4302             description { state: "1" 0.0;
4303                inherit: "default" 0.0;
4304                visible: 1;
4305                rel2.relative: 1.0 1.0;
4306                image.normal: "flip_pmb.png";
4307             }
4308             description { state: "1h" 0.0;
4309                inherit: "default" 0.0;
4310                visible: 0;
4311                rel2.relative: 1.0 0.0;
4312                image.normal: "flip_pmb.png";
4313             }
4314          }
4315          part { name: "top0";
4316             mouse_events: 0;
4317             description { state: "default" 0.0;
4318                rel1.to: "t";
4319                rel2.to: "t";
4320                image.normal: "flip_amt.png";
4321             }
4322             description { state: "0" 0.0;
4323                inherit: "default" 0.0;
4324                image.normal: "flip_amt.png";
4325             }
4326             description { state: "1" 0.0;
4327                inherit: "default" 0.0;
4328                image.normal: "flip_pmt.png";
4329             }
4330          }
4331          part { name: "top";
4332             mouse_events: 0;
4333             description { state: "default" 0.0;
4334                visible: 1;
4335                rel1.to: "t";
4336                rel2.to: "t";
4337                image.normal: "flip_amt.png";
4338             }
4339             description { state: "0" 0.0;
4340                inherit: "default" 0.0;
4341                visible: 1;
4342                rel1.relative: 0.0 0.0;
4343                image.normal: "flip_amt.png";
4344             }
4345             description { state: "0h" 0.0;
4346                inherit: "default" 0.0;
4347                color: 128 128 128 255;
4348                visible: 0;
4349                rel1.relative: 0.0 1.0;
4350                image.normal: "flip_amt.png";
4351             }
4352             description { state: "1" 0.0;
4353                inherit: "default" 0.0;
4354                visible: 1;
4355                rel1.relative: 0.0 0.0;
4356                image.normal: "flip_pmt.png";
4357             }
4358             description { state: "1h" 0.0;
4359                inherit: "default" 0.0;
4360                color: 128 128 128 255;
4361                visible: 0;
4362                rel1.relative: 0.0 1.0;
4363                image.normal: "flip_pmt.png";
4364             }
4365          }
4366          part { name: "atop";
4367             mouse_events: 0;
4368             scale: 1;
4369             description { state: "default" 0.0;
4370                visible: 0;
4371                min: 15 15;
4372                max: 15 15;
4373                align: 0.5 0.0;
4374                rel1.to: "t";
4375                rel2.to: "t";
4376                image.normal: "arrow_up.png";
4377             }
4378             description { state: "visible" 0.0;
4379                inherit: "default" 0.0;
4380                visible: 1;
4381             }
4382          }
4383          part { name: "abot";
4384             mouse_events: 0;
4385             scale: 1;
4386             description { state: "default" 0.0;
4387                visible: 0;
4388                min: 15 15;
4389                max: 15 15;
4390                align: 0.5 1.0;
4391                rel1.to: "b";
4392                rel2.to: "b";
4393                image.normal: "arrow_down.png";
4394             }
4395             description { state: "visible" 0.0;
4396                inherit: "default" 0.0;
4397                visible: 1;
4398             }
4399          }
4400       }
4401       programs {
4402          program { name: "load";
4403             signal: "load";
4404             source: "";
4405             script {
4406                set_int(v0_cur, 0);
4407                set_int(v0_pre, 0);
4408                set_int(v0_lock, 0);
4409                set_int(v0_next, -1);
4410             }
4411          }
4412          program { name: "edit_on";
4413             signal: "elm,state,edit,on";
4414             source: "elm";
4415             action: STATE_SET "visible" 0.0;
4416             target: "atop";
4417             target: "abot";
4418          }
4419 /*
4420          program { name: "edit_off";
4421             signal: "elm,state,edit,off";
4422             source: "elm";
4423             action: STATE_SET "default" 0.0;
4424             target: "atop";
4425             target: "abot";
4426          }
4427  */
4428          program { name: "up";
4429             signal: "mouse,down,1";
4430             source: "t";
4431             action: SIGNAL_EMIT "elm,action,up,start" "";
4432          }
4433          program { name: "up,stop";
4434             signal: "mouse,up,1";
4435             source: "t";
4436             action: SIGNAL_EMIT "elm,action,up,stop" "";
4437          }
4438          program { name: "down";
4439             signal: "mouse,down,1";
4440             source: "b";
4441             action: SIGNAL_EMIT "elm,action,down,start" "";
4442          }
4443          program { name: "down,stop";
4444             signal: "mouse,up,1";
4445             source: "b";
4446             action: SIGNAL_EMIT "elm,action,down,stop" "";
4447          }
4448       }
4449    }
4450
4451    ///////////////////////////////////////////////////////////////////////////////
4452    group { name: "elm/menu/item/default";
4453        images {
4454            image: "bt_base1.png" COMP;
4455            image: "bt_base2.png" COMP;
4456            image: "bt_hilight.png" COMP;
4457            image: "bt_shine.png" COMP;
4458            image: "bt_glow.png" COMP;
4459            image: "bt_dis_base.png" COMP;
4460            image: "bt_dis_hilight.png" COMP;
4461        }
4462        script {
4463             public menu_text_visible; //0:hide (default), 1:visible
4464             public menu_disable; //0:enable, 1:disable
4465        }
4466        parts {
4467            part { name: "item_image";
4468                mouse_events: 1;
4469                description { state: "default" 0.0;
4470                    color: 255 255 255 0;
4471                    image {
4472                        normal: "bt_base2.png";
4473                        border: 7 7 7 7;
4474                    }
4475                    image.middle: SOLID;
4476                }
4477                description { state: "visible" 0.0;
4478                    inherit: "default" 0.0;
4479                    color: 255 255 255 255;
4480                }
4481                description { state: "clicked" 0.0;
4482                    inherit: "default" 0.0;
4483                    inherit: "visible" 0.0;
4484                    image.normal: "bt_base1.png";
4485                    image.middle: SOLID;
4486                }
4487                description { state: "disabled" 0.0;
4488                    inherit:  "default" 0.0;
4489                }
4490            }
4491            part { name: "item_image_disabled";
4492                mouse_events: 1;
4493                description { state: "default" 0.0;
4494                    color: 255 255 255 0;
4495                    image {
4496                        normal: "bt_dis_base.png";
4497                        border: 4 4 4 4;
4498                    }
4499                    image.middle: SOLID;
4500                }
4501                description { state: "disabled" 0.0;
4502                    inherit:  "default" 0.0;
4503                    color: 255 255 255 255;
4504                }
4505            }
4506            part { name: "elm.swallow.content";
4507                type: SWALLOW;
4508                description { state: "default" 0.0;
4509                    fixed: 1 0;
4510                    visible: 1;
4511                    align: 0.0 0.5;
4512                    rel1.offset: 4 4;
4513                    rel2.offset: 3 -5;
4514                    rel2.relative: 0.0 1.0;
4515                    aspect: 1.0 1.0;
4516                    aspect_preference: VERTICAL;
4517                    rel2.offset: 4 -5;
4518                }
4519            }
4520            part {
4521                name:          "elm.text";
4522                type:          TEXT;
4523                mouse_events:  0;
4524                scale: 1;
4525                description { state: "default" 0.0;
4526                    visible: 0;
4527                    rel1.to_x: "elm.swallow.content";
4528                    rel1.relative: 1.0 0.0;
4529                    rel1.offset: 5 7;
4530                    rel2.offset: -10 -8;
4531                    color: 0 0 0 255;
4532                    text {
4533                        font:     "Sans,Edje-Vera";
4534                        size:     10;
4535                        min:      1 1;
4536                        align:    0.0 0.5;
4537                        text_class: "menu_item";
4538                    }
4539                }
4540                description { state: "visible" 0.0;
4541                    inherit: "default" 0.0;
4542                    visible: 1;
4543                    text.min: 1 1;
4544                }
4545                description { state: "selected" 0.0;
4546                    inherit: "default" 0.0;
4547                    inherit: "visible" 0.0;
4548                    color: 254 254 254 255;
4549                }
4550                description { state: "disabled" 0.0;
4551                    inherit: "default" 0.0;
4552                    color: 0 0 0 128;
4553                }
4554                description { state: "disabled_visible" 0.0;
4555                    inherit: "default" 0.0;
4556                    inherit: "visible" 0.0;
4557                    color: 0 0 0 128;
4558                }
4559            }
4560            part {          name: "over1";
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_hilight.png";
4567                        border: 7 7 7 0;
4568                    }
4569                }
4570                description { state: "visible" 0.0;
4571                    inherit:  "default" 0.0;
4572                    color: 255 255 255 255;
4573                }
4574                description { state: "disabled" 0.0;
4575                    inherit:  "default" 0.0;
4576                }
4577            }
4578            part {          name: "over_disabled";
4579                mouse_events: 0;
4580                description { state: "default" 0.0;
4581                    color: 255 255 255 0;
4582                    rel2.relative: 1.0 0.5;
4583                    image {
4584                        normal: "bt_dis_hilight.png";
4585                        border: 4 4 4 0;
4586                    }
4587                }
4588                description { state: "disabled" 0.0;
4589                    inherit:  "default" 0.0;
4590                    color: 255 255 255 255;
4591                }
4592            }
4593            part { name: "over2";
4594                mouse_events: 1;
4595                repeat_events: 1;
4596                ignore_flags: ON_HOLD;
4597                description { state: "default" 0.0;
4598                    image {
4599                        normal: "bt_shine.png";
4600                        border: 7 7 7 7;
4601                    }
4602                }
4603                description { state: "disabled" 0.0;
4604                    inherit:  "default" 0.0;
4605                    visible: 0;
4606                }
4607            }
4608            part { name: "over3";
4609                mouse_events: 1;
4610                repeat_events: 1;
4611                description { state: "default" 0.0;
4612                    color: 255 255 255 0;
4613                    image {
4614                        normal: "bt_glow.png";
4615                        border: 12 12 12 12;
4616                    }
4617                    fill.smooth : 0;
4618                }
4619                description { state: "clicked" 0.0;
4620                    inherit:  "default" 0.0;
4621                    visible: 1;
4622                    color: 255 255 255 255;
4623                }
4624            }
4625            part { name: "disabler";
4626                type: RECT;
4627                description { state: "default" 0.0;
4628                    color: 0 0 0 0;
4629                    visible: 0;
4630                }
4631                description { state: "disabled" 0.0;
4632                    inherit: "default" 0.0;
4633                    visible: 1;
4634                }
4635            }
4636        }
4637        programs {
4638           //
4639            program {
4640                name:   "item_mouse_in";
4641                signal: "mouse,in";
4642                source: "over2";
4643                action: SIGNAL_EMIT "elm,action,activate" "";
4644                after: "item_mouse_in_2";
4645                after: "item_mouse_in_3";
4646            }
4647            program {
4648                name:   "item_mouse_in_2";
4649                transition: DECELERATE 0.5;
4650                script {
4651                    new v, d;
4652                    v = get_int(menu_text_visible);
4653                    d = get_int(menu_disable);
4654
4655                    if (v==1 && d==0)
4656                         run_program(PROGRAM:"selected_text");
4657                }
4658            }
4659            program {
4660                name:   "item_mouse_in_3";
4661                action : STATE_SET "visible" 0.0;
4662                target: "item_image";
4663                target: "over1";
4664                transition: DECELERATE 0.5;
4665            }
4666            program {
4667                name:   "selected_text";
4668                action: STATE_SET "selected" 0.0;
4669                target: "elm.text";
4670                transition: DECELERATE 0.5;
4671            }
4672            //
4673
4674            //
4675            program {
4676                name:   "item_mouse_out";
4677                signal: "mouse,out";
4678                source: "over2";
4679                after: "item_mouse_out_2";
4680                after: "item_mouse_out_3";
4681            }
4682            program {
4683                name:   "item_mouse_out_2";
4684                transition: DECELERATE 0.5;
4685                script {
4686                    new v, d;
4687                    v = get_int(menu_text_visible);
4688                    d = get_int(menu_disable);
4689
4690                    if (v==1 && d==0)
4691                         run_program(PROGRAM:"visible_text");
4692                }
4693            }
4694            program {
4695                name:   "item_mouse_out_3";
4696                action: STATE_SET "default" 0.0;
4697                target: "item_image";
4698                target: "over1";
4699                transition: DECELERATE 0.5;
4700            }
4701            program {
4702                name:   "visible_text";
4703                action: STATE_SET "visible" 0.0;
4704                target: "elm.text";
4705                transition: DECELERATE 0.5;
4706            }
4707            //
4708
4709            program {
4710                name:   "item_unclick";
4711                signal: "mouse,up,1";
4712                source: "over2";
4713                action: STATE_SET "visible" 0.0;
4714                target: "item_image";
4715            }
4716            program {
4717                name:   "item_click2";
4718                signal: "mouse,down,1";
4719                source: "over3";
4720                action: STATE_SET "clicked" 0.0;
4721                target: "over3";
4722            }
4723            program {
4724                name:   "item_unclick2";
4725                signal: "mouse,up,1";
4726                source: "over3";
4727                action: STATE_SET "default" 0.0;
4728                transition: DECELERATE 0.5;
4729                target: "over3";
4730            }
4731            program {
4732                name:   "item_unclick3";
4733                signal: "mouse,up,1";
4734                source: "over2";
4735                action: SIGNAL_EMIT "elm,action,click" "";
4736            }
4737            program { name: "text_show";
4738                signal: "elm,state,text,visible";
4739                source: "elm";
4740                script {
4741                    set_int(menu_text_visible, 1);
4742                    set_state(PART:"elm.text", "visible", 0.0);
4743                }
4744            }
4745            program { name: "text_hide";
4746                signal: "elm,state,text,hidden";
4747                source: "elm";
4748                script {
4749                    set_int(menu_text_visible, 0);
4750                    set_state(PART:"elm.text", "default", 0.0);
4751                }
4752            }
4753            program { name: "disable";
4754                signal: "elm,state,disabled";
4755                source: "elm";
4756                action: STATE_SET "disabled" 0.0;
4757                target: "item_image";
4758                target: "item_image_disabled";
4759                target: "over1";
4760                target: "over2";
4761                target: "over_disabled";
4762                target: "disabler";
4763                after: "disable_text";
4764            }
4765            program { name: "disable_text";
4766                script {
4767                    new v;
4768                    v = get_int(menu_text_visible);
4769                    if (v==1)
4770                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4771                    else if (v==0)
4772                     set_state(PART:"elm.text", "disabled", 0.0);
4773                    set_int(menu_disable, 1);
4774                }
4775            }
4776            program { name: "enable";
4777                signal: "elm,state,enabled";
4778                source: "elm";
4779                action: STATE_SET "default" 0.0;
4780                target: "item_image";
4781                target: "item_image_disabled";
4782                target: "over1";
4783                target: "over2";
4784                target: "over_disabled";
4785                target: "disabler";
4786                after: "enable_text";
4787            }
4788            program { name: "enable_text";
4789                script {
4790                    new v;
4791                    v = get_int(menu_text_visible);
4792                    if (v==1)
4793                     set_state(PART:"elm.text", "visible", 0.0);
4794                    else  if (v==0)
4795                     set_state(PART:"elm.text", "default", 0.0);
4796                    set_int(menu_disable, 0);
4797                }
4798            }
4799        }
4800    }
4801
4802    group { name: "elm/menu/item_with_submenu/default";
4803        images {
4804            image: "bt_base1.png" COMP;
4805            image: "bt_base2.png" COMP;
4806            image: "bt_hilight.png" COMP;
4807            image: "bt_shine.png" COMP;
4808            image: "bt_glow.png" COMP;
4809            image: "bt_dis_base.png" COMP;
4810            image: "bt_dis_hilight.png" COMP;
4811            image: "arrow_right.png" COMP;
4812            image: "arrow_left.png" COMP;
4813        }
4814        script {
4815             public menu_text_visible; //0:hide (default), 1:visible
4816             public menu_disable; //0:enable, 1:disable
4817        }
4818        parts {
4819            part { name: "item_image";
4820                mouse_events: 1;
4821                description { state: "default" 0.0;
4822                    color: 255 255 255 0;
4823                    image {
4824                        normal: "bt_base2.png";
4825                        border: 7 7 7 7;
4826                    }
4827                    image.middle: SOLID;
4828                }
4829                description { state: "visible" 0.0;
4830                    inherit: "default" 0.0;
4831                    color: 255 255 255 255;
4832                }
4833                description { state: "clicked" 0.0;
4834                    inherit: "default" 0.0;
4835                    inherit: "visible" 0.0;
4836                    image.normal: "bt_base1.png";
4837                    image.middle: SOLID;
4838                }
4839                description { state: "disabled" 0.0;
4840                    inherit:  "default" 0.0;
4841                }
4842            }
4843            part { name: "item_image_disabled";
4844                mouse_events: 1;
4845                description { state: "default" 0.0;
4846                    color: 255 255 255 0;
4847                    image {
4848                        normal: "bt_dis_base.png";
4849                        border: 4 4 4 4;
4850                    }
4851                    image.middle: SOLID;
4852                }
4853                description { state: "disabled" 0.0;
4854                    inherit:  "default" 0.0;
4855                    color: 255 255 255 255;
4856                }
4857            }
4858            part { name: "arrow";
4859                mouse_events: 1;
4860                description { state: "default" 0.0;
4861                    color: 255 255 255 255;
4862                    align: 1.0 0.5;
4863                    aspect: 1 1;
4864                    aspect_preference: BOTH;
4865                    image {
4866                        normal: "arrow_right.png";
4867                    }
4868                }
4869                description { state: "rtl" 0.0;
4870                   inherit: "default" 0.0;
4871                   image.normal: "arrow_left.png";
4872                }
4873            }
4874            part { name: "elm.swallow.content";
4875                type: SWALLOW;
4876                description { state: "default" 0.0;
4877                    fixed: 1 0;
4878                    visible: 1;
4879                    align: 0.0 0.5;
4880                    rel1.offset: 4 4;
4881                    rel2.offset: 3 -5;
4882                    rel2.relative: 0.0 1.0;
4883                    aspect: 1.0 1.0;
4884                    aspect_preference: VERTICAL;
4885                    rel2.offset: 4 -5;
4886                }
4887            }
4888            part {
4889                name:          "elm.text";
4890                type:          TEXT;
4891                mouse_events:  0;
4892                scale: 1;
4893                description { state: "default" 0.0;
4894                    visible: 0;
4895                    rel1.to_x: "elm.swallow.content";
4896                    rel1.relative: 1.0 0.0;
4897                    rel1.offset: 5 7;
4898                    rel2.offset: -10 -8;
4899                    color: 0 0 0 255;
4900                    text {
4901                        font:     "Sans,Edje-Vera";
4902                        size:     10;
4903                        min:      1 1;
4904                        align:    0.0 0.5;
4905                        text_class: "menu_item";
4906                    }
4907                }
4908                description { state: "visible" 0.0;
4909                    inherit: "default" 0.0;
4910                    visible: 1;
4911                    text.min: 1 1;
4912                }
4913                description { state: "selected" 0.0;
4914                    inherit: "default" 0.0;
4915                    inherit: "visible" 0.0;
4916                    color: 254 254 254 255;
4917                }
4918                description { state: "disabled" 0.0;
4919                    inherit: "default" 0.0;
4920                    color: 0 0 0 128;
4921                }
4922                description { state: "disabled_visible" 0.0;
4923                    inherit: "default" 0.0;
4924                    inherit: "visible" 0.0;
4925                    color: 0 0 0 128;
4926                }
4927            }
4928            part {          name: "over1";
4929                mouse_events: 0;
4930                description { state: "default" 0.0;
4931                    color: 255 255 255 0;
4932                    rel2.relative: 1.0 0.5;
4933                    image {
4934                        normal: "bt_hilight.png";
4935                        border: 7 7 7 0;
4936                    }
4937                }
4938                description { state: "visible" 0.0;
4939                    inherit:  "default" 0.0;
4940                    color: 255 255 255 255;
4941                }
4942                description { state: "disabled" 0.0;
4943                    inherit:  "default" 0.0;
4944                }
4945            }
4946            part { name: "over_disabled";
4947                mouse_events: 0;
4948                description { state: "default" 0.0;
4949                    color: 255 255 255 0;
4950                    rel2.relative: 1.0 0.5;
4951                    image {
4952                        normal: "bt_dis_hilight.png";
4953                        border: 4 4 4 0;
4954                    }
4955                }
4956                description { state: "disabled" 0.0;
4957                    inherit:  "default" 0.0;
4958                    color: 255 255 255 255;
4959                }
4960            }
4961            part { name: "over2";
4962                mouse_events: 1;
4963                repeat_events: 1;
4964                ignore_flags: ON_HOLD;
4965                description { state: "default" 0.0;
4966                    image {
4967                        normal: "bt_shine.png";
4968                        border: 7 7 7 7;
4969                    }
4970                }
4971                description { state: "disabled" 0.0;
4972                    inherit:  "default" 0.0;
4973                    visible: 0;
4974                }
4975            }
4976            part { name: "over3";
4977                mouse_events: 1;
4978                repeat_events: 1;
4979                description { state: "default" 0.0;
4980                    color: 255 255 255 0;
4981                    image {
4982                        normal: "bt_glow.png";
4983                        border: 12 12 12 12;
4984                    }
4985                    fill.smooth : 0;
4986                }
4987                description { state: "clicked" 0.0;
4988                    inherit:  "default" 0.0;
4989                    visible: 1;
4990                    color: 255 255 255 255;
4991                }
4992            }
4993            part { name: "disabler";
4994                type: RECT;
4995                description { state: "default" 0.0;
4996                    color: 0 0 0 0;
4997                    visible: 0;
4998                }
4999                description { state: "disabled" 0.0;
5000                    inherit: "default" 0.0;
5001                    visible: 1;
5002                }
5003            }
5004        }
5005        programs {
5006            //
5007            program {
5008                name:   "item_mouse_in";
5009                signal: "mouse,in";
5010                source: "over2";
5011                action: SIGNAL_EMIT "elm,action,activate" "";
5012                after: "item_mouse_in_2";
5013                after: "item_mouse_in_3";
5014            }
5015            program {
5016                name:   "item_mouse_in_2";
5017                transition: DECELERATE 0.5;
5018                script {
5019                    new v, d;
5020                    v = get_int(menu_text_visible);
5021                    d = get_int(menu_disable);
5022
5023                    if (v==1 && d==0)
5024                         run_program(PROGRAM:"selected_text");
5025                }
5026            }
5027            program {
5028                name:   "item_mouse_in_3";
5029                action : STATE_SET "visible" 0.0;
5030                target: "item_image";
5031                target: "over1";
5032                transition: DECELERATE 0.5;
5033            }
5034            program {
5035                name:   "selected_text";
5036                action: STATE_SET "selected" 0.0;
5037                target: "elm.text";
5038                transition: DECELERATE 0.5;
5039            }
5040            //
5041
5042            //
5043            program {
5044                name:   "item_mouse_out";
5045                signal: "mouse,out";
5046                source: "over2";
5047                after: "item_mouse_out_2";
5048                after: "item_mouse_out_3";
5049            }
5050            program {
5051                name:   "item_mouse_out_2";
5052                transition: DECELERATE 0.5;
5053                script {
5054                    new v, d;
5055                    v = get_int(menu_text_visible);
5056                    d = get_int(menu_disable);
5057
5058                    if (v==1 && d==0)
5059                         run_program(PROGRAM:"visible_text");
5060                }
5061            }
5062            program {
5063                name:   "item_mouse_out_3";
5064                action: STATE_SET "default" 0.0;
5065                target: "item_image";
5066                target: "over1";
5067                transition: DECELERATE 0.5;
5068            }
5069            program {
5070                name:   "visible_text";
5071                action: STATE_SET "visible" 0.0;
5072                target: "elm.text";
5073                transition: DECELERATE 0.5;
5074            }
5075            //
5076
5077            program {
5078                name:   "item_unclick";
5079                signal: "mouse,up,1";
5080                source: "over2";
5081                action: STATE_SET "visible" 0.0;
5082                target: "item_image";
5083            }
5084            program {
5085                name:   "item_click2";
5086                signal: "mouse,down,1";
5087                source: "over3";
5088                action: STATE_SET "clicked" 0.0;
5089                target: "over3";
5090            }
5091            program {
5092                name:   "item_unclick2";
5093                signal: "mouse,up,1";
5094                source: "over3";
5095                action: STATE_SET "default" 0.0;
5096                transition: DECELERATE 0.5;
5097                target: "over3";
5098            }
5099            program {
5100                name:   "item_unclick3";
5101                signal: "mouse,up,1";
5102                source: "over2";
5103                action: SIGNAL_EMIT "elm,action,click" "";
5104            }
5105            program {
5106                name:   "menu_open";
5107                signal: "mouse,in";
5108                source: "over2";
5109                action: SIGNAL_EMIT "elm,action,open" "";
5110            }
5111             program { name: "text_show";
5112                signal: "elm,state,text,visible";
5113                source: "elm";
5114                script {
5115                    set_int(menu_text_visible, 1);
5116                    set_state(PART:"elm.text", "visible", 0.0);
5117                }
5118            }
5119            program { name: "text_hide";
5120                signal: "elm,state,text,hidden";
5121                source: "elm";
5122                script {
5123                    set_int(menu_text_visible, 0);
5124                    set_state(PART:"elm.text", "default", 0.0);
5125                }
5126            }
5127            program { name: "disable";
5128                signal: "elm,state,disabled";
5129                source: "elm";
5130                action: STATE_SET "disabled" 0.0;
5131                target: "item_image";
5132                target: "item_image_disabled";
5133                target: "over1";
5134                target: "over2";
5135                target: "over_disabled";
5136                target: "disabler";
5137                after: "disable_text";
5138            }
5139            program { name: "disable_text";
5140                script {
5141                    new st[31];
5142                    new Float:vl;
5143                    get_state(PART:"elm.text", st, 30, vl);
5144                    if (!strcmp(st, "visible"))
5145                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5146                    else if (!strcmp(st, "default"))
5147                    set_state(PART:"elm.text", "disabled", 0.0);
5148                }
5149            }
5150            program { name: "enable";
5151                signal: "elm,state,enabled";
5152                source: "elm";
5153                action: STATE_SET "default" 0.0;
5154                target: "item_image";
5155                target: "item_image_disabled";
5156                target: "over1";
5157                target: "over2";
5158                target: "over_disabled";
5159                target: "disabler";
5160                after: "enable_text";
5161            }
5162            program { name: "enable_text";
5163                script {
5164                    new v;
5165                    v = get_int(menu_text_visible);
5166                    if (v==1)
5167                     set_state(PART:"elm.text", "visible", 0.0);
5168                    else  if (v==0)
5169                     set_state(PART:"elm.text", "default", 0.0);
5170                    set_int(menu_disable, 0);
5171                }
5172            }
5173            program { name: "to_rtl";
5174                signal: "edje,state,rtl";
5175                source: "edje";
5176                action: STATE_SET "rtl" 0.0;
5177                target: "arrow";
5178            }
5179            program { name: "to_ltr";
5180                signal: "edje,state,ltr";
5181                source: "edje";
5182                action: STATE_SET "default" 0.0;
5183                target: "arrow";
5184            }
5185        }
5186    }
5187
5188    group { name: "elm/menu/separator/default";
5189        images {
5190            image: "separator_h.png" COMP;
5191        }
5192        parts {
5193            part { name: "separator"; // separator group
5194                description { state: "default" 0.0;
5195                    min: 2 2;
5196                    rel1.offset: 4 4;
5197                    rel2.offset: -5 -5;
5198                    image {
5199                        normal: "separator_h.png";
5200                    }
5201                    fill {
5202                        smooth: 0;
5203                    }
5204                }
5205            }
5206        }
5207    }
5208 ///////////////////////////////////////////////////////////////////////////////
5209    group { name: "elm/clock/base-all/default";
5210       parts {
5211          part { name: "d0";
5212             type: SWALLOW;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.0000000 0.0;
5215                rel2.relative: 0.1250000 1.0;
5216             }
5217          }
5218          part { name: "d1";
5219             type: SWALLOW;
5220             description { state: "default" 0.0;
5221                rel1.relative: 0.1250000 0.0;
5222                rel2.relative: 0.2500000 1.0;
5223             }
5224          }
5225          part { name: "c0";
5226             type: SWALLOW;
5227             type: TEXT;
5228             mouse_events:  0;
5229             scale: 1;
5230             description { state: "default" 0.0;
5231                rel1.relative: 0.2500000 0.0;
5232                rel2.relative: 0.3125000 1.0;
5233                color: 0 0 0 255;
5234                text {
5235                   font:     "Sans,Edje-Vera";
5236                   text:     ":";
5237                   size:     10;
5238                   min:      1 1;
5239                   align:    0.5 0.5;
5240                }
5241             }
5242          }
5243          part { name: "d2";
5244             type: SWALLOW;
5245             description { state: "default" 0.0;
5246                rel1.relative: 0.3125000 0.0;
5247                rel2.relative: 0.4375000 1.0;
5248             }
5249          }
5250          part { name: "d3";
5251             type: SWALLOW;
5252             description { state: "default" 0.0;
5253                rel1.relative: 0.4375000 0.0;
5254                rel2.relative: 0.5625000 1.0;
5255             }
5256          }
5257          // (if seconds)
5258          part { name: "c1";
5259             type: SWALLOW;
5260             type: TEXT;
5261             mouse_events:  0;
5262             scale: 1;
5263             description { state: "default" 0.0;
5264                rel1.relative: 0.5625000 0.0;
5265                rel2.relative: 0.6250000 1.0;
5266                color: 0 0 0 255;
5267                text {
5268                   font:     "Sans,Edje-Vera";
5269                   text:     ":";
5270                   size:     10;
5271                   min:      1 1;
5272                   align:    0.5 0.5;
5273                }
5274             }
5275          }
5276          // (if seconds)
5277          part { name: "d4";
5278             type: SWALLOW;
5279             description { state: "default" 0.0;
5280                rel1.relative: 0.6250000 0.0;
5281                rel2.relative: 0.7500000 1.0;
5282             }
5283          }
5284          // (if seconds)
5285          part { name: "d5";
5286             type: SWALLOW;
5287             description { state: "default" 0.0;
5288                rel1.relative: 0.7500000 0.0;
5289                rel2.relative: 0.8750000 1.0;
5290             }
5291          }
5292          // (if am_pm)
5293          part { name: "ampm";
5294             type: SWALLOW;
5295             description { state: "default" 0.0;
5296                rel1.relative: 0.8750000 0.0;
5297                rel2.relative: 1.0 1.0;
5298             }
5299          }
5300       }
5301    }
5302
5303 ///////////////////////////////////////////////////////////////////////////////
5304    group { name: "elm/clock/base-seconds/default";
5305       parts {
5306          part { name: "d0";
5307             type: SWALLOW;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.000000000 0.0;
5310                rel2.relative: 0.142857143 1.0;
5311             }
5312          }
5313          part { name: "d1";
5314             type: SWALLOW;
5315             description { state: "default" 0.0;
5316                rel1.relative: 0.142857143 0.0;
5317                rel2.relative: 0.285714286 1.0;
5318             }
5319          }
5320          part { name: "c0";
5321             type: SWALLOW;
5322             type: TEXT;
5323             mouse_events:  0;
5324             scale: 1;
5325             description { state: "default" 0.0;
5326                rel1.relative: 0.285714286 0.0;
5327                rel2.relative: 0.357142857 1.0;
5328                color: 0 0 0 255;
5329                text {
5330                   font:     "Sans,Edje-Vera";
5331                   text:     ":";
5332                   size:     10;
5333                   min:      1 1;
5334                   align:    0.5 0.5;
5335                }
5336             }
5337          }
5338          part { name: "d2";
5339             type: SWALLOW;
5340             description { state: "default" 0.0;
5341                rel1.relative: 0.357142857 0.0;
5342                rel2.relative: 0.500000000 1.0;
5343             }
5344          }
5345          part { name: "d3";
5346             type: SWALLOW;
5347             description { state: "default" 0.0;
5348                rel1.relative: 0.500000000 0.0;
5349                rel2.relative: 0.642857143 1.0;
5350             }
5351          }
5352          // (if seconds)
5353          part { name: "c1";
5354             type: SWALLOW;
5355             type: TEXT;
5356             mouse_events:  0;
5357             scale: 1;
5358             description { state: "default" 0.0;
5359                rel1.relative: 0.642857143 0.0;
5360                rel2.relative: 0.714285714 1.0;
5361                color: 0 0 0 255;
5362                text {
5363                   font:     "Sans,Edje-Vera";
5364                   text:     ":";
5365                   size:     10;
5366                   min:      1 1;
5367                   align:    0.5 0.5;
5368                }
5369             }
5370          }
5371          // (if seconds)
5372          part { name: "d4";
5373             type: SWALLOW;
5374             description { state: "default" 0.0;
5375                rel1.relative: 0.714285714 0.0;
5376                rel2.relative: 0.857142857 1.0;
5377             }
5378          }
5379          // (if seconds)
5380          part { name: "d5";
5381             type: SWALLOW;
5382             description { state: "default" 0.0;
5383                rel1.relative: 0.857142857 0.0;
5384                rel2.relative: 1.000000000 1.0;
5385             }
5386          }
5387       }
5388    }
5389
5390 ///////////////////////////////////////////////////////////////////////////////
5391    group { name: "elm/clock/base-am_pm/default";
5392       parts {
5393          part { name: "d0";
5394             type: SWALLOW;
5395             description { state: "default" 0.0;
5396                rel1.relative: 0.000000000 0.0;
5397                rel2.relative: 0.181818182 1.0;
5398             }
5399          }
5400          part { name: "d1";
5401             type: SWALLOW;
5402             description { state: "default" 0.0;
5403                rel1.relative: 0.181818182 0.0;
5404                rel2.relative: 0.363636364 1.0;
5405             }
5406          }
5407          part { name: "c0";
5408             type: SWALLOW;
5409             type: TEXT;
5410             mouse_events:  0;
5411             scale: 1;
5412             description { state: "default" 0.0;
5413                rel1.relative: 0.363636364 0.0;
5414                rel2.relative: 0.454545455 1.0;
5415                color: 0 0 0 255;
5416                text {
5417                   font:     "Sans,Edje-Vera";
5418                   text:     ":";
5419                   size:     10;
5420                   min:      1 1;
5421                   align:    0.5 0.5;
5422                }
5423             }
5424          }
5425          part { name: "d2";
5426             type: SWALLOW;
5427             description { state: "default" 0.0;
5428                rel1.relative: 0.454545455 0.0;
5429                rel2.relative: 0.636363636 1.0;
5430             }
5431          }
5432          part { name: "d3";
5433             type: SWALLOW;
5434             description { state: "default" 0.0;
5435                rel1.relative: 0.636363636 0.0;
5436                rel2.relative: 0.818181818 1.0;
5437             }
5438          }
5439          // (if am_pm)
5440          part { name: "ampm";
5441             type: SWALLOW;
5442             description { state: "default" 0.0;
5443                rel1.relative: 0.818181818 0.0;
5444                rel2.relative: 1.0 1.0;
5445             }
5446          }
5447       }
5448    }
5449
5450 ///////////////////////////////////////////////////////////////////////////////
5451    group { name: "elm/clock/base/default";
5452       parts {
5453          part { name: "d0";
5454             type: SWALLOW;
5455             description { state: "default" 0.0;
5456                rel1.relative: 0.000000000 0.0;
5457                rel2.relative: 0.222222222 1.0;
5458             }
5459          }
5460          part { name: "d1";
5461             type: SWALLOW;
5462             description { state: "default" 0.0;
5463                rel1.relative: 0.222222222 0.0;
5464                rel2.relative: 0.444444444 1.0;
5465             }
5466          }
5467          part { name: "c0";
5468             type: SWALLOW;
5469             type: TEXT;
5470             mouse_events:  0;
5471             scale: 1;
5472             description { state: "default" 0.0;
5473                rel1.relative: 0.444444444 0.0;
5474                rel2.relative: 0.555555556 1.0;
5475                color: 0 0 0 255;
5476                text {
5477                   font:     "Sans,Edje-Vera";
5478                   text:     ":";
5479                   size:     10;
5480                   min:      1 1;
5481                   align:    0.5 0.5;
5482                }
5483             }
5484          }
5485          part { name: "d2";
5486             type: SWALLOW;
5487             description { state: "default" 0.0;
5488                rel1.relative: 0.555555556 0.0;
5489                rel2.relative: 0.777777778 1.0;
5490             }
5491          }
5492          part { name: "d3";
5493             type: SWALLOW;
5494             description { state: "default" 0.0;
5495                rel1.relative: 0.777777778 0.0;
5496                rel2.relative: 1.000000000 1.0;
5497             }
5498          }
5499       }
5500    }
5501
5502 ///////////////////////////////////////////////////////////////////////////////
5503    group { name: "elm/frame/base/default";
5504        images {
5505            image: "frame_1.png" COMP;
5506            image: "frame_2.png" COMP;
5507            image: "dia_grad.png" COMP;
5508        }
5509        parts {
5510            part { name: "base0";
5511                mouse_events:  0;
5512                description { state: "default" 0.0;
5513                    image.normal: "dia_grad.png";
5514                    rel1.to: "over";
5515                    rel2.to: "over";
5516                    fill {
5517                        smooth: 0;
5518                        size {
5519                            relative: 0.0 1.0;
5520                            offset: 64 0;
5521                        }
5522                    }
5523                }
5524            }
5525            part { name: "base";
5526                mouse_events:  0;
5527                description { state:    "default" 0.0;
5528                    rel2.to: "elm.swallow.content";
5529                    rel2.offset: 9 9;
5530                    image {
5531                        normal: "frame_2.png";
5532                        border: 5 5 32 26;
5533                        middle: 0;
5534                    }
5535                    fill.smooth : 0;
5536                }
5537            }
5538            part { name: "elm.text";
5539                type: TEXT;
5540                mouse_events:   0;
5541                scale: 1;
5542                description { state: "default" 0.0;
5543                    align: 0.0 0.0;
5544                    fixed: 0 1;
5545                    rel1 {
5546                        relative: 0.0 0.0;
5547                        offset: 6 6;
5548                    }
5549                    rel2 {
5550                        relative: 1.0 0.0;
5551                        offset: -7 6;
5552                    }
5553                    color: 0 0 0 64;
5554                    text {
5555                        font: "Sans:style=Bold,Edje-Vera-Bold";
5556                        size: 10;
5557                        min: 1 1;
5558                        max: 1 1;
5559                        align: 0.0 0.0;
5560                    }
5561                }
5562            }
5563            part { name: "over";
5564                mouse_events:  0;
5565                description { state:    "default" 0.0;
5566                    rel1.offset: 4 4;
5567                    rel2.to: "elm.swallow.content";
5568                    rel2.offset: 5 5;
5569                    image {
5570                        normal: "frame_1.png";
5571                        border: 2 2 28 22;
5572                        middle: 0;
5573                    }
5574                    fill.smooth : 0;
5575                }
5576            }
5577            part { name: "elm.swallow.content";
5578                type: SWALLOW;
5579                description { state: "default" 0.0;
5580                    align: 0.0 0.0;
5581                    rel1 {
5582                        to_y: "elm.text";
5583                        relative: 0.0 1.0;
5584                        offset: 8 2;
5585                    }
5586                    rel2.offset: -9 -9;
5587                }
5588            }
5589        }
5590    }
5591
5592    group { name: "elm/frame/base/pad_small";
5593        parts {
5594            part { name: "b0";
5595                mouse_events:  0;
5596                type: RECT;
5597                scale: 1;
5598                description { state: "default" 0.0;
5599                    visible: 0;
5600                    min: 4 4;
5601                    max: 4 4;
5602                    align: 0.0 0.0;
5603                }
5604            }
5605            part { name: "b1";
5606                mouse_events:  0;
5607                type: RECT;
5608                scale: 1;
5609                description { state: "default" 0.0;
5610                    visible: 0;
5611                    min: 4 4;
5612                    max: 4 4;
5613                    align: 1.0 1.0;
5614                }
5615            }
5616            part { name: "elm.swallow.content";
5617                type: SWALLOW;
5618                description { state: "default" 0.0;
5619                    rel1 {
5620                        to: "b0";
5621                        relative: 1.0 1.0;
5622                        offset: 0 0;
5623                    }
5624                    rel2 {
5625                        to: "b1";
5626                        relative: 0.0 0.0;
5627                        offset: -1 -1;
5628                    }
5629                }
5630            }
5631        }
5632    }
5633
5634    group { name: "elm/frame/base/pad_medium";
5635        parts {
5636            part { name: "b0";
5637                mouse_events:  0;
5638                type: RECT;
5639                scale: 1;
5640                description { state: "default" 0.0;
5641                    visible: 0;
5642                    min: 8 8;
5643                    max: 8 8;
5644                    align: 0.0 0.0;
5645                }
5646            }
5647            part { name: "b1";
5648                mouse_events:  0;
5649                type: RECT;
5650                scale: 1;
5651                description { state: "default" 0.0;
5652                    visible: 0;
5653                    min: 8 8;
5654                    max: 8 8;
5655                    align: 1.0 1.0;
5656                }
5657            }
5658            part { name: "elm.swallow.content";
5659                type: SWALLOW;
5660                description { state: "default" 0.0;
5661                    rel1 {
5662                        to: "b0";
5663                        relative: 1.0 1.0;
5664                        offset: 0 0;
5665                    }
5666                    rel2 {
5667                        to: "b1";
5668                        relative: 0.0 0.0;
5669                        offset: -1 -1;
5670                    }
5671                }
5672            }
5673        }
5674    }
5675
5676    group { name: "elm/frame/base/pad_large";
5677        parts {
5678            part { name: "b0";
5679                mouse_events:  0;
5680                type: RECT;
5681                scale: 1;
5682                description { state: "default" 0.0;
5683                    visible: 0;
5684                    min: 16 16;
5685                    max: 16 16;
5686                    align: 0.0 0.0;
5687                }
5688            }
5689            part { name: "b1";
5690                mouse_events:  0;
5691                type: RECT;
5692                scale: 1;
5693                description { state: "default" 0.0;
5694                    visible: 0;
5695                    min: 16 16;
5696                    max: 16 16;
5697                    align: 1.0 1.0;
5698                }
5699            }
5700            part { name: "elm.swallow.content";
5701                type: SWALLOW;
5702                description { state: "default" 0.0;
5703                    rel1 {
5704                        to: "b0";
5705                        relative: 1.0 1.0;
5706                        offset: 0 0;
5707                    }
5708                    rel2 {
5709                        to: "b1";
5710                        relative: 0.0 0.0;
5711                        offset: -1 -1;
5712                    }
5713                }
5714            }
5715        }
5716    }
5717
5718    group { name: "elm/frame/base/pad_huge";
5719        parts {
5720            part { name: "b0";
5721                mouse_events:  0;
5722                type: RECT;
5723                scale: 1;
5724                description { state: "default" 0.0;
5725                    visible: 0;
5726                    min: 32 32;
5727                    max: 32 32;
5728                    align: 0.0 0.0;
5729                }
5730            }
5731            part { name: "b1";
5732                mouse_events:  0;
5733                type: RECT;
5734                scale: 1;
5735                description { state: "default" 0.0;
5736                    visible: 0;
5737                    min: 32 32;
5738                    max: 32 32;
5739                    align: 1.0 1.0;
5740                }
5741            }
5742            part { name: "elm.swallow.content";
5743                type: SWALLOW;
5744                description { state: "default" 0.0;
5745                    rel1 {
5746                        to: "b0";
5747                        relative: 1.0 1.0;
5748                        offset: 0 0;
5749                    }
5750                    rel2 {
5751                        to: "b1";
5752                        relative: 0.0 0.0;
5753                        offset: -1 -1;
5754                    }
5755                }
5756            }
5757        }
5758    }
5759
5760    group { name: "elm/frame/base/outdent_top";
5761        images {
5762            image: "outdent-top.png" COMP;
5763        }
5764        parts {
5765            part { name: "base0";
5766                mouse_events:  0;
5767                description { state: "default" 0.0;
5768                    image.normal: "outdent-top.png";
5769                    image.border: 0 0 0 13;
5770                    fill.smooth: 0;
5771                }
5772            }
5773            part { name: "elm.swallow.content";
5774                type: SWALLOW;
5775                description { state: "default" 0.0;
5776                    rel1.offset: 2 2;
5777                    rel2.offset: -3 -13;
5778                }
5779            }
5780        }
5781    }
5782
5783    group { name: "elm/frame/base/outdent_bottom";
5784        images {
5785            image: "outdent-bottom.png" COMP;
5786        }
5787        parts {
5788            part { name: "base0";
5789                mouse_events:  0;
5790                description { state: "default" 0.0;
5791                    image.normal: "outdent-bottom.png";
5792                    image.border: 0 0 13 0;
5793                    fill.smooth: 0;
5794                }
5795            }
5796            part { name: "elm.swallow.content";
5797                type: SWALLOW;
5798                description { state: "default" 0.0;
5799                    rel1.offset: 2 12;
5800                    rel2.offset: -3 -3;
5801                }
5802            }
5803        }
5804    }
5805
5806 ///////////////////////////////////////////////////////////////////////////////
5807    group { name: "elm/label/base/tooltip";
5808       styles {
5809          style { name: "tooltip_style";
5810             base: "font=Sans font_size=8 color=#666 wrap=word";
5811             tag:  "br" "\n";
5812             tag:  "hilight" "+ font=Sans:style=Bold";
5813             tag:  "b" "+ font=Sans:style=Bold";
5814             tag:  "tab" "\t";
5815          }
5816       }
5817       parts {
5818          part { name: "elm.text";
5819             type: TEXTBLOCK;
5820             mouse_events: 0;
5821             scale: 1;
5822             description { state: "default" 0.0;
5823                text {
5824                   style: "tooltip_style";
5825                   min: 1 1;
5826                }
5827             }
5828          }
5829       }
5830    }
5831
5832    group { name: "elm/tooltip/base/default";
5833        min: 30 30;
5834        data {
5835            item: "pad_x" "20";
5836            item: "pad_y" "20";
5837            item: "pad_border_x" "10";
5838            item: "pad_border_y" "10";
5839            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5840        }
5841        images {
5842            image: "tooltip-base.png" COMP;
5843            image: "tooltip-corner-top-left-tip.png" COMP;
5844            image: "tooltip-corner-top-right-tip.png" COMP;
5845            image: "tooltip-corner-bottom-left-tip.png" COMP;
5846            image: "tooltip-corner-bottom-right-tip.png" COMP;
5847            image: "tooltip-edge-left-tip.png" COMP;
5848            image: "tooltip-edge-right-tip.png" COMP;
5849            image: "tooltip-edge-bottom-tip.png" COMP;
5850            image: "tooltip-edge-top-tip.png" COMP;
5851        }
5852        script {
5853           hide_corners() {
5854              set_state(PART:"corner-top-left", "default", 0.0);
5855              set_state(PART:"corner-top-right", "default", 0.0);
5856              set_state(PART:"corner-bottom-left", "default", 0.0);
5857              set_state(PART:"corner-bottom-right", "default", 0.0);
5858           }
5859           hide_edges() {
5860              set_state(PART:"clipper-edge-left", "default", 0.0);
5861              set_state(PART:"clipper-edge-right", "default", 0.0);
5862              set_state(PART:"clipper-edge-top", "default", 0.0);
5863              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5864           }
5865
5866           show_corner_top_left() {
5867              set_state(PART:"corner-top-left", "visible", 0.0);
5868
5869              set_state(PART:"corner-top-right", "default", 0.0);
5870              set_state(PART:"corner-bottom-left", "default", 0.0);
5871              set_state(PART:"corner-bottom-right", "default", 0.0);
5872              hide_edges();
5873           }
5874           show_corner_top_right() {
5875              set_state(PART:"corner-top-right", "visible", 0.0);
5876
5877              set_state(PART:"corner-top-left", "default", 0.0);
5878              set_state(PART:"corner-bottom-left", "default", 0.0);
5879              set_state(PART:"corner-bottom-right", "default", 0.0);
5880              hide_edges();
5881           }
5882
5883           show_corner_bottom_left() {
5884              set_state(PART:"corner-bottom-left", "visible", 0.0);
5885
5886              set_state(PART:"corner-bottom-right", "default", 0.0);
5887              set_state(PART:"corner-top-left", "default", 0.0);
5888              set_state(PART:"corner-top-right", "default", 0.0);
5889              hide_edges();
5890           }
5891           show_corner_bottom_right() {
5892              set_state(PART:"corner-bottom-right", "visible", 0.0);
5893
5894              set_state(PART:"corner-bottom-left", "default", 0.0);
5895              set_state(PART:"corner-top-left", "default", 0.0);
5896              set_state(PART:"corner-top-right", "default", 0.0);
5897              hide_edges();
5898           }
5899
5900           show_edge_left(Float:val) {
5901              set_state(PART:"clipper-edge-left", "visible", 0.0);
5902              set_drag(PART:"edge-drag-left", 0.0, val);
5903
5904              set_state(PART:"clipper-edge-right", "default", 0.0);
5905              set_state(PART:"clipper-edge-top", "default", 0.0);
5906              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5907              hide_corners();
5908           }
5909           show_edge_right(Float:val) {
5910              set_state(PART:"clipper-edge-right", "visible", 0.0);
5911              set_drag(PART:"edge-drag-right", 0.0, val);
5912
5913              set_state(PART:"clipper-edge-left", "default", 0.0);
5914              set_state(PART:"clipper-edge-top", "default", 0.0);
5915              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5916              hide_corners();
5917           }
5918
5919           show_edge_top(Float:val) {
5920              set_state(PART:"clipper-edge-top", "visible", 0.0);
5921              set_drag(PART:"edge-drag-top", val, 0.0);
5922
5923              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5924              set_state(PART:"clipper-edge-left", "default", 0.0);
5925              set_state(PART:"clipper-edge-right", "default", 0.0);
5926              hide_corners();
5927           }
5928           show_edge_bottom(Float:val) {
5929              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5930              set_drag(PART:"edge-drag-bottom", val, 0.0);
5931
5932              set_state(PART:"clipper-edge-top", "default", 0.0);
5933              set_state(PART:"clipper-edge-left", "default", 0.0);
5934              set_state(PART:"clipper-edge-right", "default", 0.0);
5935              hide_corners();
5936           }
5937
5938           public message(Msg_Type:type, id, ...) {
5939              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5940                 new Float:x, Float:y;
5941
5942                 x = getfarg(2);
5943                 y = getfarg(3);
5944
5945                 if (x < 0.0)
5946                   {
5947                      if (y < 0.0)      show_corner_top_left();
5948                      else if (y > 1.0) show_corner_bottom_left();
5949                      else              show_edge_left(y);
5950                   }
5951                 else if (x > 1.0)
5952                   {
5953                      if (y < 0.0)      show_corner_top_right();
5954                      else if (y > 1.0) show_corner_bottom_right();
5955                      else              show_edge_right(y);
5956                   }
5957                 else
5958                   {
5959                      if (y < 0.0)      show_edge_top(x);
5960                      else if (y > 1.0) show_edge_bottom(x);
5961                      else
5962                        {
5963                           hide_corners();
5964                           hide_edges();
5965                        }
5966                   }
5967              }
5968           }
5969        }
5970        parts {
5971            part { name: "clipper";
5972                type: RECT;
5973                description { state: "default" 0.0;
5974                    color: 255 255 255 0;
5975                    rel1.to: "elm.swallow.content";
5976                    rel1.offset: -64 -64;
5977                    rel2.to: "elm.swallow.content";
5978                    rel2.offset: 63 63;
5979                }
5980                description { state: "visible" 0.0;
5981                    inherit: "default" 0.0;
5982                    color: 255 255 255 255;
5983                }
5984            }
5985            part { name: "pop";
5986                mouse_events: 0;
5987                clip_to: "clipper";
5988                description { state: "default" 0.0;
5989                    min: 30 30;
5990                    rel1 {
5991                        to: "elm.swallow.content";
5992                        offset: -15 -15;
5993                    }
5994                    rel2 {
5995                        to: "elm.swallow.content";
5996                        offset: 14 14;
5997                    }
5998                    image {
5999                        normal: "tooltip-base.png";
6000                        border: 14 14 14 14;
6001                    }
6002                    image.middle: SOLID;
6003                }
6004            }
6005
6006 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6007            part { name: "corner-"name_;                                 \
6008               type: IMAGE;                                              \
6009               mouse_events: 0;                                          \
6010               clip_to: "clipper";                                       \
6011               description { state: "default" 0.0;                       \
6012                  color: 255 255 255 0;                                  \
6013                  visible: 0;                                            \
6014                  min: 14 14;                                            \
6015                  max: 14 14;                                            \
6016                  align: ax ay;                                          \
6017                  fixed: 1 1;                                            \
6018                  rel1 {                                                 \
6019                     relative: rx ry;                                    \
6020                     offset: ox oy;                                      \
6021                     to: "elm.swallow.content";                          \
6022                  }                                                      \
6023                  rel2 {                                                 \
6024                     relative: rx ry;                                    \
6025                     offset: ox oy;                                      \
6026                     to: "elm.swallow.content";                          \
6027                  }                                                      \
6028                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6029               }                                                         \
6030               description { state: "visible" 0.0;                       \
6031                  inherit: "default" 0.0;                                \
6032                  color: 255 255 255 255;                                \
6033                  visible: 1;                                            \
6034               }                                                         \
6035            }
6036            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6037            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6038            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6039            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6040 #undef TT_CORNER
6041
6042 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6043            part { name: "clipper-edge-"name_;                           \
6044               type: RECT;                                               \
6045               clip_to: "clipper";                                       \
6046               description { state: "default" 0.0;                       \
6047                  color: 255 255 255 0;                                  \
6048                  visible: 0;                                            \
6049                  min: 14 14;                                            \
6050                  align: ax 0.5;                                         \
6051                  fixed: 1 1;                                            \
6052                  rel1 {                                                 \
6053                     relative: rx 0.0;                                   \
6054                     offset: ox 0;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057                  rel2 {                                                 \
6058                     relative: rx 1.0;                                   \
6059                     offset: ox 0;                                       \
6060                     to: "elm.swallow.content";                          \
6061                  }                                                      \
6062               }                                                         \
6063               description { state: "visible" 0.0;                       \
6064                  inherit: "default" 0.0;                                \
6065                  color: 255 255 255 255;                                \
6066                  visible: 1;                                            \
6067               }                                                         \
6068            }                                                            \
6069            part { name: "edge-area-"name_;                              \
6070               type: RECT;                                               \
6071               mouse_events: 0;                                          \
6072               clip_to: "clipper-edge-"name_;                            \
6073               description { state: "default" 0.0;                       \
6074                  color: 0 0 0 0;                                        \
6075                  min: 14 14;                                            \
6076                  align: ax 0.5;                                         \
6077                  fixed: 1 1;                                            \
6078                  rel1 {                                                 \
6079                     relative: rx 0.0;                                   \
6080                     offset: ox 0;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083                  rel2 {                                                 \
6084                     relative: rx 1.0;                                   \
6085                     offset: ox 0;                                       \
6086                     to: "elm.swallow.content";                          \
6087                  }                                                      \
6088               }                                                         \
6089            }                                                            \
6090            part { name: "edge-drag-"name_;                              \
6091               type: RECT;                                               \
6092               mouse_events: 0;                                          \
6093               clip_to: "clipper-edge-"name_;                            \
6094               dragable {                                                \
6095                   x: 0 0 0;                                             \
6096                   y: 1 1 0;                                             \
6097                   confine: "edge-area-"name_;                           \
6098               }                                                         \
6099               description { state: "default" 0.0;                       \
6100                  color: 0 0 0 0;                                        \
6101                  min: 14 14;                                            \
6102                  rel1.to: "edge-area-"name_;                            \
6103                  rel2.to: "edge-area-"name_;                            \
6104               }                                                         \
6105            }                                                            \
6106            part { name: "edge-img-"name_;                               \
6107               type: IMAGE;                                              \
6108               mouse_events: 0;                                          \
6109               clip_to: "clipper-edge-"name_;                            \
6110               description { state: "default" 0.0;                       \
6111                  min: 14 14;                                            \
6112                  max: 14 14;                                            \
6113                  align: ax 0.5;                                         \
6114                  fixed: 1 1;                                            \
6115                  rel1.to: "edge-drag-"name_;                            \
6116                  rel2.to: "edge-drag-"name_;                            \
6117                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6118               }                                                         \
6119            }
6120            TT_EDGE_VERT("left", 0, 1, -2);
6121            TT_EDGE_VERT("right", 1, 0, 1);
6122 #undef TT_EDGE_VERT
6123
6124 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6125            part { name: "clipper-edge-"name_;                           \
6126               type: RECT;                                               \
6127               clip_to: "clipper";                                       \
6128               description { state: "default" 0.0;                       \
6129                  color: 255 255 255 0;                                  \
6130                  visible: 0;                                            \
6131                  min: 14 14;                                            \
6132                  align: 0.5 ay;                                         \
6133                  fixed: 1 1;                                            \
6134                  rel1 {                                                 \
6135                     relative: 0.0 ry;                                   \
6136                     offset: 0 oy;                                       \
6137                     to: "elm.swallow.content";                          \
6138                  }                                                      \
6139                  rel2 {                                                 \
6140                     relative: 1.0 ry;                                   \
6141                     offset: 0 oy;                                       \
6142                     to: "elm.swallow.content";                          \
6143                  }                                                      \
6144               }                                                         \
6145               description { state: "visible" 0.0;                       \
6146                  inherit: "default" 0.0;                                \
6147                  color: 255 255 255 255;                                \
6148                  visible: 1;                                            \
6149               }                                                         \
6150            }                                                            \
6151            part { name: "edge-area-"name_;                              \
6152               type: RECT;                                               \
6153               mouse_events: 0;                                          \
6154               clip_to: "clipper-edge-"name_;                            \
6155               description { state: "default" 0.0;                       \
6156                  color: 0 0 0 0;                                        \
6157                  min: 14 14;                                            \
6158                  align: 0.5 ay;                                         \
6159                  fixed: 1 1;                                            \
6160                  rel1 {                                                 \
6161                     relative: 0.0 ry;                                   \
6162                     offset: 0 oy;                                       \
6163                     to: "elm.swallow.content";                          \
6164                  }                                                      \
6165                  rel2 {                                                 \
6166                     relative: 1.0 ry;                                   \
6167                     offset: 0 oy;                                       \
6168                     to: "elm.swallow.content";                          \
6169                  }                                                      \
6170               }                                                         \
6171            }                                                            \
6172            part { name: "edge-drag-"name_;                              \
6173               type: RECT;                                               \
6174               mouse_events: 0;                                          \
6175               clip_to: "clipper-edge-"name_;                            \
6176               dragable {                                                \
6177                   x: 1 1 0;                                             \
6178                   y: 0 0 0;                                             \
6179                   confine: "edge-area-"name_;                           \
6180               }                                                         \
6181               description { state: "default" 0.0;                       \
6182                  color: 0 0 0 0;                                        \
6183                  min: 14 14;                                            \
6184                  rel1.to: "edge-area-"name_;                            \
6185                  rel2.to: "edge-area-"name_;                            \
6186               }                                                         \
6187            }                                                            \
6188            part { name: "edge-img-"name_;                               \
6189               type: IMAGE;                                              \
6190               mouse_events: 0;                                          \
6191               clip_to: "clipper-edge-"name_;                            \
6192               description { state: "default" 0.0;                       \
6193                  min: 14 14;                                            \
6194                  max: 14 14;                                            \
6195                  align: 0.5 ay;                                         \
6196                  fixed: 1 1;                                            \
6197                  rel1.to: "edge-drag-"name_;                            \
6198                  rel2.to: "edge-drag-"name_;                            \
6199                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6200               }                                                         \
6201            }
6202            TT_EDGE_HORIZ("top", 0, 1, -2);
6203            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6204 #undef TT_EDGE_HORIZ
6205
6206            part { name: "clipper_content";
6207                type: RECT;
6208                description { state: "default" 0.0;
6209                    color: 255 255 255 0;
6210                    rel1.to: "elm.swallow.content";
6211                    rel1.offset: -64 -64;
6212                    rel2.to: "elm.swallow.content";
6213                    rel2.offset: 63 63;
6214                }
6215                description { state: "visible" 0.0;
6216                    inherit: "default" 0.0;
6217                    color: 255 255 255 255;
6218                }
6219            }
6220            part { name: "elm.swallow.content";
6221                type: SWALLOW;
6222                clip_to: "clipper_content";
6223                description { state: "default" 0.0; }
6224            }
6225            programs {
6226                program {
6227                    name: "show0";
6228                    signal: "elm,action,show";
6229                    source: "elm";
6230                    action: ACTION_STOP;
6231                    target: "hide0";
6232                    target: "hide1";
6233                    target: "hide2";
6234                    target: "hide3";
6235                    after: "show1";
6236                    after: "show2";
6237                }
6238                program {
6239                    name: "show1";
6240                    action: STATE_SET "visible" 0.0;
6241                    transition: LINEAR 0.15;
6242                    target: "clipper";
6243                }
6244                program {
6245                    name: "show2";
6246                    in: 0.1 0.0;
6247                    action: STATE_SET "visible" 0.0;
6248                    transition: LINEAR 0.15;
6249                    target: "clipper_content";
6250                }
6251
6252                program {
6253                    name: "hide0";
6254                    signal: "elm,action,hide";
6255                    source: "elm";
6256                    action: ACTION_STOP;
6257                    target: "show0";
6258                    target: "show1";
6259                    target: "show2";
6260                    after: "hide1";
6261                    after: "hide2";
6262                    after: "hide3";
6263                }
6264                program {
6265                    name: "hide1";
6266                    script {
6267                       hide_corners();
6268                       hide_edges();
6269                    }
6270                }
6271                program {
6272                    name: "hide2";
6273                    action: STATE_SET "default" 0.0;
6274                    transition: LINEAR 0.1;
6275                    target: "clipper_content";
6276                }
6277                program {
6278                    name: "hide3";
6279                    in: 0.1 0.0;
6280                    action: STATE_SET "default" 0.0;
6281                    transition: LINEAR 0.1;
6282                    target: "clipper";
6283                }
6284            }
6285        }
6286    }
6287    group { name: "elm/tooltip/base/transparent";
6288       parts {
6289          part { name: "elm.swallow.content";
6290             type: SWALLOW;
6291             mouse_events:   0;
6292             scale: 1;
6293             description { state: "default" 0.0; }
6294          }
6295       }
6296    }
6297
6298 ///////////////////////////////////////////////////////////////////////////////
6299
6300    /* TODO: replicate diagonal swallow slots to the other hover styles */
6301    group { name: "elm/hover/base/default";
6302       images {
6303          image: "shad_circ.png" COMP;
6304       }
6305       parts {
6306          part { name: "elm.swallow.offset";
6307             type: SWALLOW;
6308             description { state: "default" 0.0;
6309                align: 0.0 0.0;
6310                rel1.relative: 0.0 0.0;
6311                rel2.relative: 0.0 0.0;
6312             }
6313          }
6314          part { name: "elm.swallow.size";
6315             type: SWALLOW;
6316             description { state: "default" 0.0;
6317                align: 0.0 0.0;
6318                rel1.to: "elm.swallow.offset";
6319                rel1.relative: 1.0 1.0;
6320                rel2.to: "elm.swallow.offset";
6321                rel2.relative: 1.0 1.0;
6322             }
6323          }
6324          part { name: "base";
6325             type: RECT;
6326             mouse_events: 1;
6327             description { state: "default" 0.0;
6328                color: 0 0 0 64;
6329             }
6330          }
6331          part { name: "shad";
6332             mouse_events:  0;
6333             description { state: "default" 0.0;
6334                image.normal: "shad_circ.png";
6335                rel1.to: "elm.swallow.size";
6336                rel1.offset: -32 -32;
6337                rel2.to: "elm.swallow.size";
6338                rel2.offset: 31 31;
6339                fill.smooth: 0;
6340             }
6341          }
6342          part { name: "box";
6343             type: RECT;
6344             mouse_events: 0;
6345             description { state: "default" 0.0;
6346                color: 0 0 0 0;
6347                rel1.to: "elm.swallow.size";
6348                rel1.offset: -2 -2;
6349                rel2.to: "elm.swallow.size";
6350                rel2.offset: 1 1;
6351             }
6352          }
6353          part { name: "elm.swallow.slot.left";
6354             type: SWALLOW;
6355             description { state: "default" 0.0;
6356                align: 1.0 0.5;
6357                rel1.to: "elm.swallow.slot.middle";
6358                rel1.relative: 0.0 0.0;
6359                rel1.offset: -1 0;
6360                rel2.to: "elm.swallow.slot.middle";
6361                rel2.relative: 0.0 1.0;
6362                rel2.offset: -1 -1;
6363             }
6364          }
6365          part { name: "elm.swallow.slot.top-left";
6366             type: SWALLOW;
6367             description { state: "default" 0.0;
6368                align: 1.0 1.0;
6369                rel1.to: "elm.swallow.slot.middle";
6370                rel1.relative: 0.0 0.0;
6371                rel1.offset: 0 0;
6372                rel2.to: "elm.swallow.slot.middle";
6373                rel2.relative: 0.0 0.0;
6374                rel2.offset: -1 -1;
6375             }
6376          }
6377          part { name: "elm.swallow.slot.top";
6378             type: SWALLOW;
6379             description { state: "default" 0.0;
6380                align: 0.5 1.0;
6381                rel1.to: "elm.swallow.slot.middle";
6382                rel1.relative: 0.0 0.0;
6383                rel1.offset: 0 -1;
6384                rel2.to: "elm.swallow.slot.middle";
6385                rel2.relative: 1.0 0.0;
6386                rel2.offset: -1 -1;
6387             }
6388          }
6389          part { name: "elm.swallow.slot.top-right";
6390             type: SWALLOW;
6391             description { state: "default" 0.0;
6392                align: 0.0 1.0;
6393                rel1.to: "elm.swallow.slot.middle";
6394                rel1.relative: 1.0 0.0;
6395                rel1.offset: 0 0;
6396                rel2.to: "elm.swallow.slot.middle";
6397                rel2.relative: 1.0 0.0;
6398                rel2.offset: -1 -1;
6399             }
6400          }
6401          part { name: "elm.swallow.slot.right";
6402             type: SWALLOW;
6403             description { state: "default" 0.0;
6404                align: 0.0 0.5;
6405                rel1.to: "elm.swallow.slot.middle";
6406                rel1.relative: 1.0 0.0;
6407                rel1.offset: 0 0;
6408                rel2.to: "elm.swallow.slot.middle";
6409                rel2.relative: 1.0 1.0;
6410                rel2.offset: 0 -1;
6411             }
6412          }
6413          part { name: "elm.swallow.slot.bottom-right";
6414             type: SWALLOW;
6415             description { state: "default" 0.0;
6416                align: 0.0 0.0;
6417                rel1.to: "elm.swallow.slot.middle";
6418                rel1.relative: 1.0 1.0;
6419                rel1.offset: 0 0;
6420                rel2.to: "elm.swallow.slot.middle";
6421                rel2.relative: 1.0 1.0;
6422                rel2.offset: -1 -1;
6423             }
6424          }
6425          part { name: "elm.swallow.slot.bottom";
6426             type: SWALLOW;
6427             description { state: "default" 0.0;
6428                align: 0.5 0.0;
6429                rel1.to: "elm.swallow.slot.middle";
6430                rel1.relative: 0.0 1.0;
6431                rel1.offset: 0 0;
6432                rel2.to: "elm.swallow.slot.middle";
6433                rel2.relative: 1.0 1.0;
6434                rel2.offset: -1 0;
6435             }
6436          }
6437          part { name: "elm.swallow.slot.bottom-left";
6438             type: SWALLOW;
6439             description { state: "default" 0.0;
6440                align: 1.0 0.0;
6441                rel1.to: "elm.swallow.slot.middle";
6442                rel1.relative: 0.0 1.0;
6443                rel1.offset: 0 0;
6444                rel2.to: "elm.swallow.slot.middle";
6445                rel2.relative: 0.0 1.0;
6446                rel2.offset: -1 0;
6447             }
6448          }
6449          part { name: "elm.swallow.slot.middle";
6450             type: SWALLOW;
6451             description { state: "default" 0.0;
6452                rel1.to: "elm.swallow.size";
6453                rel2.to: "elm.swallow.size";
6454             }
6455          }
6456       }
6457       programs {
6458          program { name: "end";
6459             signal: "mouse,up,1";
6460             source: "base";
6461             action: SIGNAL_EMIT "elm,action,dismiss" "";
6462          }
6463       }
6464    }
6465
6466    group { name: "elm/hover/base/popout";
6467       images {
6468          image: "shad_circ.png" COMP;
6469          image: "bt_dis_base.png" COMP;
6470          image: "bt_dis_hilight.png" COMP;
6471       }
6472       parts {
6473          part { name: "elm.swallow.offset";
6474             type: SWALLOW;
6475             description { state: "default" 0.0;
6476                align: 0.0 0.0;
6477                rel1.relative: 0.0 0.0;
6478                rel2.relative: 0.0 0.0;
6479             }
6480          }
6481          part { name: "elm.swallow.size";
6482             type: SWALLOW;
6483             description { state: "default" 0.0;
6484                align: 0.0 0.0;
6485                rel1.to: "elm.swallow.offset";
6486                rel1.relative: 1.0 1.0;
6487                rel2.to: "elm.swallow.offset";
6488                rel2.relative: 1.0 1.0;
6489             }
6490          }
6491          part { name: "base";
6492             type: RECT;
6493             mouse_events: 1;
6494             description { state: "default" 0.0;
6495                color: 0 0 0 0;
6496             }
6497             description { state: "visible" 0.0;
6498                inherit: "default" 1.0;
6499                color: 0 0 0 64;
6500             }
6501          }
6502          part { name: "leftclip";
6503             type: RECT;
6504             description { state: "default" 0.0;
6505                rel2.to_x: "pop";
6506                rel2.relative: 0.0 1.0;
6507                rel2.offset: 1 -1;
6508             }
6509          }
6510          part { name: "left";
6511             clip_to: "leftclip";
6512             description { state: "default" 0.0;
6513                visible: 0;
6514                rel1.to: "elm.swallow.slot.left";
6515                rel1.offset: -5 -5;
6516                rel2.to: "elm.swallow.slot.left";
6517                rel2.offset: 4 4;
6518                image {
6519                   normal: "bt_dis_base.png";
6520                   border: 4 4 4 4;
6521                }
6522                image.middle: SOLID;
6523             }
6524             description { state: "visible" 0.0;
6525                inherit: "default" 0.0;
6526                visible: 1;
6527             }
6528          }
6529          part { name: "elm.swallow.slot.left";
6530             type: SWALLOW;
6531             clip_to: "leftclip";
6532             description { state: "default" 0.0;
6533                align: 0.0 0.5;
6534                rel1.to: "elm.swallow.slot.middle";
6535                rel1.relative: 0.0 0.0;
6536                rel1.offset: -1 0;
6537                rel2.to: "elm.swallow.slot.middle";
6538                rel2.relative: 0.0 1.0;
6539                rel2.offset: -1 -1;
6540             }
6541             description { state: "visible" 0.0;
6542                inherit: "default" 0.0;
6543                rel1.offset: -7 0;
6544                rel2.offset: -7 -1;
6545                align: 1.0 0.5;
6546             }
6547          }
6548          part { name: "leftover";
6549             clip_to: "leftclip";
6550             mouse_events: 0;
6551             description { state: "default" 0.0;
6552                rel1.to: "left";
6553                rel2.to: "left";
6554                rel2.relative: 1.0 0.5;
6555                image {
6556                   normal: "bt_dis_hilight.png";
6557                   border: 4 4 4 0;
6558                }
6559             }
6560          }
6561          part { name: "rightclip";
6562             type: RECT;
6563             description { state: "default" 0.0;
6564                rel1.to_x: "pop";
6565                rel1.relative: 1.0 0.0;
6566                rel1.offset: -2 0;
6567             }
6568          }
6569          part { name: "right";
6570             clip_to: "rightclip";
6571             description { state: "default" 0.0;
6572                visible: 0;
6573                rel1.to: "elm.swallow.slot.right";
6574                rel1.offset: -5 -5;
6575                rel2.to: "elm.swallow.slot.right";
6576                rel2.offset: 4 4;
6577                image {
6578                   normal: "bt_dis_base.png";
6579                   border: 4 4 4 4;
6580                }
6581                image.middle: SOLID;
6582             }
6583             description { state: "visible" 0.0;
6584                inherit: "default" 0.0;
6585                visible: 1;
6586             }
6587          }
6588          part { name: "elm.swallow.slot.right";
6589             type: SWALLOW;
6590             clip_to: "rightclip";
6591             description { state: "default" 0.0;
6592                align: 1.0 0.5;
6593                rel1.to: "elm.swallow.slot.middle";
6594                rel1.relative: 1.0 0.0;
6595                rel1.offset: 0 0;
6596                rel2.to: "elm.swallow.slot.middle";
6597                rel2.relative: 1.0 1.0;
6598                rel2.offset: 0 -1;
6599             }
6600             description { state: "visible" 0.0;
6601                inherit: "default" 0.0;
6602                rel1.offset: 6 0;
6603                rel2.offset: 6 -1;
6604                align: 0.0 0.5;
6605             }
6606          }
6607          part { name: "rightover";
6608             clip_to: "rightclip";
6609             mouse_events: 0;
6610             description { state: "default" 0.0;
6611                rel1.to: "right";
6612                rel2.to: "right";
6613                rel2.relative: 1.0 0.5;
6614                image {
6615                   normal: "bt_dis_hilight.png";
6616                   border: 4 4 4 0;
6617                }
6618             }
6619          }
6620          part { name: "topclip";
6621             type: RECT;
6622             description { state: "default" 0.0;
6623                rel2.to_y: "pop";
6624                rel2.relative: 1.0 0.0;
6625                rel2.offset: -1 1;
6626             }
6627          }
6628          part { name: "top";
6629             clip_to: "topclip";
6630             description { state: "default" 0.0;
6631                visible: 0;
6632                rel1.to: "elm.swallow.slot.top";
6633                rel1.offset: -5 -5;
6634                rel2.to: "elm.swallow.slot.top";
6635                rel2.offset: 4 4;
6636                image {
6637                   normal: "bt_dis_base.png";
6638                   border: 4 4 4 4;
6639                }
6640                image.middle: SOLID;
6641             }
6642             description { state: "visible" 0.0;
6643                inherit: "default" 0.0;
6644                visible: 1;
6645             }
6646          }
6647          part { name: "elm.swallow.slot.top";
6648             type: SWALLOW;
6649             clip_to: "topclip";
6650             description { state: "default" 0.0;
6651                visible: 1;
6652                align: 0.5 0.0;
6653                rel1.to: "elm.swallow.slot.middle";
6654                rel1.relative: 0.0 0.0;
6655                rel1.offset: 0 -1;
6656                rel2.to: "elm.swallow.slot.middle";
6657                rel2.relative: 1.0 0.0;
6658                rel2.offset: -1 -1;
6659             }
6660             description { state: "visible" 0.0;
6661                inherit: "default" 0.0;
6662                rel1.offset: 0 -7;
6663                rel2.offset: -1 -7;
6664                align: 0.5 1.0;
6665             }
6666          }
6667          part { name: "topover";
6668             clip_to: "topclip";
6669             mouse_events: 0;
6670             description { state: "default" 0.0;
6671                rel1.to: "top";
6672                rel2.to: "top";
6673                rel2.relative: 1.0 0.5;
6674                image {
6675                   normal: "bt_dis_hilight.png";
6676                   border: 4 4 4 0;
6677                }
6678             }
6679          }
6680          part { name: "bottomclip";
6681             type: RECT;
6682             description { state: "default" 0.0;
6683                rel1.to_y: "pop";
6684                rel1.relative: 0.0 1.0;
6685                rel1.offset: -1 -2;
6686             }
6687          }
6688          part { name: "bottom";
6689             clip_to: "bottomclip";
6690             description { state: "default" 0.0;
6691                visible: 0;
6692                rel1.to: "elm.swallow.slot.bottom";
6693                rel1.offset: -5 -5;
6694                rel2.to: "elm.swallow.slot.bottom";
6695                rel2.offset: 4 4;
6696                image {
6697                   normal: "bt_dis_base.png";
6698                   border: 4 4 4 4;
6699                }
6700                image.middle: SOLID;
6701             }
6702             description { state: "visible" 0.0;
6703                inherit: "default" 0.0;
6704                visible: 1;
6705             }
6706          }
6707          part { name: "elm.swallow.slot.bottom";
6708             type: SWALLOW;
6709             clip_to: "bottomclip";
6710             description { state: "default" 0.0;
6711                align: 0.5 1.0;
6712                rel1.to: "elm.swallow.slot.middle";
6713                rel1.relative: 0.0 1.0;
6714                rel1.offset: 0 0;
6715                rel2.to: "elm.swallow.slot.middle";
6716                rel2.relative: 1.0 1.0;
6717                rel2.offset: -1 0;
6718             }
6719             description { state: "visible" 0.0;
6720                inherit: "default" 0.0;
6721                rel1.offset: 0 6;
6722                rel2.offset: -1 6;
6723                align: 0.5 0.0;
6724             }
6725          }
6726          part { name: "bottomover";
6727             clip_to: "bottomclip";
6728             mouse_events: 0;
6729             description { state: "default" 0.0;
6730                rel1.to: "bottom";
6731                rel2.to: "bottom";
6732                rel2.relative: 1.0 0.5;
6733                image {
6734                   normal: "bt_dis_hilight.png";
6735                   border: 4 4 4 0;
6736                }
6737             }
6738          }
6739          part { name: "shad";
6740             mouse_events:  0;
6741             description { state: "default" 0.0;
6742                image.normal: "shad_circ.png";
6743                rel1.to: "elm.swallow.size";
6744                rel1.offset: -64 -64;
6745                rel2.to: "elm.swallow.size";
6746                rel2.offset: 63 63;
6747                fill.smooth: 0;
6748             }
6749          }
6750          part { name: "pop";
6751             mouse_events: 1;
6752             description { state: "default" 0.0;
6753                rel1.to: "elm.swallow.slot.middle";
6754                rel1.offset: -5 -5;
6755                rel2.to: "elm.swallow.slot.middle";
6756                rel2.offset: 4 4;
6757                image {
6758                   normal: "bt_dis_base.png";
6759                   border: 4 4 4 4;
6760                }
6761                image.middle: SOLID;
6762             }
6763          }
6764          part { name: "elm.swallow.slot.middle";
6765             type: SWALLOW;
6766             description { state: "default" 0.0;
6767                rel1.to: "elm.swallow.size";
6768                rel2.to: "elm.swallow.size";
6769             }
6770          }
6771          part { name: "popover";
6772             mouse_events: 0;
6773             description { state: "default" 0.0;
6774                rel1.to: "pop";
6775                rel2.to: "pop";
6776                rel2.relative: 1.0 0.5;
6777                image {
6778                   normal: "bt_dis_hilight.png";
6779                   border: 4 4 4 0;
6780                }
6781             }
6782          }
6783       }
6784       programs {
6785          program { name: "end";
6786             signal: "mouse,up,1";
6787             source: "base";
6788             action: SIGNAL_EMIT "elm,action,dismiss" "";
6789          }
6790
6791          program { name: "show";
6792             signal: "elm,action,show";
6793             source: "elm";
6794             action: STATE_SET "visible" 0.0;
6795 //            transition: DECELERATE 0.5;
6796             target: "base";
6797          }
6798          program { name: "hide";
6799             signal: "elm,action,hide";
6800             source: "elm";
6801             action: STATE_SET "default" 0.0;
6802 //            transition: DECELERATE 0.5;
6803             target: "base";
6804          }
6805
6806          program { name: "leftshow";
6807             signal: "elm,action,slot,left,show";
6808             source: "elm";
6809             action: STATE_SET "visible" 0.0;
6810             transition: DECELERATE 0.5;
6811             target: "left";
6812             target: "elm.swallow.slot.left";
6813          }
6814          program { name: "lefthide";
6815             signal: "elm,action,slot,left,hide";
6816             source: "elm";
6817             action: STATE_SET "default" 0.0;
6818             transition: DECELERATE 0.5;
6819             target: "left";
6820             target: "elm.swallow.slot.left";
6821          }
6822          program { name: "rightshow";
6823             signal: "elm,action,slot,right,show";
6824             source: "elm";
6825             action: STATE_SET "visible" 0.0;
6826             transition: DECELERATE 0.5;
6827             target: "right";
6828             target: "elm.swallow.slot.right";
6829          }
6830          program { name: "righthide";
6831             signal: "elm,action,slot,right,hide";
6832             source: "elm";
6833             action: STATE_SET "default" 0.0;
6834             transition: DECELERATE 0.5;
6835             target: "right";
6836             target: "elm.swallow.slot.right";
6837          }
6838          program { name: "topshow";
6839             signal: "elm,action,slot,top,show";
6840             source: "elm";
6841             action: STATE_SET "visible" 0.0;
6842             transition: DECELERATE 0.5;
6843             target: "top";
6844             target: "elm.swallow.slot.top";
6845          }
6846          program { name: "tophide";
6847             signal: "elm,action,slot,top,hide";
6848             source: "elm";
6849             action: STATE_SET "default" 0.0;
6850             transition: DECELERATE 0.5;
6851             target: "top";
6852             target: "elm.swallow.slot.top";
6853          }
6854          program { name: "bottomshow";
6855             signal: "elm,action,slot,bottom,show";
6856             source: "elm";
6857             action: STATE_SET "visible" 0.0;
6858             transition: DECELERATE 0.5;
6859             target: "bottom";
6860             target: "elm.swallow.slot.bottom";
6861          }
6862          program { name: "bottomhide";
6863             signal: "elm,action,slot,bottom,hide";
6864             source: "elm";
6865             action: STATE_SET "default" 0.0;
6866             transition: DECELERATE 0.5;
6867             target: "bottom";
6868             target: "elm.swallow.slot.bottom";
6869          }
6870       }
6871    }
6872
6873    //In the hover used by the menu only the bottom part is used.
6874    group { name: "elm/hover/base/menu";
6875        images {
6876            image: "shad_circ.png" COMP;
6877            image: "bt_dis_base.png" COMP;
6878        }
6879        parts {
6880            part { name: "elm.swallow.offset";
6881                type: SWALLOW;
6882                description { state: "default" 0.0;
6883                    align: 0.0 0.0;
6884                    rel1.relative: 0.0 0.0;
6885                    rel2.relative: 0.0 0.0;
6886                }
6887            }
6888            part { name: "elm.swallow.size";
6889                type: SWALLOW;
6890                description { state: "default" 0.0;
6891                    align: 0.0 0.0;
6892                    rel1.to: "elm.swallow.offset";
6893                    rel1.relative: 1.0 1.0;
6894                    rel2.to: "elm.swallow.offset";
6895                    rel2.relative: 1.0 1.0;
6896                }
6897            }
6898            part { name: "base";
6899                type: RECT;
6900                mouse_events: 1;
6901                description { state: "default" 0.0;
6902                    color: 0 0 0 0;
6903                }
6904                description { state: "visible" 0.0;
6905                    inherit: "default" 1.0;
6906                    color: 0 0 0 64;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.left";
6910                type: SWALLOW;
6911                description { state: "default" 0.0;
6912                }
6913            }
6914            part { name: "elm.swallow.slot.right";
6915                type: SWALLOW;
6916                description { state: "default" 0.0;
6917                }
6918            }
6919            part { name: "elm.swallow.slot.top";
6920                type: SWALLOW;
6921                description { state: "default" 0.0;
6922                }
6923                description { state: "visible" 0.0;
6924                    inherit: "default" 0.0;
6925                }
6926            }
6927            part { name: "bottomclip";
6928                type: RECT;
6929                description { state: "default" 0.0;
6930                    rel1.to_y: "pop";
6931                    rel1.relative: 0.0 1.0;
6932                    rel1.offset: -1 -2;
6933                }
6934            }
6935            part { name: "bottom";
6936                clip_to: "bottomclip";
6937                description { state: "default" 0.0;
6938                    visible: 0;
6939                    rel1.to: "elm.swallow.slot.bottom";
6940                    rel1.offset: -5 -5;
6941                    rel2.to: "elm.swallow.slot.bottom";
6942                    rel2.offset: 4 4;
6943                    image {
6944                        normal: "bt_dis_base.png";
6945                        border: 4 4 4 4;
6946                    }
6947                    image.middle: SOLID;
6948                }
6949                description { state: "visible" 0.0;
6950                    inherit: "default" 0.0;
6951                    visible: 1;
6952                }
6953            }
6954            part { name: "elm.swallow.slot.bottom";
6955                type: SWALLOW;
6956                clip_to: "bottomclip";
6957                description { state: "default" 0.0;
6958                    align: 0.5 1.0;
6959                    rel1.to: "elm.swallow.slot.middle";
6960                    rel1.relative: 0.0 1.0;
6961                    rel1.offset: 0 0;
6962                    rel2.to: "elm.swallow.slot.middle";
6963                    rel2.relative: 1.0 1.0;
6964                    rel2.offset: -1 0;
6965                }
6966                description { state: "visible" 0.0;
6967                    inherit: "default" 0.0;
6968                    rel1.offset: 0 6;
6969                    rel2.offset: -1 6;
6970                    align: 0.5 0.0;
6971                }
6972            }
6973            part { name: "pop";
6974                mouse_events: 1;
6975                repeat_events:1;
6976                description { state: "default" 0.0;
6977                    rel1.to: "elm.swallow.slot.middle";
6978                    rel1.offset: -5 -5;
6979                    rel2.to: "elm.swallow.slot.middle";
6980                    rel2.offset: 4 4;
6981                }
6982            }
6983            part { name: "elm.swallow.slot.middle";
6984                type: SWALLOW;
6985                repeat_events:1;
6986                description { state: "default" 0.0;
6987                    rel1.to: "elm.swallow.size";
6988                    rel2.to: "elm.swallow.size";
6989                }
6990            }
6991        }
6992        programs {
6993            program { name: "end";
6994                signal: "mouse,up,1";
6995                source: "base";
6996                action: SIGNAL_EMIT "elm,action,dismiss" "";
6997            }
6998            program { name: "show";
6999                signal: "elm,action,show";
7000                source: "elm";
7001                action: STATE_SET "visible" 0.0;
7002                        //            transition: DECELERATE 0.5;
7003                target: "base";
7004            }
7005            program { name: "hide";
7006                signal: "elm,action,hide";
7007                source: "elm";
7008                action: STATE_SET "default" 0.0;
7009                        //            transition: DECELERATE 0.5;
7010                target: "base";
7011            }
7012            program { name: "bottomshow";
7013                signal: "elm,action,slot,bottom,show";
7014                source: "elm";
7015                action: STATE_SET "visible" 0.0;
7016                transition: DECELERATE 0.3;
7017                target: "bottom";
7018                target: "elm.swallow.slot.bottom";
7019            }
7020            program { name: "bottomhide";
7021                signal: "elm,action,slot,bottom,hide";
7022                source: "elm";
7023                action: STATE_SET "default" 0.0;
7024                transition: DECELERATE 0.5;
7025                target: "bottom";
7026                target: "elm.swallow.slot.bottom";
7027            }
7028        }
7029    }
7030
7031    //In the hover used by the submenu only the bottom part is used
7032    //and no part should interact except the bottom area
7033    group { name: "elm/hover/base/submenu";
7034        images {
7035            image: "shad_circ.png" COMP;
7036            image: "bt_dis_base.png" COMP;
7037        }
7038        parts {
7039            part { name: "elm.swallow.offset";
7040                type: SWALLOW;
7041                repeat_events:1;
7042                description { state: "default" 0.0;
7043                    align: 0.0 0.0;
7044                    rel1.relative: 0.0 0.0;
7045                    rel2.relative: 0.0 0.0;
7046                }
7047            }
7048            part { name: "elm.swallow.size";
7049                type: SWALLOW;
7050                description { state: "default" 0.0;
7051                    align: 0.0 0.0;
7052                    rel1.to: "elm.swallow.offset";
7053                    rel1.relative: 1.0 1.0;
7054                    rel2.to: "elm.swallow.offset";
7055                    rel2.relative: 1.0 1.0;
7056                }
7057            }
7058            //here we do non catch events like the hover hover does
7059            part { name: "base";
7060                type: RECT;
7061                mouse_events: 1;
7062                description { state: "default" 0.0;
7063                    color: 0 0 0 0;
7064                    visible: 0;
7065                }
7066            }
7067            part { name: "elm.swallow.slot.left";
7068                type: SWALLOW;
7069                description { state: "default" 0.0;
7070                }
7071            }
7072            part { name: "elm.swallow.slot.right";
7073                type: SWALLOW;
7074                description { state: "default" 0.0;
7075                }
7076            }
7077            part { name: "elm.swallow.slot.top";
7078                type: SWALLOW;
7079                description { state: "default" 0.0;
7080                }
7081            }
7082            part { name: "bottomclip";
7083                type: RECT;
7084                description { state: "default" 0.0;
7085                    rel1.to_y: "pop";
7086                    rel1.relative: 0.0 1.0;
7087                    rel1.offset: -1 -2;
7088                }
7089            }
7090            part { name: "bottom";
7091                clip_to: "bottomclip";
7092                description { state: "default" 0.0;
7093                    visible: 0;
7094                    rel1.to: "elm.swallow.slot.bottom";
7095                    rel1.offset: -5 -5;
7096                    rel2.to: "elm.swallow.slot.bottom";
7097                    rel2.offset: 4 4;
7098                    image {
7099                        normal: "bt_dis_base.png";
7100                        border: 4 4 4 4;
7101                    }
7102                    image.middle: SOLID;
7103                }
7104                description { state: "visible" 0.0;
7105                    inherit: "default" 0.0;
7106                    visible: 1;
7107                }
7108            }
7109            part { name: "elm.swallow.slot.bottom";
7110                type: SWALLOW;
7111                clip_to: "bottomclip";
7112                description { state: "default" 0.0;
7113                    align: 0.5 1.0;
7114                    rel1.to: "elm.swallow.slot.middle";
7115                    rel1.relative: 0.0 1.0;
7116                    rel1.offset: 0 0;
7117                    rel2.to: "elm.swallow.slot.middle";
7118                    rel2.relative: 1.0 1.0;
7119                    rel2.offset: -1 0;
7120                }
7121                description { state: "visible" 0.0;
7122                    inherit: "default" 0.0;
7123                    rel1.offset: 0 6;
7124                    rel2.offset: -1 6;
7125                    align: 0.5 0.0;
7126                }
7127            }
7128            part { name: "pop";
7129                mouse_events: 1;
7130                repeat_events:1;
7131                description { state: "default" 0.0;
7132                    rel1.to: "elm.swallow.slot.middle";
7133                    rel1.offset: -5 -5;
7134                    rel2.to: "elm.swallow.slot.middle";
7135                    rel2.offset: 4 4;
7136                }
7137            }
7138            part { name: "elm.swallow.slot.middle";
7139                type: SWALLOW;
7140                repeat_events:1;
7141                description { state: "default" 0.0;
7142                    rel1.to: "elm.swallow.size";
7143                    rel2.to: "elm.swallow.size";
7144                }
7145            }
7146        }
7147        programs {
7148            program { name: "end";
7149                signal: "mouse,up,1";
7150                source: "base";
7151                action: SIGNAL_EMIT "elm,action,dismiss" "";
7152            }
7153            program { name: "show";
7154                signal: "elm,action,show";
7155                source: "elm";
7156                action: STATE_SET "visible" 0.0;
7157                        //            transition: DECELERATE 0.5;
7158                target: "base";
7159            }
7160            program { name: "hide";
7161                signal: "elm,action,hide";
7162                source: "elm";
7163                action: STATE_SET "default" 0.0;
7164                        //            transition: DECELERATE 0.5;
7165                target: "base";
7166            }
7167            program { name: "bottomshow";
7168                signal: "elm,action,slot,bottom,show";
7169                source: "elm";
7170                action: STATE_SET "visible" 0.0;
7171                transition: DECELERATE 0.3;
7172                target: "bottom";
7173                target: "elm.swallow.slot.bottom";
7174            }
7175            program { name: "bottomhide";
7176                signal: "elm,action,slot,bottom,hide";
7177                source: "elm";
7178                action: STATE_SET "default" 0.0;
7179                transition: DECELERATE 0.5;
7180                target: "bottom";
7181                target: "elm.swallow.slot.bottom";
7182            }
7183        }
7184    }
7185
7186    group { name: "elm/hover/base/hoversel_vertical/default";
7187       alias: "elm/hover/base/hoversel_vertical/entry";
7188       images {
7189 //         image: "shad_circ.png" COMP;
7190          image: "bt_base2.png" COMP;
7191          image: "bt_hilight.png" COMP;
7192          image: "bt_shine.png" COMP;
7193          image: "outdent-top.png" COMP;
7194          image: "outdent-bottom.png" COMP;
7195       }
7196       parts {
7197          part { name: "elm.swallow.offset";
7198             type: SWALLOW;
7199             description { state: "default" 0.0;
7200                align: 0.0 0.0;
7201                rel1.relative: 0.0 0.0;
7202                rel2.relative: 0.0 0.0;
7203             }
7204          }
7205          part { name: "elm.swallow.size";
7206             type: SWALLOW;
7207             description { state: "default" 0.0;
7208                align: 0.0 0.0;
7209                rel1.to: "elm.swallow.offset";
7210                rel1.relative: 1.0 1.0;
7211                rel2.to: "elm.swallow.offset";
7212                rel2.relative: 1.0 1.0;
7213             }
7214          }
7215 /*
7216         part { name: "shad";
7217             mouse_events:  0;
7218             description { state: "default" 0.0;
7219                image.normal: "shad_circ.png";
7220                rel1.to: "button_image";
7221                rel1.offset: -64 -64;
7222                rel2.to: "button_image";
7223                rel2.offset: 63 63;
7224                fill.smooth: 0;
7225             }
7226          }
7227  */
7228          part { name: "button_image";
7229             mouse_events: 1;
7230             description { state: "default" 0.0;
7231                rel1.to_x: "elm.swallow.slot.top";
7232                rel1.to_y: "elm.swallow.slot.top";
7233                rel1.offset: -2 -6;
7234                rel2.to_x: "elm.swallow.slot.top";
7235                rel2.to_y: "elm.swallow.slot.bottom";
7236                rel2.offset: 1 5;
7237                image {
7238                   normal: "bt_base2.png";
7239                   border: 7 7 7 7;
7240                }
7241                image.middle: SOLID;
7242             }
7243             description { state: "bottom" 0.0;
7244                rel1.to_x: "elm.swallow.slot.bottom";
7245                rel1.to_y: "elm.swallow.slot.top";
7246                rel1.offset: -2 -6;
7247                rel2.to_x: "elm.swallow.slot.bottom";
7248                rel2.to_y: "elm.swallow.slot.bottom";
7249                rel2.offset: 1 5;
7250                image {
7251                   normal: "bt_base2.png";
7252                   border: 7 7 7 7;
7253                }
7254                image.middle: SOLID;
7255             }
7256          }
7257
7258          part { name: "base";
7259             type: RECT;
7260             mouse_events: 1;
7261             description { state: "default" 0.0;
7262                color: 0 0 0 0;
7263             }
7264             description { state: "visible" 0.0;
7265                inherit: "default" 1.0;
7266                color: 0 0 0 64;
7267             }
7268          }
7269
7270          part { name: "topclip";
7271             type: RECT;
7272             description { state: "default" 0.0;
7273                rel2.to_y: "edge_top";
7274                rel2.relative: 1.0 0.0;
7275                rel2.offset: -1 7;
7276             }
7277          }
7278          part { name: "elm.swallow.slot.top";
7279             type: SWALLOW;
7280             clip_to: "topclip";
7281             description { state: "default" 0.0;
7282                visible: 1;
7283                align: 0.5 0.0;
7284                rel1.to: "elm.swallow.slot.middle";
7285                rel1.relative: 0.0 0.0;
7286                rel1.offset: 0 -1;
7287                rel2.to: "elm.swallow.slot.middle";
7288                rel2.relative: 1.0 0.0;
7289                rel2.offset: -1 -1;
7290             }
7291             description { state: "visible" 0.0;
7292                inherit: "default" 0.0;
7293                rel1.offset: 0 -7;
7294                rel2.offset: -1 -7;
7295                align: 0.5 1.0;
7296             }
7297          }
7298
7299          part { name: "bottomclip";
7300             type: RECT;
7301             description { state: "default" 0.0;
7302                rel1.to_y: "edge_bottom";
7303                rel1.relative: 0.0 1.0;
7304                rel1.offset: -1 -8;
7305             }
7306          }
7307          part { name: "elm.swallow.slot.bottom";
7308             type: SWALLOW;
7309             clip_to: "bottomclip";
7310             description { state: "default" 0.0;
7311                align: 0.5 1.0;
7312                rel1.to: "elm.swallow.slot.middle";
7313                rel1.relative: 0.0 1.0;
7314                rel1.offset: 0 0;
7315                rel2.to: "elm.swallow.slot.middle";
7316                rel2.relative: 1.0 1.0;
7317                rel2.offset: -1 0;
7318             }
7319             description { state: "visible" 0.0;
7320                inherit: "default" 0.0;
7321                rel1.offset: 0 6;
7322                rel2.offset: -1 6;
7323                align: 0.5 0.0;
7324             }
7325          }
7326
7327          part {          name: "over1";
7328             mouse_events: 0;
7329             description { state: "default" 0.0;
7330                rel1.to: "button_image";
7331                rel2.to: "button_image";
7332                rel2.relative: 1.0 0.5;
7333                image {
7334                   normal: "bt_hilight.png";
7335                   border: 7 7 7 0;
7336                }
7337             }
7338          }
7339          part { name: "over2";
7340             mouse_events: 1;
7341             repeat_events: 1;
7342             ignore_flags: ON_HOLD;
7343             description { state: "default" 0.0;
7344                rel1.to: "button_image";
7345                rel2.to: "button_image";
7346                image {
7347                   normal: "bt_shine.png";
7348                   border: 7 7 7 7;
7349                }
7350             }
7351          }
7352          part { name: "edge_top";
7353             mouse_events:  0;
7354             description { state: "default" 0.0;
7355                visible: 0;
7356                rel1 {
7357                   to: "elm.swallow.size";
7358                   offset: 0 -10;
7359                }
7360                rel2 {
7361                   to: "elm.swallow.size";
7362                }
7363                image.normal: "outdent-bottom.png";
7364                image.border: 0 0 13 0;
7365                fill.smooth: 0;
7366             }
7367             description { state: "visible" 0.0;
7368                inherit: "default" 0.0;
7369                visible: 1;
7370             }
7371          }
7372          part { name: "edge_bottom";
7373             mouse_events:  0;
7374             description { state: "default" 0.0;
7375                visible: 0;
7376                rel1 {
7377                   to: "elm.swallow.size";
7378                }
7379                rel2 {
7380                   to: "elm.swallow.size";
7381                   offset: -1 9;
7382                }
7383                image.normal: "outdent-top.png";
7384                image.border: 0 0 0 13;
7385                fill.smooth: 0;
7386             }
7387             description { state: "visible" 0.0;
7388                inherit: "default" 0.0;
7389                visible: 1;
7390             }
7391          }
7392          part { name: "elm.swallow.slot.middle";
7393             type: SWALLOW;
7394             description { state: "default" 0.0;
7395                rel1.to: "elm.swallow.size";
7396                rel2.to: "elm.swallow.size";
7397             }
7398          }
7399       }
7400       programs {
7401          program { name: "end";
7402             signal: "mouse,up,1";
7403             source: "base";
7404             action: SIGNAL_EMIT "elm,action,dismiss" "";
7405          }
7406
7407          program { name: "show";
7408             signal: "elm,action,show";
7409             source: "elm";
7410             action: STATE_SET "visible" 0.0;
7411 //            transition: DECELERATE 0.5;
7412             target: "base";
7413          }
7414          program { name: "hide";
7415             signal: "elm,action,hide";
7416             source: "elm";
7417             action: STATE_SET "default" 0.0;
7418 //            transition: DECELERATE 0.5;
7419             target: "base";
7420          }
7421          program { name: "topshow";
7422             signal: "elm,action,slot,top,show";
7423             source: "elm";
7424             action: STATE_SET "visible" 0.0;
7425             target: "edge_top";
7426             after: "topshow2";
7427          }
7428          program { name: "topshow2";
7429             action: STATE_SET "visible" 0.0;
7430             transition: DECELERATE 0.5;
7431             target: "elm.swallow.slot.top";
7432          }
7433          program { name: "topshow3";
7434             signal: "elm,action,slot,top,show";
7435             source: "elm";
7436             action: STATE_SET "default" 0.0;
7437             target: "button_image";
7438          }
7439          program { name: "tophide";
7440             signal: "elm,action,slot,top,hide";
7441             source: "elm";
7442             action: STATE_SET "default" 0.0;
7443             transition: DECELERATE 0.5;
7444             target: "elm.swallow.slot.top";
7445             after: "tophide2";
7446          }
7447          program { name: "tophide2";
7448             action: STATE_SET "default" 0.0;
7449             target: "edge_top";
7450          }
7451          program { name: "bottomshow";
7452             signal: "elm,action,slot,bottom,show";
7453             source: "elm";
7454             action: STATE_SET "visible" 0.0;
7455             target: "edge_bottom";
7456             after: "bottomshow2";
7457          }
7458          program { name: "bottomshow2";
7459             action: STATE_SET "visible" 0.0;
7460             transition: DECELERATE 0.5;
7461             target: "elm.swallow.slot.bottom";
7462          }
7463          program { name: "bottomshow3";
7464             signal: "elm,action,slot,bottom,show";
7465             source: "elm";
7466             action: STATE_SET "bottom" 0.0;
7467             target: "button_image";
7468          }
7469          program { name: "bottomhide";
7470             signal: "elm,action,slot,bottom,hide";
7471             source: "elm";
7472             action: STATE_SET "default" 0.0;
7473             transition: DECELERATE 0.5;
7474             target: "elm.swallow.slot.bottom";
7475             after: "bottomhide2";
7476          }
7477          program { name: "bottomhide2";
7478             action: STATE_SET "default" 0.0;
7479             target: "edge_bottom";
7480          }
7481       }
7482    }
7483 ///////////////////////////////////////////////////////////////////////////////
7484    group { name: "elm/scroller/base/ctxpopup";
7485       data {
7486          item: "focus_highlight" "on";
7487       }
7488       script {
7489          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7490          public timer0(val) {
7491             new v;
7492             v = get_int(sbvis_v);
7493             if (v) {
7494                v = get_int(sbalways_v);
7495                if(!v) {
7496                   emit("do-hide-vbar", "");
7497                   set_int(sbvis_v, 0);
7498                }
7499             }
7500             v = get_int(sbvis_h);
7501             if (v) {
7502                v = get_int(sbalways_h);
7503                if(!v) {
7504                   emit("do-hide-hbar", "");
7505                   set_int(sbvis_h, 0);
7506                }
7507             }
7508             set_int(sbvis_timer, 0);
7509             return 0;
7510          }
7511       }
7512       images {
7513          image: "bt_sm_base2.png" COMP;
7514          image: "bt_sm_shine.png" COMP;
7515          image: "bt_sm_hilight.png" COMP;
7516          image: "sl_bt2_2.png" COMP;
7517       }
7518       parts {
7519          part { name: "clipper";
7520             type: RECT;
7521             mouse_events: 0;
7522             scale: 1;
7523             description { state: "default" 0.0;
7524             }
7525          }
7526          part { name: "elm.swallow.content";
7527             clip_to: "clipper";
7528             type: SWALLOW;
7529             scale: 1;
7530             description { state: "default" 0.0;
7531                align: 0.5 0.5;
7532             }
7533          }
7534          part { name: "focus_highlight";
7535             mouse_events: 0;
7536             description { state: "default" 0.0;
7537                rel1.offset: -1 -1;
7538                rel2.offset: 0 0;
7539                image { normal: "sl_bt2_2.png";
7540                   border: 7 7 7 7;
7541                   middle: 0;
7542                }
7543                fill.smooth : 0;
7544                color: 200 155 0 0;
7545             }
7546             description { state: "enabled" 0.0;
7547                inherit: "default" 0.0;
7548                color: 200 155 0 255;
7549             }
7550          }
7551          part { name: "sb_vbar_clip_master";
7552             type: RECT;
7553             mouse_events: 0;
7554             description { state: "default" 0.0;
7555             }
7556             description { state: "hidden" 0.0;
7557                visible: 0;
7558                color: 255 255 255 0;
7559             }
7560          }
7561          part { name: "sb_vbar_clip";
7562             clip_to:"sb_vbar_clip_master";
7563             type: RECT;
7564             mouse_events: 0;
7565             scale: 1;
7566             description { state: "default" 0.0;
7567                align: 0.0 0.0;
7568                rel2{ to:"clipper"; relative: 1.0 1.0;}
7569             }
7570             description { state: "hidden" 0.0;
7571                visible: 0;
7572                color: 255 255 255 0;
7573             }
7574          }
7575          part { name: "sb_vbar";
7576             type: RECT;
7577             mouse_events: 0;
7578             scale: 1;
7579             description { state: "default" 0.0;
7580                fixed: 1 1;
7581                visible: 0;
7582                align: 1.0 0.0;
7583                rel1{ to:"clipper"; relative: 1.0 0.0; }
7584                rel2{ to:"clipper"; relative: 1.0 1.0; }
7585             }
7586          }
7587          part { name: "elm.dragable.vbar";
7588             clip_to: "sb_vbar_clip";
7589             mouse_events: 0;
7590             scale: 1;
7591             dragable {
7592                x: 0 0 0;
7593                y: 1 1 0;
7594                confine: "sb_vbar";
7595             }
7596             description { state: "default" 0.0;
7597                fixed: 1 1;
7598                min: 10 17;
7599                max: 10 99999;
7600                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7601                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7602                image { normal: "bt_sm_base2.png";
7603                   border: 6 6 6 6;
7604                   middle: SOLID;
7605                }
7606             }
7607          }
7608          part { name: "sb_vbar_over1";
7609             clip_to: "sb_vbar_clip";
7610             mouse_events: 0;
7611             description { state: "default" 0.0;
7612                rel1.to: "elm.dragable.vbar";
7613                rel2.relative: 1.0 0.5;
7614                rel2.to: "elm.dragable.vbar";
7615                image { normal: "bt_sm_hilight.png";
7616                   border: 6 6 6 0;
7617                }
7618             }
7619          }
7620          part { name: "sb_vbar_over2";
7621             clip_to: "sb_vbar_clip";
7622             mouse_events: 0;
7623             description { state: "default" 0.0;
7624                rel1.to: "elm.dragable.vbar";
7625                rel2.to: "elm.dragable.vbar";
7626                image { normal: "bt_sm_shine.png";
7627                   border: 6 6 6 0;
7628                }
7629             }
7630          }
7631          part { name: "sb_hbar_clip_master";
7632             type: RECT;
7633             mouse_events: 0;
7634             description { state: "default" 0.0;
7635             }
7636             description { state: "hidden" 0.0;
7637                visible: 0;
7638                color: 255 255 255 0;
7639             }
7640          }
7641          part { name: "sb_hbar_clip";
7642             clip_to: "sb_hbar_clip_master";
7643             type: RECT;
7644             mouse_events: 0;
7645             scale: 1;
7646             description { state: "default" 0.0;
7647                align: 0.0 0.0;
7648                rel2{ to:"clipper"; relative: 1.0 1.0;}
7649             }
7650             description { state: "hidden" 0.0;
7651                visible: 0;
7652                color: 255 255 255 0;
7653             }
7654          }
7655          part { name: "sb_hbar";
7656             type: RECT;
7657             mouse_events: 0;
7658             scale: 1;
7659             description { state: "default" 0.0;
7660                fixed: 1 1;
7661                visible: 0;
7662                align: 0.0 1.0;
7663                rel1 { to:"clipper"; relative: 0.0 1.0; }
7664                rel2 { to:"clipper"; relative: 1.0 1.0; }
7665             }
7666          }
7667          part { name: "elm.dragable.hbar";
7668             clip_to: "sb_hbar_clip";
7669             mouse_events: 0;
7670             scale: 1;
7671             dragable {
7672                x: 1 1 0;
7673                y: 0 0 0;
7674                confine: "sb_hbar";
7675             }
7676             description { state: "default" 0.0;
7677                min: 17 10;
7678                max: 99999 10;
7679                fixed: 1 1;
7680                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7681                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7682                image { normal: "bt_sm_base2.png";
7683                   border: 4 4 4 4;
7684                   middle: SOLID;
7685                }
7686             }
7687          }
7688          part { name: "sb_hbar_over1";
7689             clip_to: "sb_hbar_clip";
7690             mouse_events: 0;
7691             description { state: "default" 0.0;
7692                rel1.to: "elm.dragable.hbar";
7693                rel2.relative: 1.0 0.5;
7694                rel2.to: "elm.dragable.hbar";
7695                image { normal: "bt_sm_hilight.png";
7696                   border: 6 6 6 0;
7697                }
7698             }
7699          }
7700          part { name: "sb_hbar_over2";
7701             clip_to: "sb_hbar_clip";
7702             mouse_events: 0;
7703             description { state: "default" 0.0;
7704                rel1.to: "elm.dragable.hbar";
7705                rel2.to: "elm.dragable.hbar";
7706                image { normal: "bt_sm_shine.png";
7707                   border: 6 6 6 0;
7708                }
7709             }
7710          }
7711       }
7712       programs {
7713          program { name: "load";
7714             signal: "load";
7715             source: "";
7716             script {
7717                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7718                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7719                set_int(sbvis_v, 0);
7720                set_int(sbvis_h, 0);
7721                set_int(sbalways_v, 0);
7722                                    set_int(sbalways_h, 0);
7723                set_int(sbvis_timer, 0);
7724             }
7725          }
7726          program { name: "vbar_show";
7727             signal: "elm,action,show,vbar";
7728             source: "elm";
7729             action: STATE_SET "default" 0.0;
7730             target: "sb_vbar_clip_master";
7731          }
7732          program { name: "vbar_hide";
7733             signal: "elm,action,hide,vbar";
7734             source: "elm";
7735             action:  STATE_SET "hidden" 0.0;
7736             target: "sb_vbar_clip_master";
7737          }
7738          program { name: "vbar_show_always";
7739             signal: "elm,action,show_always,vbar";
7740             source: "elm";
7741             script {
7742                new v;
7743                v = get_int(sbvis_v);
7744                v |= get_int(sbalways_v);
7745                if (!v) {
7746                   set_int(sbalways_v, 1);
7747                   emit("do-show-vbar", "");
7748                   set_int(sbvis_v, 1);
7749                }
7750             }
7751          }
7752          program { name: "vbar_show_notalways";
7753             signal: "elm,action,show_notalways,vbar";
7754             source: "elm";
7755             script {
7756                new v;
7757                v = get_int(sbalways_v);
7758                if (v) {
7759                   set_int(sbalways_v, 0);
7760                   v = get_int(sbvis_v);
7761                   if (!v) {
7762                      emit("do-hide-vbar", "");
7763                      set_int(sbvis_v, 0);
7764                   }
7765                }
7766             }
7767          }
7768          program { name: "sb_vbar_show";
7769             signal: "do-show-vbar";
7770             source: "";
7771             action:  STATE_SET "default" 0.0;
7772             transition: LINEAR 1.0;
7773             target: "sb_vbar_clip";
7774          }
7775          program { name: "sb_vbar_hide";
7776             signal: "do-hide-vbar";
7777             source: "";
7778             action:  STATE_SET "hidden" 0.0;
7779             transition: LINEAR 1.0;
7780             target: "sb_vbar_clip";
7781          }
7782          program { name: "hbar_show";
7783             signal: "elm,action,show,hbar";
7784             source: "elm";
7785             action:  STATE_SET "default" 0.0;
7786             target: "sb_hbar_clip_master";
7787          }
7788          program { name: "hbar_hide";
7789             signal: "elm,action,hide,hbar";
7790             source: "elm";
7791             action:  STATE_SET "hidden" 0.0;
7792             target: "sb_hbar_clip_master";
7793          }
7794          program { name: "hbar_show_always";
7795             signal: "elm,action,show_always,hbar";
7796             source: "elm";
7797             script {
7798                new v;
7799                v = get_int(sbvis_h);
7800                v |= get_int(sbalways_h);
7801                if (!v) {
7802                   set_int(sbalways_h, 1);
7803                   emit("do-show-hbar", "");
7804                   set_int(sbvis_h, 1);
7805                }
7806             }
7807          }
7808          program { name: "hbar_show_notalways";
7809             signal: "elm,action,show_notalways,hbar";
7810             source: "elm";
7811             script {
7812                new v;
7813                v = get_int(sbalways_h);
7814                if (v) {
7815                   set_int(sbalways_h, 0);
7816                   v = get_int(sbvis_h);
7817                   if (!v) {
7818                      emit("do-hide-hbar", "");
7819                      set_int(sbvis_h, 0);
7820                   }
7821                }
7822             }
7823          }
7824          program { name: "sb_hbar_show";
7825             signal: "do-show-hbar";
7826             source: "";
7827             action:  STATE_SET "default" 0.0;
7828             transition: LINEAR 1.0;
7829             target: "sb_hbar_clip";
7830          }
7831          program { name: "sb_hbar_hide";
7832             signal: "do-hide-hbar";
7833             source: "";
7834             action:  STATE_SET "hidden" 0.0;
7835             transition: LINEAR 1.0;
7836             target: "sb_hbar_clip";
7837          }             
7838          program { name: "scroll";
7839             signal: "elm,action,scroll";
7840             source: "elm";
7841             script {
7842                new v;
7843                v = get_int(sbvis_v);
7844                v |= get_int(sbalways_v);
7845                if (!v) {
7846                   emit("do-show-vbar", "")
7847                   set_int(sbvis_v, 1);
7848                }
7849                v = get_int(sbvis_h);
7850                v |= get_int(sbalways_h);
7851                if (!v) {
7852                   emit("do-show-hbar", "");
7853                   set_int(sbvis_h, 1);
7854                }
7855                v = get_int(sbvis_timer);
7856                if (v > 0) cancel_timer(v);
7857                v = timer(1.0, "timer0", 0);
7858                set_int(sbvis_timer, v);
7859             }
7860          }
7861          program { name: "highlight_show";
7862             signal: "elm,action,focus_highlight,show";
7863             source: "elm";
7864             action: STATE_SET "enabled" 0.0;
7865             transition: ACCELERATE 0.3;
7866             target: "focus_highlight";
7867           }
7868          program { name: "highlight_hide";
7869             signal: "elm,action,focus_highlight,hide";
7870             source: "elm";
7871             action: STATE_SET "default" 0.0;
7872             transition: DECELERATE 0.3;
7873             target: "focus_highlight";
7874          }
7875       }
7876    }
7877 ///////////////////////////////////////////////////////////////////////////////
7878    group { name: "elm/ctxpopup/bg/default";
7879       parts {
7880          part { name: "ctxpopup_bg";
7881             type: RECT;
7882             mouse_events: 1;
7883             description { state: "default" 0.0;
7884                color: 0 0 0 0;
7885             }
7886             description { state: "visible" 0.0;
7887                inherit: "default" 0.0;
7888                color: 0 0 0 64;
7889             }
7890          }
7891       }
7892       programs {
7893          program { name: "clicked_event";
7894             signal: "mouse,clicked,1";
7895             source: "ctxpopup_bg";
7896             action: SIGNAL_EMIT "elm,action,click" "";
7897          }
7898          program { name: "show";
7899             signal: "elm,state,show";
7900             source: "elm";
7901             action: STATE_SET "visible" 0.0;
7902             target: "ctxpopup_bg";
7903          }
7904          program { name: "hide";
7905             signal: "elm,state,hide";
7906             source: "elm";
7907             action: STATE_SET "default" 0.0;
7908             target: "ctxpopup_bg";
7909          }
7910       }
7911    }
7912 ///////////////////////////////////////////////////////////////////////////////
7913    group { name: "elm/ctxpopup/base/default";
7914       images {
7915          image: "bt_base2.png" COMP;
7916          image: "bt_hilight.png" COMP;
7917          image: "bt_shine.png" COMP;
7918       }
7919       parts {
7920          part { name: "base";
7921             scale: 1;
7922             description { state: "default" 0.0;
7923                rel1.offset: -3 -3;
7924                rel2.offset: 3 3;
7925                image { normal: "bt_base2.png";
7926                   border: 7 7 7 7;
7927                }
7928             }
7929          }
7930          part { name: "over1";
7931             scale: 1;
7932             description { state: "default" 0.0;
7933                rel1.to: "base";
7934                rel2.to: "base";
7935                rel2.relative: 1.0 0.5;
7936                image { normal: "bt_hilight.png";
7937                   border: 7 7 7 0;
7938                }
7939             }
7940          }
7941          part { name: "over2";
7942             scale: 1;
7943             description { state: "default" 0.0;
7944                rel1.to: "base";
7945                rel2.to: "base";
7946                image { normal: "bt_shine.png";
7947                   border: 7 7 7 7;
7948                }
7949             }
7950          }
7951          part { name: "elm.swallow.content";
7952             type: SWALLOW;
7953             description { state: "default" 0.0;
7954                rel1 { to:"base"; offset: 4 4; };
7955                rel2 { to:"base"; offset: -5 -5; };
7956             }
7957          }          
7958       }
7959    }
7960 ///////////////////////////////////////////////////////////////////////////////
7961    group { name: "elm/ctxpopup/arrow/default";
7962       images {
7963          image: "icon_arrow_left.png" COMP;
7964          image: "icon_arrow_right.png" COMP;
7965          image: "icon_arrow_up.png" COMP;
7966          image: "icon_arrow_down.png" COMP;
7967       }
7968       parts {
7969                         part { name: "ctxpopup_arrow";
7970             type: IMAGE;
7971             scale: 1;
7972             description {
7973                state: "default" 0.0;
7974                min: 40 40;
7975                fixed: 1 1;
7976                visible: 0;
7977                align: 0.5 0.5;
7978             }
7979             description {
7980                state: "left" 0.0;
7981                min: 40 40;
7982                fixed: 1 1;
7983                align: 0.0 0.5;
7984                image { normal: "icon_arrow_left.png";
7985                }
7986             }
7987             description { state: "right" 0.0;
7988                min: 40 40;
7989                fixed: 1 1;
7990                align: 1.0 0.5;
7991                image { normal: "icon_arrow_right.png";    
7992                                         }
7993             }
7994             description { state: "top" 0.0;
7995                min: 40 40;
7996                fixed: 1 1;
7997                align: 0.5 0.0;
7998                image { normal: "icon_arrow_up.png";
7999                }
8000             }
8001             description { state: "bottom" 0.0;
8002                min: 40 40;
8003                fixed: 1 1;
8004                align: 0.5 1.0;
8005                image { normal: "icon_arrow_down.png";
8006                }
8007             }
8008          }
8009       }
8010       programs {
8011          program { name: "enable_left_arrow";
8012             signal: "elm,state,left";
8013             source: "elm";
8014             action: STATE_SET "left" 0.0;
8015             target: "ctxpopup_arrow";
8016          }
8017          program { name: "enable_right_arrow";
8018             signal: "elm,state,right";
8019             source: "elm";
8020             action: STATE_SET "right" 0.0;
8021             target: "ctxpopup_arrow";
8022          }
8023          program { name: "enable_top_arrow";
8024             signal: "elm,state,top";
8025             source: "elm";
8026             action: STATE_SET "top" 0.0;
8027             target: "ctxpopup_arrow";
8028          }
8029          program { name: "enable_bottom_arrow";
8030             signal: "elm,state,bottom";
8031             source: "elm";
8032             action: STATE_SET "bottom" 0.0;
8033             target: "ctxpopup_arrow";
8034          }
8035       }
8036    }
8037 ///////////////////////////////////////////////////////////////////////////////
8038    group {
8039       name: "elm/ctxpopup/icon_text_style_item/default";
8040            alias: "elm/ctxpopup/text_style_item/default";
8041            alias: "elm/ctxpopup/icon_style_item/default";
8042       images {
8043          image: "hoversel_entry_bg.png" COMP;
8044       }
8045       parts {
8046          part { name: "event";
8047             mouse_events: 1;
8048             description { state: "default" 0.0;
8049             }
8050          }
8051          part { name: "bg";
8052             mouse_events: 0;
8053             description { state: "default" 0.0;
8054                rel1.offset: 2 2;
8055                rel2.offset: -3 -3;
8056                image { normal:"hoversel_entry_bg.png";
8057                   border: 0 0 2 2;
8058                }
8059                fill.smooth: 0;
8060                color: 255 255 255 0;
8061             }
8062             description { state: "clicked" 0.0;
8063                inherit: "default" 0.0;
8064                color: 255 255 255 255;
8065             }
8066          }
8067          part { name: "elm.swallow.icon";
8068             type: SWALLOW;
8069             clip_to: "disclip";
8070             scale: 1;
8071             description { state: "default" 0.0;
8072                min: 25 25;
8073                max: 25 25;  
8074                align: 0 0.5;
8075                aspect: 1.0 1.0;
8076                rel1 { offset: 10 10; }  
8077                                         rel2 { offset: 0 -10; }
8078             }
8079          }
8080          part { name: "elm.text";
8081             type: TEXT;
8082             mouse_events: 0;
8083             clip_to: "disclip";
8084             scale: 1;
8085             description { state: "default" 0.0;
8086                min: 1 40;
8087                fixed: 0 1;
8088                align: 0.5 0.5;
8089                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8090                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8091                color: 255 255 255 255;
8092                text {
8093                   font: "Sans";
8094                   size: 10;
8095                   align: 0.0 0.5;
8096                   min: 1 1;
8097                }
8098             }
8099             description { state: "clicked" 0.0;
8100                inherit: "default" 0.0;
8101                color: 0 0 0 255;
8102             }
8103          }
8104                         part { name: "over1";
8105             mouse_events: 1;
8106             repeat_events: 1;
8107             ignore_flags: ON_HOLD;
8108             description { state: "default" 0.0;
8109                color: 255 255 255 0;
8110             }
8111             description { state: "clicked" 0.0;
8112                inherit: "default" 0.0;
8113                color: 255 255 255 255;
8114             }
8115          }
8116          part { name: "over2";
8117             mouse_events: 1;
8118             repeat_events: 1;
8119             description { state: "default" 0.0;
8120                color: 255 255 255 0;
8121             }
8122             description { state: "clicked" 0.0;
8123                inherit: "default" 0.0;
8124                color: 255 255 255 255;
8125             }
8126          }
8127          part { name: "disclip";
8128             type: RECT;
8129             description { state: "default" 0.0;
8130                color: 255 255 255 255;
8131             }
8132             description { state: "enabled" 0.0;
8133                color: 127 127 127 127;
8134             }
8135          }
8136          part { name: "blocker";
8137             description { state: "default" 0.0;
8138                visible: 0;
8139             }
8140             description { state: "enabled" 0.0;
8141                visible: 1;
8142                color: 0 0 0 0;
8143             }
8144          }
8145                 }
8146       programs {
8147          program {
8148             name: "item_unclick";
8149             signal: "mouse,up,1";
8150             source: "over1";
8151             action: SIGNAL_EMIT "elm,action,click" "";
8152          }
8153          program { name: "disable";
8154             signal: "elm,state,disabled";
8155             source: "elm";
8156             action: STATE_SET "enabled" 0.0;
8157             target: "disclip";
8158             target: "blocker";
8159          }
8160          program { name: "enable";
8161             signal: "elm,state,enabled";
8162             source: "elm";
8163             action: STATE_SET "default" 0.0;
8164             target: "disclip";
8165             target: "blocker";
8166          }
8167          program { name: "item_click2";
8168             signal: "mouse,down,1";
8169             source: "over2";
8170             script {
8171                set_state(PART:"elm.text", "clicked", 0.0);
8172                set_state(PART:"bg", "clicked", 0.0);
8173             }
8174          }
8175          program { name: "item_unclick2";
8176             signal: "mouse,up,1";
8177             source: "over2";
8178             script {
8179                                         set_state(PART:"elm.text", "default", 0.0);
8180                set_state(PART:"bg", "default", 0.0);
8181             }
8182          }
8183       }
8184    }
8185 ///////////////////////////////////////////////////////////////////////////////
8186 // emoticon images from:
8187 // Tanya - Latvia
8188 // http://lazycrazy.deviantart.com/
8189 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8190   group { name: "elm/entry/emoticon/angry/default"; images.image:
8191      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8192         "emo-angry.png"; } } } }
8193   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8194      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8195         "emo-angry-shout.png"; } } } }
8196   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8197      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8198         "emo-crazy-laugh.png"; } } } }
8199   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8200      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8201         "emo-evil-laugh.png"; } } } }
8202   group { name: "elm/entry/emoticon/evil/default"; images.image:
8203      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8204         "emo-evil.png"; } } } }
8205   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8206      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8207         "emo-goggle-smile.png"; } } } }
8208   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8209      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8210         "emo-grumpy.png"; } } } }
8211   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8212      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8213         "emo-grumpy-smile.png"; } } } }
8214   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8215      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8216         "emo-guilty.png"; } } } }
8217   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8218      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8219         "emo-guilty-smile.png"; } } } }
8220   group { name: "elm/entry/emoticon/haha/default"; images.image:
8221      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8222         "emo-haha.png"; } } } }
8223   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8224      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8225         "emo-half-smile.png"; } } } }
8226   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8227      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8228         "emo-happy-panting.png"; } } } }
8229   group { name: "elm/entry/emoticon/happy/default"; images.image:
8230      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8231         "emo-happy.png"; } } } }
8232   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8233      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8234         "emo-indifferent.png"; } } } }
8235   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8236      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8237         "emo-kiss.png"; } } } }
8238   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8239      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8240         "emo-knowing-grin.png"; } } } }
8241   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8242      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8243         "emo-laugh.png"; } } } }
8244   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8245      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8246         "emo-little-bit-sorry.png"; } } } }
8247   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8248      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8249         "emo-love-lots.png"; } } } }
8250   group { name: "elm/entry/emoticon/love/default"; images.image:
8251      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8252         "emo-love.png"; } } } }
8253   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8254      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8255         "emo-minimal-smile.png"; } } } }
8256   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8257      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8258         "emo-not-happy.png"; } } } }
8259   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8260      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8261         "emo-not-impressed.png"; } } } }
8262   group { name: "elm/entry/emoticon/omg/default"; images.image:
8263      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8264         "emo-omg.png"; } } } }
8265   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8266      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8267         "emo-opensmile.png"; } } } }
8268   group { name: "elm/entry/emoticon/smile/default"; images.image:
8269      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8270         "emo-smile.png"; } } } }
8271   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8272      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8273         "emo-sorry.png"; } } } }
8274   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8275      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8276         "emo-squint-laugh.png"; } } } }
8277   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8278      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8279         "emo-surprised.png"; } } } }
8280   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8281      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8282         "emo-suspicious.png"; } } } }
8283   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8284      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8285         "emo-tongue-dangling.png"; } } } }
8286   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8287      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8288         "emo-tongue-poke.png"; } } } }
8289   group { name: "elm/entry/emoticon/uh/default"; images.image:
8290      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8291         "emo-uh.png"; } } } }
8292   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8293      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8294         "emo-unhappy.png"; } } } }
8295   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8296      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8297         "emo-very-sorry.png"; } } } }
8298   group { name: "elm/entry/emoticon/what/default"; images.image:
8299      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8300         "emo-what.png"; } } } }
8301   group { name: "elm/entry/emoticon/wink/default"; images.image:
8302      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8303         "emo-wink.png"; } } } }
8304   group { name: "elm/entry/emoticon/worried/default"; images.image:
8305      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8306         "emo-worried.png"; } } } }
8307   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8308      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8309         "emo-wtf.png"; } } } }
8310 //------------------------------------------------------------
8311    group { name: "elm/entry/base/default";
8312       styles
8313       {
8314          style { name: "entry_textblock_style";
8315             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8316             tag:  "br" "\n";
8317             tag:  "ps" "ps";
8318             tag:  "tab" "\t";
8319             tag:  "em" "+ font=Sans:style=Oblique";
8320             tag:  "b" "+ font=Sans:style=Bold";
8321             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8322             tag:  "hilight" "+ font=Sans:style=Bold";
8323          }
8324          style { name: "entry_textblock_disabled_style";
8325             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8326             tag:  "br" "\n";
8327             tag:  "ps" "ps";
8328             tag:  "tab" "\t";
8329             tag:  "em" "+ font=Sans:style=Oblique";
8330             tag:  "b" "+ font=Sans:style=Bold";
8331             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8332             tag:  "hilight" "+ font=Sans:style=Bold";
8333          }
8334       }
8335       data {
8336 //         item: context_menu_orientation "horizontal";
8337       }
8338       parts {
8339          part { name: "elm.text";
8340             type: TEXTBLOCK;
8341             mouse_events: 1;
8342             scale: 1;
8343             entry_mode: EDITABLE;
8344             select_mode: EXPLICIT;
8345             multiline: 1;
8346             source: "elm/entry/selection/default"; // selection under
8347    //       source2: "X"; // selection over
8348    //       source3: "X"; // cursor under
8349             source4: "elm/entry/cursor/default"; // cursorover
8350             source5: "elm/entry/anchor/default"; // anchor under
8351    //       source6: "X"; // anchor over
8352             description { state: "default" 0.0;
8353                /* we gotta use 0 0 here, because of scrolled entries */
8354                fixed: 0 0;
8355                text {
8356                   style: "entry_textblock_style";
8357                   min: 0 1;
8358                }
8359             }
8360             description { state: "disabled" 0.0;
8361                inherit: "default" 0.0;
8362                text {
8363                   style: "entry_textblock_disabled_style";
8364                   min: 0 1;
8365                }
8366             }
8367          }
8368       }
8369       programs {
8370          program { name: "focus";
8371             signal: "load";
8372             source: "";
8373             action: FOCUS_SET;
8374             target: "elm.text";
8375          }
8376          program { name: "disable";
8377             signal: "elm,state,disabled";
8378             source: "elm";
8379             action: STATE_SET "disabled" 0.0;
8380             target: "elm.text";
8381          }
8382          program { name: "enable";
8383             signal: "elm,state,enabled";
8384             source: "elm";
8385             action: STATE_SET "default" 0.0;
8386             target: "elm.text";
8387          }
8388       }
8389    }
8390
8391    group { name: "elm/entry/base-charwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_charwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8396             tag:  "br" "\n";
8397             tag:  "ps" "ps";
8398             tag:  "tab" "\t";
8399             tag:  "em" "+ font=Sans:style=Oblique";
8400             tag:  "b" "+ font=Sans:style=Bold";
8401             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8402             tag:  "hilight" "+ font=Sans:style=Bold";
8403          }
8404          style { name: "entry_textblock_disabled_style_charwrap";
8405             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8406             tag:  "br" "\n";
8407             tag:  "ps" "ps";
8408             tag:  "tab" "\t";
8409             tag:  "em" "+ font=Sans:style=Oblique";
8410             tag:  "b" "+ font=Sans:style=Bold";
8411             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8412             tag:  "hilight" "+ font=Sans:style=Bold";
8413          }
8414       }
8415       parts {
8416          part { name: "elm.text";
8417             type: TEXTBLOCK;
8418             mouse_events: 1;
8419             scale: 1;
8420             entry_mode: EDITABLE;
8421             select_mode: EXPLICIT;
8422             multiline: 1;
8423             source: "elm/entry/selection/default"; // selection under
8424 //          source2: "X"; // selection over
8425 //          source3: "X"; // cursor under
8426             source4: "elm/entry/cursor/default"; // cursorover
8427             source5: "elm/entry/anchor/default"; // anchor under
8428 //          source6: "X"; // anchor over
8429             description { state: "default" 0.0;
8430                fixed: 1 0;
8431                text {
8432                   style: "entry_textblock_style_charwrap";
8433                   min: 0 1;
8434                }
8435             }
8436             description { state: "disabled" 0.0;
8437                inherit: "default" 0.0;
8438                text {
8439                   style: "entry_textblock_disabled_style_charwrap";
8440                   min: 0 1;
8441                }
8442             }
8443          }
8444       }
8445       programs {
8446          program { name: "focus";
8447             signal: "load";
8448             source: "";
8449             action: FOCUS_SET;
8450             target: "elm.text";
8451          }
8452          program { name: "disable";
8453             signal: "elm,state,disabled";
8454             source: "elm";
8455             action: STATE_SET "disabled" 0.0;
8456             target: "elm.text";
8457          }
8458          program { name: "enable";
8459             signal: "elm,state,enabled";
8460             source: "elm";
8461             action: STATE_SET "default" 0.0;
8462             target: "elm.text";
8463          }
8464       }
8465    }
8466
8467    group { name: "elm/entry/base-nowrap/default";
8468       parts {
8469          part { name: "elm.text";
8470             type: TEXTBLOCK;
8471             mouse_events: 1;
8472             scale: 1;
8473             entry_mode: EDITABLE;
8474             select_mode: EXPLICIT;
8475             multiline: 1;
8476             source: "elm/entry/selection/default"; // selection under
8477             source4: "elm/entry/cursor/default"; // cursorover
8478             source5: "elm/entry/anchor/default"; // anchor under
8479             description { state: "default" 0.0;
8480                text {
8481                   style: "entry_textblock_style";
8482                   min: 1 1;
8483                }
8484             }
8485             description { state: "disabled" 0.0;
8486                inherit: "default" 0.0;
8487                text {
8488                   style: "entry_textblock_disabled_style";
8489                   min: 0 1;
8490                }
8491             }
8492          }
8493 /*
8494          part { name: "sel";
8495             type: RECT;
8496             mouse_events: 0;
8497             description { state: "default" 0.0;
8498                align: 1.0 1.0;
8499                max: 16 16;
8500                aspect: 1.0 1.0;
8501                color: 255 0 0 0;
8502             }
8503             description { state: "visible" 0.0;
8504                inherit: "default" 0.0;
8505                color: 255 0 0 50;
8506             }
8507          }
8508  */
8509       }
8510       programs {
8511          program { name: "focus";
8512             signal: "load";
8513             source: "";
8514             action: FOCUS_SET;
8515             target: "elm.text";
8516          }
8517          program { name: "disable";
8518             signal: "elm,state,disabled";
8519             source: "elm";
8520             action: STATE_SET "disabled" 0.0;
8521             target: "elm.text";
8522          }
8523          program { name: "enable";
8524             signal: "elm,state,enabled";
8525             source: "elm";
8526             action: STATE_SET "default" 0.0;
8527             target: "elm.text";
8528          }
8529 /*
8530          program { name: "selmode0";
8531             signal: "elm,state,select,on";
8532             source: "elm";
8533             action: STATE_SET "visible" 0.0;
8534             target: "sel";
8535          }
8536          program { name: "selmode1";
8537             signal: "elm,state,select,off";
8538             source: "elm";
8539             action: STATE_SET "default" 0.0;
8540             target: "sel";
8541          }
8542  */
8543       }
8544    }
8545
8546    group { name: "elm/entry/base-single/default";
8547       styles
8548       {
8549          style { name: "entry_single_textblock_style";
8550             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8551             tag:  "br" "\n";
8552             tag:  "ps" "ps";
8553             tag:  "tab" "\t";
8554             tag:  "em" "+ font=Sans:style=Oblique";
8555             tag:  "b" "+ font=Sans:style=Bold";
8556             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8557             tag:  "hilight" "+ font=Sans:style=Bold";
8558          }
8559          style { name: "entry_single_textblock_disabled_style";
8560             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8561             tag:  "br" "\n";
8562             tag:  "ps" "ps";
8563             tag:  "tab" "\t";
8564             tag:  "em" "+ font=Sans:style=Oblique";
8565             tag:  "b" "+ font=Sans:style=Bold";
8566             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8567             tag:  "hilight" "+ font=Sans:style=Bold";
8568          }
8569       }
8570       parts {
8571          part { name: "elm.text";
8572             type: TEXTBLOCK;
8573             mouse_events: 1;
8574             scale: 1;
8575             entry_mode: EDITABLE;
8576             select_mode: EXPLICIT;
8577             multiline: 0;
8578             source: "elm/entry/selection/default"; // selection under
8579             source4: "elm/entry/cursor/default"; // cursorover
8580             source5: "elm/entry/anchor/default"; // anchor under
8581             description { state: "default" 0.0;
8582                text {
8583                   style: "entry_single_textblock_style";
8584                   min: 1 1;
8585                   max: 0 1;
8586                }
8587             }
8588             description { state: "disabled" 0.0;
8589                inherit: "default" 0.0;
8590                text {
8591                   style: "entry_single_textblock_disabled_style";
8592                }
8593             }
8594          }
8595       }
8596       programs {
8597          program { name: "focus";
8598             signal: "load";
8599             source: "";
8600             action: FOCUS_SET;
8601             target: "elm.text";
8602          }
8603          program { name: "disable";
8604             signal: "elm,state,disabled";
8605             source: "elm";
8606             action: STATE_SET "disabled" 0.0;
8607             target: "elm.text";
8608          }
8609          program { name: "enable";
8610             signal: "elm,state,enabled";
8611             source: "elm";
8612             action: STATE_SET "default" 0.0;
8613             target: "elm.text";
8614          }
8615       }
8616    }
8617
8618    group { name: "elm/entry/base-single-noedit/default";
8619       parts {
8620          part { name: "elm.text";
8621             type: TEXTBLOCK;
8622             mouse_events: 1;
8623             scale: 1;
8624             entry_mode: PLAIN;
8625             select_mode: EXPLICIT;
8626             multiline: 0;
8627             source: "elm/entry/selection/default"; // selection under
8628             source5: "elm/entry/anchor/default"; // anchor under
8629             description { state: "default" 0.0;
8630                text {
8631                   style: "entry_single_textblock_style";
8632                   min: 1 1;
8633                   max: 0 1;
8634                }
8635             }
8636             description { state: "disabled" 0.0;
8637                inherit: "default" 0.0;
8638                text {
8639                style: "entry_single_textblock_disabled_style";
8640                }
8641             }
8642          }
8643       }
8644       programs {
8645          program { name: "focus";
8646             signal: "load";
8647             source: "";
8648             action: FOCUS_SET;
8649             target: "elm.text";
8650          }
8651          program { name: "disable";
8652             signal: "elm,state,disabled";
8653             source: "elm";
8654             action: STATE_SET "disabled" 0.0;
8655             target: "elm.text";
8656          }
8657          program { name: "enable";
8658             signal: "elm,state,enabled";
8659             source: "elm";
8660             action: STATE_SET "default" 0.0;
8661             target: "elm.text";
8662          }
8663       }
8664    }
8665
8666    group { name: "elm/entry/base-noedit/default";
8667       parts {
8668          part { name: "elm.text";
8669             type: TEXTBLOCK;
8670             mouse_events: 1;
8671             scale: 1;
8672             entry_mode: PLAIN;
8673             select_mode: EXPLICIT;
8674             multiline: 1;
8675             source: "elm/entry/selection/default"; // selection under
8676             source5: "elm/entry/anchor/default"; // anchor under
8677             description { state: "default" 0.0;
8678                fixed: 1 0;
8679                text {
8680                   style: "entry_textblock_style";
8681                   min: 0 1;
8682                }
8683             }
8684             description { state: "disabled" 0.0;
8685                inherit: "default" 0.0;
8686                text {
8687                   style: "entry_textblock_disabled_style";
8688                }
8689             }
8690          }
8691       }
8692       programs {
8693          program { name: "focus";
8694             signal: "load";
8695             source: "";
8696             action: FOCUS_SET;
8697             target: "elm.text";
8698          }
8699          program { name: "disable";
8700             signal: "elm,state,disabled";
8701             source: "elm";
8702             action: STATE_SET "disabled" 0.0;
8703             target: "elm.text";
8704          }
8705          program { name: "enable";
8706             signal: "elm,state,enabled";
8707             source: "elm";
8708             action: STATE_SET "default" 0.0;
8709             target: "elm.text";
8710          }
8711       }
8712    }
8713
8714    group { name: "elm/entry/base-noedit-charwrap/default";
8715       parts {
8716          part { name: "elm.text";
8717             type: TEXTBLOCK;
8718             mouse_events: 1;
8719             scale: 1;
8720             entry_mode: PLAIN;
8721             select_mode: EXPLICIT;
8722             multiline: 1;
8723             source: "elm/entry/selection/default"; // selection under
8724             source5: "elm/entry/anchor/default"; // anchor under
8725             description { state: "default" 0.0;
8726                fixed: 1 0;
8727                text {
8728                   style: "entry_textblock_style_charwrap";
8729                   min: 0 1;
8730                }
8731             }
8732             description { state: "disabled" 0.0;
8733                inherit: "default" 0.0;
8734                text {
8735                   style: "entry_textblock_disabled_style_charwrap";
8736                }
8737             }
8738          }
8739       }
8740       programs {
8741          program { name: "focus";
8742             signal: "load";
8743             source: "";
8744             action: FOCUS_SET;
8745             target: "elm.text";
8746          }
8747          program { name: "disable";
8748             signal: "elm,state,disabled";
8749             source: "elm";
8750             action: STATE_SET "disabled" 0.0;
8751             target: "elm.text";
8752          }
8753          program { name: "enable";
8754             signal: "elm,state,enabled";
8755             source: "elm";
8756             action: STATE_SET "default" 0.0;
8757             target: "elm.text";
8758          }
8759       }
8760    }
8761
8762    group { name: "elm/entry/base-nowrap-noedit/default";
8763       parts {
8764          part { name: "elm.text";
8765             type: TEXTBLOCK;
8766             mouse_events: 1;
8767             scale: 1;
8768             entry_mode: PLAIN;
8769             select_mode: EXPLICIT;
8770             multiline: 1;
8771             source: "elm/entry/selection/default"; // selection under
8772             source5: "elm/entry/anchor/default"; // anchor under
8773             description { state: "default" 0.0;
8774                text {
8775                   style: "entry_textblock_style";
8776                   min: 1 1;
8777                }
8778             }
8779             description { state: "disabled" 0.0;
8780                inherit: "default" 0.0;
8781                text {
8782                   style: "entry_textblock_disabled_style";
8783                }
8784             }
8785          }
8786       }
8787       programs {
8788          program { name: "focus";
8789             signal: "load";
8790             source: "";
8791             action: FOCUS_SET;
8792             target: "elm.text";
8793          }
8794          program { name: "disable";
8795             signal: "elm,state,disabled";
8796             source: "elm";
8797             action: STATE_SET "disabled" 0.0;
8798             target: "elm.text";
8799          }
8800          program { name: "enable";
8801             signal: "elm,state,enabled";
8802             source: "elm";
8803             action: STATE_SET "default" 0.0;
8804             target: "elm.text";
8805          }
8806       }
8807    }
8808
8809    group { name: "elm/entry/base-password/default";
8810       parts {
8811          part { name: "elm.text";
8812             type: TEXTBLOCK;
8813             mouse_events: 1;
8814             scale: 1;
8815             entry_mode: PASSWORD;
8816             select_mode: EXPLICIT;
8817             multiline: 0;
8818             source: "elm/entry/selection/default"; // selection under
8819             source4: "elm/entry/cursor/default"; // cursorover
8820             source5: "elm/entry/anchor/default"; // anchor under
8821             description { state: "default" 0.0;
8822                text {
8823                   style: "entry_single_textblock_style";
8824                   repch: "*";
8825                   min: 1 1;
8826                   max: 0 1;
8827                }
8828             }
8829             description { state: "disabled" 0.0;
8830                inherit: "default" 0.0;
8831                text {
8832                   style: "entry_single_textblock_disabled_style";
8833                }
8834             }
8835          }
8836       }
8837       programs {
8838          program { name: "focus";
8839             signal: "load";
8840             source: "";
8841             action: FOCUS_SET;
8842             target: "elm.text";
8843          }
8844          program { name: "disable";
8845             signal: "elm,state,disabled";
8846             source: "elm";
8847             action: STATE_SET "disabled" 0.0;
8848             target: "elm.text";
8849          }
8850          program { name: "enable";
8851             signal: "elm,state,enabled";
8852             source: "elm";
8853             action: STATE_SET "default" 0.0;
8854             target: "elm.text";
8855          }
8856       }
8857    }
8858
8859    group { name: "elm/entry/cursor/default";
8860       images {
8861          image: "cur_box.png" COMP;
8862          image: "cur_hi.png" COMP;
8863          image: "cur_shad.png" COMP;
8864          image: "cur_shine.png" COMP;
8865          image: "cur_glow.png" COMP;
8866       }
8867       parts {
8868          part { name: "clip2";
8869             type: RECT;
8870             mouse_events: 0;
8871             description { state: "default" 0.0;
8872                rel1.to: "clip";
8873                rel2.to: "clip";
8874                visible: 0;
8875             }
8876             description { state: "focused" 0.0;
8877                inherit: "default" 0.0;
8878                visible: 1;
8879             }
8880          }
8881          part { name: "clip";
8882             type: RECT;
8883             mouse_events: 0;
8884             clip_to: "clip2";
8885             description { state: "default" 0.0;
8886                rel1.offset: -10 0;
8887                rel2.offset: 9 9;
8888             }
8889             description { state: "hidden" 0.0;
8890                inherit: "default" 0.0;
8891                visible: 0;
8892             }
8893          }
8894          part { name: "bg";
8895             mouse_events: 0;
8896             clip_to: "clip";
8897             description { state: "default" 0.0;
8898                rel1.to: "base";
8899                rel1.offset: -2 0;
8900                rel2.to: "base";
8901                rel2.offset: 1 1;
8902                image.border: 2 2 2 2;
8903                image.normal: "cur_shad.png";
8904             }
8905          }
8906          part { name: "base";
8907             mouse_events: 0;
8908             scale: 1;
8909             clip_to: "clip";
8910             description { state: "default" 0.0;
8911                min: 2 2;
8912                align: 0.5 1.0;
8913                rel1.relative: 0.0 1.0;
8914                rel1.offset: 0 -1;
8915                rel2.relative: 1.0 1.0;
8916                rel2.offset: -1 -1;
8917                image.normal: "cur_box.png";
8918             }
8919          }
8920          part { name: "hi";
8921             mouse_events: 0;
8922             clip_to: "clip";
8923             description { state: "default" 0.0;
8924                rel1.to: "base";
8925                rel2.to: "base";
8926                rel2.relative: 1.0 0.5;
8927                image.normal: "cur_hi.png";
8928             }
8929          }
8930          part { name: "shine";
8931             mouse_events: 0;
8932             clip_to: "clip";
8933             clip_to: "clip2";
8934             description { state: "default" 0.0;
8935                rel1.to: "base";
8936                rel2.to: "base";
8937                rel2.relative: 1.0 0.75;
8938                image.border: 2 2 1 0;
8939                image.normal: "cur_shine.png";
8940                fill.smooth: 0;
8941             }
8942          }
8943          part { name: "glow";
8944             mouse_events: 0;
8945             clip_to: "clip2";
8946             description { state: "default" 0.0;
8947                rel1.to: "base";
8948                rel1.relative: 0.0 -2.0;
8949                rel1.offset: -2 0;
8950                rel2.to: "base";
8951                rel2.relative: 1.0 0.0;
8952                rel2.offset: 1 1;
8953                image.border: 2 2 0 4;
8954                image.normal: "cur_glow.png";
8955                fill.smooth: 0;
8956             }
8957             description { state: "hidden" 0.0;
8958                inherit: "default" 0.0;
8959                color: 255 255 255 0;
8960             }
8961          }
8962       }
8963       programs {
8964          program { name: "show";
8965             signal: "show";
8966             source: "";
8967             action: STATE_SET "hidden" 0.0;
8968             in: 1.0 0.0;
8969             transition: DECELERATE 2.0;
8970             target: "glow";
8971             after: "show2";
8972          }
8973          program { name: "show2";
8974             action: STATE_SET "hidden" 0.0;
8975             in: 0.2 0.0;
8976             target: "clip";
8977             after: "show3";
8978          }
8979          program { name: "show3";
8980             action: STATE_SET "default" 0.0;
8981             in: 0.5 0.0;
8982             target: "clip";
8983             after: "show4";
8984          }
8985          program { name: "show4";
8986             action: STATE_SET "default" 0.0;
8987             in: 0.5 0.0;
8988             transition: DECELERATE 0.5;
8989             target: "glow";
8990             after: "show";
8991          }
8992          program { name: "focused";
8993             signal: "elm,action,focus";
8994             source: "elm";
8995             action: STATE_SET "focused" 0.0;
8996             target: "clip2";
8997          }
8998          program { name: "unfocused";
8999             signal: "elm,action,unfocus";
9000             source: "elm";
9001             action: STATE_SET "default" 0.0;
9002             target: "clip2";
9003          }
9004       }
9005    }
9006
9007    group { name: "elm/entry/selection/default";
9008       parts {
9009          part { name: "bg";
9010             type: RECT;
9011             mouse_events: 0;
9012             description { state: "default" 0.0;
9013                color: 128 128 128 128;
9014             }
9015          }
9016       }
9017    }
9018
9019    group { name: "elm/entry/anchor/default";
9020       parts {
9021          part { name: "bg";
9022             type: RECT;
9023             mouse_events: 0;
9024             description { state: "default" 0.0;
9025                color: 128 0 0 64;
9026             }
9027          }
9028       }
9029    }
9030
9031 ///////////////////////////////////////////////////////////////////////////////
9032   group { name: "elm/bubble/top_left/default";
9033     alias: "elm/bubble/base/default";
9034     images {
9035       image: "bubble_3.png" COMP;
9036       image: "bubble_4.png" COMP;
9037       image: "bubble_shine3.png" COMP;
9038       image: "bubble_shine4.png" COMP;
9039     }
9040     parts {
9041       part { name: "event";
9042          type: RECT;
9043          description {
9044             state: "default" 0.0;
9045             color: 0 0 0 0;
9046          }
9047       }
9048       part { name: "elm.swallow.icon";
9049         type: SWALLOW;
9050         description { state: "default" 0.0;
9051           fixed: 1 1;
9052           visible: 0;
9053           align: 0.0 0.0;
9054           aspect: 1.0 1.0;
9055           aspect_preference: VERTICAL;
9056           rel1 {
9057             relative: 0.0 0.0;
9058             offset: 4 4;
9059           }
9060           rel2 {
9061             to_y: "elm.text";
9062             relative: 0.0 1.0;
9063             offset: 4 -1;
9064           }
9065         }
9066         description { state: "visible" 0.0;
9067           inherit: "default" 0.0;
9068           visible: 1;
9069         }
9070       }
9071       part { name: "elm.text";
9072         type: TEXT;
9073         mouse_events:   0;
9074         scale: 1;
9075         description { state: "default" 0.0;
9076           align: 0.0 0.0;
9077           fixed: 0 1;
9078           rel1 {
9079             to_x: "elm.swallow.icon";
9080             relative: 1.0 0.0;
9081             offset: 4 4;
9082           }
9083           rel2 {
9084             to_x: "elm.info";
9085             relative: 0.0 0.0;
9086             offset: -5 4;
9087           }
9088           color: 0 0 0 255;
9089           text {
9090             font: "Sans:style=Bold,Edje-Vera-Bold";
9091             size: 10;
9092             min: 0 1;
9093             max: 0 1;
9094             align: 0.0 0.0;
9095           }
9096         }
9097       }
9098       part { name: "elm.info";
9099         type: TEXT;
9100         mouse_events:   0;
9101         scale: 1;
9102         description { state: "default" 0.0;
9103           align: 1.0 0.0;
9104           fixed: 1 1;
9105           rel1 {
9106             relative: 1.0 0.0;
9107             offset: -5 4;
9108           }
9109           rel2 {
9110             relative: 1.0 0.0;
9111             offset: -5 4;
9112           }
9113           color: 0 0 0 64;
9114           text {
9115             font: "Sans:style=Bold,Edje-Vera-Bold";
9116             size: 10;
9117             min: 1 1;
9118             max: 1 1;
9119             align: 1.0 0.0;
9120           }
9121         }
9122       }
9123       part { name: "base0";
9124         mouse_events:  0;
9125         description { state: "default" 0.0;
9126           rel1 {
9127             to_y: "elm.swallow.icon";
9128             relative: 0.0 1.0;
9129             offset: 0 0;
9130           }
9131           image {
9132             normal: "bubble_3.png";
9133             border: 36 11 18 9;
9134             border_scale: 1;
9135           }
9136           image.middle: SOLID;
9137           fill.smooth: 0;
9138         }
9139         description { state: "rtl" 0.0;
9140            inherit: "default" 0.0;
9141            image {
9142               normal: "bubble_4.png";
9143               border: 11 36 18 9;
9144               border_scale: 1;
9145            }
9146         }
9147       }
9148       part { name: "elm.swallow.content";
9149         type: SWALLOW;
9150         description { state: "default" 0.0;
9151           rel1 {
9152             to: "base0";
9153             offset: 9 16;
9154           }
9155           rel2 {
9156             to: "base0";
9157             offset: -10 -9;
9158           }
9159         }
9160       }
9161       part { name: "shine";
9162         mouse_events:  0;
9163         description { state:    "default" 0.0;
9164           rel1 {
9165             to: "base0";
9166             offset: 5 4;
9167           }
9168           rel2 {
9169             to: "base0";
9170             relative: 1.0 0.5;
9171             offset: -6 7;
9172           }
9173           image {
9174             normal: "bubble_shine3.png";
9175             border: 36 5 14 0;
9176             border_scale: 1;
9177           }
9178           fill.smooth: 0;
9179         }
9180         description { state: "rtl" 0.0;
9181            inherit: "default" 0.0;
9182            image {
9183               normal: "bubble_shine4.png";
9184               border: 5 36 14 0;
9185               border_scale: 1;
9186            }
9187         }
9188       }
9189     }
9190     programs {
9191       program {
9192         name: "icon_show";
9193         signal: "elm,state,icon,visible";
9194         source: "elm";
9195         action: STATE_SET "visible" 0.0;
9196         target: "elm.swallow.icon";
9197       }
9198       program {
9199         name: "icon_hide";
9200         signal: "elm,state,icon,hidden";
9201         source: "elm";
9202         action: STATE_SET "default" 0.0;
9203         target: "elm.swallow.icon";
9204       }
9205       program { name: "to_rtl";
9206          signal: "edje,state,rtl";
9207          source: "edje";
9208          action: STATE_SET "rtl" 0.0;
9209          target: "base0";
9210          target: "shine";
9211       }
9212       program { name: "to_ltr";
9213          signal: "edje,state,ltr";
9214          source: "edje";
9215          action: STATE_SET "default" 0.0;
9216          target: "base0";
9217          target: "shine";
9218       }
9219     }
9220   }
9221
9222   group { name: "elm/bubble/top_right/default";
9223     images {
9224       image: "bubble_3.png" COMP;
9225       image: "bubble_4.png" COMP;
9226       image: "bubble_shine3.png" COMP;
9227       image: "bubble_shine4.png" COMP;
9228     }
9229     parts {
9230       part { name: "event";
9231          type: RECT;
9232          description {
9233             state: "default" 0.0;
9234             color: 0 0 0 0;
9235          }
9236       }
9237       part { name: "elm.swallow.icon";
9238         type: SWALLOW;
9239         description { state: "default" 0.0;
9240           fixed: 1 1;
9241           visible: 0;
9242           align: 1.0 0.0;
9243           aspect: 1.0 1.0;
9244           aspect_preference: VERTICAL;
9245           rel1 {
9246             relative: 1.0 0.0;
9247             offset: -5 4;
9248           }
9249           rel2 {
9250             to_y: "elm.text";
9251             relative: 1.0 1.0;
9252             offset: -5 -1;
9253           }
9254         }
9255         description { state: "visible" 0.0;
9256           inherit: "default" 0.0;
9257           visible: 1;
9258         }
9259       }
9260       part { name: "elm.text";
9261         type: TEXT;
9262         mouse_events:   0;
9263         scale: 1;
9264         description { state: "default" 0.0;
9265           align: 0.0 0.0;
9266           fixed: 0 1;
9267           rel1 {
9268             relative: 0.0 0.0;
9269             offset: 4 4;
9270           }
9271           rel2 {
9272             to_x: "elm.info";
9273             relative: 0.0 0.0;
9274             offset: -5 4;
9275           }
9276           color: 0 0 0 255;
9277           text {
9278             font: "Sans:style=Bold,Edje-Vera-Bold";
9279             size: 10;
9280             min: 0 1;
9281             max: 0 1;
9282             align: 0.0 0.0;
9283           }
9284         }
9285       }
9286       part { name: "elm.info";
9287         type: TEXT;
9288         mouse_events:   0;
9289         scale: 1;
9290         description { state: "default" 0.0;
9291           align: 1.0 0.0;
9292           fixed: 1 1;
9293           rel1 {
9294             relative: 1.0 0.0;
9295             offset: -5 4;
9296           }
9297           rel2 {
9298             to_x: "elm.swallow.icon";
9299             relative: 0.0 0.0;
9300             offset: -5 4;
9301           }
9302           color: 0 0 0 64;
9303           text {
9304             font: "Sans:style=Bold,Edje-Vera-Bold";
9305             size: 10;
9306             min: 1 1;
9307             max: 1 1;
9308             align: 1.0 0.0;
9309           }
9310         }
9311       }
9312       part { name: "base0";
9313         mouse_events:  0;
9314         description { state: "default" 0.0;
9315           rel1 {
9316             to_y: "elm.swallow.icon";
9317             relative: 0.0 1.0;
9318             offset: 0 0;
9319           }
9320           image {
9321             normal: "bubble_4.png";
9322             border: 11 36 18 9;
9323             border_scale: 1;
9324           }
9325           image.middle: SOLID;
9326           fill.smooth: 0;
9327         }
9328         description { state: "rtl" 0.0;
9329            inherit: "default" 0.0;
9330            image {
9331               normal: "bubble_3.png";
9332               border: 36 11 18 9;
9333               border_scale: 1;
9334            }
9335         }
9336       }
9337       part { name: "elm.swallow.content";
9338         type: SWALLOW;
9339         description { state: "default" 0.0;
9340           rel1 {
9341             to: "base0";
9342             offset: 9 16;
9343           }
9344           rel2 {
9345             to: "base0";
9346             offset: -10 -9;
9347           }
9348         }
9349       }
9350       part { name: "shine";
9351         mouse_events:  0;
9352         description { state:    "default" 0.0;
9353           rel1 {
9354             to: "base0";
9355             offset: 5 4;
9356           }
9357           rel2 {
9358             to: "base0";
9359             relative: 1.0 0.5;
9360             offset: -6 7;
9361           }
9362           image {
9363             normal: "bubble_shine4.png";
9364             border: 5 36 14 0;
9365             border_scale: 1;
9366           }
9367           fill.smooth: 0;
9368         }
9369         description { state: "rtl" 0.0;
9370            inherit: "default" 0.0;
9371            image {
9372               normal: "bubble_shine3.png";
9373               border: 36 5 14 0;
9374               border_scale: 1;
9375            }
9376         }
9377       }
9378     }
9379     programs {
9380       program {
9381         name: "icon_show";
9382         signal: "elm,state,icon,visible";
9383         source: "elm";
9384         action: STATE_SET "visible" 0.0;
9385         target: "elm.swallow.icon";
9386       }
9387       program {
9388         name: "icon_hide";
9389         signal: "elm,state,icon,hidden";
9390         source: "elm";
9391         action: STATE_SET "default" 0.0;
9392         target: "elm.swallow.icon";
9393       }
9394       program { name: "to_rtl";
9395          signal: "edje,state,rtl";
9396          source: "edje";
9397          action: STATE_SET "rtl" 0.0;
9398          target: "base0";
9399          target: "shine";
9400       }
9401       program { name: "to_ltr";
9402          signal: "edje,state,ltr";
9403          source: "edje";
9404          action: STATE_SET "default" 0.0;
9405          target: "base0";
9406          target: "shine";
9407       }
9408     }
9409   }
9410
9411   group { name: "elm/bubble/bottom_left/default";
9412     images {
9413       image: "bubble_1.png" COMP;
9414       image: "bubble_2.png" COMP;
9415       image: "bubble_shine.png" COMP;
9416     }
9417     parts {
9418       part { name: "event";
9419          type: RECT;
9420          description {
9421             state: "default" 0.0;
9422             color: 0 0 0 0;
9423          }
9424       }
9425       part { name: "elm.swallow.icon";
9426         type: SWALLOW;
9427         description { state: "default" 0.0;
9428           fixed: 1 1;
9429           visible: 0;
9430           align: 0.0 1.0;
9431           aspect: 1.0 1.0;
9432           aspect_preference: VERTICAL;
9433           rel1 {
9434             to_y: "elm.text";
9435             relative: 0.0 0.0;
9436             offset: 4 0;
9437           }
9438           rel2 {
9439             relative: 0.0 1.0;
9440             offset: 4 -5;
9441           }
9442         }
9443         description { state: "visible" 0.0;
9444           inherit: "default" 0.0;
9445           visible: 1;
9446         }
9447       }
9448       part { name: "elm.text";
9449         type: TEXT;
9450         mouse_events:   0;
9451         scale: 1;
9452         description { state: "default" 0.0;
9453           align: 0.0 1.0;
9454           fixed: 0 1;
9455           rel1 {
9456             to_x: "elm.swallow.icon";
9457             relative: 1.0 1.0;
9458             offset: 4 -5;
9459           }
9460           rel2 {
9461             to_x: "elm.info";
9462             relative: 0.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 255;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 0 1;
9470             max: 0 1;
9471             align: 0.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "elm.info";
9476         type: TEXT;
9477         mouse_events:   0;
9478         scale: 1;
9479         description { state: "default" 0.0;
9480           align: 1.0 1.0;
9481           fixed: 1 1;
9482           rel1 {
9483             relative: 1.0 1.0;
9484             offset: -5 -5;
9485           }
9486           rel2 {
9487             relative: 1.0 1.0;
9488             offset: -5 -5;
9489           }
9490           color: 0 0 0 64;
9491           text {
9492             font: "Sans:style=Bold,Edje-Vera-Bold";
9493             size: 10;
9494             min: 1 1;
9495             max: 1 1;
9496             align: 1.0 1.0;
9497           }
9498         }
9499       }
9500       part { name: "base0";
9501         mouse_events:  0;
9502         description { state: "default" 0.0;
9503           rel2 {
9504             to_y: "elm.swallow.icon";
9505             relative: 1.0 0.0;
9506             offset: -1 -1;
9507           }
9508           image {
9509             normal: "bubble_1.png";
9510             border: 36 11 10 19;
9511           }
9512           image.middle: SOLID;
9513           fill.smooth: 0;
9514         }
9515         description { state: "rtl" 0.0;
9516            inherit: "default" 0.0;
9517            image {
9518               normal: "bubble_2.png";
9519               border: 11 36 10 19;
9520               border_scale: 1;
9521            }
9522         }
9523       }
9524       part { name: "elm.swallow.content";
9525         type: SWALLOW;
9526         description { state: "default" 0.0;
9527           rel1 {
9528             to: "base0";
9529             offset: 9 8;
9530           }
9531           rel2 {
9532             to: "base0";
9533             offset: -10 -17;
9534           }
9535         }
9536       }
9537       part { name: "shine";
9538         mouse_events:  0;
9539         description { state:    "default" 0.0;
9540           rel1 {
9541             to: "base0";
9542             offset: 5 4;
9543           }
9544           rel2 {
9545             to: "base0";
9546             relative: 1.0 0.5;
9547             offset: -6 -16;
9548           }
9549           image {
9550             normal: "bubble_shine.png";
9551             border: 5 5 5 0;
9552             border_scale: 1;
9553           }
9554           fill.smooth: 0;
9555         }
9556         description { state: "rtl" 0.0;
9557            inherit: "default" 0.0;
9558            image {
9559               normal: "bubble_shine4.png";
9560               border: 5 36 14 0;
9561               border_scale: 1;
9562            }
9563         }
9564       }
9565     }
9566     programs {
9567       program {
9568         name: "icon_show";
9569         signal: "elm,state,icon,visible";
9570         source: "elm";
9571         action: STATE_SET "visible" 0.0;
9572         target: "elm.swallow.icon";
9573       }
9574       program {
9575         name: "icon_hide";
9576         signal: "elm,state,icon,hidden";
9577         source: "elm";
9578         action: STATE_SET "default" 0.0;
9579         target: "elm.swallow.icon";
9580       }
9581       program { name: "to_rtl";
9582          signal: "edje,state,rtl";
9583          source: "edje";
9584          action: STATE_SET "rtl" 0.0;
9585          target: "base0";
9586       }
9587       program { name: "to_ltr";
9588          signal: "edje,state,ltr";
9589          source: "edje";
9590          action: STATE_SET "default" 0.0;
9591          target: "base0";
9592       }
9593     }
9594   }
9595
9596   group { name: "elm/bubble/bottom_right/default";
9597     images {
9598       image: "bubble_1.png" COMP;
9599       image: "bubble_2.png" COMP;
9600       image: "bubble_shine.png" COMP;
9601     }
9602     parts {
9603       part { name: "event";
9604          type: RECT;
9605          description {
9606             state: "default" 0.0;
9607             color: 0 0 0 0;
9608          }
9609       }
9610       part { name: "elm.swallow.icon";
9611         type: SWALLOW;
9612         description { state: "default" 0.0;
9613           fixed: 1 1;
9614           visible: 0.0;
9615           align: 1.0 1.0;
9616           aspect: 1.0 1.0;
9617           aspect_preference: VERTICAL;
9618           rel1 {
9619             to_y: "elm.text";
9620             relative: 1.0 0.0;
9621             offset: -5 0;
9622           }
9623           rel2 {
9624             relative: 1.0 1.0;
9625             offset: -5 -5;
9626           }
9627         }
9628         description { state: "visible" 0.0;
9629           inherit: "default" 0.0;
9630           visible: 1;
9631         }
9632       }
9633       part { name: "elm.text";
9634         type: TEXT;
9635         mouse_events:   0;
9636         scale: 1;
9637         description { state: "default" 0.0;
9638           align: 0.0 1.0;
9639           fixed: 0 1;
9640           rel1 {
9641             relative: 0.0 1.0;
9642             offset: 4 -5;
9643           }
9644           rel2 {
9645             to_x: "elm.info";
9646             relative: 0.0 1.0;
9647             offset: -5 -5;
9648           }
9649           color: 0 0 0 255;
9650           text {
9651             font: "Sans:style=Bold,Edje-Vera-Bold";
9652             size: 10;
9653             min: 0 1;
9654             max: 0 1;
9655             align: 0.0 1.0;
9656           }
9657         }
9658       }
9659       part { name: "elm.info";
9660         type: TEXT;
9661         mouse_events:   0;
9662         scale: 1;
9663         description { state: "default" 0.0;
9664           align: 1.0 1.0;
9665           fixed: 1 1;
9666           rel1 {
9667             relative: 1.0 1.0;
9668             offset: -5 -5;
9669           }
9670           rel2 {
9671             to_x: "elm.swallow.icon";
9672             relative: 0.0 1.0;
9673             offset: -5 -5;
9674           }
9675           color: 0 0 0 64;
9676           text {
9677             font: "Sans:style=Bold,Edje-Vera-Bold";
9678             size: 10;
9679             min: 1 1;
9680             max: 1 1;
9681             align: 1.0 1.0;
9682           }
9683         }
9684       }
9685       part { name: "base0";
9686         mouse_events:  0;
9687         description { state: "default" 0.0;
9688           rel2 {
9689             to_y: "elm.swallow.icon";
9690             relative: 1.0 0.0;
9691             offset: -1 -1;
9692           }
9693           image {
9694             normal: "bubble_2.png";
9695             border: 11 36 10 19;
9696             border_scale: 1;
9697           }
9698           image.middle: SOLID;
9699           fill.smooth: 0;
9700         }
9701         description { state: "rtl" 0.0;
9702            inherit: "default" 0.0;
9703            image {
9704               normal: "bubble_1.png";
9705               border: 36 11 10 19;
9706               border_scale: 1;
9707            }
9708         }
9709       }
9710       part { name: "elm.swallow.content";
9711         type: SWALLOW;
9712         description { state: "default" 0.0;
9713           rel1 {
9714             to: "base0";
9715             offset: 9 8;
9716           }
9717           rel2 {
9718             to: "base0";
9719             offset: -10 -17;
9720           }
9721         }
9722       }
9723       part { name: "shine";
9724         mouse_events:  0;
9725         description { state:    "default" 0.0;
9726           rel1 {
9727             to: "base0";
9728             offset: 5 4;
9729           }
9730           rel2 {
9731             to: "base0";
9732             relative: 1.0 0.5;
9733             offset: -6 -16;
9734           }
9735           image {
9736             normal: "bubble_shine.png";
9737             border: 5 5 5 0;
9738             border_scale: 1;
9739           }
9740           fill.smooth: 0;
9741         }
9742         description { state: "rtl" 0.0;
9743            inherit: "default" 0.0;
9744            image {
9745               normal: "bubble_shine3.png";
9746               border: 36 5 14 0;
9747               border_scale: 1;
9748            }
9749         }
9750       }
9751     }
9752     programs {
9753       program {
9754         name: "icon_show";
9755         signal: "elm,state,icon,visible";
9756         source: "elm";
9757         action: STATE_SET "visible" 0.0;
9758         target: "elm.swallow.icon";
9759       }
9760       program {
9761         name: "icon_hide";
9762         signal: "elm,state,icon,hidden";
9763         source: "elm";
9764         action: STATE_SET "default" 0.0;
9765         target: "elm.swallow.icon";
9766       }
9767       program { name: "to_rtl";
9768          signal: "edje,state,rtl";
9769          source: "edje";
9770          action: STATE_SET "rtl" 0.0;
9771          target: "base0";
9772       }
9773       program { name: "to_ltr";
9774          signal: "edje,state,ltr";
9775          source: "edje";
9776          action: STATE_SET "default" 0.0;
9777          target: "base0";
9778       }
9779     }
9780   }
9781
9782 ///////////////////////////////////////////////////////////////////////////////
9783    group { name: "elm/photo/base/default";
9784       images {
9785          image: "frame_1.png" COMP;
9786          image: "frame_2.png" COMP;
9787          image: "dia_grad.png" COMP;
9788          image: "head.png" COMP;
9789       }
9790       parts {
9791          part { name: "base0";
9792             mouse_events:  0;
9793             description { state: "default" 0.0;
9794                image.normal: "dia_grad.png";
9795                rel1.to: "over";
9796                rel2.to: "over";
9797                fill {
9798                   smooth: 0;
9799                   size {
9800                      relative: 0.0 1.0;
9801                      offset: 64 0;
9802                   }
9803                }
9804             }
9805          }
9806          part { name: "base";
9807             mouse_events:  0;
9808             description { state:    "default" 0.0;
9809                image {
9810                   normal: "frame_2.png";
9811                   border: 5 5 32 26;
9812                   middle: 0;
9813                }
9814                fill.smooth : 0;
9815             }
9816          }
9817          part { name: "head";
9818             mouse_events:  0;
9819             description { state:    "default" 0.0;
9820                rel1.offset: 4 4;
9821                rel2.offset: -5 -5;
9822                aspect: 1.0 1.0;
9823                aspect_preference: BOTH;
9824                image.normal: "head.png";
9825             }
9826          }
9827          part { name: "clip";
9828             mouse_events:  0;
9829             type: RECT;
9830             description { state:    "default" 0.0;
9831                rel1.offset: 4 4;
9832                rel2.offset: -5 -5;
9833                color: 255 255 255 255;
9834             }
9835          }
9836          part { name: "elm.swallow.content";
9837             type: SWALLOW;
9838             clip_to: "clip";
9839             description { state: "default" 0.0;
9840                rel1.offset: 4 4;
9841                rel2.offset: -5 -5;
9842             }
9843          }
9844          part { name: "over";
9845             mouse_events:  0;
9846             description { state:    "default" 0.0;
9847                rel1.offset: 4 4;
9848                rel2.offset: -5 -5;
9849                image {
9850                   normal: "frame_1.png";
9851                   border: 2 2 28 22;
9852                   middle: 0;
9853                }
9854                fill.smooth: 0;
9855             }
9856          }
9857      }
9858    }
9859
9860    group { name: "elm/photo/base/shadow";
9861               images {
9862                         image: "shadow.png" COMP;
9863                         image: "black.png" COMP;
9864               }
9865               script {
9866               public message(Msg_Type:type, id, ...) {
9867                 if( (type==MSG_INT_SET) && (id==0) )
9868                 {
9869                     new w;
9870                     new h;
9871
9872                     custom_state(PART:"size", "default", 0.0);
9873
9874                     w = getarg(2);
9875                     h = getarg(3);
9876                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9877                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9878                     set_state(PART:"size", "custom", 0.0);
9879                 }
9880             }
9881             }
9882               parts {
9883               part { name: "size";
9884                     type: SWALLOW;
9885                     description { state: "default" 0.0;
9886                             rel1.relative: 0.5 0.5;
9887                             rel2.relative: 0.5 0.5;
9888                     }
9889                  }
9890               part {
9891                 name: "shadow";
9892                 type: IMAGE;
9893                 repeat_events: 1;
9894                 description {
9895                     state: "default" 0.0;
9896                     rel1.to: "size";
9897                     rel2.to: "size";
9898                     rel1.relative: -0.06 -0.06;
9899                     rel2.relative: 1.07 1.07;
9900                     image.normal: "shadow.png";
9901                 }
9902             }
9903   
9904
9905                  part { name: "elm.swallow.content";
9906                     type: SWALLOW;
9907                     description { state: "default" 0.0;
9908                     rel1.offset: 3 3;
9909                     rel2.offset: -3 -3;
9910                             fixed: 1 1;
9911                     }
9912                  }
9913      
9914                  part {
9915                 name: "border";
9916                 type: IMAGE;
9917                 repeat_events: 1;
9918                 description {
9919                     state: "default" 0.0;
9920                     visible: 1;
9921                     color: 0 0 0 255;
9922                     rel1.to: "size";
9923                     rel2.to: "size";
9924                     image.normal: "black.png";
9925                     image.border: 1 1 1 1;
9926                     image.middle: 0;
9927                 }
9928             }
9929                  }
9930    }
9931
9932 ///////////////////////////////////////////////////////////////////////////////
9933    group { name: "elm/thumb/base/default";
9934       images {
9935          image: "frame_1.png" COMP;
9936          image: "frame_2.png" COMP;
9937          image: "dia_grad.png" COMP;
9938          image: "busy-1.png" COMP;
9939          image: "busy-2.png" COMP;
9940          image: "busy-3.png" COMP;
9941          image: "busy-4.png" COMP;
9942          image: "busy-5.png" COMP;
9943          image: "busy-6.png" COMP;
9944          image: "busy-7.png" COMP;
9945          image: "busy-8.png" COMP;
9946          image: "busy-9.png" COMP;
9947       }
9948       parts {
9949          part { name: "base0";
9950             mouse_events:  0;
9951             description { state:        "default" 0.0;
9952                image.normal: "dia_grad.png";
9953                rel1.to: "over";
9954                rel2.to: "over";
9955                fill {
9956                   smooth: 0;
9957                   size {
9958                      relative: 0.0 1.0;
9959                      offset: 64 0;
9960                   }
9961                }
9962             }
9963          }
9964          part { name: "base";
9965             mouse_events:  0;
9966             description { state:        "default" 0.0;
9967                image {
9968                   normal: "frame_2.png";
9969                   border: 5 5 32 26;
9970                   middle: 0;
9971                }
9972                fill.smooth : 0;
9973             }
9974          }
9975          part { name: "clip";
9976             mouse_events:  0;
9977             type: RECT;
9978             description { state:        "default" 0.0;
9979                rel1.offset: 4 4;
9980                rel2.offset: -5 -5;
9981                color: 255 255 255 255;
9982             }
9983          }
9984          part { name: "elm.swallow.content";
9985             type: SWALLOW;
9986             clip_to: "clip";
9987             description { state:        "default" 0.0;
9988                rel1.offset: 4 4;
9989                rel2.offset: -5 -5;
9990             }
9991          }
9992          part { name: "progress";
9993             mouse_events: 0;
9994
9995             clip_to: "clip";
9996             description { state:        "default" 0.0;
9997                min: 32 32;
9998                max: 32 32;
9999                visible: 0;
10000                aspect: 1.0 1.0;
10001                aspect_preference: BOTH;
10002             }
10003             description { state:        "pulse" 0.0;
10004                inherit: "default" 0.0;
10005                visible: 1;
10006                image {
10007                   normal: "busy-9.png";
10008                   tween:  "busy-1.png";
10009                   tween:  "busy-2.png";
10010                   tween:  "busy-3.png";
10011                   tween:  "busy-4.png";
10012                   tween:  "busy-5.png";
10013                   tween:  "busy-6.png";
10014                   tween:  "busy-7.png";
10015                   tween:  "busy-8.png";
10016                   border: 7 7 7 7;
10017                }
10018             }
10019          }
10020          part { name: "over";
10021             mouse_events:  0;
10022             description { state:        "default" 0.0;
10023                rel1.offset: 4 4;
10024                rel2.offset: -5 -5;
10025                image {
10026                   normal: "frame_1.png";
10027                   border: 2 2 28 22;
10028                   middle: 0;
10029                }
10030                fill.smooth: 0;
10031             }
10032          }
10033          programs {
10034             program { name: "start_pulse";
10035                signal: "elm,state,pulse,start";
10036                source: "elm";
10037                action: STATE_SET "pulse" 0.0;
10038                target: "progress";
10039                transition: LINEAR 0.5;
10040                after: "start_pulse";
10041             }
10042             program { name: "stop_pulse";
10043                signal: "elm,state,pulse,stop";
10044                source: "elm";
10045                action: STATE_SET "default" 0.0;
10046                target: "progress";
10047             }
10048          }
10049       }
10050    }
10051
10052    group { name: "elm/thumb/base/noframe";
10053       images {
10054          image: "busy-1.png" COMP;
10055          image: "busy-2.png" COMP;
10056          image: "busy-3.png" COMP;
10057          image: "busy-4.png" COMP;
10058          image: "busy-5.png" COMP;
10059          image: "busy-6.png" COMP;
10060          image: "busy-7.png" COMP;
10061          image: "busy-8.png" COMP;
10062          image: "busy-9.png" COMP;
10063       }
10064       parts {
10065          part { name: "elm.swallow.content";
10066             type: SWALLOW;
10067             description { state: "default" 0.0;
10068                rel1.offset: 4 4;
10069                rel2.offset: -5 -5;
10070             }
10071          }
10072          part { name: "progress";
10073             mouse_events: 0;
10074             description { state:        "default" 0.0;
10075                min: 32 32;
10076                max: 32 32;
10077                visible: 0;
10078                aspect: 1.0 1.0;
10079                aspect_preference: BOTH;
10080             }
10081             description { state:        "pulse" 0.0;
10082                inherit: "default" 0.0;
10083                visible: 1;
10084                image {
10085                   normal: "busy-9.png";
10086                   tween:  "busy-1.png";
10087                   tween:  "busy-2.png";
10088                   tween:  "busy-3.png";
10089                   tween:  "busy-4.png";
10090                   tween:  "busy-5.png";
10091                   tween:  "busy-6.png";
10092                   tween:  "busy-7.png";
10093                   tween:  "busy-8.png";
10094                   border: 7 7 7 7;
10095                }
10096             }
10097          }
10098          programs {
10099             program { name: "start_pulse";
10100                signal: "elm,state,pulse,start";
10101                source: "elm";
10102                action: STATE_SET "pulse" 0.0;
10103                target: "progress";
10104                transition: LINEAR 0.5;
10105                after: "start_pulse";
10106             }
10107             program { name: "stop_pulse";
10108                signal: "elm,state,pulse,stop";
10109                source: "elm";
10110                action: STATE_SET "default" 0.0;
10111                target: "progress";
10112             }
10113          }
10114       }
10115    }
10116
10117
10118 ///////////////////////////////////////////////////////////////////////////////
10119    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10120       images.image: "icon_home.png" COMP; parts { part { name: "base";
10121          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10122             image.normal: "icon_home.png"; } } } }
10123    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10124       images.image: "icon_close.png" COMP; parts { part { name: "base";
10125          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10126             image.normal: "icon_close.png"; } } } }
10127    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10128       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10129          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10130             image.normal: "icon_apps.png"; } } } }
10131    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10132       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10133          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10134             image.normal: "icon_arrow_up.png"; } } } }
10135    group { name: "elm/icon/arrow_down/default";
10136            alias: "elm/icon/toolbar/arrow_down/default";
10137            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10138       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10139          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10140             image.normal: "icon_arrow_down.png"; } } } }
10141    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10142       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10143          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10144             image.normal: "icon_arrow_left.png"; } } } }
10145    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10146       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10147          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10148             image.normal: "icon_arrow_right.png"; } } } }
10149    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10150       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10151          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10152             image.normal: "icon_chat.png"; } } } }
10153    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10154       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10155          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10156             image.normal: "icon_clock.png"; } } } }
10157    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10158       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10159          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10160             image.normal: "icon_delete.png"; } } } }
10161    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10162       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10163          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10164             image.normal: "icon_edit.png"; } } } }
10165    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10166       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10167          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10168             image.normal: "icon_refresh.png"; } } } }
10169    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10170       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10171          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10172             image.normal: "icon_folder.png"; } } } }
10173    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10174       images.image: "icon_file.png" COMP; parts { part { name: "base";
10175          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10176             image.normal: "icon_file.png"; } } } }
10177 ///////////////////////////////////////////////////////////////////////////////
10178    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10179       images.image: "icon_home.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_home.png"; } } } }
10182    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10183       images.image: "icon_close.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_close.png"; } } } }
10186    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10187       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_apps.png"; } } } }
10190    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10191       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_arrow_up.png"; } } } }
10194    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10195       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_arrow_down.png"; } } } }
10198    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10199       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_arrow_left.png"; } } } }
10202    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10203       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10205             image.normal: "icon_arrow_right.png"; } } } }
10206    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10207       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10209             image.normal: "icon_chat.png"; } } } }
10210    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10211       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10213             image.normal: "icon_clock.png"; } } } }
10214    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10215       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10217             image.normal: "icon_delete.png"; } } } }
10218    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10219       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10220          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10221             image.normal: "icon_edit.png"; } } } }
10222    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10223       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10224          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10225             image.normal: "icon_refresh.png"; } } } }
10226    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10227       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10228          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10229             image.normal: "icon_folder.png"; } } } }
10230    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10231       images.image: "icon_file.png" COMP; parts { part { name: "base";
10232          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10233             image.normal: "icon_file.png"; } } } }
10234
10235 ///////////////////////////////////////////////////////////////////////////////
10236    group { name: "elm/toolbar/base/default";
10237       images {
10238          image: "bt_dis_base.png" COMP;
10239          image: "bt_dis_hilight.png" COMP;
10240          image: "bt_dis_shine.png" COMP;
10241          image: "icon_left_arrow.png" COMP;
10242          image: "icon_right_arrow.png" COMP;
10243       }
10244       parts {
10245          part { name: "base";
10246             mouse_events: 1;
10247             description { state: "default" 0.0;
10248                rel1 {
10249                   relative: 0.0 0.0;
10250                   offset: 2 2;
10251                }
10252                rel2.offset: -3 -3;
10253                image {
10254                   normal: "bt_dis_base.png";
10255                   border: 4 4 4 4;
10256                }
10257                image.middle: SOLID;
10258             }
10259          }
10260          part { name: "clipper";
10261             type: RECT;
10262             mouse_events: 0;
10263             description {
10264                state: "default" 0.0;
10265                rel1 {
10266                   to: "base";
10267                   offset: 2 2;
10268                }
10269                rel2 {
10270                   to: "base";
10271                   offset: -3 -3;
10272                }
10273             }
10274          }
10275          part { name: "elm.swallow.content";
10276             clip_to: "clipper";
10277             type: SWALLOW;
10278             description {
10279                state: "default" 0.0;
10280                rel1.to: "clipper";
10281                rel2.to: "clipper";
10282             }
10283          }
10284          part { name: "over2";
10285             mouse_events: 0;
10286             description { state: "default" 0.0;
10287                rel1.to: "base";
10288                rel2.to: "base";
10289                image {
10290                   normal: "bt_dis_shine.png";
10291                   border: 4 4 4 4;
10292                }
10293             }
10294          }
10295          part { name: "over1";
10296             mouse_events: 0;
10297             description { state: "default" 0.0;
10298                rel1.to: "base";
10299                rel2.to: "base";
10300                rel2.relative: 1.0 0.5;
10301                image {
10302                   normal: "bt_dis_hilight.png";
10303                   border: 4 4 4 0;
10304                }
10305                color: 255 255 255 128;
10306             }
10307          }
10308          part { name: "left_arrow";
10309             mouse_events: 0;
10310             description { state: "default" 0.0;
10311                image.normal: "icon_left_arrow.png";
10312                aspect: 1.0 1.0;
10313                aspect_preference: VERTICAL;
10314                align: 0.0 0.5;
10315                min: 32 32;
10316                max: 32 32;
10317             }
10318             description { state: "hidden" 0.0;
10319                inherit: "default" 0.0;
10320                visible: 0;
10321                color: 255 255 255 0;
10322             }
10323          }
10324          part { name: "right_arrow";
10325             mouse_events: 0;
10326             description { state: "default" 0.0;
10327                image.normal: "icon_right_arrow.png";
10328                aspect: 1.0 1.0;
10329                aspect_preference: VERTICAL;
10330                align: 1.0 0.5;
10331                min: 32 32;
10332                max: 32 32;
10333             }
10334             description { state: "hidden" 0.0;
10335                inherit: "default" 0.0;
10336                visible: 0;
10337                color: 255 255 255 0;
10338             }
10339          }
10340          part { name: "event";
10341             type: RECT;
10342             mouse_events: 1;
10343             repeat_events: 1;
10344             description { state: "default" 0.0;
10345                color: 0 0 0 0;
10346             }
10347          }
10348       }
10349       programs {
10350          program { name: "sb_hbar_show";
10351             signal: "elm,action,show,hbar";
10352             source: "elm";
10353             action:  STATE_SET "default" 0.0;
10354             transition: LINEAR 0.5;
10355             target: "left_arrow";
10356             target: "right_arrow";
10357          }
10358          program { name: "sb_hbar_hide";
10359             signal: "elm,action,hide,hbar";
10360             source: "elm";
10361             action:  STATE_SET "hidden" 0.0;
10362             target: "left_arrow";
10363             target: "right_arrow";
10364             transition: LINEAR 0.5;
10365          }
10366       }
10367    }
10368
10369    group { name: "elm/toolbar/item/default";
10370        images {
10371            image: "toolbar_sel.png" COMP;
10372        }
10373        data.item: "transition_animation_on" "1";
10374        parts {
10375            part { name: "label2";
10376                type: TEXT;
10377                mouse_events:  0;
10378                scale: 1;
10379                clip_to: "elm.text.clipper";
10380                description { state: "default" 0.0;
10381                    align: 0.5 1.0;
10382                    fixed: 0 1;
10383                    rel1.to: "elm.text";
10384                    rel2.to: "elm.text";
10385                    color: 0 0 0 255;
10386                    text {
10387                        font: "Sans";
10388                        text_source: "elm.text";
10389                        size: 10;
10390                        min: 1 1;
10391                        align: 0.5 0.5;
10392                        text_class: "toolbar_item";
10393                    }
10394                }
10395                description { state: "selected" 0.0;
10396                    inherit: "default" 0.0;
10397                    visible: 0;
10398                }
10399                description { state: "disabled" 0.0;
10400                    inherit: "default" 0.0;
10401                    color: 0 0 0 128;
10402                    color3: 0 0 0 0;
10403                }
10404                description { state: "disabled_visible" 0.0;
10405                    inherit: "default" 0.0;
10406                    color: 0 0 0 128;
10407                    color3: 0 0 0 0;
10408                    visible: 1;
10409                    text.min: 1 1;
10410                }
10411            }
10412            part { name: "label2_new";
10413                type: TEXT;
10414                mouse_events:  0;
10415                scale: 1;
10416                clip_to: "elm.text_new.clipper";
10417                description { state: "default" 0.0;
10418                    align: 0.5 1.0;
10419                    fixed: 0 1;
10420                    rel1.to: "elm.text_new";
10421                    rel2.to: "elm.text_new";
10422                    color: 0 0 0 255;
10423                    text {
10424                        font: "Sans";
10425                        text_source: "elm.text_new";
10426                        size: 10;
10427                        min: 1 1;
10428                        align: 0.5 0.5;
10429                        text_class: "toolbar_item";
10430                    }
10431                }
10432                description { state: "selected" 0.0;
10433                    inherit: "default" 0.0;
10434                    visible: 0;
10435                }
10436                description { state: "disabled" 0.0;
10437                    inherit: "default" 0.0;
10438                    color: 0 0 0 128;
10439                    color3: 0 0 0 0;
10440                }
10441                description { state: "disabled_visible" 0.0;
10442                    inherit: "default" 0.0;
10443                    color: 0 0 0 128;
10444                    color3: 0 0 0 0;
10445                    visible: 1;
10446                    text.min: 1 1;
10447                }
10448            }
10449            part { name: "bg";
10450                mouse_events: 0;
10451                description { state: "default" 0.0;
10452                    visible: 0;
10453                    color: 255 255 255 0;
10454                    image {
10455                        normal: "toolbar_sel.png";
10456                        border: 3 3 0 0;
10457                    }
10458                    image.middle: SOLID;
10459                    fill.smooth: 0;
10460                }
10461                description { state: "selected" 0.0;
10462                    inherit: "default" 0.0;
10463                    visible: 1;
10464                    color: 255 255 255 255;
10465                }
10466                description { state: "disabled" 0.0;
10467                    inherit: "default" 0.0;
10468                    visible: 0;
10469                    color: 255 255 255 0;
10470                }
10471            }
10472            part { name: "elm.swallow.icon";
10473                type: SWALLOW;
10474                clip_to: "elm.icon.clipper";
10475                description { state: "default" 0.0;
10476                    align: 0.5 0.5;
10477                    fixed: 0 0;
10478                    rel1 {
10479                        relative: 0.0 0.0;
10480                        offset: 2 2;
10481                    }
10482                    rel2 {
10483                        to_y: "elm.text";
10484                        relative: 1.0 0.0;
10485                        offset: -3 -1;
10486                    }
10487                    color: 0 0 0 0;
10488                }
10489            }
10490            part { name: "elm.swallow.icon_new";
10491                type: SWALLOW;
10492                clip_to: "elm.icon_new.clipper";
10493                description { state: "default" 0.0;
10494                    align: 0.5 0.5;
10495                    fixed: 0 0;
10496                    rel1 {
10497                        relative: 0.0 0.0;
10498                        offset: 2 2;
10499                    }
10500                    rel2 {
10501                        to_y: "elm.text_new";
10502                        relative: 1.0 0.0;
10503                        offset: -3 -1;
10504                    }
10505                    color: 0 0 0 0;
10506                }
10507            }
10508            part { name: "elm.text";
10509                type: TEXT;
10510                effect: SOFT_SHADOW;
10511                mouse_events:  0;
10512                scale: 1;
10513                clip_to: "elm.text.clipper";
10514                description { state: "default" 0.0;
10515                    align: 0.5 1.0;
10516                    fixed: 0 1;
10517                    rel1 {
10518                        relative: 0.0 1.0;
10519                        offset:   0 -1;
10520                    }
10521                    rel2 {
10522                        relative: 1.0 1.0;
10523                        offset:   -1 -1;
10524                    }
10525                    visible: 0;
10526                    color: 224 224 224 255;
10527                    color3: 0 0 0 32;
10528                    text {
10529                        font: "Sans:style=Bold";
10530                        size: 10;
10531                        min: 1 1;
10532                        align: 0.5 0.5;
10533                        text_class: "toolbar_item";
10534                    }
10535                }
10536                description { state: "selected" 0.0;
10537                    inherit: "default" 0.0;
10538                    visible: 1;
10539                }
10540                description { state: "visible" 0.0;
10541                    inherit: "default" 0.0;
10542                    visible: 1;
10543                    text.min: 1 1;
10544                }
10545                description { state: "disabled" 0.0;
10546                    inherit: "default" 0.0;
10547                    color: 0 0 0 128;
10548                    color3: 0 0 0 0;
10549                }
10550                description { state: "disabled_visible" 0.0;
10551                    inherit: "default" 0.0;
10552                    color: 0 0 0 128;
10553                    color3: 0 0 0 0;
10554                    visible: 1;
10555                    text.min: 1 1;
10556                }
10557            }
10558            part { name: "elm.text_new";
10559                type: TEXT;
10560                effect: SOFT_SHADOW;
10561                mouse_events:  0;
10562                clip_to: "elm.text_new.clipper";
10563                scale: 1;
10564                description { state: "default" 0.0;
10565                    align: 0.5 1.0;
10566                    fixed: 0 1;
10567                    rel1 {
10568                        relative: 0.0 1.0;
10569                        offset:   0 -1;
10570                    }
10571                    rel2 {
10572                        relative: 1.0 1.0;
10573                        offset:   -1 -1;
10574                    }
10575                    visible: 0;
10576                    color: 224 224 224 255;
10577                    color3: 0 0 0 32;
10578                    text {
10579                        font: "Sans:style=Bold";
10580                        size: 10;
10581                        min: 1 1;
10582                        align: 0.5 0.5;
10583                        text_class: "toolbar_item";
10584                    }
10585                }
10586                description { state: "selected" 0.0;
10587                    inherit: "default" 0.0;
10588                    visible: 1;
10589                }
10590                description { state: "visible" 0.0;
10591                    inherit: "default" 0.0;
10592                    visible: 1;
10593                    text.min: 1 1;
10594                }
10595                description { state: "disabled" 0.0;
10596                    inherit: "default" 0.0;
10597                    color: 0 0 0 128;
10598                    color3: 0 0 0 0;
10599                }
10600                description { state: "disabled_visible" 0.0;
10601                    inherit: "default" 0.0;
10602                    color: 0 0 0 128;
10603                    color3: 0 0 0 0;
10604                    visible: 1;
10605                    text.min: 1 1;
10606                }
10607            }
10608            part { name: "elm.text.clipper";
10609                type: RECT;
10610                description { state: "default" 0.0;
10611                    color: 255 255 255 255;
10612                }
10613                description { state: "animation" 0.0;
10614                    color: 255 255 255 0;
10615                }
10616            }
10617            part { name: "elm.text_new.clipper";
10618                type: RECT;
10619                description { state: "default" 0.0;
10620                    color: 255 255 255 0;
10621                }
10622                description { state: "animation" 0.0;
10623                    color: 255 255 255 255;
10624                }
10625            }
10626            part { name: "elm.icon.clipper";
10627                type: RECT;
10628                description { state: "default" 0.0;
10629                    color: 255 255 255 255;
10630                }
10631                description { state: "animation" 0.0;
10632                    color: 255 255 255 0;
10633                }
10634            }
10635            part { name: "elm.icon_new.clipper";
10636                type: RECT;
10637                description { state: "default" 0.0;
10638                    color: 255 255 255 0;
10639                }
10640                description { state: "animation" 0.0;
10641                    color: 255 255 255 255;
10642                }
10643            }
10644            part { name: "event";
10645                type: RECT;
10646                mouse_events: 1;
10647                ignore_flags: ON_HOLD;
10648                description { state: "default" 0.0;
10649                    color: 0 0 0 0;
10650                }
10651            }
10652        }
10653        programs {
10654            program { name: "go_active";
10655                signal:  "elm,state,selected";
10656                source:  "elm";
10657                action:  STATE_SET "selected" 0.0;
10658                target:  "bg";
10659                target:  "elm.text";
10660                target:  "label2";
10661                target:  "elm.text_new";
10662                target:  "label2_new";
10663                transition: LINEAR 0.2;
10664            }
10665            program { name: "go_passive";
10666                signal:  "elm,state,unselected";
10667                source:  "elm";
10668                action:  STATE_SET "default" 0.0;
10669                target:  "bg";
10670                target:  "elm.text";
10671                target:  "label2";
10672                target:  "elm.text_new";
10673                target:  "label2_new";
10674                transition: LINEAR 0.1;
10675            }
10676            program { name: "go";
10677                signal:  "mouse,up,1";
10678                source:  "event";
10679                action:  SIGNAL_EMIT "elm,action,click" "elm";
10680            }
10681            program { name: "mouse,in";
10682               signal:  "mouse,in";
10683               source:  "event";
10684               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10685            }
10686            program { name: "mouse,out";
10687               signal:  "mouse,out";
10688               source:  "event";
10689               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10690            }
10691            program { name: "disable";
10692                signal: "elm,state,disabled";
10693                source: "elm";
10694                action: STATE_SET "disabled" 0.0;
10695                target: "label2";
10696                target: "label2_new";
10697                target: "bg";
10698                after: "disable_text";
10699            }
10700            program { name: "disable_text";
10701                script {
10702                    new st[31];
10703                    new Float:vl;
10704                    get_state(PART:"elm.text", st, 30, vl);
10705                    if (!strcmp(st, "visible"))
10706                    {
10707                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10708                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10709                    }
10710                    else
10711                    {
10712                       set_state(PART:"elm.text", "disabled", 0.0);
10713                       set_state(PART:"elm.text_new", "disabled", 0.0);
10714                    }
10715                }
10716            }
10717            program { name: "enable";
10718                signal: "elm,state,enabled";
10719                source: "elm";
10720                action: STATE_SET "default" 0.0;
10721                target: "label2";
10722                target: "label2_new";
10723                target: "bg";
10724                after: "enable_text";
10725            }
10726            program { name: "enable_text";
10727                script {
10728                    new st[31];
10729                    new Float:vl;
10730                    get_state(PART:"elm.text", st, 30, vl);
10731                    if (!strcmp(st, "disabled_visible"))
10732                    {
10733                       set_state(PART:"elm.text", "visible", 0.0);
10734                       set_state(PART:"elm.text_new", "visible", 0.0);
10735                    }
10736                    else
10737                    {
10738                       set_state(PART:"elm.text", "default", 0.0);
10739                       set_state(PART:"elm.text_new", "default", 0.0);
10740                    }
10741                }
10742            }
10743            program { name: "label_set,animation,forward";
10744               signal: "elm,state,label_set,forward";
10745               source: "elm";
10746               after: "label_set,animation";
10747            }
10748            program { name: "label_set,animation,backward";
10749               signal: "elm,state,label_set,backward";
10750               source: "elm";
10751               after: "label_set,animation";
10752            }
10753            program { name: "label_set,animation";
10754               signal: "elm,state,label_set";
10755               source: "elm";
10756               action: STATE_SET "animation" 0.0;
10757               target: "elm.text.clipper";
10758               target: "elm.text_new.clipper";
10759               transition: LINEAR 0.2;
10760               after: "label_set,animation,done";
10761            }
10762            program { name: "label_set,animation,done";
10763               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10764            }
10765            program { name: "label,reset";
10766               signal: "elm,state,label,reset";
10767               source: "elm";
10768               action: STATE_SET "default" 0.0;
10769               target: "elm.text.clipper";
10770               target: "elm.text_new.clipper";
10771            }
10772            program { name: "icon_set,animation,forward";
10773               signal: "elm,state,icon_set,forward";
10774               source: "elm";
10775               after: "icon_set,animation";
10776            }
10777            program { name: "icon_set,animation,backward";
10778               signal: "elm,state,icon_set,backward";
10779               source: "elm";
10780               after: "icon_set,animation";
10781            }
10782            program { name: "icon_set,animation";
10783               signal: "elm,state,icon_set";
10784               source: "elm";
10785               action: STATE_SET "animation" 0.0;
10786               target: "elm.icon.clipper";
10787               target: "elm.icon_new.clipper";
10788               transition: LINEAR 0.2;
10789               after: "icon_set,animation,done";
10790            }
10791            program { name: "icon_set,animation,done";
10792               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10793            }
10794            program { name: "icon,reset";
10795               signal: "elm,state,icon,reset";
10796               source: "elm";
10797               action: STATE_SET "default" 0.0;
10798               target: "elm.icon.clipper";
10799               target: "elm.icon_new.clipper";
10800            }
10801        }
10802    }
10803
10804    group { name: "elm/toolbar/separator/default";
10805       images {
10806          image: "toolbar_separator_v.png" COMP;
10807       }
10808       parts {
10809          part { name: "separator"; // separator group
10810             description { state: "default" 0.0;
10811                min: 2 2;
10812                max: 2 9999;
10813                rel1.offset: 4 4;
10814                rel2.offset: -5 -5;
10815                image {
10816                   normal: "toolbar_separator_v.png";
10817                }
10818                fill {
10819                   smooth: 0;
10820                }
10821             }
10822          }
10823       }
10824    }
10825
10826    ///////////////////////////////////////////////////////////////////////////////
10827    group { name: "elm/notify/block_events/default";
10828        parts {
10829            part { name: "block_events";
10830                type: RECT;
10831                description { state: "default" 0.0;
10832                    color: 0 0 0 64;
10833                    visible: 1;
10834                }
10835            }
10836        }
10837            programs {
10838                    program {
10839                                 name: "block_clicked";
10840                                 signal: "mouse,clicked,1";
10841                                 source: "block_events";
10842                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10843                    }
10844            }
10845    }
10846    group { name: "elm/notify/top/default";
10847        //this group is a design similar to the inwin group
10848        images {
10849            image: "shad_circ.png" COMP;
10850            image: "bt_dis_base.png" COMP;
10851            image: "bt_dis_hilight.png" COMP;
10852        }
10853        parts {
10854            part { name: "base";
10855                type: RECT;
10856                mouse_events: 0;
10857                repeat_events: 1;
10858                description { state: "default" 0.0;
10859                    color: 0 0 0 0;
10860                    rel1.offset: 10 10;
10861                    rel2.offset: -10 -10;
10862                    rel1.relative: 0.0 -1.0;
10863                    rel2.relative: 1.0 0.0;
10864                }
10865                description { state: "visible" 0.0;
10866                    inherit: "default" 0.0;
10867                    color: 0 0 0 64;
10868                    rel1.relative: 0.0 0.0;
10869                    rel2.relative: 1.0 1.0;
10870                }
10871            }
10872            part { name: "shad";
10873                mouse_events:  0;
10874                description { state: "default" 0.0;
10875                    image.normal: "shad_circ.png";
10876                    rel1.to: "elm.swallow.content";
10877                    rel1.offset: -64 -64;
10878                    rel2.to: "elm.swallow.content";
10879                    rel2.offset: 63 63;
10880                    fill.smooth: 0;
10881                }
10882            }
10883            part { name: "pop";
10884                mouse_events: 1;
10885                description { state: "default" 0.0;
10886                    rel1.to: "elm.swallow.content";
10887                    rel1.offset: -5 -5;
10888                    rel2.to: "elm.swallow.content";
10889                    rel2.offset: 4 4;
10890                    image {
10891                        normal: "bt_dis_base.png";
10892                        border: 4 4 4 4;
10893                    }
10894                    image.middle: SOLID;
10895                }
10896            }
10897            part { name: "popover";
10898                mouse_events: 0;
10899                description { state: "default" 0.0;
10900                    rel1.to: "pop";
10901                    rel2.to: "pop";
10902                    rel2.relative: 1.0 0.5;
10903                    image {
10904                        normal: "bt_dis_hilight.png";
10905                        border: 4 4 4 0;
10906                    }
10907                }
10908            }
10909            part { name: "elm.swallow.content";
10910                type: SWALLOW;
10911                description { state: "default" 0.0;
10912                    rel1.to: "base";
10913                    rel2.to: "base";
10914                }
10915            }
10916        }
10917        programs {
10918            program { name: "show";
10919                signal: "elm,action,show";
10920                source: "elm";
10921                action: STATE_SET "visible" 0.0;
10922                target: "base";
10923            }
10924            program { name: "show_2";
10925                 signal: "show";
10926                 action: STATE_SET "default" 0.0;
10927                 target: "base";
10928                 after: "show_3";
10929            }
10930            program { name: "show_3";
10931                 signal: "show";
10932                 action: STATE_SET "visible" 0.0;
10933                 target: "base";
10934                 transition: LINEAR 0.5;
10935            }
10936            program { name: "hide";
10937                signal: "elm,action,hide";
10938                source: "elm";
10939                action: STATE_SET "default" 0.0;
10940                target: "base";
10941            }
10942        }
10943    }
10944    group { name: "elm/notify/center/default";
10945        //this group is a design similar to the inwin group
10946        images {
10947            image: "bt_dis_base.png" COMP;
10948        }
10949        parts {
10950            part { name: "base";
10951                type: RECT;
10952                mouse_events: 0;
10953                repeat_events: 1;
10954                description { state: "default" 0.0;
10955                    color: 0 0 0 0;
10956                    rel1.relative: 0.0 0.0;
10957                    rel2.relative: 1.0 1.0;
10958                }
10959            }
10960            part { name: "pop";
10961                mouse_events: 1;
10962                description { state: "default" 0.0;
10963                    rel1.to: "elm.swallow.content";
10964                    rel1.offset: -5 -5;
10965                    rel2.to: "elm.swallow.content";
10966                    rel2.offset: 4 4;
10967                    image {
10968                        normal: "bt_dis_base.png";
10969                        border: 4 4 4 4;
10970                    }
10971                }
10972            }
10973            part { name: "elm.swallow.content";
10974                type: SWALLOW;
10975                description { state: "default" 0.0;
10976                    rel1.to: "base";
10977                    rel2.to: "base";
10978                }
10979            }
10980        }
10981        programs {
10982            program { name: "show";
10983                signal: "elm,action,show";
10984                source: "elm";
10985                action: STATE_SET "default" 0.0;
10986                target: "base";
10987            }
10988            program { name: "show_2";
10989                 signal: "show";
10990                 action: STATE_SET "default" 0.0;
10991                 target: "base";
10992            }
10993            program { name: "hide";
10994                signal: "elm,action,hide";
10995                source: "elm";
10996                action: STATE_SET "default" 0.0;
10997                target: "base";
10998            }
10999        }
11000    }
11001    group { name: "elm/notify/bottom/default";
11002        //this group is a design similar to the inwin group
11003        images {
11004            image: "shad_circ.png" COMP;
11005            image: "bt_dis_base.png" COMP;
11006            image: "bt_dis_hilight.png" COMP;
11007        }
11008        parts {
11009            part { name: "base";
11010                type: RECT;
11011                mouse_events: 0;
11012                repeat_events: 1;
11013                description { state: "default" 0.0;
11014                    color: 0 0 0 0;
11015                    rel1.offset: 10 10;
11016                    rel2.offset: -10 -10;
11017                    rel1.relative: 0.0 1.0;
11018                    rel2.relative: 1.0 2.0;
11019                }
11020                description { state: "visible" 0.0;
11021                    inherit: "default" 0.0;
11022                    color: 0 0 0 64;
11023                    rel1.relative: 0.0 0.0;
11024                    rel2.relative: 1.0 1.0;
11025                }
11026            }
11027            part { name: "shad";
11028                mouse_events:  0;
11029                description { state: "default" 0.0;
11030                    image.normal: "shad_circ.png";
11031                    rel1.to: "elm.swallow.content";
11032                    rel1.offset: -64 -64;
11033                    rel2.to: "elm.swallow.content";
11034                    rel2.offset: 63 63;
11035                    fill.smooth: 0;
11036                }
11037            }
11038            part { name: "pop";
11039                mouse_events: 1;
11040                description { state: "default" 0.0;
11041                    rel1.to: "elm.swallow.content";
11042                    rel1.offset: -5 -5;
11043                    rel2.to: "elm.swallow.content";
11044                    rel2.offset: 4 4;
11045                    image {
11046                        normal: "bt_dis_base.png";
11047                        border: 4 4 4 4;
11048                    }
11049                    image.middle: SOLID;
11050                }
11051            }
11052            part { name: "popover";
11053                mouse_events: 0;
11054                description { state: "default" 0.0;
11055                    rel1.to: "pop";
11056                    rel2.to: "pop";
11057                    rel2.relative: 1.0 0.5;
11058                    image {
11059                        normal: "bt_dis_hilight.png";
11060                        border: 4 4 4 0;
11061                    }
11062                }
11063            }
11064            part { name: "elm.swallow.content";
11065                type: SWALLOW;
11066                description { state: "default" 0.0;
11067                    rel1.to: "base";
11068                    rel2.to: "base";
11069                }
11070            }
11071        }
11072        programs {
11073            program { name: "show";
11074                signal: "elm,action,show";
11075                source: "elm";
11076                action: STATE_SET "visible" 0.0;
11077                target: "base";
11078            }
11079            program { name: "show_2";
11080                 signal: "show";
11081                 action: STATE_SET "default" 0.0;
11082                 target: "base";
11083                 after: "show_3";
11084            }
11085            program { name: "show_3";
11086                 signal: "show";
11087                 action: STATE_SET "visible" 0.0;
11088                 target: "base";
11089                 transition: LINEAR 0.5;
11090            }
11091            program { name: "hide";
11092                signal: "elm,action,hide";
11093                source: "elm";
11094                action: STATE_SET "default" 0.0;
11095                target: "base";
11096            }
11097        }
11098    }
11099    group { name: "elm/notify/left/default";
11100        //this group is a design similar to the inwin group
11101        images {
11102            image: "shad_circ.png" COMP;
11103            image: "bt_dis_base.png" COMP;
11104            image: "bt_dis_hilight.png" COMP;
11105        }
11106        parts {
11107            part { name: "base";
11108                type: RECT;
11109                mouse_events: 0;
11110                repeat_events: 1;
11111                description { state: "default" 0.0;
11112                    color: 0 0 0 0;
11113                    rel1.offset: 10 10;
11114                    rel2.offset: -10 -10;
11115                    rel1.relative: -1.0 0.0;
11116                    rel2.relative: 0.0 1.0;
11117                }
11118                description { state: "visible" 0.0;
11119                    inherit: "default" 0.0;
11120                    color: 0 0 0 64;
11121                    rel1.relative: 0.0 0.0;
11122                    rel2.relative: 1.0 1.0;
11123                }
11124            }
11125            part { name: "shad";
11126                mouse_events:  0;
11127                description { state: "default" 0.0;
11128                    image.normal: "shad_circ.png";
11129                    rel1.to: "elm.swallow.content";
11130                    rel1.offset: -64 -64;
11131                    rel2.to: "elm.swallow.content";
11132                    rel2.offset: 63 63;
11133                    fill.smooth: 0;
11134                }
11135            }
11136            part { name: "pop";
11137                mouse_events: 1;
11138                description { state: "default" 0.0;
11139                    rel1.to: "elm.swallow.content";
11140                    rel1.offset: -5 -5;
11141                    rel2.to: "elm.swallow.content";
11142                    rel2.offset: 4 4;
11143                    image {
11144                        normal: "bt_dis_base.png";
11145                        border: 4 4 4 4;
11146                    }
11147                    image.middle: SOLID;
11148                }
11149            }
11150            part { name: "popover";
11151                mouse_events: 0;
11152                description { state: "default" 0.0;
11153                    rel1.to: "pop";
11154                    rel2.to: "pop";
11155                    rel2.relative: 1.0 0.5;
11156                    image {
11157                        normal: "bt_dis_hilight.png";
11158                        border: 4 4 4 0;
11159                    }
11160                }
11161            }
11162            part { name: "elm.swallow.content";
11163                type: SWALLOW;
11164                description { state: "default" 0.0;
11165                    rel1.to: "base";
11166                    rel2.to: "base";
11167                }
11168            }
11169        }
11170        programs {
11171            program { name: "show";
11172                signal: "elm,action,show";
11173                source: "elm";
11174                action: STATE_SET "visible" 0.0;
11175                target: "base";
11176            }
11177            program { name: "show_2";
11178                signal: "show";
11179                action: STATE_SET "default" 0.0;
11180                target: "base";
11181                after: "show_3";
11182            }
11183            program { name: "show_3";
11184                signal: "show";
11185                action: STATE_SET "visible" 0.0;
11186                target: "base";
11187                transition: LINEAR 0.5;
11188            }
11189            program { name: "hide";
11190                signal: "elm,action,hide";
11191                source: "elm";
11192                action: STATE_SET "default" 0.0;
11193                target: "base";
11194            }
11195        }
11196    }
11197    group { name: "elm/notify/right/default";
11198        //this group is a design similar to the inwin group
11199        images {
11200            image: "shad_circ.png" COMP;
11201            image: "bt_dis_base.png" COMP;
11202            image: "bt_dis_hilight.png" COMP;
11203        }
11204        parts {
11205            part { name: "base";
11206                type: RECT;
11207                mouse_events: 0;
11208                repeat_events: 1;
11209                 description { state: "default" 0.0;
11210                    color: 0 0 0 0;
11211                    rel1.offset: 10 10;
11212                    rel2.offset: -10 -10;
11213                    rel1.relative: 1.0 0.0;
11214                    rel2.relative: 2.0 1.0;
11215                }
11216                description { state: "visible" 0.0;
11217                    inherit: "default" 0.0;
11218                    color: 0 0 0 64;
11219                    rel1.relative: 0.0 0.0;
11220                    rel2.relative: 1.0 1.0;
11221                }
11222            }
11223            part { name: "shad";
11224                mouse_events:  0;
11225                description { state: "default" 0.0;
11226                    image.normal: "shad_circ.png";
11227                    rel1.to: "elm.swallow.content";
11228                    rel1.offset: -64 -64;
11229                    rel2.to: "elm.swallow.content";
11230                    rel2.offset: 63 63;
11231                    fill.smooth: 0;
11232                }
11233            }
11234            part { name: "pop";
11235                mouse_events: 1;
11236                description { state: "default" 0.0;
11237                    rel1.to: "elm.swallow.content";
11238                    rel1.offset: -5 -5;
11239                    rel2.to: "elm.swallow.content";
11240                    rel2.offset: 4 4;
11241                    image {
11242                        normal: "bt_dis_base.png";
11243                        border: 4 4 4 4;
11244                    }
11245                    image.middle: SOLID;
11246                }
11247            }
11248            part { name: "popover";
11249                mouse_events: 0;
11250                description { state: "default" 0.0;
11251                    rel1.to: "pop";
11252                    rel2.to: "pop";
11253                    rel2.relative: 1.0 0.5;
11254                    image {
11255                        normal: "bt_dis_hilight.png";
11256                        border: 4 4 4 0;
11257                    }
11258                }
11259            }
11260            part { name: "elm.swallow.content";
11261                type: SWALLOW;
11262                description { state: "default" 0.0;
11263                    rel1.to: "base";
11264                    rel2.to: "base";
11265                }
11266            }
11267        }
11268        programs {
11269            program { name: "show";
11270                signal: "elm,action,show";
11271                source: "elm";
11272                action: STATE_SET "visible" 0.0;
11273                target: "base";
11274            }
11275            program { name: "show_2";
11276                signal: "show";
11277                action: STATE_SET "default" 0.0;
11278                target: "base";
11279                after: "show_3";
11280            }
11281            program { name: "show_3";
11282                signal: "show";
11283                action: STATE_SET "visible" 0.0;
11284                target: "base";
11285                transition: LINEAR 0.5;
11286            }
11287            program { name: "hide";
11288                signal: "elm,action,hide";
11289                source: "elm";
11290                action: STATE_SET "default" 0.0;
11291                target: "base";
11292            }
11293        }
11294    }
11295    group { name: "elm/notify/top_left/default";
11296        //this group is a design similar to the inwin group
11297        images {
11298            image: "shad_circ.png" COMP;
11299            image: "bt_dis_base.png" COMP;
11300            image: "bt_dis_hilight.png" COMP;
11301        }
11302        parts {
11303            part { name: "base";
11304                type: RECT;
11305                mouse_events: 0;
11306                repeat_events: 1;
11307                 description { state: "default" 0.0;
11308                    color: 0 0 0 0;
11309                    rel1.offset: 10 10;
11310                    rel2.offset: -10 -10;
11311                    rel1.relative: 0.0 -1.0;
11312                    rel2.relative: 1.0 0.0;
11313                }
11314                description { state: "visible" 0.0;
11315                    inherit: "default" 0.0;
11316                    color: 0 0 0 64;
11317                    rel1.relative: 0.0 0.0;
11318                    rel2.relative: 1.0 1.0;
11319                }
11320            }
11321            part { name: "shad";
11322                mouse_events:  0;
11323                description { state: "default" 0.0;
11324                    image.normal: "shad_circ.png";
11325                    rel1.to: "elm.swallow.content";
11326                    rel1.offset: -64 -64;
11327                    rel2.to: "elm.swallow.content";
11328                    rel2.offset: 63 63;
11329                    fill.smooth: 0;
11330                }
11331            }
11332            part { name: "pop";
11333                mouse_events: 1;
11334                description { state: "default" 0.0;
11335                    rel1.to: "elm.swallow.content";
11336                    rel1.offset: -5 -5;
11337                    rel2.to: "elm.swallow.content";
11338                    rel2.offset: 4 4;
11339                    image {
11340                        normal: "bt_dis_base.png";
11341                        border: 4 4 4 4;
11342                    }
11343                    image.middle: SOLID;
11344                }
11345            }
11346            part { name: "popover";
11347                mouse_events: 0;
11348                description { state: "default" 0.0;
11349                    rel1.to: "pop";
11350                    rel2.to: "pop";
11351                    rel2.relative: 1.0 0.5;
11352                    image {
11353                        normal: "bt_dis_hilight.png";
11354                        border: 4 4 4 0;
11355                    }
11356                }
11357            }
11358            part { name: "elm.swallow.content";
11359                type: SWALLOW;
11360                description { state: "default" 0.0;
11361                    rel1.to: "base";
11362                    rel2.to: "base";
11363                }
11364            }
11365        }
11366        programs {
11367            program { name: "show";
11368                signal: "elm,action,show";
11369                source: "elm";
11370                action: STATE_SET "visible" 0.0;
11371                target: "base";
11372            }
11373            program { name: "show_2";
11374                signal: "show";
11375                action: STATE_SET "default" 0.0;
11376                target: "base";
11377                after: "show_3";
11378            }
11379            program { name: "show_3";
11380                signal: "show";
11381                action: STATE_SET "visible" 0.0;
11382                target: "base";
11383                transition: LINEAR 0.5;
11384            }
11385            program { name: "hide";
11386                signal: "elm,action,hide";
11387                source: "elm";
11388                action: STATE_SET "default" 0.0;
11389                target: "base";
11390            }
11391        }
11392    }
11393    group { name: "elm/notify/top_right/default";
11394        //this group is a design similar to the inwin group
11395        images {
11396            image: "shad_circ.png" COMP;
11397            image: "bt_dis_base.png" COMP;
11398            image: "bt_dis_hilight.png" COMP;
11399        }
11400        parts {
11401            part { name: "base";
11402                type: RECT;
11403                mouse_events: 0;
11404                repeat_events: 1;
11405                description { state: "default" 0.0;
11406                    color: 0 0 0 0;
11407                    rel1.offset: 10 10;
11408                    rel2.offset: -10 -10;
11409                    rel1.relative: 0.0 -1.0;
11410                    rel2.relative: 1.0 0.0;
11411                }
11412                description { state: "visible" 0.0;
11413                    inherit: "default" 0.0;
11414                    color: 0 0 0 64;
11415                    rel1.relative: 0.0 0.0;
11416                    rel2.relative: 1.0 1.0;
11417                }
11418            }
11419            part { name: "shad";
11420                mouse_events:  0;
11421                description { state: "default" 0.0;
11422                    image.normal: "shad_circ.png";
11423                    rel1.to: "elm.swallow.content";
11424                    rel1.offset: -64 -64;
11425                    rel2.to: "elm.swallow.content";
11426                    rel2.offset: 63 63;
11427                    fill.smooth: 0;
11428                }
11429            }
11430            part { name: "pop";
11431                mouse_events: 1;
11432                description { state: "default" 0.0;
11433                    rel1.to: "elm.swallow.content";
11434                    rel1.offset: -5 -5;
11435                    rel2.to: "elm.swallow.content";
11436                    rel2.offset: 4 4;
11437                    image {
11438                        normal: "bt_dis_base.png";
11439                        border: 4 4 4 4;
11440                    }
11441                    image.middle: SOLID;
11442                }
11443            }
11444            part { name: "popover";
11445                mouse_events: 0;
11446                description { state: "default" 0.0;
11447                    rel1.to: "pop";
11448                    rel2.to: "pop";
11449                    rel2.relative: 1.0 0.5;
11450                    image {
11451                        normal: "bt_dis_hilight.png";
11452                        border: 4 4 4 0;
11453                    }
11454                }
11455            }
11456            part { name: "elm.swallow.content";
11457                type: SWALLOW;
11458                description { state: "default" 0.0;
11459                    rel1.to: "base";
11460                    rel2.to: "base";
11461                }
11462            }
11463        }
11464        programs {
11465            program { name: "show";
11466                signal: "elm,action,show";
11467                source: "elm";
11468                action: STATE_SET "visible" 0.0;
11469                target: "base";
11470            }
11471            program { name: "show_2";
11472                signal: "show";
11473                action: STATE_SET "default" 0.0;
11474                target: "base";
11475                after: "show_3";
11476            }
11477            program { name: "show_3";
11478                signal: "show";
11479                action: STATE_SET "visible" 0.0;
11480                target: "base";
11481                transition: LINEAR 0.5;
11482            }
11483            program { name: "hide";
11484                signal: "elm,action,hide";
11485                source: "elm";
11486                action: STATE_SET "default" 0.0;
11487                target: "base";
11488            }
11489        }
11490    }
11491    group { name: "elm/notify/bottom_left/default";
11492        //this group is a design similar to the inwin group
11493        images {
11494            image: "shad_circ.png" COMP;
11495            image: "bt_dis_base.png" COMP;
11496            image: "bt_dis_hilight.png" COMP;
11497        }
11498        parts {
11499            part { name: "base";
11500                type: RECT;
11501                mouse_events: 0;
11502                repeat_events: 1;
11503                description { state: "default" 0.0;
11504                    color: 0 0 0 0;
11505                    rel1.offset: 10 10;
11506                    rel2.offset: -10 -10;
11507                    rel1.relative: 0.0 1.0;
11508                    rel2.relative: 1.0 2.0;
11509                }
11510                description { state: "visible" 0.0;
11511                    inherit: "default" 0.0;
11512                    color: 0 0 0 64;
11513                    rel1.relative: 0.0 0.0;
11514                    rel2.relative: 1.0 1.0;
11515                }
11516            }
11517            part { name: "shad";
11518                mouse_events:  0;
11519                description { state: "default" 0.0;
11520                    image.normal: "shad_circ.png";
11521                    rel1.to: "elm.swallow.content";
11522                    rel1.offset: -64 -64;
11523                    rel2.to: "elm.swallow.content";
11524                    rel2.offset: 63 63;
11525                    fill.smooth: 0;
11526                }
11527            }
11528            part { name: "pop";
11529                mouse_events: 1;
11530                description { state: "default" 0.0;
11531                    rel1.to: "elm.swallow.content";
11532                    rel1.offset: -5 -5;
11533                    rel2.to: "elm.swallow.content";
11534                    rel2.offset: 4 4;
11535                    image {
11536                        normal: "bt_dis_base.png";
11537                        border: 4 4 4 4;
11538                    }
11539                    image.middle: SOLID;
11540                }
11541            }
11542            part { name: "popover";
11543                mouse_events: 0;
11544                description { state: "default" 0.0;
11545                    rel1.to: "pop";
11546                    rel2.to: "pop";
11547                    rel2.relative: 1.0 0.5;
11548                    image {
11549                        normal: "bt_dis_hilight.png";
11550                        border: 4 4 4 0;
11551                    }
11552                }
11553            }
11554            part { name: "elm.swallow.content";
11555                type: SWALLOW;
11556                description { state: "default" 0.0;
11557                    rel1.to: "base";
11558                    rel2.to: "base";
11559                }
11560            }
11561        }
11562        programs {
11563            program { name: "show";
11564                signal: "elm,action,show";
11565                source: "elm";
11566                action: STATE_SET "visible" 0.0;
11567                target: "base";
11568            }
11569            program { name: "show_2";
11570                signal: "show";
11571                action: STATE_SET "default" 0.0;
11572                target: "base";
11573                after: "show_3";
11574            }
11575            program { name: "show_3";
11576                signal: "show";
11577                action: STATE_SET "visible" 0.0;
11578                target: "base";
11579                transition: LINEAR 0.5;
11580            }
11581            program { name: "hide";
11582                signal: "elm,action,hide";
11583                source: "elm";
11584                action: STATE_SET "default" 0.0;
11585                target: "base";
11586            }
11587        }
11588    }
11589    group { name: "elm/notify/bottom_right/default";
11590        //this group is a design similar to the inwin group
11591        images {
11592            image: "shad_circ.png" COMP;
11593            image: "bt_dis_base.png" COMP;
11594            image: "bt_dis_hilight.png" COMP;
11595        }
11596        parts {
11597            part { name: "base";
11598                type: RECT;
11599                mouse_events: 0;
11600                repeat_events: 1;
11601               description { state: "default" 0.0;
11602                    color: 0 0 0 0;
11603                    rel1.offset: 10 10;
11604                    rel2.offset: -10 -10;
11605                    rel1.relative: 0.0 1.0;
11606                    rel2.relative: 1.0 2.0;
11607                }
11608                description { state: "visible" 0.0;
11609                    inherit: "default" 0.0;
11610                    color: 0 0 0 64;
11611                    rel1.relative: 0.0 0.0;
11612                    rel2.relative: 1.0 1.0;
11613                }
11614            }
11615            part { name: "shad";
11616                mouse_events:  0;
11617                description { state: "default" 0.0;
11618                    image.normal: "shad_circ.png";
11619                    rel1.to: "elm.swallow.content";
11620                    rel1.offset: -64 -64;
11621                    rel2.to: "elm.swallow.content";
11622                    rel2.offset: 63 63;
11623                    fill.smooth: 0;
11624                }
11625            }
11626            part { name: "pop";
11627                mouse_events: 1;
11628                description { state: "default" 0.0;
11629                    rel1.to: "elm.swallow.content";
11630                    rel1.offset: -5 -5;
11631                    rel2.to: "elm.swallow.content";
11632                    rel2.offset: 4 4;
11633                    image {
11634                        normal: "bt_dis_base.png";
11635                        border: 4 4 4 4;
11636                    }
11637                    image.middle: SOLID;
11638                }
11639            }
11640            part { name: "popover";
11641                mouse_events: 0;
11642                description { state: "default" 0.0;
11643                    rel1.to: "pop";
11644                    rel2.to: "pop";
11645                    rel2.relative: 1.0 0.5;
11646                    image {
11647                        normal: "bt_dis_hilight.png";
11648                        border: 4 4 4 0;
11649                    }
11650                }
11651            }
11652            part { name: "elm.swallow.content";
11653                type: SWALLOW;
11654                description { state: "default" 0.0;
11655                    rel1.to: "base";
11656                    rel2.to: "base";
11657                }
11658            }
11659        }
11660        programs {
11661            program { name: "show";
11662                signal: "elm,action,show";
11663                source: "elm";
11664                action: STATE_SET "visible" 0.0;
11665                target: "base";
11666            }
11667            program { name: "show_2";
11668                signal: "show";
11669                action: STATE_SET "default" 0.0;
11670                target: "base";
11671                after: "show_3";
11672            }
11673            program { name: "show_3";
11674                signal: "show";
11675                action: STATE_SET "visible" 0.0;
11676                target: "base";
11677                transition: LINEAR 0.5;
11678            }
11679            program { name: "hide";
11680                signal: "elm,action,hide";
11681                source: "elm";
11682                action: STATE_SET "default" 0.0;
11683                target: "base";
11684            }
11685        }
11686    }
11687
11688 ///////////////////////////////////////////////////////////////////////////////
11689    group { name: "elm/slideshow/base/default";
11690       data {
11691          item: transitions "fade black_fade horizontal vertical square";
11692          item: layouts "fullscreen not_fullscreen";
11693       }
11694       parts {
11695          part { name: "whole";
11696                  type: RECT;
11697             description {
11698                state: "default" 0.0;
11699                visible: 1;
11700                color: 20 20 20 255;
11701             }
11702          }
11703          part { name: "image_1_whole";
11704             description {
11705                state: "default" 0.0;
11706                color: 255 255 255 255;
11707             }
11708             description {
11709                state: "fade_prev_next" 0.0;
11710                inherit: "default" 0.0;
11711                color: 255 255 255 0;
11712             }
11713             description {
11714                state: "black_fade_prev_next_init" 0.0;
11715                inherit: "default" 0.0;
11716                color: 255 255 255 255;
11717             }
11718             description {
11719                state: "black_fade_prev_next" 0.0;
11720                inherit: "default" 0.0;
11721                color: 0 0 0 255;
11722             }
11723             description {
11724                state: "horizontal_next_init" 0.0;
11725                inherit: "default" 0.0;
11726             }
11727             description {
11728                state: "horizontal_next" 0.0;
11729                inherit: "default" 0.0;
11730                rel1.relative: -1.0 0.0;
11731                rel2.relative: 0.0 1.0;
11732             }
11733             description {
11734                state: "horizontal_prev_init" 0.0;
11735                inherit: "default" 0.0;
11736             }
11737             description {
11738                state: "horizontal_prev" 0.0;
11739                inherit: "default" 0.0;
11740                rel1.relative: 1.0 0.0;
11741                rel2.relative: 2.0 1.0;
11742             }
11743             description {
11744                state: "vertical_next_init" 0.0;
11745                inherit: "default" 0.0;
11746             }
11747             description {
11748                state: "vertical_next" 0.0;
11749                inherit: "default" 0.0;
11750                rel1.relative: 0.0 -1.0;
11751                rel2.relative: 1.0 0.0;
11752             }
11753             description {
11754                state: "vertical_prev_init" 0.0;
11755                inherit: "default" 0.0;
11756             }
11757             description {
11758                state: "vertical_prev" 0.0;
11759                inherit: "default" 0.0;
11760                rel1.relative: 0.0 1.0;
11761                rel2.relative: 1.0 2.0;
11762             }
11763             description {
11764                state: "square_prev_next" 0.0;
11765                inherit: "default" 0.0;
11766                color: 255 255 255 0;
11767             }
11768          }
11769          part { name: "image_2_whole";
11770             description {
11771                state: "default" 0.0;
11772                visible: 1;
11773                color: 255 255 255 0;
11774             }
11775             description {
11776                state: "fade_prev_next" 0.0;
11777                inherit: "default" 0.0;
11778                color: 255 255 255 255;
11779             }
11780             description {
11781                state: "black_fade_prev_next_init" 0.0;
11782                inherit: "default" 0.0;
11783                color: 0 0 0 0;
11784             }
11785             description {
11786                state: "black_fade_prev_next" 0.0;
11787                inherit: "default" 0.0;
11788                color: 255 255 255 255;
11789             }
11790             description {
11791                state: "horizontal_next_init" 0.0;
11792                inherit: "default" 0.0;
11793                rel1.relative: 1.0 0.0;
11794                rel2.relative: 2.0 1.0;
11795                color: 255 255 255 255;
11796             }
11797             description {
11798                state: "horizontal_next" 0.0;
11799                inherit: "default" 0.0;
11800                color: 255 255 255 255;
11801             }
11802             description {
11803                state: "horizontal_prev_init" 0.0;
11804                inherit: "default" 0.0;
11805                rel1.relative: -1.0 0.0;
11806                rel2.relative: 0.0 1.0;
11807                color: 255 255 255 255;
11808             }
11809             description {
11810                state: "horizontal_prev" 0.0;
11811                inherit: "default" 0.0;
11812                color: 255 255 255 255;
11813             }
11814             description {
11815                state: "vertical_next_init" 0.0;
11816                inherit: "default" 0.0;
11817                rel1.relative: 0.0 1.0;
11818                rel2.relative: 1.0 2.0;
11819                color: 255 255 255 255;
11820             }
11821             description {
11822                state: "vertical_next" 0.0;
11823                inherit: "default" 0.0;
11824                color: 255 255 255 255;
11825             }
11826             description {
11827                state: "vertical_prev_init" 0.0;
11828                inherit: "default" 0.0;
11829                rel1.relative: 0.0 -1.0;
11830                rel2.relative: 1.0 0.0;
11831                color: 255 255 255 255;
11832             }
11833             description {
11834                state: "vertical_prev" 0.0;
11835                inherit: "default" 0.0;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "square_prev_next_init" 0.0;
11840                inherit: "default" 0.0;
11841                rel1.relative: 0.5 0.5;
11842                rel2.relative: 0.5 0.5;
11843                color: 255 255 255 255;
11844             }
11845             description {
11846                state: "square_prev_next" 0.0;
11847                inherit: "default" 0.0;
11848                rel1.relative: 0.0 0.0;
11849                rel2.relative: 1.0 1.0;
11850                color: 255 255 255 255;
11851             }
11852          }
11853          part { name: "elm.swallow.1";
11854             type: SWALLOW;
11855             clip_to: "image_1_whole";
11856             description {
11857                state: "default" 0.0;
11858                rel1.to: "image_1_whole";
11859                rel2.to: "image_1_whole";
11860                color: 255 255 255 255;
11861             }
11862             description {
11863                state: "not_fullscreen" 0.0;
11864                rel1.relative: 0.1 0.1;
11865                rel1.to: "image_1_whole";
11866                rel2.relative: 0.9 0.9;
11867                rel2.to: "image_1_whole";
11868                color: 255 255 255 255;
11869             }
11870          }
11871          part { name: "elm.swallow.2";
11872             type: SWALLOW;
11873             clip_to: "image_2_whole";
11874             description {
11875                state: "default" 0.0;
11876                color: 255 255 255 255;
11877                rel1.to: "image_2_whole";
11878                rel2.to: "image_2_whole";
11879             }
11880             description {
11881                state: "not_fullscreen" 0.0;
11882                color: 255 255 255 255;
11883                rel1.relative: 0.1 0.1;
11884                rel1.to: "image_2_whole";
11885                rel2.relative: 0.9 0.9;
11886                rel2.to: "image_2_whole";
11887             }
11888          }
11889          part { name: "events_catcher";
11890             type: RECT;
11891             repeat_events: 1;
11892             description {
11893                state: "default" 0.0;
11894                visible: 1;
11895                color: 0 0 0 0;
11896             }
11897          }
11898       }
11899       programs {
11900               //Substyle
11901               program { name: "layout_fullscreen";
11902             signal: "layout,fullscreen";
11903             source: "slideshow";
11904             action: STATE_SET "default" 0.0;
11905             target: "elm.swallow.1";
11906             target: "elm.swallow.2";
11907             transition: SINUSOIDAL 1.0;
11908         }
11909         program { name: "layout_not_fullscreen";
11910             signal: "layout,not_fullscreen";
11911             source: "slideshow";
11912             action: STATE_SET "not_fullscreen" 0.0;
11913             target: "elm.swallow.1";
11914             target: "elm.swallow.2";
11915             transition: SINUSOIDAL 1.0;
11916          }
11917                //
11918          program { name: "fade_next";
11919             signal: "fade,next";
11920             source: "slideshow";
11921             action: STATE_SET "default" 0.0;
11922             target: "image_1_whole";
11923             target: "image_2_whole";
11924             after: "fade_next_2";
11925          }
11926          program { name: "fade_next_2";
11927             action: STATE_SET "fade_prev_next" 0.0;
11928             target: "image_1_whole";
11929             target: "image_2_whole";
11930             transition: SINUSOIDAL 1.5;
11931             after: "end";
11932          }
11933          program { name: "fade_previous";
11934             signal: "fade,previous";
11935             source: "slideshow";
11936             action: STATE_SET "default" 0.0;
11937             target: "image_1_whole";
11938             target: "image_2_whole";
11939             after: "fade_previous_2";
11940          }
11941          program { name: "fade_previous_2";
11942             action: STATE_SET "fade_prev_next" 0.0;
11943             target: "image_1_whole";
11944             target: "image_2_whole";
11945             transition: SINUSOIDAL 1.5;
11946             after: "end";
11947          }
11948          program { name: "black_fade_next";
11949             signal: "black_fade,next";
11950             source: "slideshow";
11951             action: STATE_SET "black_fade_prev_next_init" 0.0;
11952             target: "image_1_whole";
11953             target: "image_2_whole";
11954             after: "black_fade_next_2";
11955          }
11956          program { name: "black_fade_next_2";
11957             action: STATE_SET "black_fade_prev_next" 0.0;
11958             target: "image_1_whole";
11959             transition: SINUSOIDAL 0.75;
11960             after: "black_fade_next_3";
11961          }
11962          program { name: "black_fade_next_3";
11963             action: STATE_SET "black_fade_prev_next" 0.0;
11964             target: "image_2_whole";
11965             transition: SINUSOIDAL 0.75;
11966             after: "end";
11967          }
11968          program { name: "black_fade_previous";
11969             signal: "black_fade,previous";
11970             source: "slideshow";
11971             action: STATE_SET "black_fade_prev_next_init" 0.0;
11972             target: "image_1_whole";
11973             target: "image_2_whole";
11974             after: "black_fade_previous_2";
11975          }
11976          program { name: "black_fade_previous_2";
11977             action: STATE_SET "black_fade_prev_next" 0.0;
11978             target: "image_1_whole";
11979             transition: SINUSOIDAL 0.75;
11980             after: "black_fade_previous_3";
11981          }
11982          program { name: "black_fade_previous_3";
11983             action: STATE_SET "black_fade_prev_next" 0.0;
11984             target: "image_2_whole";
11985             transition: SINUSOIDAL 0.75;
11986             after: "end";
11987          }
11988          program { name: "horizontal_next";
11989             signal: "horizontal,next";
11990             source: "slideshow";
11991             action: STATE_SET "horizontal_next_init" 0.0;
11992             target: "image_1_whole";
11993             target: "image_2_whole";
11994             after: "horizontal_next_2";
11995          }
11996          program { name: "horizontal_next_2";
11997             action: STATE_SET "horizontal_next" 0.0;
11998             target: "image_1_whole";
11999             target: "image_2_whole";
12000             transition: SINUSOIDAL 1.5;
12001             after: "end";
12002          }
12003          program { name: "horizontal_previous";
12004             signal: "horizontal,previous";
12005             source: "slideshow";
12006             action: STATE_SET "horizontal_prev_init" 0.0;
12007             target: "image_1_whole";
12008             target: "image_2_whole";
12009             after: "horizontal_previous_2";
12010          }
12011          program { name: "horizontal_previous_2";
12012             action: STATE_SET "horizontal_prev" 0.0;
12013             target: "image_1_whole";
12014             target: "image_2_whole";
12015             transition: SINUSOIDAL 1.5;
12016             after: "end";
12017          }
12018          program { name: "vertical_next";
12019             signal: "vertical,next";
12020             source: "slideshow";
12021             action: STATE_SET "vertical_next_init" 0.0;
12022             target: "image_1_whole";
12023             target: "image_2_whole";
12024             after: "vertical_next_2";
12025          }
12026          program { name: "vertical_next_2";
12027             action: STATE_SET "vertical_next" 0.0;
12028             target: "image_1_whole";
12029             target: "image_2_whole";
12030             transition: SINUSOIDAL 1.5;
12031             after: "end";
12032          }
12033          program { name: "vertical_previous";
12034             signal: "vertical,previous";
12035             source: "slideshow";
12036             action: STATE_SET "vertical_prev_init" 0.0;
12037             target: "image_1_whole";
12038             target: "image_2_whole";
12039             after: "vertical_previous_2";
12040          }
12041          program { name: "vertical_previous_2";
12042             action: STATE_SET "vertical_prev" 0.0;
12043             target: "image_1_whole";
12044             target: "image_2_whole";
12045             transition: SINUSOIDAL 1.5;
12046             after: "end";
12047          }
12048          program { name: "square_next";
12049             signal: "square,next";
12050             source: "slideshow";
12051             action: STATE_SET "square_prev_next_init" 0.0;
12052             target: "image_2_whole";
12053             after: "square_next_2";
12054          }
12055          program { name: "square_next_2";
12056             action: STATE_SET "square_prev_next" 0.0;
12057             target: "image_2_whole";
12058             target: "image_1_whole";
12059             transition: SINUSOIDAL 1.5;
12060             after: "end";
12061          }
12062          program { name: "square_previous";
12063             signal: "square,previous";
12064             source: "slideshow";
12065             action: STATE_SET "square_prev_next_init" 0.0;
12066             target: "image_2_whole";
12067             after: "square_next_2";
12068          }
12069          program { name: "end";
12070             action: SIGNAL_EMIT "end" "slideshow";
12071          }
12072          program { name: "end_signal";
12073             signal: "anim,end";
12074             source: "slideshow";
12075             action: STATE_SET "default" 0.0;
12076             target: "image_1_whole";
12077             target: "image_2_whole";
12078          }
12079       }
12080    }
12081
12082 ///////////////////////////////////////////////////////////////////////////////
12083    group { name: "elm/win/inwin/default";
12084       images {
12085          image: "shad_circ.png" COMP;
12086          image: "bt_dis_base.png" COMP;
12087          image: "bt_dis_hilight.png" COMP;
12088       }
12089       parts {
12090          part { name: "base";
12091             type: RECT;
12092             mouse_events: 1;
12093             description { state: "default" 0.0;
12094                color: 0 0 0 0;
12095             }
12096             description { state: "visible" 0.0;
12097                inherit: "default" 1.0;
12098                color: 0 0 0 64;
12099             }
12100          }
12101          part { name: "shad";
12102             mouse_events:  0;
12103             description { state: "default" 0.0;
12104                image.normal: "shad_circ.png";
12105                rel1.to: "elm.swallow.content";
12106                rel1.offset: -64 -64;
12107                rel2.to: "elm.swallow.content";
12108                rel2.offset: 63 63;
12109                fill.smooth: 0;
12110             }
12111          }
12112          part { name: "pop";
12113             mouse_events: 1;
12114             description { state: "default" 0.0;
12115                rel1.to: "elm.swallow.content";
12116                rel1.offset: -5 -5;
12117                rel2.to: "elm.swallow.content";
12118                rel2.offset: 4 4;
12119                image {
12120                   normal: "bt_dis_base.png";
12121                   border: 4 4 4 4;
12122                }
12123                image.middle: SOLID;
12124             }
12125          }
12126          part { name: "popover";
12127             mouse_events: 0;
12128             description { state: "default" 0.0;
12129                rel1.to: "pop";
12130                rel2.to: "pop";
12131                rel2.relative: 1.0 0.5;
12132                image {
12133                   normal: "bt_dis_hilight.png";
12134                   border: 4 4 4 0;
12135                }
12136             }
12137          }
12138          part { name: "elm.swallow.content";
12139             type: SWALLOW;
12140             description { state: "default" 0.0;
12141                rel1.relative: 0.1 0.1;
12142                rel2.relative: 0.9 0.9;
12143             }
12144          }
12145       }
12146       programs {
12147          program { name: "show";
12148             signal: "elm,action,show";
12149             source: "elm";
12150             action: STATE_SET "visible" 0.0;
12151 //            transition: DECELERATE 0.5;
12152             target: "base";
12153          }
12154          program { name: "hide";
12155             signal: "elm,action,hide";
12156             source: "elm";
12157             action: STATE_SET "default" 0.0;
12158 //            transition: DECELERATE 0.5;
12159             target: "base";
12160          }
12161       }
12162    }
12163
12164    group { name: "elm/win/inwin/minimal";
12165       images {
12166          image: "shad_circ.png" COMP;
12167          image: "bt_dis_base.png" COMP;
12168          image: "bt_dis_hilight.png" COMP;
12169       }
12170       parts {
12171          part { name: "base";
12172             type: RECT;
12173             mouse_events: 1;
12174             description { state: "default" 0.0;
12175                color: 0 0 0 0;
12176             }
12177             description { state: "visible" 0.0;
12178                inherit: "default" 1.0;
12179                color: 0 0 0 64;
12180             }
12181          }
12182          part { name: "shad";
12183             mouse_events:  0;
12184             description { state: "default" 0.0;
12185                image.normal: "shad_circ.png";
12186                rel1.to: "elm.swallow.content";
12187                rel1.offset: -64 -64;
12188                rel2.to: "elm.swallow.content";
12189                rel2.offset: 63 63;
12190                fill.smooth: 0;
12191             }
12192          }
12193          part { name: "pop";
12194             mouse_events: 1;
12195             description { state: "default" 0.0;
12196                rel1.to: "elm.swallow.content";
12197                rel1.offset: -5 -5;
12198                rel2.to: "elm.swallow.content";
12199                rel2.offset: 4 4;
12200                image {
12201                   normal: "bt_dis_base.png";
12202                   border: 4 4 4 4;
12203                }
12204                image.middle: SOLID;
12205             }
12206          }
12207          part { name: "popover";
12208             mouse_events: 0;
12209             description { state: "default" 0.0;
12210                rel1.to: "pop";
12211                rel2.to: "pop";
12212                rel2.relative: 1.0 0.5;
12213                image {
12214                   normal: "bt_dis_hilight.png";
12215                   border: 4 4 4 0;
12216                }
12217             }
12218          }
12219          part { name: "elm.swallow.content";
12220             type: SWALLOW;
12221             description { state: "default" 0.0;
12222                fixed: 1 1;
12223                rel1.relative: 0.5 0.5;
12224                rel2.relative: 0.5 0.5;
12225             }
12226          }
12227       }
12228       programs {
12229          program { name: "show";
12230             signal: "elm,action,show";
12231             source: "elm";
12232             action: STATE_SET "visible" 0.0;
12233 //            transition: DECELERATE 0.5;
12234             target: "base";
12235          }
12236          program { name: "hide";
12237             signal: "elm,action,hide";
12238             source: "elm";
12239             action: STATE_SET "default" 0.0;
12240 //            transition: DECELERATE 0.5;
12241             target: "base";
12242          }
12243       }
12244    }
12245
12246    group { name: "elm/win/inwin/minimal_vertical";
12247       images {
12248          image: "shad_circ.png" COMP;
12249          image: "bt_dis_base.png" COMP;
12250          image: "bt_dis_hilight.png" COMP;
12251       }
12252       parts {
12253          part { name: "base";
12254             type: RECT;
12255             mouse_events: 1;
12256             description { state: "default" 0.0;
12257                color: 0 0 0 0;
12258             }
12259             description { state: "visible" 0.0;
12260                inherit: "default" 1.0;
12261                color: 0 0 0 64;
12262             }
12263          }
12264          part { name: "shad";
12265             mouse_events:  0;
12266             description { state: "default" 0.0;
12267                image.normal: "shad_circ.png";
12268                rel1.to: "elm.swallow.content";
12269                rel1.offset: -64 -64;
12270                rel2.to: "elm.swallow.content";
12271                rel2.offset: 63 63;
12272                fill.smooth: 0;
12273             }
12274          }
12275          part { name: "pop";
12276             mouse_events: 1;
12277             description { state: "default" 0.0;
12278                rel1.to: "elm.swallow.content";
12279                rel1.offset: -5 -5;
12280                rel2.to: "elm.swallow.content";
12281                rel2.offset: 4 4;
12282                image {
12283                   normal: "bt_dis_base.png";
12284                   border: 4 4 4 4;
12285                }
12286                image.middle: SOLID;
12287             }
12288          }
12289          part { name: "popover";
12290             mouse_events: 0;
12291             description { state: "default" 0.0;
12292                rel1.to: "pop";
12293                rel2.to: "pop";
12294                rel2.relative: 1.0 0.5;
12295                image {
12296                   normal: "bt_dis_hilight.png";
12297                   border: 4 4 4 0;
12298                }
12299             }
12300          }
12301          part { name: "elm.swallow.content";
12302             type: SWALLOW;
12303             description { state: "default" 0.0;
12304                fixed: 1 1;
12305                rel1.relative: 0.1 0.5;
12306                rel2.relative: 0.9 0.5;
12307             }
12308          }
12309       }
12310       programs {
12311          program { name: "show";
12312             signal: "elm,action,show";
12313             source: "elm";
12314             action: STATE_SET "visible" 0.0;
12315 //            transition: DECELERATE 0.5;
12316             target: "base";
12317          }
12318          program { name: "hide";
12319             signal: "elm,action,hide";
12320             source: "elm";
12321             action: STATE_SET "default" 0.0;
12322 //            transition: DECELERATE 0.5;
12323             target: "base";
12324          }
12325       }
12326    }
12327
12328 ///////////////////////////////////////////////////////////////////////////////
12329
12330 ///////////////////////////////////////////////////////////////////////////////
12331    group { name: "elm/list/item/default";
12332       data.item: "stacking" "above";
12333       images {
12334          image: "bt_sm_base1.png" COMP;
12335          image: "bt_sm_shine.png" COMP;
12336          image: "bt_sm_hilight.png" COMP;
12337          image: "ilist_1.png" COMP;
12338          image: "ilist_item_shadow.png" COMP;
12339       }
12340       parts {
12341          part {
12342             name:           "event";
12343             type:           RECT;
12344             repeat_events: 1;
12345             description {
12346                state: "default" 0.0;
12347                color: 0 0 0 0;
12348             }
12349          }
12350          part {
12351             name: "base_sh";
12352             mouse_events: 0;
12353             description {
12354                state: "default" 0.0;
12355                align: 0.0 0.0;
12356                min: 0 10;
12357                fixed: 1 1;
12358                rel1 {
12359                   to: "base";
12360                   relative: 0.0 1.0;
12361                   offset: 0 0;
12362                }
12363                rel2 {
12364                   to: "base";
12365                   relative: 1.0 1.0;
12366                   offset: -1 0;
12367                }
12368                image {
12369                   normal: "ilist_item_shadow.png";
12370                }
12371                fill.smooth: 0;
12372             }
12373          }
12374          part {
12375             name: "base";
12376             mouse_events: 0;
12377             description {
12378                state: "default" 0.0;
12379                image {
12380                   normal: "ilist_1.png";
12381                   border: 2 2 2 2;
12382                }
12383                fill.smooth: 0;
12384             }
12385          }
12386          part { name: "bg";
12387             mouse_events: 0;
12388             description { state: "default" 0.0;
12389                visible: 0;
12390                color: 255 255 255 0;
12391                rel1 {
12392                   relative: 0.0 0.0;
12393                   offset: -5 -5;
12394                }
12395                rel2 {
12396                   relative: 1.0 1.0;
12397                   offset: 4 4;
12398                }
12399                image {
12400                   normal: "bt_sm_base1.png";
12401                   border: 6 6 6 6;
12402                }
12403                image.middle: SOLID;
12404             }
12405             description { state: "selected" 0.0;
12406                inherit: "default" 0.0;
12407                visible: 1;
12408                color: 255 255 255 255;
12409                rel1 {
12410                   relative: 0.0 0.0;
12411                   offset: -2 -2;
12412                }
12413                rel2 {
12414                   relative: 1.0 1.0;
12415                   offset: 1 1;
12416                }
12417             }
12418          }
12419          part { name: "elm.swallow.icon";
12420             type: SWALLOW;
12421             description { state: "default" 0.0;
12422                fixed: 1 0;
12423                align: 0.0 0.5;
12424                rel1 {
12425                   relative: 0.0  0.0;
12426                   offset:   4    4;
12427                }
12428                rel2 {
12429                   relative: 0.0  1.0;
12430                   offset:   4   -5;
12431                }
12432             }
12433          }
12434          part { name: "elm.swallow.end";
12435             type: SWALLOW;
12436             description { state: "default" 0.0;
12437                fixed: 1 0;
12438                align: 1.0 0.5;
12439                rel1 {
12440                   relative: 1.0  0.0;
12441                   offset:   -5    4;
12442                }
12443                rel2 {
12444                   relative: 1.0  1.0;
12445                   offset:   -5   -5;
12446                }
12447             }
12448          }
12449          part { name: "elm.text";
12450             type:           TEXT;
12451             effect:         SOFT_SHADOW;
12452             mouse_events:   0;
12453             scale: 1;
12454             description {
12455                state: "default" 0.0;
12456 //               min: 16 16;
12457                rel1 {
12458                   to_x:     "elm.swallow.icon";
12459                   relative: 1.0  0.0;
12460                   offset:   4 4;
12461                }
12462                rel2 {
12463                   to_x:     "elm.swallow.end";
12464                   relative: 0.0  1.0;
12465                   offset:   -1 -5;
12466                }
12467                color: 0 0 0 255;
12468                color3: 0 0 0 0;
12469                text {
12470                   font: "Sans";
12471                   size: 10;
12472                   min: 1 1;
12473 //                  min: 0 1;
12474                   align: -1.0 0.5;
12475                   text_class: "list_item";
12476                }
12477             }
12478             description { state: "selected" 0.0;
12479                inherit: "default" 0.0;
12480                color: 224 224 224 255;
12481                color3: 0 0 0 64;
12482             }
12483          }
12484          part { name: "fg1";
12485             mouse_events: 0;
12486             description { state: "default" 0.0;
12487                visible: 0;
12488                color: 255 255 255 0;
12489                rel1.to: "bg";
12490                rel2.relative: 1.0 0.5;
12491                rel2.to: "bg";
12492                image {
12493                   normal: "bt_sm_hilight.png";
12494                   border: 6 6 6 0;
12495                }
12496             }
12497             description { state: "selected" 0.0;
12498                inherit: "default" 0.0;
12499                visible: 1;
12500                color: 255 255 255 255;
12501             }
12502          }
12503          part { name: "fg2";
12504             mouse_events: 0;
12505             description { state: "default" 0.0;
12506                visible: 0;
12507                color: 255 255 255 0;
12508                rel1.to: "bg";
12509                rel2.to: "bg";
12510                image {
12511                   normal: "bt_sm_shine.png";
12512                   border: 6 6 6 0;
12513                }
12514             }
12515             description { state: "selected" 0.0;
12516                inherit: "default" 0.0;
12517                visible: 1;
12518                color: 255 255 255 255;
12519             }
12520          }
12521       }
12522       programs {
12523          program {
12524             name:    "go_active";
12525             signal:  "elm,state,selected";
12526             source:  "elm";
12527             action:  STATE_SET "selected" 0.0;
12528             target:  "bg";
12529             target:  "fg1";
12530             target:  "fg2";
12531             target:  "elm.text";
12532          }
12533          program {
12534             name:    "go_passive";
12535             signal:  "elm,state,unselected";
12536             source:  "elm";
12537             action:  STATE_SET "default" 0.0;
12538             target:  "bg";
12539             target:  "fg1";
12540             target:  "fg2";
12541             target:  "elm.text";
12542             transition: LINEAR 0.1;
12543          }
12544       }
12545    }
12546    group { name: "elm/list/item_odd/default";
12547       data.item: "stacking" "below";
12548       data.item: "selectraise" "on";
12549       images {
12550          image: "bt_sm_base1.png" COMP;
12551          image: "bt_sm_shine.png" COMP;
12552          image: "bt_sm_hilight.png" COMP;
12553          image: "ilist_2.png" COMP;
12554       }
12555       parts {
12556          part {
12557             name:           "event";
12558             type:           RECT;
12559             repeat_events: 1;
12560             description {
12561                state: "default" 0.0;
12562                color: 0 0 0 0;
12563             }
12564          }
12565          part {
12566             name: "base";
12567             mouse_events: 0;
12568             description {
12569                state: "default" 0.0;
12570                image {
12571                   normal: "ilist_2.png";
12572                   border: 2 2 2 2;
12573                }
12574                fill.smooth: 0;
12575             }
12576          }
12577          part { name: "bg";
12578             mouse_events: 0;
12579             description { state: "default" 0.0;
12580                visible: 0;
12581                color: 255 255 255 0;
12582                rel1 {
12583                   relative: 0.0 0.0;
12584                   offset: -5 -5;
12585                }
12586                rel2 {
12587                   relative: 1.0 1.0;
12588                   offset: 4 4;
12589                }
12590                image {
12591                   normal: "bt_sm_base1.png";
12592                   border: 6 6 6 6;
12593                }
12594                image.middle: SOLID;
12595             }
12596             description { state: "selected" 0.0;
12597                inherit: "default" 0.0;
12598                visible: 1;
12599                color: 255 255 255 255;
12600                rel1 {
12601                   relative: 0.0 0.0;
12602                   offset: -2 -2;
12603                }
12604                rel2 {
12605                   relative: 1.0 1.0;
12606                   offset: 1 1;
12607                }
12608             }
12609          }
12610          part {
12611             name:          "elm.swallow.icon";
12612             type:          SWALLOW;
12613             description { state:    "default" 0.0;
12614                fixed: 1 0;
12615                align:    0.0 0.5;
12616                rel1 {
12617                   relative: 0.0  0.0;
12618                   offset:   4    4;
12619                }
12620                rel2 {
12621                   relative: 0.0  1.0;
12622                   offset:   4   -5;
12623                }
12624             }
12625          }
12626          part {
12627             name:          "elm.swallow.end";
12628             type:          SWALLOW;
12629             description { state:    "default" 0.0;
12630                fixed: 1 0;
12631                align: 1.0 0.5;
12632                rel1 {
12633                   relative: 1.0  0.0;
12634                   offset:   -5    4;
12635                }
12636                rel2 {
12637                   relative: 1.0  1.0;
12638                   offset:   -5   -5;
12639                }
12640             }
12641          }
12642          part {
12643             name:           "elm.text";
12644             type:           TEXT;
12645             effect:         SOFT_SHADOW;
12646             mouse_events:   0;
12647             scale: 1;
12648             description {
12649                state: "default" 0.0;
12650 //               min:      16 16;
12651                rel1 {
12652                   to_x:     "elm.swallow.icon";
12653                   relative: 1.0  0.0;
12654                   offset:   4 4;
12655                }
12656                rel2 {
12657                   to_x:     "elm.swallow.end";
12658                   relative: 0.0  1.0;
12659                   offset:   -1 -5;
12660                }
12661                color: 0 0 0 255;
12662                color3: 0 0 0 0;
12663                text {
12664                   font: "Sans";
12665                   size: 10;
12666                   min: 1 1;
12667 //                  min: 0 1;
12668                   align: -1.0 0.5;
12669                   text_class: "list_item";
12670                }
12671             }
12672             description { state: "selected" 0.0;
12673                inherit: "default" 0.0;
12674                color: 224 224 224 255;
12675                color3: 0 0 0 64;
12676             }
12677          }
12678          part { name: "fg1";
12679             mouse_events: 0;
12680             description { state: "default" 0.0;
12681                visible: 0;
12682                color: 255 255 255 0;
12683                rel1.to: "bg";
12684                rel2.relative: 1.0 0.5;
12685                rel2.to: "bg";
12686                image {
12687                   normal: "bt_sm_hilight.png";
12688                   border: 6 6 6 0;
12689                }
12690             }
12691             description { state: "selected" 0.0;
12692                inherit: "default" 0.0;
12693                visible: 1;
12694                color: 255 255 255 255;
12695             }
12696          }
12697          part { name: "fg2";
12698             mouse_events: 0;
12699             description { state: "default" 0.0;
12700                visible: 0;
12701                color: 255 255 255 0;
12702                rel1.to: "bg";
12703                rel2.to: "bg";
12704                image {
12705                   normal: "bt_sm_shine.png";
12706                   border: 6 6 6 0;
12707                }
12708             }
12709             description { state: "selected" 0.0;
12710                inherit: "default" 0.0;
12711                visible: 1;
12712                color: 255 255 255 255;
12713             }
12714          }
12715       }
12716       programs {
12717          program {
12718             name:    "go_active";
12719             signal:  "elm,state,selected";
12720             source:  "elm";
12721             action:  STATE_SET "selected" 0.0;
12722             target:  "bg";
12723             target:  "fg1";
12724             target:  "fg2";
12725             target:  "elm.text";
12726          }
12727          program {
12728             name:    "go_passive";
12729             signal:  "elm,state,unselected";
12730             source:  "elm";
12731             action:  STATE_SET "default" 0.0;
12732             target:  "bg";
12733             target:  "fg1";
12734             target:  "fg2";
12735             target:  "elm.text";
12736             transition: LINEAR 0.1;
12737          }
12738       }
12739    }
12740    group { name: "elm/list/item_compress/default";
12741       data.item: "stacking" "above";
12742       data.item: "selectraise" "on";
12743       images {
12744          image: "bt_sm_base1.png" COMP;
12745          image: "bt_sm_shine.png" COMP;
12746          image: "bt_sm_hilight.png" COMP;
12747          image: "ilist_1.png" COMP;
12748          image: "ilist_item_shadow.png" COMP;
12749       }
12750       parts {
12751          part {
12752             name:           "event";
12753             type:           RECT;
12754             repeat_events: 1;
12755             description {
12756                state: "default" 0.0;
12757                color: 0 0 0 0;
12758             }
12759          }
12760          part {
12761             name: "base_sh";
12762             mouse_events: 0;
12763             description { state: "default" 0.0;
12764                fixed: 1 1;
12765                align: 0.0 0.0;
12766                min: 0 10;
12767                rel1 {
12768                   to: "base";
12769                   relative: 0.0 1.0;
12770                   offset: 0 0;
12771                }
12772                rel2 {
12773                   to: "base";
12774                   relative: 1.0 1.0;
12775                   offset: -1 0;
12776                }
12777                image {
12778                   normal: "ilist_item_shadow.png";
12779                }
12780                fill.smooth: 0;
12781             }
12782          }
12783          part {
12784             name: "base";
12785             mouse_events: 0;
12786             description {
12787                state: "default" 0.0;
12788                image {
12789                   normal: "ilist_1.png";
12790                   border: 2 2 2 2;
12791                }
12792                fill.smooth: 0;
12793             }
12794          }
12795          part { name: "bg";
12796             mouse_events: 0;
12797             description { state: "default" 0.0;
12798                visible: 0;
12799                color: 255 255 255 0;
12800                rel1 {
12801                   relative: 0.0 0.0;
12802                   offset: -5 -5;
12803                }
12804                rel2 {
12805                   relative: 1.0 1.0;
12806                   offset: 4 4;
12807                }
12808                image {
12809                   normal: "bt_sm_base1.png";
12810                   border: 6 6 6 6;
12811                }
12812                image.middle: SOLID;
12813             }
12814             description { state: "selected" 0.0;
12815                inherit: "default" 0.0;
12816                visible: 1;
12817                color: 255 255 255 255;
12818                rel1 {
12819                   relative: 0.0 0.0;
12820                   offset: -2 -2;
12821                }
12822                rel2 {
12823                   relative: 1.0 1.0;
12824                   offset: 1 1;
12825                }
12826             }
12827          }
12828          part { name:          "elm.swallow.icon";
12829             type:          SWALLOW;
12830             description { state:    "default" 0.0;
12831                fixed: 1 0;
12832                align:    0.0 0.5;
12833                rel1 {
12834                   relative: 0.0  0.0;
12835                   offset:   4    4;
12836                }
12837                rel2 {
12838                   relative: 0.0  1.0;
12839                   offset:   4   -5;
12840                }
12841             }
12842          }
12843          part { name:          "elm.swallow.end";
12844             type:          SWALLOW;
12845             description { state:    "default" 0.0;
12846                fixed: 1 0;
12847                align:    1.0 0.5;
12848                rel1 {
12849                   relative: 1.0  0.0;
12850                   offset:   -5    4;
12851                }
12852                rel2 {
12853                   relative: 1.0  1.0;
12854                   offset:   -5   -5;
12855                }
12856             }
12857          }
12858          part {
12859             name:           "elm.text";
12860             type:           TEXT;
12861             effect:         SOFT_SHADOW;
12862             mouse_events:   0;
12863             scale: 1;
12864             description { state: "default" 0.0;
12865 //               min:      16 16;
12866                rel1 {
12867                   to_x:     "elm.swallow.icon";
12868                   relative: 1.0  0.0;
12869                   offset:   4 4;
12870                }
12871                rel2 {
12872                   to_x:     "elm.swallow.end";
12873                   relative: 0.0  1.0;
12874                   offset:   -1 -5;
12875                }
12876                color: 0 0 0 255;
12877                color3: 0 0 0 0;
12878                text {
12879                   font: "Sans";
12880                   size: 10;
12881 //                  min: 1 1;
12882                   min: 0 1;
12883                   align: 0.0 0.5;
12884                   text_class: "list_item";
12885                }
12886             }
12887             description { state: "selected" 0.0;
12888                inherit: "default" 0.0;
12889                color: 224 224 224 255;
12890                color3: 0 0 0 64;
12891             }
12892          }
12893          part { name: "fg1";
12894             mouse_events: 0;
12895             description { state: "default" 0.0;
12896                visible: 0;
12897                color: 255 255 255 0;
12898                rel1.to: "bg";
12899                rel2.relative: 1.0 0.5;
12900                rel2.to: "bg";
12901                image {
12902                   normal: "bt_sm_hilight.png";
12903                   border: 6 6 6 0;
12904                }
12905             }
12906             description { state: "selected" 0.0;
12907                inherit: "default" 0.0;
12908                visible: 1;
12909                color: 255 255 255 255;
12910             }
12911          }
12912          part { name: "fg2";
12913             mouse_events: 0;
12914             description { state: "default" 0.0;
12915                visible: 0;
12916                color: 255 255 255 0;
12917                rel1.to: "bg";
12918                rel2.to: "bg";
12919                image {
12920                   normal: "bt_sm_shine.png";
12921                   border: 6 6 6 0;
12922                }
12923             }
12924             description { state: "selected" 0.0;
12925                inherit: "default" 0.0;
12926                visible: 1;
12927                color: 255 255 255 255;
12928             }
12929          }
12930       }
12931       programs {
12932          program {
12933             name:    "go_active";
12934             signal:  "elm,state,selected";
12935             source:  "elm";
12936             action:  STATE_SET "selected" 0.0;
12937             target:  "bg";
12938             target:  "fg1";
12939             target:  "fg2";
12940             target:  "elm.text";
12941          }
12942          program {
12943             name:    "go_passive";
12944             signal:  "elm,state,unselected";
12945             source:  "elm";
12946             action:  STATE_SET "default" 0.0;
12947             target:  "bg";
12948             target:  "fg1";
12949             target:  "fg2";
12950             target:  "elm.text";
12951             transition: LINEAR 0.1;
12952          }
12953       }
12954    }
12955    group { name: "elm/list/item_compress_odd/default";
12956       data.item: "stacking" "below";
12957       data.item: "selectraise" "on";
12958       images {
12959          image: "bt_sm_base1.png" COMP;
12960          image: "bt_sm_shine.png" COMP;
12961          image: "bt_sm_hilight.png" COMP;
12962          image: "ilist_2.png" COMP;
12963       }
12964       parts {
12965          part {
12966             name:           "event";
12967             type:           RECT;
12968             repeat_events: 1;
12969             description {
12970                state: "default" 0.0;
12971                color: 0 0 0 0;
12972             }
12973          }
12974          part {
12975             name: "base";
12976             mouse_events: 0;
12977             description {
12978                state: "default" 0.0;
12979                image {
12980                   normal: "ilist_2.png";
12981                   border: 2 2 2 2;
12982                }
12983                fill.smooth: 0;
12984             }
12985          }
12986          part { name: "bg";
12987             mouse_events: 0;
12988             description { state: "default" 0.0;
12989                visible: 0;
12990                color: 255 255 255 0;
12991                rel1 {
12992                   relative: 0.0 0.0;
12993                   offset: -5 -5;
12994                }
12995                rel2 {
12996                   relative: 1.0 1.0;
12997                   offset: 4 4;
12998                }
12999                image {
13000                   normal: "bt_sm_base1.png";
13001                   border: 6 6 6 6;
13002                }
13003                image.middle: SOLID;
13004             }
13005             description { state: "selected" 0.0;
13006                inherit: "default" 0.0;
13007                visible: 1;
13008                color: 255 255 255 255;
13009                rel1 {
13010                   relative: 0.0 0.0;
13011                   offset: -2 -2;
13012                }
13013                rel2 {
13014                   relative: 1.0 1.0;
13015                   offset: 1 1;
13016                }
13017             }
13018          }
13019          part { name:          "elm.swallow.icon";
13020             type:          SWALLOW;
13021             description { state:    "default" 0.0;
13022                fixed: 1 0;
13023                align:    0.0 0.5;
13024                rel1 {
13025                   relative: 0.0  0.0;
13026                   offset:   4    4;
13027                }
13028                rel2 {
13029                   relative: 0.0  1.0;
13030                   offset:   4   -5;
13031                }
13032             }
13033          }
13034          part { name:          "elm.swallow.end";
13035             type:          SWALLOW;
13036             description { state:    "default" 0.0;
13037                fixed: 1 0;
13038                align:    1.0 0.5;
13039                rel1 {
13040                   relative: 1.0  0.0;
13041                   offset:   -5    4;
13042                }
13043                rel2 {
13044                   relative: 1.0  1.0;
13045                   offset:   -5   -5;
13046                }
13047             }
13048          }
13049          part {
13050             name:           "elm.text";
13051             type:           TEXT;
13052             effect:         SOFT_SHADOW;
13053             mouse_events:   0;
13054             scale: 1;
13055             description {
13056                state: "default" 0.0;
13057 //               min:      16 16;
13058                rel1 {
13059                   to_x:     "elm.swallow.icon";
13060                   relative: 1.0  0.0;
13061                   offset:   4 4;
13062                }
13063                rel2 {
13064                   to_x:     "elm.swallow.end";
13065                   relative: 0.0  1.0;
13066                   offset:   -1 -5;
13067                }
13068                color: 0 0 0 255;
13069                color3: 0 0 0 0;
13070                text {
13071                   font: "Sans";
13072                   size: 10;
13073 //                  min: 1 1;
13074                   min: 0 1;
13075                   align: 0.0 0.5;
13076                   text_class: "list_item";
13077                }
13078             }
13079             description { state: "selected" 0.0;
13080                inherit: "default" 0.0;
13081                color: 224 224 224 255;
13082                color3: 0 0 0 64;
13083             }
13084          }
13085          part { name: "fg1";
13086             mouse_events: 0;
13087             description { state: "default" 0.0;
13088                visible: 0;
13089                color: 255 255 255 0;
13090                rel1.to: "bg";
13091                rel2.relative: 1.0 0.5;
13092                rel2.to: "bg";
13093                image {
13094                   normal: "bt_sm_hilight.png";
13095                   border: 6 6 6 0;
13096                }
13097             }
13098             description { state: "selected" 0.0;
13099                inherit: "default" 0.0;
13100                visible: 1;
13101                color: 255 255 255 255;
13102             }
13103          }
13104          part { name: "fg2";
13105             mouse_events: 0;
13106             description { state: "default" 0.0;
13107                visible: 0;
13108                color: 255 255 255 0;
13109                rel1.to: "bg";
13110                rel2.to: "bg";
13111                image {
13112                   normal: "bt_sm_shine.png";
13113                   border: 6 6 6 0;
13114                }
13115             }
13116             description { state: "selected" 0.0;
13117                inherit: "default" 0.0;
13118                visible: 1;
13119                color: 255 255 255 255;
13120             }
13121          }
13122       }
13123       programs {
13124          program {
13125             name:    "go_active";
13126             signal:  "elm,state,selected";
13127             source:  "elm";
13128             action:  STATE_SET "selected" 0.0;
13129             target:  "bg";
13130             target:  "fg1";
13131             target:  "fg2";
13132             target:  "elm.text";
13133          }
13134          program {
13135             name:    "go_passive";
13136             signal:  "elm,state,unselected";
13137             source:  "elm";
13138             action:  STATE_SET "default" 0.0;
13139             target:  "bg";
13140             target:  "fg1";
13141             target:  "fg2";
13142             target:  "elm.text";
13143             transition: LINEAR 0.1;
13144          }
13145       }
13146    }
13147
13148 ///////////////////////////////////////////////////////////////////////////////
13149    group { name: "elm/list/h_item/default";
13150       data.item: "stacking" "above";
13151       images {
13152          image: "bt_sm_base1.png" COMP;
13153          image: "bt_sm_shine.png" COMP;
13154          image: "bt_sm_hilight.png" COMP;
13155          image: "ilist_1_h.png" COMP;
13156          image: "ilist_item_shadow_h.png" COMP;
13157       }
13158       parts {
13159          part {
13160             name: "event";
13161             type: RECT;
13162             repeat_events: 1;
13163             description {
13164                state: "default" 0.0;
13165                color: 0 0 0 0;
13166             }
13167          }
13168          part {
13169             name: "base_sh";
13170             mouse_events: 0;
13171             description {
13172                state: "default" 0.0;
13173                align: 0.0 0.0;
13174                min: 10 0;
13175                fixed: 1 1;
13176                rel1 {
13177                   to: "base";
13178                   relative: 1.0 0.0;
13179                   offset: 0 0;
13180                }
13181                rel2 {
13182                   to: "base";
13183                   relative: 1.0 1.0;
13184                   offset: 0 -1;
13185                }
13186                image {
13187                   normal: "ilist_item_shadow_h.png";
13188                }
13189                fill.smooth: 0;
13190             }
13191          }
13192          part {
13193             name: "base";
13194             mouse_events: 0;
13195             description {
13196                state: "default" 0.0;
13197                image {
13198                   normal: "ilist_1_h.png";
13199                   border: 2 2 2 2;
13200                }
13201                fill.smooth: 0;
13202             }
13203          }
13204          part { name: "bg";
13205             mouse_events: 0;
13206             description { state: "default" 0.0;
13207                visible: 0;
13208                color: 255 255 255 0;
13209                rel1 {
13210                   relative: 0.0 0.0;
13211                   offset: -5 -5;
13212                }
13213                rel2 {
13214                   relative: 1.0 1.0;
13215                   offset: 4 4;
13216                }
13217                image {
13218                   normal: "bt_sm_base1.png";
13219                   border: 6 6 6 6;
13220                }
13221                image.middle: SOLID;
13222             }
13223             description { state: "selected" 0.0;
13224                inherit: "default" 0.0;
13225                visible: 1;
13226                color: 255 255 255 255;
13227                rel1 {
13228                   relative: 0.0 0.0;
13229                   offset: -2 -2;
13230                }
13231                rel2 {
13232                   relative: 1.0 1.0;
13233                   offset: 1 1;
13234                }
13235             }
13236          }
13237          part { name: "elm.swallow.icon";
13238             type: SWALLOW;
13239             description { state: "default" 0.0;
13240                fixed: 0 1;
13241                align: 0.5 0.0;
13242                rel1 {
13243                   relative: 0.0 0.0;
13244                   offset: 4 4;
13245                }
13246                rel2 {
13247                   relative: 1.0 0.0;
13248                   offset: -5 4;
13249                }
13250             }
13251          }
13252          part { name: "elm.swallow.end";
13253             type: SWALLOW;
13254             description { state: "default" 0.0;
13255                fixed: 0 1;
13256                align: 0.5 1.0;
13257                rel1 {
13258                   relative: 0.0 1.0;
13259                   offset: 4 -5;
13260                }
13261                rel2 {
13262                   relative: 1.0 1.0;
13263                   offset: -5 -5;
13264                }
13265             }
13266          }
13267          part { name: "elm.text";
13268             type: TEXT;
13269             effect: SOFT_SHADOW;
13270             mouse_events: 0;
13271             scale: 1;
13272             description {
13273                state: "default" 0.0;
13274                fixed: 0 1;
13275                rel1 {
13276                   to_x: "elm.swallow.icon";
13277                   relative: 0.0 1.0;
13278                   offset: 4 4;
13279                }
13280                rel2 {
13281                   to_x: "elm.swallow.end";
13282                   relative: 1.0 0.0;
13283                   offset: -5 -1;
13284                }
13285                color: 0 0 0 255;
13286                color3: 0 0 0 0;
13287                text {
13288                   font: "Sans";
13289                   size: 10;
13290                   min: 1 1;
13291                   align: 0.5 0.5;
13292                   text_class: "list_item";
13293                }
13294             }
13295             description { state: "selected" 0.0;
13296                inherit: "default" 0.0;
13297                color: 224 224 224 255;
13298                color3: 0 0 0 64;
13299             }
13300          }
13301          part { name: "fg1";
13302             mouse_events: 0;
13303             description { state: "default" 0.0;
13304                visible: 0;
13305                color: 255 255 255 0;
13306                rel1.to: "bg";
13307                rel2.relative: 1.0 0.5;
13308                rel2.to: "bg";
13309                image {
13310                   normal: "bt_sm_hilight.png";
13311                   border: 6 6 6 0;
13312                }
13313             }
13314             description { state: "selected" 0.0;
13315                inherit: "default" 0.0;
13316                visible: 1;
13317                color: 255 255 255 255;
13318             }
13319          }
13320          part { name: "fg2";
13321             mouse_events: 0;
13322             description { state: "default" 0.0;
13323                visible: 0;
13324                color: 255 255 255 0;
13325                rel1.to: "bg";
13326                rel2.to: "bg";
13327                image {
13328                   normal: "bt_sm_shine.png";
13329                   border: 6 6 6 0;
13330                }
13331             }
13332             description { state: "selected" 0.0;
13333                inherit: "default" 0.0;
13334                visible: 1;
13335                color: 255 255 255 255;
13336             }
13337          }
13338       }
13339       programs {
13340          program {
13341             name: "go_active";
13342             signal: "elm,state,selected";
13343             source: "elm";
13344             action: STATE_SET "selected" 0.0;
13345             target: "bg";
13346             target: "fg1";
13347             target: "fg2";
13348             target: "elm.text";
13349          }
13350          program {
13351             name: "go_passive";
13352             signal: "elm,state,unselected";
13353             source: "elm";
13354             action: STATE_SET "default" 0.0;
13355             target: "bg";
13356             target: "fg1";
13357             target: "fg2";
13358             target: "elm.text";
13359             transition: LINEAR 0.1;
13360          }
13361       }
13362    }
13363    group { name: "elm/list/h_item_odd/default";
13364       data.item: "stacking" "below";
13365       data.item: "selectraise" "on";
13366       images {
13367          image: "bt_sm_base1.png" COMP;
13368          image: "bt_sm_shine.png" COMP;
13369          image: "bt_sm_hilight.png" COMP;
13370          image: "ilist_2_h.png" COMP;
13371       }
13372       parts {
13373          part {
13374             name: "event";
13375             type: RECT;
13376             repeat_events: 1;
13377             description {
13378                state: "default" 0.0;
13379                color: 0 0 0 0;
13380             }
13381          }
13382          part {
13383             name: "base";
13384             mouse_events: 0;
13385             description {
13386                state: "default" 0.0;
13387                image {
13388                   normal: "ilist_2_h.png";
13389                   border: 2 2 2 2;
13390                }
13391                fill.smooth: 0;
13392             }
13393          }
13394          part { name: "bg";
13395             mouse_events: 0;
13396             description { state: "default" 0.0;
13397                visible: 0;
13398                color: 255 255 255 0;
13399                rel1 {
13400                   relative: 0.0 0.0;
13401                   offset: -5 -5;
13402                }
13403                rel2 {
13404                   relative: 1.0 1.0;
13405                   offset: 4 4;
13406                }
13407                image {
13408                   normal: "bt_sm_base1.png";
13409                   border: 6 6 6 6;
13410                }
13411                image.middle: SOLID;
13412             }
13413             description { state: "selected" 0.0;
13414                inherit: "default" 0.0;
13415                visible: 1;
13416                color: 255 255 255 255;
13417                rel1 {
13418                   relative: 0.0 0.0;
13419                   offset: -2 -2;
13420                }
13421                rel2 {
13422                   relative: 1.0 1.0;
13423                   offset: 1 1;
13424                }
13425             }
13426          }
13427          part {
13428             name: "elm.swallow.icon";
13429             type: SWALLOW;
13430             description { state: "default" 0.0;
13431                fixed: 0 1;
13432                align: 0.5 0.0;
13433                rel1 {
13434                   relative: 0.0 0.0;
13435                   offset: 4 4;
13436                }
13437                rel2 {
13438                   relative: 1.0 0.0;
13439                   offset: -5 4;
13440                }
13441             }
13442          }
13443          part {
13444             name: "elm.swallow.end";
13445             type: SWALLOW;
13446             description { state: "default" 0.0;
13447                fixed: 0 1;
13448                align: 0.5 1.0;
13449                rel1 {
13450                   relative: 0.0 1.0;
13451                   offset: 4 -5;
13452                }
13453                rel2 {
13454                   relative: 1.0 1.0;
13455                   offset: -5 -5;
13456                }
13457             }
13458          }
13459          part { name: "elm.text";
13460             type: TEXT;
13461             effect: SOFT_SHADOW;
13462             mouse_events: 0;
13463             scale: 1;
13464             description {
13465                state: "default" 0.0;
13466                fixed: 1 1;
13467                rel1 {
13468                   to_x: "elm.swallow.icon";
13469                   relative: 0.0 1.0;
13470                   offset: 4 4;
13471                }
13472                rel2 {
13473                   to_x: "elm.swallow.end";
13474                   relative: 1.0 0.0;
13475                   offset: -5 -1;
13476                }
13477                color: 0 0 0 255;
13478                color3: 0 0 0 0;
13479                text {
13480                   font: "Sans";
13481                   size: 10;
13482                   min: 1 1;
13483                   align: 0.5 0.5;
13484                   text_class: "list_item";
13485                }
13486             }
13487             description { state: "selected" 0.0;
13488                inherit: "default" 0.0;
13489                color: 224 224 224 255;
13490                color3: 0 0 0 64;
13491             }
13492          }
13493          part { name: "fg1";
13494             mouse_events: 0;
13495             description { state: "default" 0.0;
13496                visible: 0;
13497                color: 255 255 255 0;
13498                rel1.to: "bg";
13499                rel2.relative: 1.0 0.5;
13500                rel2.to: "bg";
13501                image {
13502                   normal: "bt_sm_hilight.png";
13503                   border: 6 6 6 0;
13504                }
13505             }
13506             description { state: "selected" 0.0;
13507                inherit: "default" 0.0;
13508                visible: 1;
13509                color: 255 255 255 255;
13510             }
13511          }
13512          part { name: "fg2";
13513             mouse_events: 0;
13514             description { state: "default" 0.0;
13515                visible: 0;
13516                color: 255 255 255 0;
13517                rel1.to: "bg";
13518                rel2.to: "bg";
13519                image {
13520                   normal: "bt_sm_shine.png";
13521                   border: 6 6 6 0;
13522                }
13523             }
13524             description { state: "selected" 0.0;
13525                inherit: "default" 0.0;
13526                visible: 1;
13527                color: 255 255 255 255;
13528             }
13529          }
13530       }
13531       programs {
13532          program {
13533             name: "go_active";
13534             signal: "elm,state,selected";
13535             source: "elm";
13536             action: STATE_SET "selected" 0.0;
13537             target: "bg";
13538             target: "fg1";
13539             target: "fg2";
13540             target: "elm.text";
13541          }
13542          program {
13543             name: "go_passive";
13544             signal: "elm,state,unselected";
13545             source: "elm";
13546             action: STATE_SET "default" 0.0;
13547             target: "bg";
13548             target: "fg1";
13549             target: "fg2";
13550             target: "elm.text";
13551             transition: LINEAR 0.1;
13552          }
13553       }
13554    }
13555    group { name: "elm/list/h_item_compress/default";
13556       data.item: "stacking" "above";
13557       data.item: "selectraise" "on";
13558       images {
13559          image: "bt_sm_base1.png" COMP;
13560          image: "bt_sm_shine.png" COMP;
13561          image: "bt_sm_hilight.png" COMP;
13562          image: "ilist_1_h.png" COMP;
13563          image: "ilist_item_shadow_h.png" COMP;
13564       }
13565       parts {
13566          part {
13567             name: "event";
13568             type: RECT;
13569             repeat_events: 1;
13570             description {
13571                state: "default" 0.0;
13572                color: 0 0 0 0;
13573             }
13574          }
13575          part {
13576             name: "base_sh";
13577             mouse_events: 0;
13578             description { state: "default" 0.0;
13579                fixed: 1 1;
13580                align: 0.0 0.0;
13581                min: 10 0;
13582                rel1 {
13583                   to: "base";
13584                   relative: 1.0 0.0;
13585                   offset: 0 0;
13586                }
13587                rel2 {
13588                   to: "base";
13589                   relative: 1.0 1.0;
13590                   offset: 0 -1;
13591                }
13592                image {
13593                   normal: "ilist_item_shadow_h.png";
13594                }
13595                fill.smooth: 0;
13596             }
13597          }
13598          part {
13599             name: "base";
13600             mouse_events: 0;
13601             description {
13602                state: "default" 0.0;
13603                image {
13604                   normal: "ilist_1_h.png";
13605                   border: 2 2 2 2;
13606                }
13607                fill.smooth: 0;
13608             }
13609          }
13610          part { name: "bg";
13611             mouse_events: 0;
13612             description { state: "default" 0.0;
13613                visible: 0;
13614                color: 255 255 255 0;
13615                rel1 {
13616                   relative: 0.0 0.0;
13617                   offset: -5 -5;
13618                }
13619                rel2 {
13620                   relative: 1.0 1.0;
13621                   offset: 4 4;
13622                }
13623                image {
13624                   normal: "bt_sm_base1.png";
13625                   border: 6 6 6 6;
13626                }
13627                image.middle: SOLID;
13628             }
13629             description { state: "selected" 0.0;
13630                inherit: "default" 0.0;
13631                visible: 1;
13632                color: 255 255 255 255;
13633                rel1 {
13634                   relative: 0.0 0.0;
13635                   offset: -2 -2;
13636                }
13637                rel2 {
13638                   relative: 1.0 1.0;
13639                   offset: 1 1;
13640                }
13641             }
13642          }
13643          part { name: "elm.swallow.icon";
13644             type: SWALLOW;
13645             description { state: "default" 0.0;
13646                fixed: 0 1;
13647                align: 0.5 0.0;
13648                rel1 {
13649                   relative: 0.0 0.0;
13650                   offset: 4 4;
13651                }
13652                rel2 {
13653                   relative: 1.0 0.0;
13654                   offset: -5 4;
13655                }
13656             }
13657          }
13658          part { name: "elm.swallow.end";
13659             type: SWALLOW;
13660             description { state: "default" 0.0;
13661                fixed: 0 1;
13662                align: 0.5 1.0;
13663                rel1 {
13664                   relative: 0.0 1.0;
13665                   offset: 4 -5;
13666                }
13667                rel2 {
13668                   relative: 1.0 1.0;
13669                   offset: -5 -5;
13670                }
13671             }
13672          }
13673          part {
13674             name: "elm.text";
13675             type: TEXT;
13676             effect: SOFT_SHADOW;
13677             mouse_events: 0;
13678             scale: 1;
13679             description { state: "default" 0.0;
13680                fixed: 1 1;
13681                rel1 {
13682                   to_x: "elm.swallow.icon";
13683                   relative: 0.0 1.0;
13684                   offset: 4 4;
13685                }
13686                rel2 {
13687                   to_x: "elm.swallow.end";
13688                   relative: 1.0 0.0;
13689                   offset: -5 -1;
13690                }
13691                color: 0 0 0 255;
13692                color3: 0 0 0 0;
13693                text {
13694                   font: "Sans";
13695                   size: 10;
13696                   min: 1 1;
13697                   align: 0.5 0.5;
13698                   text_class: "list_item";
13699                }
13700             }
13701             description { state: "selected" 0.0;
13702                inherit: "default" 0.0;
13703                color: 224 224 224 255;
13704                color3: 0 0 0 64;
13705             }
13706          }
13707          part { name: "fg1";
13708             mouse_events: 0;
13709             description { state: "default" 0.0;
13710                visible: 0;
13711                color: 255 255 255 0;
13712                rel1.to: "bg";
13713                rel2.relative: 1.0 0.5;
13714                rel2.to: "bg";
13715                image {
13716                   normal: "bt_sm_hilight.png";
13717                   border: 6 6 6 0;
13718                }
13719             }
13720             description { state: "selected" 0.0;
13721                inherit: "default" 0.0;
13722                visible: 1;
13723                color: 255 255 255 255;
13724             }
13725          }
13726          part { name: "fg2";
13727             mouse_events: 0;
13728             description { state: "default" 0.0;
13729                visible: 0;
13730                color: 255 255 255 0;
13731                rel1.to: "bg";
13732                rel2.to: "bg";
13733                image {
13734                   normal: "bt_sm_shine.png";
13735                   border: 6 6 6 0;
13736                }
13737             }
13738             description { state: "selected" 0.0;
13739                inherit: "default" 0.0;
13740                visible: 1;
13741                color: 255 255 255 255;
13742             }
13743          }
13744       }
13745       programs {
13746          program {
13747             name: "go_active";
13748             signal: "elm,state,selected";
13749             source: "elm";
13750             action: STATE_SET "selected" 0.0;
13751             target: "bg";
13752             target: "fg1";
13753             target: "fg2";
13754             target: "elm.text";
13755          }
13756          program {
13757             name: "go_passive";
13758             signal: "elm,state,unselected";
13759             source: "elm";
13760             action: STATE_SET "default" 0.0;
13761             target: "bg";
13762             target: "fg1";
13763             target: "fg2";
13764             target: "elm.text";
13765             transition: LINEAR 0.1;
13766          }
13767       }
13768    }
13769    group { name: "elm/list/h_item_compress_odd/default";
13770       data.item: "stacking" "below";
13771       data.item: "selectraise" "on";
13772       images {
13773          image: "bt_sm_base1.png" COMP;
13774          image: "bt_sm_shine.png" COMP;
13775          image: "bt_sm_hilight.png" COMP;
13776          image: "ilist_2_h.png" COMP;
13777       }
13778       parts {
13779          part {
13780             name: "event";
13781             type: RECT;
13782             repeat_events: 1;
13783             description {
13784                state: "default" 0.0;
13785                color: 0 0 0 0;
13786             }
13787          }
13788          part {
13789             name: "base";
13790             mouse_events: 0;
13791             description {
13792                state: "default" 0.0;
13793                image {
13794                   normal: "ilist_2_h.png";
13795                   border: 2 2 2 2;
13796                }
13797                fill.smooth: 0;
13798             }
13799          }
13800          part { name: "bg";
13801             mouse_events: 0;
13802             description { state: "default" 0.0;
13803                visible: 0;
13804                color: 255 255 255 0;
13805                rel1 {
13806                   relative: 0.0 0.0;
13807                   offset: -5 -5;
13808                }
13809                rel2 {
13810                   relative: 1.0 1.0;
13811                   offset: 4 4;
13812                }
13813                image {
13814                   normal: "bt_sm_base1.png";
13815                   border: 6 6 6 6;
13816                }
13817                image.middle: SOLID;
13818             }
13819             description { state: "selected" 0.0;
13820                inherit: "default" 0.0;
13821                visible: 1;
13822                color: 255 255 255 255;
13823                rel1 {
13824                   relative: 0.0 0.0;
13825                   offset: -2 -2;
13826                }
13827                rel2 {
13828                   relative: 1.0 1.0;
13829                   offset: 1 1;
13830                }
13831             }
13832          }
13833          part { name: "elm.swallow.icon";
13834             type: SWALLOW;
13835             description { state: "default" 0.0;
13836                fixed: 0 1;
13837                align: 0.5 0.0;
13838                rel1 {
13839                   relative: 0.0 0.0;
13840                   offset: 4 4;
13841                }
13842                rel2 {
13843                   relative: 1.0 0.0;
13844                   offset: -5 4;
13845                }
13846             }
13847          }
13848          part { name: "elm.swallow.end";
13849             type: SWALLOW;
13850             description { state: "default" 0.0;
13851                fixed: 0 1;
13852                align: 0.5 1.0;
13853                rel1 {
13854                   relative: 0.0 1.0;
13855                   offset: 4 -5;
13856                }
13857                rel2 {
13858                   relative: 1.0 1.0;
13859                   offset: -5 -5;
13860                }
13861             }
13862          }
13863          part { name: "elm.text";
13864             type: TEXT;
13865             effect: SOFT_SHADOW;
13866             mouse_events: 0;
13867             scale: 1;
13868             description {
13869                state: "default" 0.0;
13870                fixed: 1 1;
13871                rel1 {
13872                   to_x: "elm.swallow.icon";
13873                   relative: 0.0 1.0;
13874                   offset: 4 4;
13875                }
13876                rel2 {
13877                   to_x: "elm.swallow.end";
13878                   relative: 1.0 0.0;
13879                   offset: -5 -1;
13880                }
13881                color: 0 0 0 255;
13882                color3: 0 0 0 0;
13883                text {
13884                   font: "Sans";
13885                   size: 10;
13886                   min: 1 1;
13887                   align: 0.5 0.5;
13888                   text_class: "list_item";
13889                }
13890             }
13891             description { state: "selected" 0.0;
13892                inherit: "default" 0.0;
13893                color: 224 224 224 255;
13894                color3: 0 0 0 64;
13895             }
13896          }
13897          part { name: "fg1";
13898             mouse_events: 0;
13899             description { state: "default" 0.0;
13900                visible: 0;
13901                color: 255 255 255 0;
13902                rel1.to: "bg";
13903                rel2.relative: 1.0 0.5;
13904                rel2.to: "bg";
13905                image {
13906                   normal: "bt_sm_hilight.png";
13907                   border: 6 6 6 0;
13908                }
13909             }
13910             description { state: "selected" 0.0;
13911                inherit: "default" 0.0;
13912                visible: 1;
13913                color: 255 255 255 255;
13914             }
13915          }
13916          part { name: "fg2";
13917             mouse_events: 0;
13918             description { state: "default" 0.0;
13919                visible: 0;
13920                color: 255 255 255 0;
13921                rel1.to: "bg";
13922                rel2.to: "bg";
13923                image {
13924                   normal: "bt_sm_shine.png";
13925                   border: 6 6 6 0;
13926                }
13927             }
13928             description { state: "selected" 0.0;
13929                inherit: "default" 0.0;
13930                visible: 1;
13931                color: 255 255 255 255;
13932             }
13933          }
13934       }
13935       programs {
13936          program {
13937             name: "go_active";
13938             signal: "elm,state,selected";
13939             source: "elm";
13940             action: STATE_SET "selected" 0.0;
13941             target: "bg";
13942             target: "fg1";
13943             target: "fg2";
13944             target: "elm.text";
13945          }
13946          program {
13947             name: "go_passive";
13948             signal: "elm,state,unselected";
13949             source: "elm";
13950             action: STATE_SET "default" 0.0;
13951             target: "bg";
13952             target: "fg1";
13953             target: "fg2";
13954             target: "elm.text";
13955             transition: LINEAR 0.1;
13956          }
13957       }
13958    }
13959
13960 ///////////////////////////////////////////////////////////////////////////////
13961    group { name: "elm/slider/horizontal/default";
13962            alias: "elm/slider/horizontal/disabled";
13963       images {
13964          image: "sl_bg.png" COMP;
13965          image: "sl_bg_over.png" COMP;
13966
13967          image: "sl_units.png" COMP;
13968       }
13969       parts {
13970          part { name: "base";
13971             mouse_events: 0;
13972             description { state: "default" 0.0;
13973                max: 99999 6;
13974                min: 0 6;
13975                rel1 { to: "bg";
13976                   offset: 1 0;
13977                }
13978                rel2 { to: "bg";
13979                   offset: -2 -1;
13980                }
13981                image.normal: "sl_bg.png";
13982                fill.smooth: 0;
13983             }
13984          }
13985          part { name: "level";
13986             type: RECT;
13987             mouse_events: 0;
13988             description { state: "default" 0.0;
13989                fixed: 1 1;
13990                rel1.to: "base";
13991                rel2 {
13992                   to_y: "base";
13993                   to_x: "elm.dragable.slider";
13994                   relative: 0.5 1.0;
13995                }
13996                color: 255 0 0 200;
13997             }
13998             description { state: "inverted" 0.0;
13999                inherit: "default" 0.0;
14000                visible: 0;
14001             }
14002             description { state: "disabled" 0.0;
14003                inherit: "default" 0.0;
14004                color: 255 0 0 100;
14005             }
14006             description { state: "disabled_inverted" 0.0;
14007                inherit: "default" 0.0;
14008                visible: 0;
14009             }
14010          }
14011          part { name: "level2";
14012             type: RECT;
14013             mouse_events: 0;
14014             description { state: "default" 0.0;
14015                fixed: 1 1;
14016                visible: 0;
14017                rel1 {
14018                   to_y: "base";
14019                   to_x: "elm.dragable.slider";
14020                   relative: 0.5 0.0;
14021                }
14022                rel2.to: "base";
14023                color: 255 0 0 200;
14024             }
14025             description { state: "inverted" 0.0;
14026                inherit: "default" 0.0;
14027                visible: 1;
14028             }
14029             description { state: "disabled" 0.0;
14030                inherit: "default" 0.0;
14031             }
14032             description { state: "disabled_inverted" 0.0;
14033                inherit: "default" 0.0;
14034                color: 255 0 0 100;
14035                visible: 1;
14036             }
14037          }
14038          part {
14039             name: "base_over";
14040             mouse_events: 0;
14041             description { state: "default" 0.0;
14042                rel1.to: "base";
14043                rel1.offset: -1 -1;
14044                rel2.to: "base";
14045                rel2.offset: 0 0;
14046                image {
14047                   normal: "sl_bg_over.png";
14048                   border: 3 3 3 3;
14049                }
14050                fill.smooth: 0;
14051             }
14052          }
14053          part { name: "bg";
14054             type: RECT;
14055             mouse_events: 0;
14056             scale: 1;
14057             description { state: "default" 0.0;
14058                visible: 0;
14059                rel1.to: "elm.swallow.bar";
14060                rel2.to: "elm.swallow.bar";
14061                color: 0 0 0 0;
14062             }
14063          }
14064          part { name: "elm.swallow.bar";
14065             type: SWALLOW;
14066             scale: 1;
14067             description { state: "default" 0.0;
14068                min: 48 24;
14069                max: 99999 24;
14070                align: 1.0 0.5;
14071                rel1 {
14072                   to_x: "elm.text";
14073                   relative: 1.0 0.0;
14074                   offset: 8 0;
14075                }
14076                rel2 {
14077                   to_x: "elm.units";
14078                   relative: 0.0 1.0;
14079                   offset: -10 -1;
14080                }
14081             }
14082          }
14083          part { name: "elm.swallow.icon";
14084             type: SWALLOW;
14085             description { state: "default" 0.0;
14086                visible: 0;
14087                align: 0.0 0.5;
14088                rel1 {
14089                   offset: 4 0;
14090                   to_y: "elm.swallow.bar";
14091                }
14092                rel2 {
14093                   offset: 3 -1;
14094                   relative: 0.0 1.0;
14095                   to_y: "elm.swallow.bar";
14096                }
14097             }
14098             description { state: "visible" 0.0;
14099                inherit: "default" 0.0;
14100                visible: 1;
14101                aspect: 1.0 1.0;
14102                aspect_preference: VERTICAL;
14103                rel2.offset: 4 -1;
14104             }
14105          }
14106          part { name: "elm.text";
14107             type: TEXT;
14108             mouse_events: 0;
14109             scale: 1;
14110             description { state: "default" 0.0;
14111                visible: 0;
14112                fixed: 1 1;
14113                align: 0.0 0.5;
14114                rel1.to_x: "elm.swallow.icon";
14115                rel1.relative: 1.0 0.0;
14116                rel1.offset: -1 4;
14117                rel2.to_x: "elm.swallow.icon";
14118                rel2.relative: 1.0 1.0;
14119                rel2.offset: -1 -5;
14120                color: 0 0 0 255;
14121                text {
14122                   font: "Sans,Edje-Vera";
14123                   size: 10;
14124                   min: 0 0;
14125                   align: 0.0 0.5;
14126                }
14127             }
14128             description { state: "visible" 0.0;
14129                inherit: "default" 0.0;
14130                visible: 1;
14131                text.min: 1 1;
14132                rel1.offset: 0 4;
14133                rel2.offset: 0 -5;
14134             }
14135             description { state: "disabled" 0.0;
14136                inherit: "default" 0.0;
14137                color: 255 128 128 128;
14138                visible: 0;
14139             }
14140             description { state: "disabled_visible" 0.0;
14141                inherit: "default" 0.0;
14142                color: 0 0 0 128;
14143                color3: 0 0 0 0;
14144                visible: 1;
14145                text.min: 1 1;
14146             }
14147          }
14148          part {
14149             name: "elm.swallow.end";
14150             type: SWALLOW;
14151             description {
14152                state: "default" 0.0;
14153                visible: 0;
14154                align: 1.0 0.5;
14155                rel1 {
14156                   offset: -4 0;
14157                   relative: 1.0 0.0;
14158                   to_y: "elm.swallow.bar";
14159                }
14160                rel2 {
14161                   offset: -3 -1;
14162                   to_y: "elm.swallow.bar";
14163                }
14164             }
14165             description { state: "visible" 0.0;
14166                inherit: "default" 0.0;
14167                visible: 1;
14168                aspect: 1.0 1.0;
14169                aspect_preference: VERTICAL;
14170                rel2.offset: -4 -1;
14171             }
14172          }
14173          part { name: "units";
14174             mouse_events: 0;
14175             description { state: "default" 0.0;
14176                visible: 0;
14177                rel1 {
14178                   to_x: "elm.units";
14179                   offset: 0 5;
14180                }
14181                rel2 {
14182                   to_x: "elm.units";
14183                   offset: 5 -3;
14184                }
14185                image {
14186                   normal: "sl_units.png";
14187                   border: 0 5 3 8;
14188                }
14189                fill.smooth: 0;
14190             }
14191             description { state: "visible" 0.0;
14192                inherit: "default" 0.0;
14193                visible: 1;
14194             }
14195          }
14196          part { name: "elm.units";
14197             type: TEXT;
14198             mouse_events: 0;
14199             scale: 1;
14200             description { state: "default" 0.0;
14201                visible: 0;
14202                fixed: 1 1;
14203                align: 1.0 0.5;
14204                rel1.to_x: "elm.swallow.end";
14205                rel1.relative: 0.0 0.0;
14206                rel1.offset: 0 8;
14207                rel2.to_x: "elm.swallow.end";
14208                rel2.relative: 0.0 1.0;
14209                rel2.offset: 0 -9;
14210                color: 0 0 0 255;
14211                text {
14212                   font: "Sans,Edje-Vera";
14213                   size: 10;
14214                   min: 0 0;
14215                   align: 0.0 0.5;
14216                }
14217             }
14218             description { state: "visible" 0.0;
14219                inherit: "default" 0.0;
14220                fixed: 1 1;
14221                visible: 1;
14222                text.min: 1 1;
14223                rel1.offset: -5 0;
14224                rel2.offset: -5 -1;
14225             }
14226             description { state: "disabled" 0.0;
14227                inherit: "default" 0.0;
14228                color: 255 128 128 128;
14229                visible: 0;
14230             }
14231             description { state: "disabled_visible" 0.0;
14232                inherit: "default" 0.0;
14233                color: 0 0 0 128;
14234                color3: 0 0 0 0;
14235                visible: 1;
14236                text.min: 1 1;
14237             }
14238          }
14239          part { name: "elm.dragable.slider";
14240             type: GROUP;
14241             source: "elm/slider/horizontal/indicator/default";
14242             mouse_events: 1;
14243             repeat_events: 1;
14244             scale: 1;
14245             dragable {
14246                x: 1 1 0;
14247                y: 0 0 0;
14248                confine: "bg";
14249             }
14250             description { state: "default" 0.0;
14251                min: 0 24;
14252                max: 0 24;
14253                fixed: 1 1;
14254                rel1 {
14255                   relative: 0.5 0.0;
14256                   to_x: "bg";
14257                }
14258                rel2 {
14259                   relative: 0.5 1.0;
14260                   to_x: "bg";
14261                }
14262                color: 255 0 0 100;
14263             }
14264          }
14265           part { name: "disabler";
14266             type: RECT;
14267             description { state: "default" 0.0;
14268                color: 0 0 0 0;
14269                visible: 0;
14270             }
14271             description { state: "disabled" 0.0;
14272                inherit: "default" 0.0;
14273                visible: 1;
14274             }
14275          }
14276       }
14277       programs {
14278          program { name: "text_show";
14279             signal: "elm,state,text,visible";
14280             source: "elm";
14281             action:  STATE_SET "visible" 0.0;
14282             target: "elm.text";
14283          }
14284          program { name: "text_hide";
14285             signal: "elm,state,text,hidden";
14286             source: "elm";
14287             action:  STATE_SET "default" 0.0;
14288             target: "elm.text";
14289          }
14290          program { name: "icon_show";
14291             signal: "elm,state,icon,visible";
14292             source: "elm";
14293             action:  STATE_SET "visible" 0.0;
14294             target: "elm.swallow.icon";
14295          }
14296          program { name: "icon_hide";
14297             signal: "elm,state,icon,hidden";
14298             source: "elm";
14299             action:  STATE_SET "default" 0.0;
14300             target: "elm.swallow.icon";
14301          }
14302           program { name: "end_show";
14303             signal: "elm,state,end,visible";
14304             source: "elm";
14305             action:  STATE_SET "visible" 0.0;
14306             target: "elm.swallow.end";
14307          }
14308          program { name: "end_hide";
14309             signal: "elm,state,end,hidden";
14310             source: "elm";
14311             action:  STATE_SET "default" 0.0;
14312             target: "elm.swallow.end";
14313          }
14314          program { name: "units_show";
14315             signal: "elm,state,units,visible";
14316             source: "elm";
14317             action:  STATE_SET "visible" 0.0;
14318             target: "elm.units";
14319             target: "units";
14320          }
14321          program { name: "units_hide";
14322             signal: "elm,state,units,hidden";
14323             source: "elm";
14324             action:  STATE_SET "default" 0.0;
14325             target: "elm.units";
14326             target: "units";
14327          }
14328          program { name: "invert_on";
14329             signal: "elm,state,inverted,on";
14330             source: "elm";
14331             action:  STATE_SET "inverted" 0.0;
14332             target: "level";
14333             target: "level2";
14334          }
14335          program { name: "invert_off";
14336             signal: "elm,state,inverted,off";
14337             source: "elm";
14338             action:  STATE_SET "default" 0.0;
14339             target: "level";
14340             target: "level2";
14341          }
14342          program {
14343             name:    "go_disabled";
14344             signal:  "elm,state,disabled";
14345             source:  "elm";
14346             action:  STATE_SET "disabled" 0.0;
14347 //            target: "button0";
14348             target: "disabler";
14349             after: "disable_text";
14350             after: "disable_ind";
14351          }
14352
14353          program { name: "disable_ind";
14354             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14355          }
14356          program { name: "disable_text";
14357             script {
14358                new st[31];
14359                new Float:vl;
14360                get_state(PART:"elm.text", st, 30, vl);
14361                if (!strcmp(st, "visible"))
14362                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14363                else
14364                   set_state(PART:"elm.text", "disabled", 0.0);
14365
14366                get_state(PART:"elm.units", st, 30, vl);
14367                if (!strcmp(st, "visible"))
14368                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14369                else
14370                   set_state(PART:"elm.units", "disabled", 0.0);
14371
14372                get_state(PART:"level2", st, 30, vl);
14373                if (!strcmp(st, "inverted"))
14374                {
14375                   set_state(PART:"level", "disabled_inverted", 0.0);
14376                   set_state(PART:"level2", "disabled_inverted", 0.0);
14377                }
14378                else
14379                {
14380                   set_state(PART:"level", "disabled", 0.0);
14381                   set_state(PART:"level2", "disabled", 0.0);
14382                }
14383             }
14384          }
14385          program { name: "enable";
14386             signal: "elm,state,enabled";
14387             source: "elm";
14388             action: STATE_SET "default" 0.0;
14389 //            target: "button0";
14390             target: "disabler";
14391             after: "enable_text";
14392             after: "enable_ind";
14393          }
14394
14395          program { name: "enable_ind";
14396             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14397          }
14398
14399          program { name: "enable_text";
14400             script {
14401                new st[31];
14402                new Float:vl;
14403                get_state(PART:"elm.text", st, 30, vl);
14404                if (!strcmp(st, "disabled_visible"))
14405                   set_state(PART:"elm.text", "visible", 0.0);
14406                else
14407                   set_state(PART:"elm.text", "default", 0.0);
14408
14409                get_state(PART:"elm.units", st, 30, vl);
14410                if (!strcmp(st, "disabled_visible"))
14411                   set_state(PART:"elm.units", "visible", 0.0);
14412                else
14413                   set_state(PART:"elm.units", "default", 0.0);
14414
14415                get_state(PART:"level2", st, 30, vl);
14416                if (!strcmp(st, "disabled_inverted"))
14417                {
14418                   set_state(PART:"level", "inverted", 0.0);
14419                   set_state(PART:"level2", "inverted", 0.0);
14420                }
14421                else
14422                {
14423                   set_state(PART:"level", "default", 0.0);
14424                   set_state(PART:"level2", "default", 0.0);
14425                }
14426             }
14427          }
14428       }
14429    }
14430
14431    group { name: "elm/slider/vertical/default";
14432       images {
14433          image: "slv_bg.png" COMP;
14434          image: "slv_bg_over.png" COMP;
14435
14436          image: "slv_units.png" COMP;
14437       }
14438       parts {
14439          part { name: "base";
14440             mouse_events: 0;
14441             description { state: "default" 0.0;
14442                max: 6 99999;
14443                min: 6 0;
14444                rel1 { to: "bg";
14445                   offset: 1 0;
14446                }
14447                rel2 { to: "bg";
14448                   offset: -2 -1;
14449                }
14450                image.normal: "slv_bg.png";
14451                fill.smooth: 0;
14452             }
14453          }
14454          part { name: "level";
14455             type: RECT;
14456             mouse_events: 0;
14457             description { state: "default" 0.0;
14458                fixed: 1 1;
14459                rel1.to: "base";
14460                rel2 {
14461                   to_x: "base";
14462                   to_y: "elm.dragable.slider";
14463                   relative: 1.0 0.5;
14464                }
14465                color: 255 0 0 200;
14466             }
14467             description { state: "inverted" 0.0;
14468                inherit: "default" 0.0;
14469                visible: 0;
14470             }
14471             description { state: "disabled" 0.0;
14472                inherit: "default" 0.0;
14473                color: 255 0 0 100;
14474             }
14475             description { state: "disabled_inverted" 0.0;
14476                inherit: "default" 0.0;
14477                visible: 0;
14478             }
14479          }
14480          part { name: "level2";
14481             type: RECT;
14482             mouse_events: 0;
14483             description { state: "default" 0.0;
14484                fixed: 1 1;
14485                visible: 0;
14486                rel1 {
14487                   to_x: "base";
14488                   to_y: "elm.dragable.slider";
14489                   relative: 0.0 0.5;
14490                }
14491                rel2.to: "base";
14492                color: 255 0 0 200;
14493             }
14494             description { state: "inverted" 0.0;
14495                inherit: "default" 0.0;
14496                visible: 1;
14497             }
14498             description { state: "disabled" 0.0;
14499                inherit: "default" 0.0;
14500                color: 255 0 0 100;
14501             }
14502             description { state: "disabled_inverted" 0.0;
14503                inherit: "default" 0.0;
14504                color: 255 0 0 100;
14505                visible: 1;
14506             }
14507          }
14508          part {
14509             name: "base_over";
14510             mouse_events: 0;
14511             description { state: "default" 0.0;
14512                rel1.to: "base";
14513                rel1.offset: -1 -1;
14514                rel2.to: "base";
14515                rel2.offset: 0 0;
14516                image {
14517                   normal: "slv_bg_over.png";
14518                   border: 3 3 3 3;
14519                }
14520                fill.smooth: 0;
14521             }
14522          }
14523          part { name: "bg";
14524             type: RECT;
14525             mouse_events: 0;
14526             scale: 1;
14527             description { state: "default" 0.0;
14528                visible: 0;
14529                rel1.to: "elm.swallow.bar";
14530                rel2.to: "elm.swallow.bar";
14531                color: 0 0 0 0;
14532             }
14533          }
14534          part { name: "elm.swallow.bar";
14535             type: SWALLOW;
14536             scale: 1;
14537             description { state: "default" 0.0;
14538                min: 24 48;
14539                max: 24 9999;
14540                align: 0.5 1.0;
14541                rel1 {
14542                   to_y: "elm.text";
14543                   relative: 0.0 1.0;
14544                   offset: 0 10;
14545                }
14546                rel2 {
14547                   to_y: "elm.units";
14548                   relative: 1.0 0.0;
14549                   offset: -1 -8;
14550                }
14551             }
14552          }
14553          part { name: "elm.swallow.icon";
14554             type: SWALLOW;
14555             description { state: "default" 0.0;
14556                visible: 0;
14557                align: 0.5 0.0;
14558                rel1 {
14559                   offset: 0 4;
14560                   to_x: "elm.swallow.bar";
14561                }
14562                rel2 {
14563                   offset: -1 3;
14564                   relative: 1.0 0.0;
14565                   to_x: "elm.swallow.bar";
14566                }
14567             }
14568             description { state: "visible" 0.0;
14569                inherit: "default" 0.0;
14570                visible: 1;
14571                aspect: 1.0 1.0;
14572                aspect_preference: HORIZONTAL;
14573                rel2.offset: -1 4;
14574             }
14575          }
14576          part { name: "elm.text";
14577             type: TEXT;
14578             mouse_events: 0;
14579             scale: 1;
14580             description { state: "default" 0.0;
14581                visible: 0;
14582                fixed: 0 1;
14583                align: 0.5 0.0;
14584                rel1.to_y: "elm.swallow.icon";
14585                rel1.relative: 0.0 1.0;
14586                rel1.offset: 0 -1;
14587                rel2.to_y: "elm.swallow.icon";
14588                rel2.relative: 1.0 1.0;
14589                rel2.offset: -1 -1;
14590                color: 0 0 0 255;
14591                text {
14592                   font: "Sans,Edje-Vera";
14593                   size: 10;
14594                   min: 0 0;
14595                   align: 0.5 0.0;
14596                }
14597             }
14598             description { state: "visible" 0.0;
14599                inherit: "default" 0.0;
14600                visible: 1;
14601                text.min: 1 1;
14602                rel1.offset: 4 0;
14603                rel2.offset: -5 0;
14604             }
14605             description { state: "disabled" 0.0;
14606                inherit: "default" 0.0;
14607                color: 255 128 128 128;
14608                visible: 0;
14609             }
14610             description { state: "disabled_visible" 0.0;
14611                inherit: "default" 0.0;
14612                color: 0 0 0 128;
14613                color3: 0 0 0 0;
14614                visible: 1;
14615                text.min: 1 1;
14616             }
14617          }
14618          part {
14619             name: "elm.swallow.end";
14620             type: SWALLOW;
14621             description {
14622                state: "default" 0.0;
14623                visible: 0;
14624                align: 0.5 1.0;
14625                rel1 {
14626                   offset: 0 -4;
14627                   relative: 0.0 1.0;
14628                   to_x: "elm.swallow.bar";
14629                }
14630                rel2 {
14631                   offset: -1 -3;
14632                   to_x: "elm.swallow.bar";
14633                }
14634             }
14635             description { state: "visible" 0.0;
14636                inherit: "default" 0.0;
14637                visible: 1;
14638                aspect: 1.0 1.0;
14639                aspect_preference: HORIZONTAL;
14640                rel2.offset: -1 -4;
14641             }
14642          }
14643          part { name: "units";
14644             mouse_events: 0;
14645             description { state: "default" 0.0;
14646                visible: 0;
14647                rel1 {
14648                   to: "elm.units";
14649                   offset: -8 0;
14650                }
14651                rel2 {
14652                   to: "elm.units";
14653                   offset: 7 8;
14654                }
14655                image {
14656                   normal: "slv_units.png";
14657                   border: 8 8 0 9;
14658                }
14659                fill.smooth: 0;
14660             }
14661             description { state: "visible" 0.0;
14662                inherit: "default" 0.0;
14663                visible: 1;
14664             }
14665          }
14666          part { name: "elm.units";
14667             type: TEXT;
14668             mouse_events: 0;
14669             scale: 1;
14670             description { state: "default" 0.0;
14671                visible: 0;
14672                fixed: 1 1;
14673                align: 0.5 1.0;
14674                rel1.relative: 0.0 0.0;
14675                rel1.to_y: "elm.swallow.end";
14676                rel1.offset: 8 0;
14677                rel2.relative: 1.0 0.0;
14678                rel2.to_y: "elm.swallow.end";
14679                rel2.offset: -9 0;
14680                color: 0 0 0 255;
14681                text {
14682                   font: "Sans,Edje-Vera";
14683                   size: 10;
14684                   min: 0 0;
14685                   align: 0.5 0.0;
14686                }
14687             }
14688             description { state: "visible" 0.0;
14689                inherit: "default" 0.0;
14690                fixed: 1 1;
14691                visible: 1;
14692                text.min: 1 1;
14693                rel1.offset: 8 -9;
14694                rel2.offset: -9 -9;
14695             }
14696             description { state: "disabled" 0.0;
14697                inherit: "default" 0.0;
14698                color:  0 0 0 128;
14699                color3: 0 0 0 0;
14700                visible: 0;
14701             }
14702             description { state: "disabled_visible" 0.0;
14703                inherit: "default" 0.0;
14704                fixed: 1 1;
14705                visible: 1;
14706                text.min: 1 1;
14707                rel1.offset: 8 -9;
14708                rel2.offset: -9 -9;
14709                color: 0 0 0 128;
14710                color3: 0 0 0 0;
14711             }
14712          }
14713          part { name: "elm.dragable.slider";
14714             type: GROUP;
14715             source: "elm/slider/vertical/indicator/default";
14716             mouse_events: 1;
14717             repeat_events: 1;
14718             scale: 1;
14719             dragable {
14720                x: 0 0 0;
14721                y: 1 1 0;
14722                confine: "bg";
14723             }
14724             description { state: "default" 0.0;
14725                min: 24 0;
14726                max: 24 0;
14727                fixed: 1 1;
14728                rel1 {
14729                   relative: 0.5  0.0;
14730                   to_y: "bg";
14731                }
14732                rel2 {
14733                   relative: 0.5  1.0;
14734                   to_y: "bg";
14735                }
14736                color: 0 0 0 0;
14737             }
14738          }
14739               part { name: "disabler";
14740                 type: RECT;
14741                 description { state: "default" 0.0;
14742                    color: 0 0 0 0;
14743                    visible: 0;
14744                 }
14745                 description { state: "disabled" 0.0;
14746                    inherit: "default" 0.0;
14747                    visible: 1;
14748                 }
14749              }
14750           }
14751
14752       programs {
14753          program { name: "text_show";
14754             signal: "elm,state,text,visible";
14755             source: "elm";
14756             action:  STATE_SET "visible" 0.0;
14757             target: "elm.text";
14758          }
14759          program { name: "text_hide";
14760             signal: "elm,state,text,hidden";
14761             source: "elm";
14762             action:  STATE_SET "default" 0.0;
14763             target: "elm.text";
14764          }
14765          program { name: "icon_show";
14766             signal: "elm,state,icon,visible";
14767             source: "elm";
14768             action:  STATE_SET "visible" 0.0;
14769             target: "elm.swallow.icon";
14770          }
14771          program { name: "icon_hide";
14772             signal: "elm,state,icon,hidden";
14773             source: "elm";
14774             action:  STATE_SET "default" 0.0;
14775             target: "elm.swallow.icon";
14776          }
14777          program { name: "end_show";
14778             signal: "elm,state,end,visible";
14779             source: "elm";
14780             action:  STATE_SET "visible" 0.0;
14781             target: "elm.swallow.end";
14782          }
14783          program { name: "end_hide";
14784             signal: "elm,state,end,hidden";
14785             source: "elm";
14786             action:  STATE_SET "default" 0.0;
14787             target: "elm.swallow.end";
14788          }
14789          program { name: "units_show";
14790             signal: "elm,state,units,visible";
14791             source: "elm";
14792             action:  STATE_SET "visible" 0.0;
14793             target: "elm.units";
14794             target: "units";
14795          }
14796          program { name: "units_hide";
14797             signal: "elm,state,units,hidden";
14798             source: "elm";
14799             action:  STATE_SET "default" 0.0;
14800             target: "elm.units";
14801             target: "units";
14802          }
14803          program { name: "invert_on";
14804             signal: "elm,state,inverted,on";
14805             source: "elm";
14806             action:  STATE_SET "inverted" 0.0;
14807             target: "level";
14808             target: "level2";
14809          }
14810          program { name: "invert_off";
14811             signal: "elm,state,inverted,off";
14812             source: "elm";
14813             action:  STATE_SET "default" 0.0;
14814             target: "level";
14815             target: "level2";
14816          }
14817          program {
14818             name:   "go_disabled";
14819             signal: "elm,state,disabled";
14820             source: "elm";
14821             action: STATE_SET "disabled" 0.0;
14822 //            target: "button0";
14823             target: "disabler";
14824             after: "disable_text";
14825             after: "disable_ind";
14826          }
14827
14828          program { name: "disable_ind";
14829             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14830          }
14831
14832          program { name: "disable_text";
14833             script {
14834             new st[31];
14835             new Float:vl;
14836                get_state(PART:"elm.text", st, 30, vl);
14837                if (!strcmp(st, "visible"))
14838                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14839                else
14840                   set_state(PART:"elm.text", "disabled", 0.0);
14841
14842                get_state(PART:"elm.units", st, 30, vl);
14843                if (!strcmp(st, "visible"))
14844                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14845                else
14846                   set_state(PART:"elm.units", "disabled", 0.0);
14847
14848                get_state(PART:"level2", st, 30, vl);
14849                if (!strcmp(st, "inverted"))
14850                {
14851                   set_state(PART:"level", "disabled_inverted", 0.0);
14852                   set_state(PART:"level2", "disabled_inverted", 0.0);
14853                }
14854                else
14855                {
14856                   set_state(PART:"level", "disabled", 0.0);
14857                   set_state(PART:"level2", "disabled", 0.0);
14858                }
14859             }
14860          }
14861
14862          program { name: "enable";
14863             signal: "elm,state,enabled";
14864             source: "elm";
14865             action: STATE_SET "default" 0.0;
14866 //            target: "button0";
14867             target: "disabler";
14868             after: "enable_text";
14869             after: "enable_ind";
14870          }
14871
14872          program { name: "enable_ind";
14873             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14874          }
14875          program { name: "enable_text";
14876             script {
14877                new st[31];
14878                new Float:vl;
14879                get_state(PART:"elm.text", st, 30, vl);
14880                if (!strcmp(st, "disabled_visible"))
14881                   set_state(PART:"elm.text", "visible", 0.0);
14882                else
14883                   set_state(PART:"elm.text", "default", 0.0);
14884
14885                get_state(PART:"elm.units", st, 30, vl);
14886                if (!strcmp(st, "disabled_visible"))
14887                   set_state(PART:"elm.units", "visible", 0.0);
14888                else
14889                   set_state(PART:"elm.units", "default", 0.0);
14890
14891                get_state(PART:"level2", st, 30, vl);
14892                if (!strcmp(st, "disabled_inverted"))
14893                {
14894                   set_state(PART:"level", "inverted", 0.0);
14895                   set_state(PART:"level2", "inverted", 0.0);
14896                }
14897                else
14898                {
14899                   set_state(PART:"level", "default", 0.0);
14900                   set_state(PART:"level2", "default", 0.0);
14901                }
14902             }
14903          }
14904       }
14905    }
14906    group { name: "elm/slider/horizontal/indicator/default";
14907            alias: "elm/slider/horizontal/indicator/disabled";
14908            alias: "elm/slider/vertical/indicator/default";
14909            alias: "elm/slider/vertical/indicator/disabled";
14910       images {
14911          image: "sl_bt_0.png" COMP;
14912          image: "sl_bt_1.png" COMP;
14913          image: "sl_bt_2.png" COMP;
14914          image: "sl_bt_3.png" COMP;
14915          image: "sl_bt2_0_0.png" COMP;
14916          image: "sl_bt2_0_1.png" COMP;
14917          image: "sl_bt2_0_2.png" COMP;
14918          image: "sl_bt2_1.png" COMP;
14919          image: "sl_bt2_2.png" COMP;
14920       }
14921       script {
14922          public value_hide = 0;
14923          public set_value_show() {
14924             set_int(value_hide, 0);
14925          }
14926          public set_value_hide() {
14927             set_int(value_hide, 1);
14928          }
14929          public thumb_down() {
14930             if (get_int(value_hide) == 1) {
14931                set_state(PART:"elm.indicator", "default", 0.0);
14932                set_state(PART:"button3", "default", 0.0);
14933                set_state(PART:"button4", "default", 0.0);
14934                set_state(PART:"button5", "default", 0.0);
14935                set_state(PART:"button6", "default", 0.0);
14936                set_state(PART:"button7", "default", 0.0);
14937             } else {
14938                set_state(PART:"elm.indicator", "visible", 0.0);
14939                set_state(PART:"button3", "visible", 0.0);
14940                set_state(PART:"button4", "visible", 0.0);
14941                set_state(PART:"button5", "visible", 0.0);
14942                set_state(PART:"button6", "visible", 0.0);
14943                set_state(PART:"button7", "visible", 0.0);
14944             }
14945          }
14946          public thumb_up() {
14947             set_state(PART:"elm.indicator", "default", 0.0);
14948             set_state(PART:"button3", "default", 0.0);
14949             set_state(PART:"button4", "default", 0.0);
14950             set_state(PART:"button5", "default", 0.0);
14951             set_state(PART:"button6", "default", 0.0);
14952             set_state(PART:"button7", "default", 0.0);
14953          }
14954       }
14955       parts {
14956          part { name: "button_events";
14957             type: RECT;
14958             mouse_events: 1;
14959             description { state: "default" 0.0;
14960                fixed: 1 1;
14961                min: 16 16;
14962                aspect: 1.0 1.0;
14963                aspect_preference: VERTICAL;
14964                color: 0 0 0 0;
14965             }
14966          }
14967          part { name: "button0";
14968             mouse_events: 0;
14969             description { state: "default" 0.0;
14970                fixed: 1 1;
14971                max: 17 999;
14972                min: 17 24;
14973                image {
14974                   normal: "sl_bt_0.png";
14975                   border: 5 5 5 10;
14976                }
14977                fill.smooth: 0;
14978             }
14979             description { state: "disabled" 0.0;
14980                inherit: "default" 0.0;
14981                image {
14982                   normal: "sl_bt_3.png";
14983                   border: 5 5 5 10;
14984                }
14985             }
14986          }
14987          part { name: "button1";
14988             mouse_events: 0;
14989             description { state: "default" 0.0;
14990                rel1.to: "button0";
14991                rel2 {
14992                   to: "button0";
14993                   relative: 1.0 0.5;
14994                   offset: -1 -5;
14995                }
14996                image {
14997                   normal: "sl_bt_1.png";
14998                   border: 5 5 5 0;
14999                }
15000             }
15001          }
15002          part { name: "button2";
15003             mouse_events: 0;
15004             description { state: "default" 0.0;
15005                rel1.to: "button0";
15006                rel2.to: "button0";
15007                image {
15008                   normal: "sl_bt_2.png";
15009                   border: 5 5 5 10;
15010                }
15011                fill.smooth: 0;
15012             }
15013          }
15014          part { name: "button3";
15015             mouse_events: 0;
15016             description { state: "default" 0.0;
15017                fixed: 1 1;
15018                visible: 0;
15019                min: 8 32;
15020                align: 1.0 0.5;
15021                rel1 {
15022                   to_x: "elm.indicator";
15023                   to_y: "button4";
15024                   relative: 0.0 0.0;
15025                   offset: -7 0;
15026                }
15027                rel2 {
15028                   to: "button4";
15029                   relative: 0.0 1.0;
15030                   offset: -1 -1;
15031                }
15032                image {
15033                   normal: "sl_bt2_0_0.png";
15034                   border: 6 0 6 12;
15035                }
15036                fill.smooth: 0;
15037             }
15038             description { state: "visible" 0.0;
15039                inherit: "default" 0.0;
15040                visible: 1;
15041             }
15042          }
15043          part { name: "button4";
15044             mouse_events: 0;
15045             description { state: "default" 0.0;
15046                visible: 0;
15047                max: 15 999;
15048                min: 15 32;
15049                rel1 {
15050                   to_x: "button0";
15051                   to_y: "elm.indicator";
15052                   offset: 0 0;
15053                }
15054                rel2.to: "button0";
15055                image {
15056                   normal: "sl_bt2_0_1.png";
15057                   border: 0 0 6 12;
15058                }
15059                fill.smooth: 0;
15060             }
15061             description { state: "visible" 0.0;
15062                inherit: "default" 0.0;
15063                visible: 1;
15064             }
15065          }
15066          part { name: "button5";
15067             mouse_events: 0;
15068             description { state: "default" 0.0;
15069                fixed: 1 1;
15070                visible: 0;
15071                min: 8 32;
15072                align: 0.0 0.5;
15073                rel1 {
15074                   to: "button4";
15075                   relative: 1.0 0.0;
15076                   offset: 0 0;
15077                }
15078                rel2 {
15079                   to_x: "elm.indicator";
15080                   to_y: "button4";
15081                   relative: 1.0 1.0;
15082                   offset: 6 -1;
15083                }
15084                image {
15085                   normal: "sl_bt2_0_2.png";
15086                   border: 0 6 6 12;
15087                }
15088                fill.smooth: 0;
15089             }
15090             description { state: "visible" 0.0;
15091                inherit: "default" 0.0;
15092                visible: 1;
15093             }
15094          }
15095          part { name: "elm.indicator";
15096             type: TEXT;
15097             mouse_events: 0;
15098             effect: SOFT_SHADOW;
15099             scale: 1;
15100             description { state: "default" 0.0;
15101                visible: 0;
15102                fixed: 1 1;
15103                align: 0.5 1.0;
15104                rel1 {
15105                   to: "button0";
15106                   relative: 0.0 -0.25;
15107                   offset: 0 0;
15108                }
15109                rel2 {
15110                   to_x: "button0";
15111                   relative: 1.0 -0.25;
15112                   offset: -1 0;
15113                }
15114                color: 224 224 224 255;
15115                color3: 0 0 0 64;
15116                text {
15117                   font:     "Sans,Edje-Vera";
15118                   size:     10;
15119                   min:      0 0;
15120                   align:    0.5 0.5;
15121                }
15122             }
15123             description { state: "visible" 0.0;
15124                inherit: "default" 0.0;
15125                visible: 1;
15126                text.min: 1 1;
15127                rel1.offset: 0 -1;
15128                rel2.offset: -1 -1;
15129             }
15130          }
15131          part { name: "button6";
15132             mouse_events: 0;
15133             description { state: "default" 0.0;
15134                visible: 0;
15135                rel1.to: "button3";
15136                rel2 {
15137                   to: "button5";
15138                   relative: 1.0 0.3;
15139                   offset: -1 -1;
15140                }
15141                image {
15142                   normal: "sl_bt2_1.png";
15143                   border: 5 5 5 0;
15144                }
15145                fill.smooth: 0;
15146             }
15147             description { state: "visible" 0.0;
15148                inherit: "default" 0.0;
15149                visible: 1;
15150             }
15151          }
15152          part { name: "button7";
15153             mouse_events: 0;
15154             description { state: "default" 0.0;
15155                visible: 0;
15156                rel1.to: "button3";
15157                rel2.to: "button5";
15158                image {
15159                   normal: "sl_bt2_2.png";
15160                   border: 5 5 5 0;
15161                   middle: 0;
15162                }
15163                fill.smooth: 0;
15164             }
15165             description { state: "visible" 0.0;
15166                inherit: "default" 0.0;
15167                visible: 1;
15168             }
15169          }
15170       }
15171       programs {
15172          program { name: "set_val_show";
15173             signal: "elm,state,val,show";
15174             source: "elm";
15175             script {
15176                set_value_show();
15177             }
15178          }
15179          program { name: "set_val_hide";
15180             signal: "elm,state,val,hide";
15181             source: "elm";
15182             script {
15183                set_value_hide();
15184             }
15185          }
15186          program { name: "val_show";
15187             signal: "mouse,down,*";
15188             source: "button_events";
15189             script {
15190                thumb_down();
15191             }
15192
15193          }
15194          program { name: "val_hide";
15195             signal: "mouse,up,*";
15196             source: "button_events";
15197             script {
15198                thumb_up();
15199             }
15200          }
15201          program {
15202             name:    "go_disabled";
15203             signal:  "elm,state,disabled";
15204             source:  "elm";
15205             action:  STATE_SET "disabled" 0.0;
15206             target:  "button0";
15207          }
15208          program {
15209             name:    "go_enabled";
15210             signal:  "elm,state,enabled";
15211             source:  "elm";
15212             action:  STATE_SET "default" 0.0;
15213             target:  "button0";
15214          }
15215       }
15216    }
15217
15218
15219 ////////////////////////////////////////////////////////////////////////////////
15220 // actionslider
15221 ////////////////////////////////////////////////////////////////////////////////
15222    group { name: "elm/actionslider/base/default";
15223
15224       images {
15225          image: "shelf_inset.png" COMP;
15226          image: "ilist_1.png" COMP;
15227          image: "bt_bases.png" COMP;
15228          image: "bt_basew.png" COMP;
15229          image: "bt_hilightw.png" COMP;
15230       }
15231
15232       parts {
15233          part {
15234             name: "base";
15235             mouse_events: 0;
15236             description {
15237                state: "default" 0.0;
15238                min: 75 25;
15239                rel1.offset: 1 1;
15240                rel2.offset: -2 -2;
15241                image {
15242                   normal: "ilist_1.png";
15243                   border: 2 2 2 2;
15244                   border_scale: 1;
15245                }
15246                fill.smooth: 0;
15247             }
15248          }
15249          part { name: "conf_over";
15250             mouse_events:  0;
15251             description { state: "default" 0.0;
15252                rel1.to: "base";
15253                rel2.to: "base";
15254                image {
15255                   normal: "shelf_inset.png";
15256                   border: 7 7 7 7;
15257                   middle: 0;
15258                }
15259                fill.smooth : 0;
15260             }
15261          }
15262          part { name: "icon.dragable.area";
15263            type: RECT;
15264             mouse_events: 0;
15265             description { state: "default" 0.0;
15266                visible: 0;
15267                rel1.to: "base";
15268                rel2.to: "base";
15269             }
15270          }
15271          part { name: "elm.text.left";
15272             type: TEXT;
15273             mouse_events: 0;
15274             scale: 1;
15275             description { state: "default" 0.0;
15276                color: 0 0 0 255;
15277                text {
15278                   font: "Sans,Edje-Vera";
15279                   size: 10;
15280                   align: 0.05 0.5;
15281                   min: 1 1;
15282                }
15283             }
15284          }
15285          part { name: "elm.text.center";
15286             type: TEXT;
15287             mouse_events: 0;
15288             scale: 1;
15289             description { state: "default" 0.0;
15290                color: 0 0 0 255;
15291                text {
15292                   font: "Sans,Edje-Vera";
15293                   size: 10;
15294                   align: 0.5 0.5;
15295                   min: 1 1;
15296                }
15297             }
15298          }
15299          part { name: "elm.text.right";
15300             type: TEXT;
15301             mouse_events: 0;
15302             scale: 1;
15303             description { state: "default" 0.0;
15304                color: 0 0 0 255;
15305                text {
15306                   font: "Sans,Edje-Vera";
15307                   size: 10;
15308                   align: 0.95 0.5;
15309                   min: 1 1;
15310                }
15311             }
15312          }
15313          part { name: "elm.drag_button_base";
15314             type: SWALLOW;
15315             mouse_events: 0;
15316             scale: 1;
15317             description { state: "default" 0.0;
15318                fixed: 1 1;
15319                min: 50 25;
15320                align: 0.5 0.5;
15321                rel1.to: "icon.dragable.area";
15322                rel2 {
15323                   relative: 0.0 1.0;
15324                   to: "icon.dragable.area";
15325                }
15326             }
15327             dragable {
15328                confine: "icon.dragable.area";
15329                x: 1 1 0;
15330                y: 0 0 0;
15331             }
15332          }
15333          part { name: "elm.drag_button";
15334             type: RECT;
15335             mouse_events: 1;
15336             description { state: "default" 0.0;
15337                min: 50 25;
15338                color: 255 255 255 0;
15339                rel1.to_x: "elm.drag_button_base";
15340                rel1.to_y: "icon.dragable.area";
15341                rel2.to_x: "elm.drag_button_base";
15342                rel2.to_y: "icon.dragable.area";
15343             }
15344             dragable {
15345                events: "elm.drag_button_base";
15346             }
15347          }
15348          part { name: "button0";
15349             mouse_events: 0;
15350             description { state: "default" 0.0;
15351                rel1.to: "button2";
15352                rel1.offset: -4 -4;
15353                rel2.to: "button2";
15354                rel2.offset: 3 3;
15355                image {
15356                   normal: "bt_bases.png";
15357                   border: 11 11 11 11;
15358                   border_scale: 1;
15359                   middle: SOLID;
15360                }
15361                color: 255 255 255 128;
15362             }
15363          }
15364          part { name: "button2";
15365             mouse_events: 0;
15366             description { state: "default" 0.0;
15367                rel1.to: "elm.drag_button";
15368                rel2.to: "elm.drag_button";
15369                image {
15370                   normal: "bt_basew.png";
15371                   border: 7 7 7 7;
15372                   border_scale: 1;
15373                   middle: SOLID;
15374                }
15375                color: 255 255 255 210;
15376             }
15377          }
15378          part { name: "button3";
15379             mouse_events: 0;
15380             description { state: "default" 0.0;
15381                rel1.to: "button2";
15382                rel2.to: "button2";
15383                rel2.relative: 1.0 0.5;
15384                image {
15385                   normal: "bt_hilightw.png";
15386                   border_scale: 1;
15387                   border: 4 4 4 0;
15388                }
15389                color: 255 255 255 190;
15390             }
15391          }
15392          part { name: "elm.text.indicator";
15393             type: TEXT;
15394             scale: 1;
15395             mouse_events: 0;
15396             description { state: "default" 0.0;
15397                rel1 {
15398                   to: "elm.drag_button";
15399                   offset: 5 0;
15400                }
15401                rel2 {
15402                   to: "elm.drag_button";
15403                   offset: -5 0;
15404                }
15405                color: 0 0 0 255;
15406                text {
15407                   font: "Sans,Edje-Vera";
15408                   size: 10;
15409                   align: 0.5 0.5;
15410                   min: 0 1;
15411                }
15412             }
15413          }
15414       }
15415       programs {
15416          program { name: "elm.drag_button,mouse,up";
15417             signal: "mouse,up,1";
15418             source: "elm.drag_button";
15419             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15420          }
15421          program { name: "elm.drag_button,mouse,down";
15422             signal: "mouse,down,1";
15423             source: "elm.drag_button";
15424             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15425          }
15426          program { name: "elm.drag_button,mouse,move";
15427             signal: "mouse,move";
15428             source: "elm.drag_button_base";
15429             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15430          }
15431       }
15432    }
15433
15434    group { name: "elm/actionslider/base/bar";
15435
15436       images {
15437          image: "shelf_inset.png" COMP;
15438          image: "ilist_1.png" COMP;
15439          image: "bt_bases.png" COMP;
15440          image: "bt_basew.png" COMP;
15441          image: "bt_hilightw.png" COMP;
15442       }
15443
15444       parts {
15445          part {
15446             name: "base";
15447             mouse_events: 0;
15448             description {
15449                state: "default" 0.0;
15450                min: 150 30;
15451                rel1.offset: 1 1;
15452                rel2.offset: -2 -2;
15453                image {
15454                   normal: "ilist_1.png";
15455                   border: 2 2 2 2;
15456                   border_scale: 1;
15457                }
15458                fill.smooth: 0;
15459             }
15460          }
15461          part { name: "conf_over";
15462             mouse_events:  0;
15463             description { state: "default" 0.0;
15464                rel1.to: "base";
15465                rel2.to: "base";
15466                image {
15467                   normal: "shelf_inset.png";
15468                   border: 7 7 7 7;
15469                   middle: 0;
15470                }
15471                fill.smooth : 0;
15472             }
15473          }
15474          part { name: "icon.dragable.area";
15475            type: RECT;
15476             mouse_events: 0;
15477             description { state: "default" 0.0;
15478                visible: 0;
15479                rel1.to: "base";
15480                rel2.to: "base";
15481             }
15482          }
15483          part { name: "elm.text.left";
15484             type: TEXT;
15485             mouse_events: 0;
15486             scale: 1;
15487             description { state: "default" 0.0;
15488                color: 0 0 0 255;
15489                text {
15490                   font: "Sans,Edje-Vera";
15491                   size: 10;
15492                   align: 0.05 0.5;
15493                   min: 1 1;
15494                }
15495             }
15496          }
15497          part { name: "elm.text.center";
15498             type: TEXT;
15499             mouse_events: 0;
15500             scale: 1;
15501             description { state: "default" 0.0;
15502                color: 0 0 0 255;
15503                text {
15504                   font: "Sans,Edje-Vera";
15505                   size: 10;
15506                   align: 0.5 0.5;
15507                   min: 1 1;
15508                }
15509             }
15510          }
15511          part { name: "elm.text.right";
15512             type: TEXT;
15513             mouse_events: 0;
15514             scale: 1;
15515             description { state: "default" 0.0;
15516                color: 0 0 0 255;
15517                text {
15518                   font: "Sans,Edje-Vera";
15519                   size: 10;
15520                   align: 0.95 0.5;
15521                   min: 1 1;
15522                }
15523             }
15524          }
15525          part { name: "bar";
15526             type: RECT;
15527             mouse_events: 0;
15528             description { state: "default" 0.0;
15529                rel1.to: "base";
15530                rel1.offset: 0 2;
15531                rel2 {
15532                   relative: 0 1;
15533                   offset: 3 -3;
15534                   to_x: "elm.drag_button_base";
15535                   to_y: "base";
15536                }
15537                color: 0 0 0 180;
15538             }
15539          }
15540          part { name: "elm.drag_button_base";
15541             type: SWALLOW;
15542             mouse_events: 1;
15543             scale: 1;
15544             description { state: "default" 0.0;
15545                fixed: 1 1;
15546                min: 50 25;
15547                align: 0.5 0.5;
15548                rel1.to: "icon.dragable.area";
15549                rel2 {
15550                   relative: 0.0 1.0;
15551                   to: "icon.dragable.area";
15552                }
15553             }
15554             dragable {
15555                confine: "icon.dragable.area";
15556                x: 1 1 0;
15557                y: 0 0 0;
15558             }
15559          }
15560          part { name: "elm.drag_button";
15561             type: RECT;
15562             mouse_events: 1;
15563             description { state: "default" 0.0;
15564                min: 50 25;
15565                color: 255 255 255 0;
15566                rel1.to_x: "elm.drag_button_base";
15567                rel1.to_y: "icon.dragable.area";
15568                rel2.to_x: "elm.drag_button_base";
15569                rel2.to_y: "icon.dragable.area";
15570             }
15571             dragable {
15572                events: "elm.drag_button_base";
15573             }
15574          }
15575          part { name: "button0";
15576             mouse_events: 0;
15577             description { state: "default" 0.0;
15578                rel1.to: "button2";
15579                rel1.offset: -4 -4;
15580                rel2.to: "button2";
15581                rel2.offset: 3 3;
15582                image {
15583                   normal: "bt_bases.png";
15584                   border: 11 11 11 11;
15585                   border_scale: 1;
15586                   middle: SOLID;
15587                }
15588                color: 255 255 255 128;
15589             }
15590          }
15591          part { name: "button2";
15592             mouse_events: 0;
15593             description { state: "default" 0.0;
15594                rel1.to: "elm.drag_button";
15595                rel2.to: "elm.drag_button";
15596                image {
15597                   normal: "bt_basew.png";
15598                   border: 7 7 7 7;
15599                   border_scale :1;
15600                   middle: SOLID;
15601                }
15602                color: 255 255 255 210;
15603             }
15604          }
15605          part { name: "button3";
15606             mouse_events: 0;
15607             description { state: "default" 0.0;
15608                rel1.to: "button2";
15609                rel2.to: "button2";
15610                rel2.relative: 1.0 0.5;
15611                image {
15612                   normal: "bt_hilightw.png";
15613                   border: 4 4 4 0;
15614                   border_scale: 1;
15615                }
15616                color: 255 255 255 190;
15617             }
15618          }
15619          part { name: "elm.text.indicator";
15620             type: TEXT;
15621             scale: 1;
15622             mouse_events: 0;
15623             description { state: "default" 0.0;
15624                rel1 {
15625                   to: "elm.drag_button";
15626                   offset: 5 0;
15627                }
15628                rel2 {
15629                   to: "elm.drag_button";
15630                   offset: -5 0;
15631                }
15632                color: 0 0 0 255;
15633                text {
15634                   font: "Sans,Edje-Vera";
15635                   size: 10;
15636                   align: 0.5 0.5;
15637                   min: 0 1;
15638                }
15639             }
15640          }
15641       }
15642       programs {
15643          program { name: "elm.drag_button,mouse,up";
15644             signal: "mouse,up,1";
15645             source: "elm.drag_button";
15646             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15647          }
15648          program { name: "elm.drag_button,mouse,down";
15649             signal: "mouse,down,1";
15650             source: "elm.drag_button";
15651             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15652          }
15653          program { name: "elm.drag_button,mouse,move";
15654             signal: "mouse,move";
15655             source: "elm.drag_button_base";
15656             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15657          }
15658       }
15659    }
15660
15661 ///////////////////////////////////////////////////////////////////////////////
15662    group { name: "elm/genlist/item/default/default";
15663       data.item: "stacking" "above";
15664       data.item: "selectraise" "on";
15665       data.item: "labels" "elm.text";
15666       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15667       data.item: "treesize" "20";
15668 //      data.item: "states" "";
15669       images {
15670          image: "bt_sm_base1.png" COMP;
15671          image: "bt_sm_shine.png" COMP;
15672          image: "bt_sm_hilight.png" COMP;
15673          image: "ilist_1.png" COMP;
15674          image: "ilist_item_shadow.png" COMP;
15675       }
15676       parts {
15677          part {
15678             name:           "event";
15679             type:           RECT;
15680             repeat_events: 1;
15681             description {
15682                state: "default" 0.0;
15683                color: 0 0 0 0;
15684             }
15685          }
15686          part {
15687             name: "base_sh";
15688             mouse_events: 0;
15689             description {
15690                state: "default" 0.0;
15691                align: 0.0 0.0;
15692                min: 0 10;
15693                fixed: 1 1;
15694                rel1 {
15695                   to: "base";
15696                   relative: 0.0 1.0;
15697                   offset: 0 0;
15698                }
15699                rel2 {
15700                   to: "base";
15701                   relative: 1.0 1.0;
15702                   offset: -1 0;
15703                }
15704                image {
15705                   normal: "ilist_item_shadow.png";
15706                }
15707                fill.smooth: 0;
15708             }
15709          }
15710          part {
15711             name: "base";
15712             mouse_events: 0;
15713             description {
15714                state: "default" 0.0;
15715                image {
15716                   normal: "ilist_1.png";
15717                   border: 2 2 2 2;
15718                }
15719                fill.smooth: 0;
15720             }
15721          }
15722          part { name: "bg";
15723             clip_to: "disclip";
15724             mouse_events: 0;
15725             description { state: "default" 0.0;
15726                visible: 0;
15727                color: 255 255 255 0;
15728                rel1 {
15729                   relative: 0.0 0.0;
15730                   offset: -5 -5;
15731                }
15732                rel2 {
15733                   relative: 1.0 1.0;
15734                   offset: 4 4;
15735                }
15736                image {
15737                   normal: "bt_sm_base1.png";
15738                   border: 6 6 6 6;
15739                }
15740                image.middle: SOLID;
15741             }
15742             description { state: "selected" 0.0;
15743                inherit: "default" 0.0;
15744                visible: 1;
15745                color: 255 255 255 255;
15746                rel1 {
15747                   relative: 0.0 0.0;
15748                   offset: -2 -2;
15749                }
15750                rel2 {
15751                   relative: 1.0 1.0;
15752                   offset: 1 1;
15753                }
15754             }
15755          }
15756          part { name: "elm.swallow.pad";
15757             type: SWALLOW;
15758             description { state: "default" 0.0;
15759                fixed: 1 0;
15760                align: 0.0 0.5;
15761                rel1 {
15762                   relative: 0.0  0.0;
15763                   offset:   4    4;
15764                }
15765                rel2 {
15766                   relative: 0.0  1.0;
15767                   offset:   4   -5;
15768                }
15769             }
15770          }
15771          part { name: "elm.swallow.icon";
15772             clip_to: "disclip";
15773             type: SWALLOW;
15774             description { state: "default" 0.0;
15775                fixed: 1 0;
15776                align: 0.0 0.5;
15777                rel1 {
15778                   to_x: "elm.swallow.pad";
15779                   relative: 1.0  0.0;
15780                   offset:   -1    4;
15781                }
15782                rel2 {
15783                   to_x: "elm.swallow.pad";
15784                   relative: 1.0  1.0;
15785                   offset:   -1   -5;
15786                }
15787             }
15788          }
15789          part { name: "elm.swallow.end";
15790             clip_to: "disclip";
15791             type: SWALLOW;
15792             description { state: "default" 0.0;
15793                fixed: 1 0;
15794                align: 1.0 0.5;
15795                aspect: 1.0 1.0;
15796                aspect_preference: VERTICAL;
15797                rel1 {
15798                   relative: 1.0  0.0;
15799                   offset:   -5    4;
15800                }
15801                rel2 {
15802                   relative: 1.0  1.0;
15803                   offset:   -5   -5;
15804                }
15805             }
15806          }
15807          part { name: "elm.text";
15808             clip_to: "disclip";
15809             type:           TEXT;
15810             effect:         SOFT_SHADOW;
15811             mouse_events:   0;
15812             scale: 1;
15813             description {
15814                state: "default" 0.0;
15815 //               min: 16 16;
15816                rel1 {
15817                   to_x:     "elm.swallow.icon";
15818                   relative: 1.0  0.0;
15819                   offset:   0 4;
15820                }
15821                rel2 {
15822                   to_x:     "elm.swallow.end";
15823                   relative: 0.0  1.0;
15824                   offset:   -1 -5;
15825                }
15826                color: 0 0 0 255;
15827                color3: 0 0 0 0;
15828                text {
15829                   font: "Sans";
15830                   size: 10;
15831                   min: 1 1;
15832 //                  min: 0 1;
15833                   align: 0.0 0.5;
15834                   text_class: "list_item";
15835                }
15836             }
15837             description { state: "selected" 0.0;
15838                inherit: "default" 0.0;
15839                color: 224 224 224 255;
15840                color3: 0 0 0 64;
15841             }
15842          }
15843          part { name: "fg1";
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.to: "bg";
15850                rel2.relative: 1.0 0.5;
15851                rel2.to: "bg";
15852                image {
15853                   normal: "bt_sm_hilight.png";
15854                   border: 6 6 6 0;
15855                }
15856             }
15857             description { state: "selected" 0.0;
15858                inherit: "default" 0.0;
15859                visible: 1;
15860                color: 255 255 255 255;
15861             }
15862          }
15863          part { name: "fg2";
15864             clip_to: "disclip";
15865             mouse_events: 0;
15866             description { state: "default" 0.0;
15867                visible: 0;
15868                color: 255 255 255 0;
15869                rel1.to: "bg";
15870                rel2.to: "bg";
15871                image {
15872                   normal: "bt_sm_shine.png";
15873                   border: 6 6 6 0;
15874                }
15875             }
15876             description { state: "selected" 0.0;
15877                inherit: "default" 0.0;
15878                visible: 1;
15879                color: 255 255 255 255;
15880             }
15881          }
15882          part { name: "disclip";
15883             type: RECT;
15884             description { state: "default" 0.0;
15885                rel1.to: "bg";
15886                rel2.to: "bg";
15887             }
15888             description { state: "disabled" 0.0;
15889                inherit: "default" 0.0;
15890                color: 255 255 255 64;
15891             }
15892          }
15893       }
15894       programs {
15895          // signal: elm,state,%s,active
15896          //   a "check" item named %s went active
15897          // signal: elm,state,%s,passive
15898          //   a "check" item named %s went passive
15899          // default is passive
15900          program {
15901             name:    "go_active";
15902             signal:  "elm,state,selected";
15903             source:  "elm";
15904             action:  STATE_SET "selected" 0.0;
15905             target:  "bg";
15906             target:  "fg1";
15907             target:  "fg2";
15908             target:  "elm.text";
15909          }
15910          program {
15911             name:    "go_passive";
15912             signal:  "elm,state,unselected";
15913             source:  "elm";
15914             action:  STATE_SET "default" 0.0;
15915             target:  "bg";
15916             target:  "fg1";
15917             target:  "fg2";
15918             target:  "elm.text";
15919             transition: LINEAR 0.1;
15920          }
15921          program {
15922             name:    "go_disabled";
15923             signal:  "elm,state,disabled";
15924             source:  "elm";
15925             action:  STATE_SET "disabled" 0.0;
15926             target:  "disclip";
15927          }
15928          program {
15929             name:    "go_enabled";
15930             signal:  "elm,state,enabled";
15931             source:  "elm";
15932             action:  STATE_SET "default" 0.0;
15933             target:  "disclip";
15934          }
15935       }
15936    }
15937    group { name: "elm/genlist/item/group_index/default";
15938       alias: "elm/genlist/item_odd/group_index/default";
15939       data.item: "stacking" "above";
15940       data.item: "selectraise" "on";
15941       data.item: "labels" "elm.text";
15942       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15943       data.item: "treesize" "20";
15944 //      data.item: "states" "";
15945       images {
15946          image: "bt_sm_base1.png" COMP;
15947          image: "bt_sm_shine.png" COMP;
15948          image: "bt_sm_hilight.png" COMP;
15949          image: "ilist_item_shadow.png" COMP;
15950          image: "group_index.png" COMP;
15951       }
15952       parts {
15953          part {
15954             name: "event";
15955             type: RECT;
15956             repeat_events: 0;
15957             description {
15958                state: "default" 0.0;
15959                color: 0 0 0 0;
15960             }
15961          }
15962          part {
15963             name: "base_sh";
15964             mouse_events: 0;
15965             description {
15966                state: "default" 0.0;
15967                align: 0.0 0.0;
15968                min: 0 10;
15969                fixed: 1 1;
15970                rel1 {
15971                   to: "base";
15972                   relative: 0.0 1.0;
15973                   offset: 0 0;
15974                }
15975                rel2 {
15976                   to: "base";
15977                   relative: 1.0 1.0;
15978                   offset: -1 0;
15979                }
15980                image {
15981                   normal: "ilist_item_shadow.png";
15982                }
15983                fill.smooth: 0;
15984             }
15985          }
15986          part {
15987             name: "base";
15988             mouse_events: 0;
15989             description {
15990                state: "default" 0.0;
15991                image {
15992                   normal: "group_index.png";
15993                   border: 2 2 2 2;
15994                }
15995                fill.smooth: 0;
15996             }
15997          }
15998          part { name: "bg";
15999             clip_to: "disclip";
16000             mouse_events: 0;
16001             description { state: "default" 0.0;
16002                visible: 0;
16003                color: 255 255 255 0;
16004                rel1 {
16005                   relative: 0.0 0.0;
16006                   offset: -5 -5;
16007                }
16008                rel2 {
16009                   relative: 1.0 1.0;
16010                   offset: 4 4;
16011                }
16012                image {
16013                   normal: "bt_sm_base1.png";
16014                   border: 6 6 6 6;
16015                }
16016                image.middle: SOLID;
16017             }
16018             description { state: "selected" 0.0;
16019                inherit: "default" 0.0;
16020                visible: 1;
16021                color: 255 255 255 255;
16022                rel1 {
16023                   relative: 0.0 0.0;
16024                   offset: -2 -2;
16025                }
16026                rel2 {
16027                   relative: 1.0 1.0;
16028                   offset: 1 1;
16029                }
16030             }
16031          }
16032          part { name: "elm.swallow.pad";
16033             type: SWALLOW;
16034             description { state: "default" 0.0;
16035                fixed: 1 0;
16036                align: 0.0 0.5;
16037                rel1 {
16038                   relative: 0.0  0.0;
16039                   offset: 4 4;
16040                }
16041                rel2 {
16042                   relative: 0.0  1.0;
16043                   offset: 4 -5;
16044                }
16045             }
16046          }
16047          part { name: "elm.swallow.icon";
16048             clip_to: "disclip";
16049             type: SWALLOW;
16050             description { state: "default" 0.0;
16051                fixed: 1 0;
16052                align: 0.0 0.5;
16053                rel1 {
16054                   to_x: "elm.swallow.pad";
16055                   relative: 1.0 0.0;
16056                   offset: -1 4;
16057                }
16058                rel2 {
16059                   to_x: "elm.swallow.pad";
16060                   relative: 1.0 1.0;
16061                   offset: -1 -5;
16062                }
16063             }
16064          }
16065          part { name: "elm.swallow.end";
16066             clip_to: "disclip";
16067             type: SWALLOW;
16068             description { state: "default" 0.0;
16069                fixed: 1 0;
16070                align: 1.0 0.5;
16071                aspect: 1.0 1.0;
16072                aspect_preference: VERTICAL;
16073                rel1 {
16074                   relative: 1.0 0.0;
16075                   offset: -5 4;
16076                }
16077                rel2 {
16078                   relative: 1.0 1.0;
16079                   offset: -5 -5;
16080                }
16081             }
16082          }
16083          part { name: "elm.text";
16084             clip_to: "disclip";
16085             type: TEXT;
16086             effect: SOFT_SHADOW;
16087             mouse_events: 0;
16088             scale: 1;
16089             description {
16090                state: "default" 0.0;
16091 //               min: 16 16;
16092                rel1 {
16093                   to_x: "elm.swallow.icon";
16094                   relative: 1.0  0.0;
16095                   offset: 0 4;
16096                }
16097                rel2 {
16098                   to_x: "elm.swallow.end";
16099                   relative: 0.0  1.0;
16100                   offset: -1 -5;
16101                }
16102                color: 0 0 0 255;
16103                color3: 0 0 0 0;
16104                text {
16105                   font: "Sans";
16106                   size: 10;
16107                   min: 1 1;
16108 //                  min: 0 1;
16109                   align: -1.0 0.5;
16110                   text_class: "list_item";
16111                }
16112             }
16113             description { state: "selected" 0.0;
16114                inherit: "default" 0.0;
16115                color: 224 224 224 255;
16116                color3: 0 0 0 64;
16117             }
16118          }
16119          part { name: "fg1";
16120             clip_to: "disclip";
16121             mouse_events: 0;
16122             description { state: "default" 0.0;
16123                visible: 0;
16124                color: 255 255 255 0;
16125                rel1.to: "bg";
16126                rel2.relative: 1.0 0.5;
16127                rel2.to: "bg";
16128                image {
16129                   normal: "bt_sm_hilight.png";
16130                   border: 6 6 6 0;
16131                }
16132             }
16133             description { state: "selected" 0.0;
16134                inherit: "default" 0.0;
16135                visible: 1;
16136                color: 255 255 255 255;
16137             }
16138          }
16139          part { name: "fg2";
16140             clip_to: "disclip";
16141             mouse_events: 0;
16142             description { state: "default" 0.0;
16143                visible: 0;
16144                color: 255 255 255 0;
16145                rel1.to: "bg";
16146                rel2.to: "bg";
16147                image {
16148                   normal: "bt_sm_shine.png";
16149                   border: 6 6 6 0;
16150                }
16151             }
16152             description { state: "selected" 0.0;
16153                inherit: "default" 0.0;
16154                visible: 1;
16155                color: 255 255 255 255;
16156             }
16157          }
16158          part { name: "disclip";
16159             type: RECT;
16160             description { state: "default" 0.0;
16161                rel1.to: "bg";
16162                rel2.to: "bg";
16163             }
16164             description { state: "disabled" 0.0;
16165                inherit: "default" 0.0;
16166                color: 255 255 255 64;
16167             }
16168          }
16169       }
16170       programs {
16171          // signal: elm,state,%s,active
16172          //   a "check" item named %s went active
16173          // signal: elm,state,%s,passive
16174          //   a "check" item named %s went passive
16175          // default is passive
16176          program {
16177             name:    "go_active";
16178             signal:  "elm,state,selected";
16179             source:  "elm";
16180             action:  STATE_SET "selected" 0.0;
16181             target:  "bg";
16182             target:  "fg1";
16183             target:  "fg2";
16184             target:  "elm.text";
16185          }
16186          program {
16187             name:    "go_passive";
16188             signal:  "elm,state,unselected";
16189             source:  "elm";
16190             action:  STATE_SET "default" 0.0;
16191             target:  "bg";
16192             target:  "fg1";
16193             target:  "fg2";
16194             target:  "elm.text";
16195             transition: LINEAR 0.1;
16196          }
16197          program {
16198             name:    "go_disabled";
16199             signal:  "elm,state,disabled";
16200             source:  "elm";
16201             action:  STATE_SET "disabled" 0.0;
16202             target:  "disclip";
16203          }
16204          program {
16205             name:    "go_enabled";
16206             signal:  "elm,state,enabled";
16207             source:  "elm";
16208             action:  STATE_SET "default" 0.0;
16209             target:  "disclip";
16210          }
16211       }
16212    }
16213    group { name: "elm/genlist/item_compress/message/default";
16214       data.item: "stacking" "above";
16215       data.item: "selectraise" "on";
16216       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16217 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16218       data.item: "treesize" "20";
16219 //      data.item: "states" "";
16220       images {
16221          image: "bt_sm_base1.png" COMP;
16222          image: "bt_sm_shine.png" COMP;
16223          image: "bt_sm_hilight.png" COMP;
16224          image: "ilist_1.png" COMP;
16225          image: "ilist_item_shadow.png" COMP;
16226       }
16227       styles {
16228         style { name: "genlist_textblock_style";
16229           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16230           tag:  "br" "\n";
16231           tag:  "ps" "ps";
16232           tag:  "tab" "\t";
16233         }
16234         style { name: "genlist_textblock_style2";
16235           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16236           tag:  "br" "\n";
16237           tag:  "ps" "ps";
16238           tag:  "tab" "\t";
16239         }
16240       }
16241      parts {
16242          part {
16243             name:           "event";
16244             type:           RECT;
16245             repeat_events: 1;
16246             description {
16247                state: "default" 0.0;
16248                color: 0 0 0 0;
16249             }
16250          }
16251          part {
16252             name: "base_sh";
16253             mouse_events: 0;
16254             description {
16255                state: "default" 0.0;
16256                align: 0.0 0.0;
16257                min: 0 10;
16258                fixed: 1 1;
16259                rel1 {
16260                   to: "base";
16261                   relative: 0.0 1.0;
16262                   offset: 0 0;
16263                }
16264                rel2 {
16265                   to: "base";
16266                   relative: 1.0 1.0;
16267                   offset: -1 0;
16268                }
16269                image {
16270                   normal: "ilist_item_shadow.png";
16271                }
16272                fill.smooth: 0;
16273             }
16274          }
16275          part {
16276             name: "base";
16277             mouse_events: 0;
16278             description {
16279                state: "default" 0.0;
16280                image {
16281                   normal: "ilist_1.png";
16282                   border: 2 2 2 2;
16283                }
16284                fill.smooth: 0;
16285             }
16286          }
16287          part { name: "bg";
16288             clip_to: "disclip";
16289             mouse_events: 0;
16290             description { state: "default" 0.0;
16291                visible: 0;
16292                color: 255 255 255 0;
16293                rel1 {
16294                   relative: 0.0 0.0;
16295                   offset: -5 -5;
16296                }
16297                rel2 {
16298                   relative: 1.0 1.0;
16299                   offset: 4 4;
16300                }
16301                image {
16302                   normal: "bt_sm_base1.png";
16303                   border: 6 6 6 6;
16304                }
16305                image.middle: SOLID;
16306             }
16307             description { state: "selected" 0.0;
16308                inherit: "default" 0.0;
16309                visible: 1;
16310                color: 255 255 255 255;
16311                rel1 {
16312                   relative: 0.0 0.0;
16313                   offset: -2 -2;
16314                }
16315                rel2 {
16316                   relative: 1.0 1.0;
16317                   offset: 1 1;
16318                }
16319             }
16320          }
16321          part { name: "elm.title.1";
16322             clip_to: "disclip";
16323             type:           TEXT;
16324             effect:         SOFT_SHADOW;
16325             mouse_events:   0;
16326             scale: 1;
16327             description {
16328                state: "default" 0.0;
16329                fixed: 0 1;
16330 //               min: 16 16;
16331                rel1 {
16332                   relative: 0.0  0.0;
16333                   offset:   4 4;
16334                }
16335                rel2 {
16336                   relative: 1.0  0.0;
16337                   offset:   -5 4;
16338                }
16339                color: 0 0 0 255;
16340                color3: 0 0 0 0;
16341                align: 0.0 0.0;
16342                text {
16343                   font: "Sans";
16344                   size: 10;
16345                   min: 0 1;
16346 //                  min: 1 1;
16347                   align: 0.0 0.0;
16348                   text_class: "list_item";
16349                }
16350             }
16351             description { state: "selected" 0.0;
16352                inherit: "default" 0.0;
16353                color: 224 224 224 255;
16354                color3: 0 0 0 64;
16355             }
16356          }
16357          part { name: "elm.title.2";
16358             clip_to: "disclip";
16359             type:           TEXT;
16360             effect:         SOFT_SHADOW;
16361             mouse_events:   0;
16362             scale: 1;
16363             description {
16364                state: "default" 0.0;
16365                fixed: 0 1;
16366 //               min: 16 16;
16367                rel1 {
16368                   to_y:     "elm.title.1";
16369                   relative: 0.0  1.0;
16370                   offset:   4 0;
16371                }
16372                rel2 {
16373                   to_y:     "elm.title.1";
16374                   relative: 1.0  1.0;
16375                   offset:   -5 0;
16376                }
16377                color: 0 0 0 255;
16378                color3: 0 0 0 0;
16379                align: 0.0 0.0;
16380                text {
16381                   font: "Sans";
16382                   size: 10;
16383                   min: 0 1;
16384 //                  min: 1 1;
16385                   align: 0.0 0.0;
16386                   text_class: "list_item";
16387                }
16388             }
16389             description { state: "selected" 0.0;
16390                inherit: "default" 0.0;
16391                color: 224 224 224 255;
16392                color3: 0 0 0 64;
16393             }
16394          }
16395          part { name: "elm.text";
16396             clip_to: "disclip";
16397             type:           TEXTBLOCK;
16398             mouse_events:   0;
16399             scale: 1;
16400             description {
16401                state: "default" 0.0;
16402 //               fixed: 0 1;
16403 //               min: 16 16;
16404                rel1 {
16405                   to_y:     "elm.title.2";
16406                   relative: 0.0  1.0;
16407                   offset:   4 0;
16408                }
16409                rel2 {
16410                   relative: 1.0  1.0;
16411                   offset:   -5 -5;
16412                }
16413                align: 0.0 0.0;
16414                text {
16415                   style: "genlist_textblock_style";
16416                   min: 0 1;
16417 //                  min: 1 1;
16418                   align: 0.0 0.0;
16419                }
16420             }
16421             description { state: "selected" 0.0;
16422                inherit: "default" 0.0;
16423                text {
16424                   style: "genlist_textblock_style2";
16425                }
16426             }
16427          }
16428          part { name: "fg1";
16429             clip_to: "disclip";
16430             mouse_events: 0;
16431             description { state: "default" 0.0;
16432                visible: 0;
16433                color: 255 255 255 0;
16434                rel1.to: "bg";
16435                rel2.relative: 1.0 0.5;
16436                rel2.to: "bg";
16437                image {
16438                   normal: "bt_sm_hilight.png";
16439                   border: 6 6 6 0;
16440                }
16441             }
16442             description { state: "selected" 0.0;
16443                inherit: "default" 0.0;
16444                visible: 1;
16445                color: 255 255 255 255;
16446             }
16447          }
16448          part { name: "fg2";
16449             clip_to: "disclip";
16450             mouse_events: 0;
16451             description { state: "default" 0.0;
16452                visible: 0;
16453                color: 255 255 255 0;
16454                rel1.to: "bg";
16455                rel2.to: "bg";
16456                image {
16457                   normal: "bt_sm_shine.png";
16458                   border: 6 6 6 0;
16459                }
16460             }
16461             description { state: "selected" 0.0;
16462                inherit: "default" 0.0;
16463                visible: 1;
16464                color: 255 255 255 255;
16465             }
16466          }
16467          part { name: "disclip";
16468             type: RECT;
16469             description { state: "default" 0.0;
16470                rel1.to: "bg";
16471                rel2.to: "bg";
16472             }
16473             description { state: "disabled" 0.0;
16474                inherit: "default" 0.0;
16475                color: 255 255 255 64;
16476             }
16477          }
16478       }
16479       programs {
16480          // signal: elm,state,%s,active
16481          //   a "check" item named %s went active
16482          // signal: elm,state,%s,passive
16483          //   a "check" item named %s went passive
16484          // default is passive
16485          program {
16486             name:    "go_active";
16487             signal:  "elm,state,selected";
16488             source:  "elm";
16489             action:  STATE_SET "selected" 0.0;
16490             target:  "bg";
16491             target:  "fg1";
16492             target:  "fg2";
16493             target:  "elm.title.1";
16494             target:  "elm.title.2";
16495             target:  "elm.text";
16496          }
16497          program {
16498             name:    "go_passive";
16499             signal:  "elm,state,unselected";
16500             source:  "elm";
16501             action:  STATE_SET "default" 0.0;
16502             target:  "bg";
16503             target:  "fg1";
16504             target:  "fg2";
16505             target:  "elm.title.1";
16506             target:  "elm.title.2";
16507             target:  "elm.text";
16508             transition: LINEAR 0.1;
16509          }
16510          program {
16511             name:    "go_disabled";
16512             signal:  "elm,state,disabled";
16513             source:  "elm";
16514             action:  STATE_SET "disabled" 0.0;
16515             target:  "disclip";
16516          }
16517          program {
16518             name:    "go_enabled";
16519             signal:  "elm,state,enabled";
16520             source:  "elm";
16521             action:  STATE_SET "default" 0.0;
16522             target:  "disclip";
16523          }
16524       }
16525    }
16526    group { name: "elm/genlist/item_compress_odd/message/default";
16527       data.item: "stacking" "below";
16528       data.item: "selectraise" "on";
16529       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16530 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16531       data.item: "treesize" "20";
16532 //      data.item: "states" "";
16533       images {
16534          image: "bt_sm_base1.png" COMP;
16535          image: "bt_sm_shine.png" COMP;
16536          image: "bt_sm_hilight.png" COMP;
16537          image: "ilist_2.png" COMP;
16538       }
16539       parts {
16540          part { name: "event";
16541             type: RECT;
16542             repeat_events: 1;
16543             description {
16544                state: "default" 0.0;
16545                color: 0 0 0 0;
16546             }
16547          }
16548          part {
16549             name: "base";
16550             mouse_events: 0;
16551             description {
16552                state: "default" 0.0;
16553                image {
16554                   normal: "ilist_2.png";
16555                   border: 2 2 2 2;
16556                }
16557                fill.smooth: 0;
16558             }
16559          }
16560          part { name: "bg";
16561             clip_to: "disclip";
16562             mouse_events: 0;
16563             description { state: "default" 0.0;
16564                visible: 0;
16565                color: 255 255 255 0;
16566                rel1 {
16567                   relative: 0.0 0.0;
16568                   offset: -5 -5;
16569                }
16570                rel2 {
16571                   relative: 1.0 1.0;
16572                   offset: 4 4;
16573                }
16574                image {
16575                   normal: "bt_sm_base1.png";
16576                   border: 6 6 6 6;
16577                }
16578                image.middle: SOLID;
16579             }
16580             description { state: "selected" 0.0;
16581                inherit: "default" 0.0;
16582                visible: 1;
16583                color: 255 255 255 255;
16584                rel1 {
16585                   relative: 0.0 0.0;
16586                   offset: -2 -2;
16587                }
16588                rel2 {
16589                   relative: 1.0 1.0;
16590                   offset: 1 1;
16591                }
16592             }
16593          }
16594          part { name: "elm.title.1";
16595             clip_to: "disclip";
16596             type:           TEXT;
16597             effect:         SOFT_SHADOW;
16598             mouse_events:   0;
16599             scale: 1;
16600             description {
16601                state: "default" 0.0;
16602                fixed: 0 1;
16603 //               min: 16 16;
16604                rel1 {
16605                   relative: 0.0  0.0;
16606                   offset:   4 4;
16607                }
16608                rel2 {
16609                   relative: 1.0  0.0;
16610                   offset:   -5 4;
16611                }
16612                color: 0 0 0 255;
16613                color3: 0 0 0 0;
16614                align: 0.0 0.0;
16615                text {
16616                   font: "Sans";
16617                   size: 10;
16618                   min: 0 1;
16619 //                  min: 1 1;
16620                   align: 0.0 0.0;
16621                   text_class: "list_item";
16622                }
16623             }
16624             description { state: "selected" 0.0;
16625                inherit: "default" 0.0;
16626                color: 224 224 224 255;
16627                color3: 0 0 0 64;
16628             }
16629          }
16630          part { name: "elm.title.2";
16631             clip_to: "disclip";
16632             type:           TEXT;
16633             effect:         SOFT_SHADOW;
16634             mouse_events:   0;
16635             scale: 1;
16636             description {
16637                state: "default" 0.0;
16638                fixed: 0 1;
16639 //               min: 16 16;
16640                rel1 {
16641                   to_y:     "elm.title.1";
16642                   relative: 0.0  1.0;
16643                   offset:   4 0;
16644                }
16645                rel2 {
16646                   to_y:     "elm.title.1";
16647                   relative: 1.0  1.0;
16648                   offset:   -5 0;
16649                }
16650                color: 0 0 0 255;
16651                color3: 0 0 0 0;
16652                align: 0.0 0.0;
16653                text {
16654                   font: "Sans";
16655                   size: 10;
16656                   min: 0 1;
16657 //                  min: 1 1;
16658                   align: 0.0 0.0;
16659                   text_class: "list_item";
16660                }
16661             }
16662             description { state: "selected" 0.0;
16663                inherit: "default" 0.0;
16664                color: 224 224 224 255;
16665                color3: 0 0 0 64;
16666             }
16667          }
16668          part { name: "elm.text";
16669             clip_to: "disclip";
16670             type:           TEXTBLOCK;
16671             mouse_events:   0;
16672             scale: 1;
16673             description {
16674                state: "default" 0.0;
16675 //               fixed: 0 1;
16676 //               min: 16 16;
16677                rel1 {
16678                   to_y:     "elm.title.2";
16679                   relative: 0.0  1.0;
16680                   offset:   4 0;
16681                }
16682                rel2 {
16683                   relative: 1.0  1.0;
16684                   offset:   -5 -5;
16685                }
16686                align: 0.0 0.0;
16687                text {
16688                   style: "genlist_textblock_style";
16689                   min: 0 1;
16690 //                  min: 1 1;
16691                   align: 0.0 0.0;
16692                }
16693             }
16694             description { state: "selected" 0.0;
16695                inherit: "default" 0.0;
16696                text {
16697                   style: "genlist_textblock_style2";
16698                }
16699             }
16700          }
16701          part { name: "fg1";
16702             clip_to: "disclip";
16703             mouse_events: 0;
16704             description { state: "default" 0.0;
16705                visible: 0;
16706                color: 255 255 255 0;
16707                rel1.to: "bg";
16708                rel2.relative: 1.0 0.5;
16709                rel2.to: "bg";
16710                image {
16711                   normal: "bt_sm_hilight.png";
16712                   border: 6 6 6 0;
16713                }
16714             }
16715             description { state: "selected" 0.0;
16716                inherit: "default" 0.0;
16717                visible: 1;
16718                color: 255 255 255 255;
16719             }
16720          }
16721          part { name: "fg2";
16722             clip_to: "disclip";
16723             mouse_events: 0;
16724             description { state: "default" 0.0;
16725                visible: 0;
16726                color: 255 255 255 0;
16727                rel1.to: "bg";
16728                rel2.to: "bg";
16729                image {
16730                   normal: "bt_sm_shine.png";
16731                   border: 6 6 6 0;
16732                }
16733             }
16734             description { state: "selected" 0.0;
16735                inherit: "default" 0.0;
16736                visible: 1;
16737                color: 255 255 255 255;
16738             }
16739          }
16740          part { name: "disclip";
16741             type: RECT;
16742             description { state: "default" 0.0;
16743                rel1.to: "bg";
16744                rel2.to: "bg";
16745             }
16746             description { state: "disabled" 0.0;
16747                inherit: "default" 0.0;
16748                color: 255 255 255 64;
16749             }
16750          }
16751       }
16752       programs {
16753          // signal: elm,state,%s,active
16754          //   a "check" item named %s went active
16755          // signal: elm,state,%s,passive
16756          //   a "check" item named %s went passive
16757          // default is passive
16758          program {
16759             name:    "go_active";
16760             signal:  "elm,state,selected";
16761             source:  "elm";
16762             action:  STATE_SET "selected" 0.0;
16763             target:  "bg";
16764             target:  "fg1";
16765             target:  "fg2";
16766             target:  "elm.title.1";
16767             target:  "elm.title.2";
16768             target:  "elm.text";
16769          }
16770          program {
16771             name:    "go_passive";
16772             signal:  "elm,state,unselected";
16773             source:  "elm";
16774             action:  STATE_SET "default" 0.0;
16775             target:  "bg";
16776             target:  "fg1";
16777             target:  "fg2";
16778             target:  "elm.title.1";
16779             target:  "elm.title.2";
16780             target:  "elm.text";
16781             transition: LINEAR 0.1;
16782          }
16783          program {
16784             name:    "go_disabled";
16785             signal:  "elm,state,disabled";
16786             source:  "elm";
16787             action:  STATE_SET "disabled" 0.0;
16788             target:  "disclip";
16789          }
16790          program {
16791             name:    "go_enabled";
16792             signal:  "elm,state,enabled";
16793             source:  "elm";
16794             action:  STATE_SET "default" 0.0;
16795             target:  "disclip";
16796          }
16797       }
16798    }
16799    group { name: "elm/genlist/item_compress/default/default";
16800       data.item: "stacking" "above";
16801       data.item: "selectraise" "on";
16802       data.item: "labels" "elm.text";
16803       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16804       data.item: "treesize" "20";
16805 //      data.item: "states" "";
16806       images {
16807          image: "bt_sm_base1.png" COMP;
16808          image: "bt_sm_shine.png" COMP;
16809          image: "bt_sm_hilight.png" COMP;
16810          image: "ilist_1.png" COMP;
16811          image: "ilist_item_shadow.png" COMP;
16812       }
16813       parts {
16814          part {
16815             name:           "event";
16816             type:           RECT;
16817             repeat_events: 1;
16818             description {
16819                state: "default" 0.0;
16820                color: 0 0 0 0;
16821             }
16822          }
16823          part {
16824             name: "base_sh";
16825             mouse_events: 0;
16826             description {
16827                state: "default" 0.0;
16828                align: 0.0 0.0;
16829                min: 0 10;
16830                fixed: 1 1;
16831                rel1 {
16832                   to: "base";
16833                   relative: 0.0 1.0;
16834                   offset: 0 0;
16835                }
16836                rel2 {
16837                   to: "base";
16838                   relative: 1.0 1.0;
16839                   offset: -1 0;
16840                }
16841                image {
16842                   normal: "ilist_item_shadow.png";
16843                }
16844                fill.smooth: 0;
16845             }
16846          }
16847          part {
16848             name: "base";
16849             mouse_events: 0;
16850             description {
16851                state: "default" 0.0;
16852                image {
16853                   normal: "ilist_1.png";
16854                   border: 2 2 2 2;
16855                }
16856                fill.smooth: 0;
16857             }
16858          }
16859          part { name: "bg";
16860             clip_to: "disclip";
16861             mouse_events: 0;
16862             description { state: "default" 0.0;
16863                visible: 0;
16864                color: 255 255 255 0;
16865                rel1 {
16866                   relative: 0.0 0.0;
16867                   offset: -5 -5;
16868                }
16869                rel2 {
16870                   relative: 1.0 1.0;
16871                   offset: 4 4;
16872                }
16873                image {
16874                   normal: "bt_sm_base1.png";
16875                   border: 6 6 6 6;
16876                }
16877                image.middle: SOLID;
16878             }
16879             description { state: "selected" 0.0;
16880                inherit: "default" 0.0;
16881                visible: 1;
16882                color: 255 255 255 255;
16883                rel1 {
16884                   relative: 0.0 0.0;
16885                   offset: -2 -2;
16886                }
16887                rel2 {
16888                   relative: 1.0 1.0;
16889                   offset: 1 1;
16890                }
16891             }
16892          }
16893          part { name: "elm.swallow.pad";
16894             type: SWALLOW;
16895             description { state: "default" 0.0;
16896                fixed: 1 0;
16897                align: 0.0 0.5;
16898                rel1 {
16899                   relative: 0.0  0.0;
16900                   offset:   4    4;
16901                }
16902                rel2 {
16903                   relative: 0.0  1.0;
16904                   offset:   4   -5;
16905                }
16906             }
16907          }
16908          part { name: "elm.swallow.icon";
16909             clip_to: "disclip";
16910             type: SWALLOW;
16911             description { state: "default" 0.0;
16912                fixed: 1 0;
16913                align: 0.0 0.5;
16914                rel1 {
16915                   to_x: "elm.swallow.pad";
16916                   relative: 1.0  0.0;
16917                   offset:   -1    4;
16918                }
16919                rel2 {
16920                   to_x: "elm.swallow.pad";
16921                   relative: 1.0  1.0;
16922                   offset:   -1   -5;
16923                }
16924             }
16925          }
16926          part { name: "elm.swallow.end";
16927             clip_to: "disclip";
16928             type: SWALLOW;
16929             description { state: "default" 0.0;
16930                fixed: 1 0;
16931                align: 1.0 0.5;
16932                aspect: 1.0 1.0;
16933                aspect_preference: VERTICAL;
16934                rel1 {
16935                   relative: 1.0  0.0;
16936                   offset:   -5    4;
16937                }
16938                rel2 {
16939                   relative: 1.0  1.0;
16940                   offset:   -5   -5;
16941                }
16942             }
16943          }
16944          part { name: "elm.text";
16945             clip_to: "disclip";
16946             type:           TEXT;
16947             effect:         SOFT_SHADOW;
16948             mouse_events:   0;
16949             scale: 1;
16950             description {
16951                state: "default" 0.0;
16952 //               min: 16 16;
16953                rel1 {
16954                   to_x:     "elm.swallow.icon";
16955                   relative: 1.0  0.0;
16956                   offset:   0 4;
16957                }
16958                rel2 {
16959                   to_x:     "elm.swallow.end";
16960                   relative: 0.0  1.0;
16961                   offset:   -1 -5;
16962                }
16963                color: 0 0 0 255;
16964                color3: 0 0 0 0;
16965                text {
16966                   font: "Sans";
16967                   size: 10;
16968                   min: 0 1;
16969 //                  min: 1 1;
16970                   align: 0.0 0.5;
16971                   text_class: "list_item";
16972                }
16973             }
16974             description { state: "selected" 0.0;
16975                inherit: "default" 0.0;
16976                color: 224 224 224 255;
16977                color3: 0 0 0 64;
16978             }
16979          }
16980          part { name: "fg1";
16981             clip_to: "disclip";
16982             mouse_events: 0;
16983             description { state: "default" 0.0;
16984                visible: 0;
16985                color: 255 255 255 0;
16986                rel1.to: "bg";
16987                rel2.relative: 1.0 0.5;
16988                rel2.to: "bg";
16989                image {
16990                   normal: "bt_sm_hilight.png";
16991                   border: 6 6 6 0;
16992                }
16993             }
16994             description { state: "selected" 0.0;
16995                inherit: "default" 0.0;
16996                visible: 1;
16997                color: 255 255 255 255;
16998             }
16999          }
17000          part { name: "fg2";
17001             clip_to: "disclip";
17002             mouse_events: 0;
17003             description { state: "default" 0.0;
17004                visible: 0;
17005                color: 255 255 255 0;
17006                rel1.to: "bg";
17007                rel2.to: "bg";
17008                image {
17009                   normal: "bt_sm_shine.png";
17010                   border: 6 6 6 0;
17011                }
17012             }
17013             description { state: "selected" 0.0;
17014                inherit: "default" 0.0;
17015                visible: 1;
17016                color: 255 255 255 255;
17017             }
17018          }
17019          part { name: "disclip";
17020             type: RECT;
17021             description { state: "default" 0.0;
17022                rel1.to: "bg";
17023                rel2.to: "bg";
17024             }
17025             description { state: "disabled" 0.0;
17026                inherit: "default" 0.0;
17027                color: 255 255 255 64;
17028             }
17029          }
17030       }
17031       programs {
17032          // signal: elm,state,%s,active
17033          //   a "check" item named %s went active
17034          // signal: elm,state,%s,passive
17035          //   a "check" item named %s went passive
17036          // default is passive
17037          program {
17038             name:    "go_active";
17039             signal:  "elm,state,selected";
17040             source:  "elm";
17041             action:  STATE_SET "selected" 0.0;
17042             target:  "bg";
17043             target:  "fg1";
17044             target:  "fg2";
17045             target:  "elm.text";
17046          }
17047          program {
17048             name:    "go_passive";
17049             signal:  "elm,state,unselected";
17050             source:  "elm";
17051             action:  STATE_SET "default" 0.0;
17052             target:  "bg";
17053             target:  "fg1";
17054             target:  "fg2";
17055             target:  "elm.text";
17056             transition: LINEAR 0.1;
17057          }
17058          program {
17059             name:    "go_disabled";
17060             signal:  "elm,state,disabled";
17061             source:  "elm";
17062             action:  STATE_SET "disabled" 0.0;
17063             target:  "disclip";
17064          }
17065          program {
17066             name:    "go_enabled";
17067             signal:  "elm,state,enabled";
17068             source:  "elm";
17069             action:  STATE_SET "default" 0.0;
17070             target:  "disclip";
17071          }
17072       }
17073    }
17074    group { name: "elm/genlist/item_odd/default/default";
17075       data.item: "stacking" "below";
17076       data.item: "selectraise" "on";
17077       data.item: "labels" "elm.text";
17078       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17079       data.item: "treesize" "20";
17080 //      data.item: "states" "";
17081       images {
17082          image: "bt_sm_base1.png" COMP;
17083          image: "bt_sm_shine.png" COMP;
17084          image: "bt_sm_hilight.png" COMP;
17085          image: "ilist_2.png" COMP;
17086       }
17087       parts {
17088          part { name: "event";
17089             type: RECT;
17090             repeat_events: 1;
17091             description {
17092                state: "default" 0.0;
17093                color: 0 0 0 0;
17094             }
17095          }
17096          part {
17097             name: "base";
17098             mouse_events: 0;
17099             description {
17100                state: "default" 0.0;
17101                image {
17102                   normal: "ilist_2.png";
17103                   border: 2 2 2 2;
17104                }
17105                fill.smooth: 0;
17106             }
17107          }
17108          part { name: "bg";
17109             clip_to: "disclip";
17110             mouse_events: 0;
17111             description { state: "default" 0.0;
17112                visible: 0;
17113                color: 255 255 255 0;
17114                rel1 {
17115                   relative: 0.0 0.0;
17116                   offset: -5 -5;
17117                }
17118                rel2 {
17119                   relative: 1.0 1.0;
17120                   offset: 4 4;
17121                }
17122                image {
17123                   normal: "bt_sm_base1.png";
17124                   border: 6 6 6 6;
17125                }
17126                image.middle: SOLID;
17127             }
17128             description { state: "selected" 0.0;
17129                inherit: "default" 0.0;
17130                visible: 1;
17131                color: 255 255 255 255;
17132                rel1 {
17133                   relative: 0.0 0.0;
17134                   offset: -2 -2;
17135                }
17136                rel2 {
17137                   relative: 1.0 1.0;
17138                   offset: 1 1;
17139                }
17140             }
17141          }
17142          part { name: "elm.swallow.pad";
17143             type: SWALLOW;
17144             description { state: "default" 0.0;
17145                fixed: 1 0;
17146                align: 0.0 0.5;
17147                rel1 {
17148                   relative: 0.0  0.0;
17149                   offset:   4    4;
17150                }
17151                rel2 {
17152                   relative: 0.0  1.0;
17153                   offset:   4   -5;
17154                }
17155             }
17156          }
17157          part { name: "elm.swallow.icon";
17158             clip_to: "disclip";
17159             type: SWALLOW;
17160             description { state: "default" 0.0;
17161                fixed: 1 0;
17162                align: 0.0 0.5;
17163                rel1 {
17164                   to_x: "elm.swallow.pad";
17165                   relative: 1.0  0.0;
17166                   offset:   -1    4;
17167                }
17168                rel2 {
17169                   to_x: "elm.swallow.pad";
17170                   relative: 1.0  1.0;
17171                   offset:   -1   -5;
17172                }
17173             }
17174          }
17175          part { name: "elm.swallow.end";
17176             clip_to: "disclip";
17177             type:          SWALLOW;
17178             description { state:    "default" 0.0;
17179                fixed: 1 0;
17180                align:    1.0 0.5;
17181                aspect: 1.0 1.0;
17182                aspect_preference: VERTICAL;
17183                rel1 {
17184                   relative: 1.0  0.0;
17185                   offset:   -5    4;
17186                }
17187                rel2 {
17188                   relative: 1.0  1.0;
17189                   offset:   -5   -5;
17190                }
17191             }
17192          }
17193          part { name: "elm.text";
17194             clip_to: "disclip";
17195             type:           TEXT;
17196             effect:         SOFT_SHADOW;
17197             mouse_events:   0;
17198             scale: 1;
17199             description {
17200                state: "default" 0.0;
17201 //               min:      16 16;
17202                rel1 {
17203                   to_x:     "elm.swallow.icon";
17204                   relative: 1.0  0.0;
17205                   offset:   0 4;
17206                }
17207                rel2 {
17208                   to_x:     "elm.swallow.end";
17209                   relative: 0.0  1.0;
17210                   offset:   -1 -5;
17211                }
17212                color: 0 0 0 255;
17213                color3: 0 0 0 0;
17214                text {
17215                   font: "Sans";
17216                   size: 10;
17217                   min: 1 1;
17218 //                  min: 0 1;
17219                   align: -1.0 0.5;
17220                   text_class: "list_item";
17221                }
17222             }
17223             description { state: "selected" 0.0;
17224                inherit: "default" 0.0;
17225                color: 224 224 224 255;
17226                color3: 0 0 0 64;
17227             }
17228          }
17229          part { name: "fg1";
17230             clip_to: "disclip";
17231             mouse_events: 0;
17232             description { state: "default" 0.0;
17233                visible: 0;
17234                color: 255 255 255 0;
17235                rel1.to: "bg";
17236                rel2.relative: 1.0 0.5;
17237                rel2.to: "bg";
17238                image {
17239                   normal: "bt_sm_hilight.png";
17240                   border: 6 6 6 0;
17241                }
17242             }
17243             description { state: "selected" 0.0;
17244                inherit: "default" 0.0;
17245                visible: 1;
17246                color: 255 255 255 255;
17247             }
17248          }
17249          part { name: "fg2";
17250             clip_to: "disclip";
17251             mouse_events: 0;
17252             description { state: "default" 0.0;
17253                visible: 0;
17254                color: 255 255 255 0;
17255                rel1.to: "bg";
17256                rel2.to: "bg";
17257                image {
17258                   normal: "bt_sm_shine.png";
17259                   border: 6 6 6 0;
17260                }
17261             }
17262             description { state: "selected" 0.0;
17263                inherit: "default" 0.0;
17264                visible: 1;
17265                color: 255 255 255 255;
17266             }
17267          }
17268          part { name: "disclip";
17269             type: RECT;
17270             description { state: "default" 0.0;
17271                rel1.to: "bg";
17272                rel2.to: "bg";
17273             }
17274             description { state: "disabled" 0.0;
17275                inherit: "default" 0.0;
17276                color: 255 255 255 64;
17277             }
17278          }
17279       }
17280       programs {
17281          // signal: elm,state,%s,active
17282          //   a "check" item named %s went active
17283          // signal: elm,state,%s,passive
17284          //   a "check" item named %s went passive
17285          // default is passive
17286          program {
17287             name:    "go_active";
17288             signal:  "elm,state,selected";
17289             source:  "elm";
17290             action:  STATE_SET "selected" 0.0;
17291             target:  "bg";
17292             target:  "fg1";
17293             target:  "fg2";
17294             target:  "elm.text";
17295          }
17296          program {
17297             name:    "go_passive";
17298             signal:  "elm,state,unselected";
17299             source:  "elm";
17300             action:  STATE_SET "default" 0.0;
17301             target:  "bg";
17302             target:  "fg1";
17303             target:  "fg2";
17304             target:  "elm.text";
17305             transition: LINEAR 0.1;
17306          }
17307          program {
17308             name:    "go_disabled";
17309             signal:  "elm,state,disabled";
17310             source:  "elm";
17311             action:  STATE_SET "disabled" 0.0;
17312             target:  "disclip";
17313          }
17314          program {
17315             name:    "go_enabled";
17316             signal:  "elm,state,enabled";
17317             source:  "elm";
17318             action:  STATE_SET "default" 0.0;
17319             target:  "disclip";
17320          }
17321       }
17322    }
17323    group { name: "elm/genlist/item_compress_odd/default/default";
17324       data.item: "stacking" "below";
17325       data.item: "selectraise" "on";
17326       data.item: "labels" "elm.text";
17327       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17328       data.item: "treesize" "20";
17329 //      data.item: "states" "";
17330       images {
17331          image: "bt_sm_base1.png" COMP;
17332          image: "bt_sm_shine.png" COMP;
17333          image: "bt_sm_hilight.png" COMP;
17334          image: "ilist_2.png" COMP;
17335       }
17336       parts {
17337          part { name: "event";
17338             type: RECT;
17339             repeat_events: 1;
17340             description {
17341                state: "default" 0.0;
17342                color: 0 0 0 0;
17343             }
17344          }
17345          part {
17346             name: "base";
17347             mouse_events: 0;
17348             description {
17349                state: "default" 0.0;
17350                image {
17351                   normal: "ilist_2.png";
17352                   border: 2 2 2 2;
17353                }
17354                fill.smooth: 0;
17355             }
17356          }
17357          part { name: "bg";
17358             clip_to: "disclip";
17359             mouse_events: 0;
17360             description { state: "default" 0.0;
17361                visible: 0;
17362                color: 255 255 255 0;
17363                rel1 {
17364                   relative: 0.0 0.0;
17365                   offset: -5 -5;
17366                }
17367                rel2 {
17368                   relative: 1.0 1.0;
17369                   offset: 4 4;
17370                }
17371                image {
17372                   normal: "bt_sm_base1.png";
17373                   border: 6 6 6 6;
17374                }
17375                image.middle: SOLID;
17376             }
17377             description { state: "selected" 0.0;
17378                inherit: "default" 0.0;
17379                visible: 1;
17380                color: 255 255 255 255;
17381                rel1 {
17382                   relative: 0.0 0.0;
17383                   offset: -2 -2;
17384                }
17385                rel2 {
17386                   relative: 1.0 1.0;
17387                   offset: 1 1;
17388                }
17389             }
17390          }
17391          part { name: "elm.swallow.pad";
17392             type: SWALLOW;
17393             description { state: "default" 0.0;
17394                fixed: 1 0;
17395                align: 0.0 0.5;
17396                rel1 {
17397                   relative: 0.0  0.0;
17398                   offset:   4    4;
17399                }
17400                rel2 {
17401                   relative: 0.0  1.0;
17402                   offset:   4   -5;
17403                }
17404             }
17405          }
17406          part { name: "elm.swallow.icon";
17407             clip_to: "disclip";
17408             type: SWALLOW;
17409             description { state: "default" 0.0;
17410                fixed: 1 0;
17411                align: 0.0 0.5;
17412                rel1 {
17413                   to_x: "elm.swallow.pad";
17414                   relative: 1.0  0.0;
17415                   offset:   -1    4;
17416                }
17417                rel2 {
17418                   to_x: "elm.swallow.pad";
17419                   relative: 1.0  1.0;
17420                   offset:   -1   -5;
17421                }
17422             }
17423          }
17424          part { name: "elm.swallow.end";
17425             clip_to: "disclip";
17426             type:          SWALLOW;
17427             description { state:    "default" 0.0;
17428                fixed: 1 0;
17429                align:    1.0 0.5;
17430                aspect: 1.0 1.0;
17431                aspect_preference: VERTICAL;
17432                rel1 {
17433                   relative: 1.0  0.0;
17434                   offset:   -5    4;
17435                }
17436                rel2 {
17437                   relative: 1.0  1.0;
17438                   offset:   -5   -5;
17439                }
17440             }
17441          }
17442          part { name: "elm.text";
17443             clip_to: "disclip";
17444             type:           TEXT;
17445             effect:         SOFT_SHADOW;
17446             mouse_events:   0;
17447             scale: 1;
17448             description {
17449                state: "default" 0.0;
17450 //               min:      16 16;
17451                rel1 {
17452                   to_x:     "elm.swallow.icon";
17453                   relative: 1.0  0.0;
17454                   offset:   0 4;
17455                }
17456                rel2 {
17457                   to_x:     "elm.swallow.end";
17458                   relative: 0.0  1.0;
17459                   offset:   -1 -5;
17460                }
17461                color: 0 0 0 255;
17462                color3: 0 0 0 0;
17463                text {
17464                   font: "Sans";
17465                   size: 10;
17466                   min: 0 1;
17467 //                  min: 1 1;
17468                   align: 0.0 0.5;
17469                   text_class: "list_item";
17470                }
17471             }
17472             description { state: "selected" 0.0;
17473                inherit: "default" 0.0;
17474                color: 224 224 224 255;
17475                color3: 0 0 0 64;
17476             }
17477          }
17478          part { name: "fg1";
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.to: "bg";
17485                rel2.relative: 1.0 0.5;
17486                rel2.to: "bg";
17487                image {
17488                   normal: "bt_sm_hilight.png";
17489                   border: 6 6 6 0;
17490                }
17491             }
17492             description { state: "selected" 0.0;
17493                inherit: "default" 0.0;
17494                visible: 1;
17495                color: 255 255 255 255;
17496             }
17497          }
17498          part { name: "fg2";
17499             clip_to: "disclip";
17500             mouse_events: 0;
17501             description { state: "default" 0.0;
17502                visible: 0;
17503                color: 255 255 255 0;
17504                rel1.to: "bg";
17505                rel2.to: "bg";
17506                image {
17507                   normal: "bt_sm_shine.png";
17508                   border: 6 6 6 0;
17509                }
17510             }
17511             description { state: "selected" 0.0;
17512                inherit: "default" 0.0;
17513                visible: 1;
17514                color: 255 255 255 255;
17515             }
17516          }
17517          part { name: "disclip";
17518             type: RECT;
17519             description { state: "default" 0.0;
17520                rel1.to: "bg";
17521                rel2.to: "bg";
17522             }
17523             description { state: "disabled" 0.0;
17524                inherit: "default" 0.0;
17525                color: 255 255 255 64;
17526             }
17527          }
17528       }
17529       programs {
17530          // signal: elm,state,%s,active
17531          //   a "check" item named %s went active
17532          // signal: elm,state,%s,passive
17533          //   a "check" item named %s went passive
17534          // default is passive
17535          program {
17536             name:    "go_active";
17537             signal:  "elm,state,selected";
17538             source:  "elm";
17539             action:  STATE_SET "selected" 0.0;
17540             target:  "bg";
17541             target:  "fg1";
17542             target:  "fg2";
17543             target:  "elm.text";
17544          }
17545          program {
17546             name:    "go_passive";
17547             signal:  "elm,state,unselected";
17548             source:  "elm";
17549             action:  STATE_SET "default" 0.0;
17550             target:  "bg";
17551             target:  "fg1";
17552             target:  "fg2";
17553             target:  "elm.text";
17554             transition: LINEAR 0.1;
17555          }
17556          program {
17557             name:    "go_disabled";
17558             signal:  "elm,state,disabled";
17559             source:  "elm";
17560             action:  STATE_SET "disabled" 0.0;
17561             target:  "disclip";
17562          }
17563          program {
17564             name:    "go_enabled";
17565             signal:  "elm,state,enabled";
17566             source:  "elm";
17567             action:  STATE_SET "default" 0.0;
17568             target:  "disclip";
17569          }
17570       }
17571    }
17572
17573    group { name: "elm/genlist/tree/default/default";
17574       data.item: "stacking" "above";
17575       data.item: "selectraise" "on";
17576       data.item: "labels" "elm.text";
17577       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17578       data.item: "treesize" "20";
17579 //      data.item: "states" "";
17580       images {
17581          image: "bt_sm_base1.png" COMP;
17582          image: "bt_sm_shine.png" COMP;
17583          image: "bt_sm_hilight.png" COMP;
17584          image: "ilist_1.png" COMP;
17585          image: "ilist_item_shadow.png" COMP;
17586          image: "icon_arrow_left.png" COMP;
17587          image: "icon_arrow_right.png" COMP;
17588          image: "icon_arrow_down.png" COMP;
17589       }
17590       parts {
17591          part {
17592             name:           "event";
17593             type:           RECT;
17594             repeat_events: 1;
17595             description {
17596                state: "default" 0.0;
17597                color: 0 0 0 0;
17598             }
17599          }
17600          part {
17601             name: "base_sh";
17602             mouse_events: 0;
17603             description {
17604                state: "default" 0.0;
17605                align: 0.0 0.0;
17606                min: 0 10;
17607                fixed: 1 1;
17608                rel1 {
17609                   to: "base";
17610                   relative: 0.0 1.0;
17611                   offset: 0 0;
17612                }
17613                rel2 {
17614                   to: "base";
17615                   relative: 1.0 1.0;
17616                   offset: -1 0;
17617                }
17618                image {
17619                   normal: "ilist_item_shadow.png";
17620                }
17621                fill.smooth: 0;
17622             }
17623          }
17624          part {
17625             name: "base";
17626             mouse_events: 0;
17627             description {
17628                state: "default" 0.0;
17629                image {
17630                   normal: "ilist_1.png";
17631                   border: 2 2 2 2;
17632                }
17633                fill.smooth: 0;
17634             }
17635          }
17636          part { name: "bg";
17637             clip_to: "disclip";
17638             mouse_events: 0;
17639             description { state: "default" 0.0;
17640                visible: 0;
17641                color: 255 255 255 0;
17642                rel1 {
17643                   relative: 0.0 0.0;
17644                   offset: -5 -5;
17645                }
17646                rel2 {
17647                   relative: 1.0 1.0;
17648                   offset: 4 4;
17649                }
17650                image {
17651                   normal: "bt_sm_base1.png";
17652                   border: 6 6 6 6;
17653                }
17654                image.middle: SOLID;
17655             }
17656             description { state: "selected" 0.0;
17657                inherit: "default" 0.0;
17658                visible: 1;
17659                color: 255 255 255 255;
17660                rel1 {
17661                   relative: 0.0 0.0;
17662                   offset: -2 -2;
17663                }
17664                rel2 {
17665                   relative: 1.0 1.0;
17666                   offset: 1 1;
17667                }
17668             }
17669          }
17670          part { name: "elm.swallow.pad";
17671             type: SWALLOW;
17672             description { state: "default" 0.0;
17673                fixed: 1 0;
17674                align: 0.0 0.5;
17675                rel1 {
17676                   relative: 0.0  0.0;
17677                   offset:   4    4;
17678                }
17679                rel2 {
17680                   relative: 0.0  1.0;
17681                   offset:   4   -5;
17682                }
17683             }
17684          }
17685          part { name: "arrow";
17686             clip_to: "disclip";
17687             ignore_flags: ON_HOLD;
17688             description { state: "default" 0.0;
17689                fixed: 1 0;
17690                align: 0.0 0.5;
17691                aspect: 1.0 1.0;
17692                rel1 {
17693                   to_x: "elm.swallow.pad";
17694                   relative: 1.0  0.0;
17695                   offset:   -1    4;
17696                }
17697                rel2 {
17698                   to_x: "elm.swallow.pad";
17699                   relative: 1.0  1.0;
17700                   offset:   -1   -5;
17701                }
17702                image.normal: "icon_arrow_right.png";
17703             }
17704             description { state: "default" 0.1;
17705                inherit: "default" 0.0;
17706                image.normal: "icon_arrow_left.png";
17707             }
17708             description { state: "active" 0.0;
17709                inherit: "default" 0.0;
17710                image.normal: "icon_arrow_down.png";
17711             }
17712             description { state: "active" 0.1;
17713                inherit: "default" 0.0;
17714                image.normal: "icon_arrow_down.png";
17715             }
17716          }
17717          part { name: "elm.swallow.icon";
17718             clip_to: "disclip";
17719             type: SWALLOW;
17720             description { state: "default" 0.0;
17721                fixed: 1 0;
17722                align: 0.0 0.5;
17723                rel1 {
17724                   to_x: "arrow";
17725                   relative: 1.0  0.0;
17726                   offset:   4    4;
17727                }
17728                rel2 {
17729                   to_x: "arrow";
17730                   relative: 1.0  1.0;
17731                   offset:   4   -5;
17732                }
17733             }
17734          }
17735          part { name: "elm.swallow.end";
17736             clip_to: "disclip";
17737             type: SWALLOW;
17738             description { state: "default" 0.0;
17739                fixed: 1 0;
17740                align: 1.0 0.5;
17741                aspect: 1.0 1.0;
17742                aspect_preference: VERTICAL;
17743                rel1 {
17744                   relative: 1.0  0.0;
17745                   offset:   -5    4;
17746                }
17747                rel2 {
17748                   relative: 1.0  1.0;
17749                   offset:   -5   -5;
17750                }
17751             }
17752          }
17753          part { name: "elm.text";
17754             clip_to: "disclip";
17755             type:           TEXT;
17756             effect:         SOFT_SHADOW;
17757             mouse_events:   0;
17758             scale: 1;
17759             description {
17760                state: "default" 0.0;
17761 //               min: 16 16;
17762                rel1 {
17763                   to_x:     "elm.swallow.icon";
17764                   relative: 1.0  0.0;
17765                   offset:   0 4;
17766                }
17767                rel2 {
17768                   to_x:     "elm.swallow.end";
17769                   relative: 0.0  1.0;
17770                   offset:   -1 -5;
17771                }
17772                color: 0 0 0 255;
17773                color3: 0 0 0 0;
17774                text {
17775                   font: "Sans";
17776                   size: 10;
17777                   min: 1 1;
17778 //                  min: 0 1;
17779                   align: -1.0 0.5;
17780                   text_class: "list_item";
17781                }
17782             }
17783             description { state: "selected" 0.0;
17784                inherit: "default" 0.0;
17785                color: 224 224 224 255;
17786                color3: 0 0 0 64;
17787             }
17788          }
17789          part { name: "fg1";
17790             clip_to: "disclip";
17791             mouse_events: 0;
17792             description { state: "default" 0.0;
17793                visible: 0;
17794                color: 255 255 255 0;
17795                rel1.to: "bg";
17796                rel2.relative: 1.0 0.5;
17797                rel2.to: "bg";
17798                image {
17799                   normal: "bt_sm_hilight.png";
17800                   border: 6 6 6 0;
17801                }
17802             }
17803             description { state: "selected" 0.0;
17804                inherit: "default" 0.0;
17805                visible: 1;
17806                color: 255 255 255 255;
17807             }
17808          }
17809          part { name: "fg2";
17810             clip_to: "disclip";
17811             mouse_events: 0;
17812             description { state: "default" 0.0;
17813                visible: 0;
17814                color: 255 255 255 0;
17815                rel1.to: "bg";
17816                rel2.to: "bg";
17817                image {
17818                   normal: "bt_sm_shine.png";
17819                   border: 6 6 6 0;
17820                }
17821             }
17822             description { state: "selected" 0.0;
17823                inherit: "default" 0.0;
17824                visible: 1;
17825                color: 255 255 255 255;
17826             }
17827          }
17828          part { name: "disclip";
17829             type: RECT;
17830             description { state: "default" 0.0;
17831                rel1.to: "bg";
17832                rel2.to: "bg";
17833             }
17834             description { state: "disabled" 0.0;
17835                inherit: "default" 0.0;
17836                color: 255 255 255 64;
17837             }
17838          }
17839       }
17840       programs {
17841          // signal: elm,state,%s,active
17842          //   a "check" item named %s went active
17843          // signal: elm,state,%s,passive
17844          //   a "check" item named %s went passive
17845          // default is passive
17846          program {
17847             name:    "go_active";
17848             signal:  "elm,state,selected";
17849             source:  "elm";
17850             action:  STATE_SET "selected" 0.0;
17851             target:  "bg";
17852             target:  "fg1";
17853             target:  "fg2";
17854             target:  "elm.text";
17855          }
17856          program {
17857             name:    "go_passive";
17858             signal:  "elm,state,unselected";
17859             source:  "elm";
17860             action:  STATE_SET "default" 0.0;
17861             target:  "bg";
17862             target:  "fg1";
17863             target:  "fg2";
17864             target:  "elm.text";
17865             transition: LINEAR 0.1;
17866          }
17867          program {
17868             name:    "go_disabled";
17869             signal:  "elm,state,disabled";
17870             source:  "elm";
17871             action:  STATE_SET "disabled" 0.0;
17872             target:  "disclip";
17873          }
17874          program {
17875             name:    "go_enabled";
17876             signal:  "elm,state,enabled";
17877             source:  "elm";
17878             action:  STATE_SET "default" 0.0;
17879             target:  "disclip";
17880          }
17881          program {
17882             name:    "expand";
17883             signal:  "mouse,up,1";
17884             source:  "arrow";
17885             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17886          }
17887          program {
17888             name:    "go_expanded";
17889             signal:  "elm,state,expanded";
17890             source:  "elm";
17891             script {
17892                new st[31];
17893                new Float:vl;
17894                get_state(PART:"arrow", st, 30, vl);
17895                set_state(PART:"arrow", "active", vl);
17896             }
17897          }
17898          program {
17899             name:    "go_contracted";
17900             signal:  "elm,state,contracted";
17901             source:  "elm";
17902             script {
17903                new st[31];
17904                new Float:vl;
17905                get_state(PART:"arrow", st, 30, vl);
17906                set_state(PART:"arrow", "default", vl);
17907             }
17908          }
17909          program { name: "to_rtl";
17910             signal: "edje,state,rtl";
17911             source: "edje";
17912             script {
17913                new st[31];
17914                new Float:vl;
17915                get_state(PART:"arrow", st, 30, vl);
17916                if (vl == 0.0) {
17917                   set_state(PART:"arrow", st, 0.1);
17918                }
17919             }
17920          }
17921          program { name: "to_ltr";
17922             signal: "edje,state,ltr";
17923             source: "edje";
17924             script {
17925                new st[31];
17926                new Float:vl;
17927                get_state(PART:"arrow", st, 30, vl);
17928                if (vl == 0.1) {
17929                   set_state(PART:"arrow", st, 0.0);
17930                }
17931             }
17932          }
17933       }
17934    }
17935    group { name: "elm/genlist/tree_compress/default/default";
17936       data.item: "stacking" "above";
17937       data.item: "selectraise" "on";
17938       data.item: "labels" "elm.text";
17939       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17940       data.item: "treesize" "20";
17941 //      data.item: "states" "";
17942       images {
17943          image: "bt_sm_base1.png" COMP;
17944          image: "bt_sm_shine.png" COMP;
17945          image: "bt_sm_hilight.png" COMP;
17946          image: "ilist_1.png" COMP;
17947          image: "ilist_item_shadow.png" COMP;
17948          image: "icon_arrow_left.png" COMP;
17949          image: "icon_arrow_right.png" COMP;
17950          image: "icon_arrow_down.png" COMP;
17951       }
17952       parts {
17953          part {
17954             name:           "event";
17955             type:           RECT;
17956             repeat_events: 1;
17957             description {
17958                state: "default" 0.0;
17959                color: 0 0 0 0;
17960             }
17961          }
17962          part {
17963             name: "base_sh";
17964             mouse_events: 0;
17965             description {
17966                state: "default" 0.0;
17967                align: 0.0 0.0;
17968                min: 0 10;
17969                fixed: 1 1;
17970                rel1 {
17971                   to: "base";
17972                   relative: 0.0 1.0;
17973                   offset: 0 0;
17974                }
17975                rel2 {
17976                   to: "base";
17977                   relative: 1.0 1.0;
17978                   offset: -1 0;
17979                }
17980                image {
17981                   normal: "ilist_item_shadow.png";
17982                }
17983                fill.smooth: 0;
17984             }
17985          }
17986          part {
17987             name: "base";
17988             mouse_events: 0;
17989             description {
17990                state: "default" 0.0;
17991                image {
17992                   normal: "ilist_1.png";
17993                   border: 2 2 2 2;
17994                }
17995                fill.smooth: 0;
17996             }
17997          }
17998          part { name: "bg";
17999             clip_to: "disclip";
18000             mouse_events: 0;
18001             description { state: "default" 0.0;
18002                visible: 0;
18003                color: 255 255 255 0;
18004                rel1 {
18005                   relative: 0.0 0.0;
18006                   offset: -5 -5;
18007                }
18008                rel2 {
18009                   relative: 1.0 1.0;
18010                   offset: 4 4;
18011                }
18012                image {
18013                   normal: "bt_sm_base1.png";
18014                   border: 6 6 6 6;
18015                }
18016                image.middle: SOLID;
18017             }
18018             description { state: "selected" 0.0;
18019                inherit: "default" 0.0;
18020                visible: 1;
18021                color: 255 255 255 255;
18022                rel1 {
18023                   relative: 0.0 0.0;
18024                   offset: -2 -2;
18025                }
18026                rel2 {
18027                   relative: 1.0 1.0;
18028                   offset: 1 1;
18029                }
18030             }
18031          }
18032          part { name: "elm.swallow.pad";
18033             type: SWALLOW;
18034             description { state: "default" 0.0;
18035                fixed: 1 0;
18036                align: 0.0 0.5;
18037                rel1 {
18038                   relative: 0.0  0.0;
18039                   offset:   4    4;
18040                }
18041                rel2 {
18042                   relative: 0.0  1.0;
18043                   offset:   4   -5;
18044                }
18045             }
18046          }
18047          part { name: "arrow";
18048             clip_to: "disclip";
18049             ignore_flags: ON_HOLD;
18050             description { state: "default" 0.0;
18051                fixed: 1 0;
18052                align: 0.0 0.5;
18053                aspect: 1.0 1.0;
18054                rel1 {
18055                   to_x: "elm.swallow.pad";
18056                   relative: 1.0  0.0;
18057                   offset:   -1    4;
18058                }
18059                rel2 {
18060                   to_x: "elm.swallow.pad";
18061                   relative: 1.0  1.0;
18062                   offset:   -1   -5;
18063                }
18064                image.normal: "icon_arrow_right.png";
18065             }
18066             description { state: "default" 0.1;
18067                inherit: "default" 0.0;
18068                image.normal: "icon_arrow_left.png";
18069             }
18070             description { state: "active" 0.0;
18071                inherit: "default" 0.0;
18072                image.normal: "icon_arrow_down.png";
18073             }
18074             description { state: "active" 0.1;
18075                inherit: "default" 0.0;
18076                image.normal: "icon_arrow_down.png";
18077             }
18078          }
18079          part { name: "elm.swallow.icon";
18080             clip_to: "disclip";
18081             type: SWALLOW;
18082             description { state: "default" 0.0;
18083                fixed: 1 0;
18084                align: 0.0 0.5;
18085                rel1 {
18086                   to_x: "arrow";
18087                   relative: 1.0  0.0;
18088                   offset:   4    4;
18089                }
18090                rel2 {
18091                   to_x: "arrow";
18092                   relative: 1.0  1.0;
18093                   offset:   4   -5;
18094                }
18095             }
18096          }
18097          part { name: "elm.swallow.end";
18098             clip_to: "disclip";
18099             type: SWALLOW;
18100             description { state: "default" 0.0;
18101                fixed: 1 0;
18102                align: 1.0 0.5;
18103                aspect: 1.0 1.0;
18104                aspect_preference: VERTICAL;
18105                rel1 {
18106                   relative: 1.0  0.0;
18107                   offset:   -5    4;
18108                }
18109                rel2 {
18110                   relative: 1.0  1.0;
18111                   offset:   -5   -5;
18112                }
18113             }
18114          }
18115          part { name: "elm.text";
18116             clip_to: "disclip";
18117             type:           TEXT;
18118             effect:         SOFT_SHADOW;
18119             mouse_events:   0;
18120             scale: 1;
18121             description {
18122                state: "default" 0.0;
18123 //               min: 16 16;
18124                rel1 {
18125                   to_x:     "elm.swallow.icon";
18126                   relative: 1.0  0.0;
18127                   offset:   0 4;
18128                }
18129                rel2 {
18130                   to_x:     "elm.swallow.end";
18131                   relative: 0.0  1.0;
18132                   offset:   -1 -5;
18133                }
18134                color: 0 0 0 255;
18135                color3: 0 0 0 0;
18136                text {
18137                   font: "Sans";
18138                   size: 10;
18139 //                  min: 1 1;
18140                   min: 0 1;
18141                   align: 0.0 0.5;
18142                   text_class: "list_item";
18143                }
18144             }
18145             description { state: "selected" 0.0;
18146                inherit: "default" 0.0;
18147                color: 224 224 224 255;
18148                color3: 0 0 0 64;
18149             }
18150          }
18151          part { name: "fg1";
18152             clip_to: "disclip";
18153             mouse_events: 0;
18154             description { state: "default" 0.0;
18155                visible: 0;
18156                color: 255 255 255 0;
18157                rel1.to: "bg";
18158                rel2.relative: 1.0 0.5;
18159                rel2.to: "bg";
18160                image {
18161                   normal: "bt_sm_hilight.png";
18162                   border: 6 6 6 0;
18163                }
18164             }
18165             description { state: "selected" 0.0;
18166                inherit: "default" 0.0;
18167                visible: 1;
18168                color: 255 255 255 255;
18169             }
18170          }
18171          part { name: "fg2";
18172             clip_to: "disclip";
18173             mouse_events: 0;
18174             description { state: "default" 0.0;
18175                visible: 0;
18176                color: 255 255 255 0;
18177                rel1.to: "bg";
18178                rel2.to: "bg";
18179                image {
18180                   normal: "bt_sm_shine.png";
18181                   border: 6 6 6 0;
18182                }
18183             }
18184             description { state: "selected" 0.0;
18185                inherit: "default" 0.0;
18186                visible: 1;
18187                color: 255 255 255 255;
18188             }
18189          }
18190          part { name: "disclip";
18191             type: RECT;
18192             description { state: "default" 0.0;
18193                rel1.to: "bg";
18194                rel2.to: "bg";
18195             }
18196             description { state: "disabled" 0.0;
18197                inherit: "default" 0.0;
18198                color: 255 255 255 64;
18199             }
18200          }
18201       }
18202       programs {
18203          // signal: elm,state,%s,active
18204          //   a "check" item named %s went active
18205          // signal: elm,state,%s,passive
18206          //   a "check" item named %s went passive
18207          // default is passive
18208          program {
18209             name:    "go_active";
18210             signal:  "elm,state,selected";
18211             source:  "elm";
18212             action:  STATE_SET "selected" 0.0;
18213             target:  "bg";
18214             target:  "fg1";
18215             target:  "fg2";
18216             target:  "elm.text";
18217          }
18218          program {
18219             name:    "go_passive";
18220             signal:  "elm,state,unselected";
18221             source:  "elm";
18222             action:  STATE_SET "default" 0.0;
18223             target:  "bg";
18224             target:  "fg1";
18225             target:  "fg2";
18226             target:  "elm.text";
18227             transition: LINEAR 0.1;
18228          }
18229          program {
18230             name:    "go_disabled";
18231             signal:  "elm,state,disabled";
18232             source:  "elm";
18233             action:  STATE_SET "disabled" 0.0;
18234             target:  "disclip";
18235          }
18236          program {
18237             name:    "go_enabled";
18238             signal:  "elm,state,enabled";
18239             source:  "elm";
18240             action:  STATE_SET "default" 0.0;
18241             target:  "disclip";
18242          }
18243          program {
18244             name:    "expand";
18245             signal:  "mouse,up,1";
18246             source:  "arrow";
18247             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18248          }
18249          program {
18250             name:    "go_expanded";
18251             signal:  "elm,state,expanded";
18252             source:  "elm";
18253             script {
18254                new st[31];
18255                new Float:vl;
18256                get_state(PART:"arrow", st, 30, vl);
18257                set_state(PART:"arrow", "active", vl);
18258             }
18259          }
18260          program {
18261             name:    "go_contracted";
18262             signal:  "elm,state,contracted";
18263             source:  "elm";
18264             script {
18265                new st[31];
18266                new Float:vl;
18267                get_state(PART:"arrow", st, 30, vl);
18268                set_state(PART:"arrow", "default", vl);
18269             }
18270          }
18271          program { name: "to_rtl";
18272             signal: "edje,state,rtl";
18273             source: "edje";
18274             script {
18275                new st[31];
18276                new Float:vl;
18277                get_state(PART:"arrow", st, 30, vl);
18278                if (vl == 0.0) {
18279                   set_state(PART:"arrow", st, 0.1);
18280                }
18281             }
18282          }
18283          program { name: "to_ltr";
18284             signal: "edje,state,ltr";
18285             source: "edje";
18286             script {
18287                new st[31];
18288                new Float:vl;
18289                get_state(PART:"arrow", st, 30, vl);
18290                if (vl == 0.1) {
18291                   set_state(PART:"arrow", st, 0.0);
18292                }
18293             }
18294          }
18295       }
18296    }
18297    group { name: "elm/genlist/tree_odd/default/default";
18298       data.item: "stacking" "below";
18299       data.item: "selectraise" "on";
18300       data.item: "labels" "elm.text";
18301       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18302       data.item: "treesize" "20";
18303 //      data.item: "states" "";
18304       images {
18305          image: "bt_sm_base1.png" COMP;
18306          image: "bt_sm_shine.png" COMP;
18307          image: "bt_sm_hilight.png" COMP;
18308          image: "ilist_2.png" COMP;
18309          image: "icon_arrow_left.png" COMP;
18310          image: "icon_arrow_right.png" COMP;
18311          image: "icon_arrow_down.png" COMP;
18312       }
18313       parts {
18314          part {
18315             name:           "event";
18316             type:           RECT;
18317             repeat_events: 1;
18318             description {
18319                state: "default" 0.0;
18320                color: 0 0 0 0;
18321             }
18322          }
18323          part {
18324             name: "base";
18325             mouse_events: 0;
18326             description {
18327                state: "default" 0.0;
18328                image {
18329                   normal: "ilist_2.png";
18330                   border: 2 2 2 2;
18331                }
18332                fill.smooth: 0;
18333             }
18334          }
18335          part { name: "bg";
18336             clip_to: "disclip";
18337             mouse_events: 0;
18338             description { state: "default" 0.0;
18339                visible: 0;
18340                color: 255 255 255 0;
18341                rel1 {
18342                   relative: 0.0 0.0;
18343                   offset: -5 -5;
18344                }
18345                rel2 {
18346                   relative: 1.0 1.0;
18347                   offset: 4 4;
18348                }
18349                image {
18350                   normal: "bt_sm_base1.png";
18351                   border: 6 6 6 6;
18352                }
18353                image.middle: SOLID;
18354             }
18355             description { state: "selected" 0.0;
18356                inherit: "default" 0.0;
18357                visible: 1;
18358                color: 255 255 255 255;
18359                rel1 {
18360                   relative: 0.0 0.0;
18361                   offset: -2 -2;
18362                }
18363                rel2 {
18364                   relative: 1.0 1.0;
18365                   offset: 1 1;
18366                }
18367             }
18368          }
18369          part { name: "elm.swallow.pad";
18370             type: SWALLOW;
18371             description { state: "default" 0.0;
18372                fixed: 1 0;
18373                align: 0.0 0.5;
18374                rel1 {
18375                   relative: 0.0  0.0;
18376                   offset:   4    4;
18377                }
18378                rel2 {
18379                   relative: 0.0  1.0;
18380                   offset:   4   -5;
18381                }
18382             }
18383          }
18384          part { name: "arrow";
18385             clip_to: "disclip";
18386             ignore_flags: ON_HOLD;
18387             description { state: "default" 0.0;
18388                fixed: 1 0;
18389                align: 0.0 0.5;
18390                aspect: 1.0 1.0;
18391                rel1 {
18392                   to_x: "elm.swallow.pad";
18393                   relative: 1.0  0.0;
18394                   offset:   -1    4;
18395                }
18396                rel2 {
18397                   to_x: "elm.swallow.pad";
18398                   relative: 1.0  1.0;
18399                   offset:   -1   -5;
18400                }
18401                image.normal: "icon_arrow_right.png";
18402             }
18403             description { state: "default" 0.1;
18404                inherit: "default" 0.0;
18405                image.normal: "icon_arrow_left.png";
18406             }
18407             description { state: "active" 0.0;
18408                inherit: "default" 0.0;
18409                image.normal: "icon_arrow_down.png";
18410             }
18411             description { state: "active" 0.1;
18412                inherit: "default" 0.0;
18413                image.normal: "icon_arrow_down.png";
18414             }
18415          }
18416          part { name: "elm.swallow.icon";
18417             clip_to: "disclip";
18418             type: SWALLOW;
18419             description { state: "default" 0.0;
18420                fixed: 1 0;
18421                align: 0.0 0.5;
18422                rel1 {
18423                   to_x: "arrow";
18424                   relative: 1.0  0.0;
18425                   offset:   4    4;
18426                }
18427                rel2 {
18428                   to_x: "arrow";
18429                   relative: 1.0  1.0;
18430                   offset:   4   -5;
18431                }
18432             }
18433          }
18434          part { name: "elm.swallow.end";
18435             clip_to: "disclip";
18436             type: SWALLOW;
18437             description { state: "default" 0.0;
18438                fixed: 1 0;
18439                align: 1.0 0.5;
18440                aspect: 1.0 1.0;
18441                aspect_preference: VERTICAL;
18442                rel1 {
18443                   relative: 1.0  0.0;
18444                   offset:   -5    4;
18445                }
18446                rel2 {
18447                   relative: 1.0  1.0;
18448                   offset:   -5   -5;
18449                }
18450             }
18451          }
18452          part { name: "elm.text";
18453             clip_to: "disclip";
18454             type:           TEXT;
18455             effect:         SOFT_SHADOW;
18456             mouse_events:   0;
18457             scale: 1;
18458             description {
18459                state: "default" 0.0;
18460 //               min: 16 16;
18461                rel1 {
18462                   to_x:     "elm.swallow.icon";
18463                   relative: 1.0  0.0;
18464                   offset:   0 4;
18465                }
18466                rel2 {
18467                   to_x:     "elm.swallow.end";
18468                   relative: 0.0  1.0;
18469                   offset:   -1 -5;
18470                }
18471                color: 0 0 0 255;
18472                color3: 0 0 0 0;
18473                text {
18474                   font: "Sans";
18475                   size: 10;
18476                   min: 1 1;
18477 //                  min: 0 1;
18478                   align: -1.0 0.5;
18479                   text_class: "list_item";
18480                }
18481             }
18482             description { state: "selected" 0.0;
18483                inherit: "default" 0.0;
18484                color: 224 224 224 255;
18485                color3: 0 0 0 64;
18486             }
18487          }
18488          part { name: "fg1";
18489             clip_to: "disclip";
18490             mouse_events: 0;
18491             description { state: "default" 0.0;
18492                visible: 0;
18493                color: 255 255 255 0;
18494                rel1.to: "bg";
18495                rel2.relative: 1.0 0.5;
18496                rel2.to: "bg";
18497                image {
18498                   normal: "bt_sm_hilight.png";
18499                   border: 6 6 6 0;
18500                }
18501             }
18502             description { state: "selected" 0.0;
18503                inherit: "default" 0.0;
18504                visible: 1;
18505                color: 255 255 255 255;
18506             }
18507          }
18508          part { name: "fg2";
18509             clip_to: "disclip";
18510             mouse_events: 0;
18511             description { state: "default" 0.0;
18512                visible: 0;
18513                color: 255 255 255 0;
18514                rel1.to: "bg";
18515                rel2.to: "bg";
18516                image {
18517                   normal: "bt_sm_shine.png";
18518                   border: 6 6 6 0;
18519                }
18520             }
18521             description { state: "selected" 0.0;
18522                inherit: "default" 0.0;
18523                visible: 1;
18524                color: 255 255 255 255;
18525             }
18526          }
18527          part { name: "disclip";
18528             type: RECT;
18529             description { state: "default" 0.0;
18530                rel1.to: "bg";
18531                rel2.to: "bg";
18532             }
18533             description { state: "disabled" 0.0;
18534                inherit: "default" 0.0;
18535                color: 255 255 255 64;
18536             }
18537          }
18538       }
18539       programs {
18540          // signal: elm,state,%s,active
18541          //   a "check" item named %s went active
18542          // signal: elm,state,%s,passive
18543          //   a "check" item named %s went passive
18544          // default is passive
18545          program {
18546             name:    "go_active";
18547             signal:  "elm,state,selected";
18548             source:  "elm";
18549             action:  STATE_SET "selected" 0.0;
18550             target:  "bg";
18551             target:  "fg1";
18552             target:  "fg2";
18553             target:  "elm.text";
18554          }
18555          program {
18556             name:    "go_passive";
18557             signal:  "elm,state,unselected";
18558             source:  "elm";
18559             action:  STATE_SET "default" 0.0;
18560             target:  "bg";
18561             target:  "fg1";
18562             target:  "fg2";
18563             target:  "elm.text";
18564             transition: LINEAR 0.1;
18565          }
18566          program {
18567             name:    "go_disabled";
18568             signal:  "elm,state,disabled";
18569             source:  "elm";
18570             action:  STATE_SET "disabled" 0.0;
18571             target:  "disclip";
18572          }
18573          program {
18574             name:    "go_enabled";
18575             signal:  "elm,state,enabled";
18576             source:  "elm";
18577             action:  STATE_SET "default" 0.0;
18578             target:  "disclip";
18579          }
18580          program {
18581             name:    "expand";
18582             signal:  "mouse,up,1";
18583             source:  "arrow";
18584             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18585          }
18586          program {
18587             name:    "go_expanded";
18588             signal:  "elm,state,expanded";
18589             source:  "elm";
18590             script {
18591                new st[31];
18592                new Float:vl;
18593                get_state(PART:"arrow", st, 30, vl);
18594                set_state(PART:"arrow", "active", vl);
18595             }
18596          }
18597          program {
18598             name:    "go_contracted";
18599             signal:  "elm,state,contracted";
18600             source:  "elm";
18601             script {
18602                new st[31];
18603                new Float:vl;
18604                get_state(PART:"arrow", st, 30, vl);
18605                set_state(PART:"arrow", "default", vl);
18606             }
18607          }
18608          program { name: "to_rtl";
18609             signal: "edje,state,rtl";
18610             source: "edje";
18611             script {
18612                new st[31];
18613                new Float:vl;
18614                get_state(PART:"arrow", st, 30, vl);
18615                if (vl == 0.0) {
18616                   set_state(PART:"arrow", st, 0.1);
18617                }
18618             }
18619          }
18620          program { name: "to_ltr";
18621             signal: "edje,state,ltr";
18622             source: "edje";
18623             script {
18624                new st[31];
18625                new Float:vl;
18626                get_state(PART:"arrow", st, 30, vl);
18627                if (vl == 0.1) {
18628                   set_state(PART:"arrow", st, 0.0);
18629                }
18630             }
18631          }
18632       }
18633    }
18634    group { name: "elm/genlist/tree_compress_odd/default/default";
18635       data.item: "stacking" "below";
18636       data.item: "selectraise" "on";
18637       data.item: "labels" "elm.text";
18638       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18639       data.item: "treesize" "20";
18640 //      data.item: "states" "";
18641       images {
18642          image: "bt_sm_base1.png" COMP;
18643          image: "bt_sm_shine.png" COMP;
18644          image: "bt_sm_hilight.png" COMP;
18645          image: "ilist_2.png" COMP;
18646          image: "icon_arrow_left.png" COMP;
18647          image: "icon_arrow_right.png" COMP;
18648          image: "icon_arrow_down.png" COMP;
18649       }
18650       parts {
18651          part {
18652             name:           "event";
18653             type:           RECT;
18654             repeat_events: 1;
18655             description {
18656                state: "default" 0.0;
18657                color: 0 0 0 0;
18658             }
18659          }
18660          part {
18661             name: "base";
18662             mouse_events: 0;
18663             description {
18664                state: "default" 0.0;
18665                image {
18666                   normal: "ilist_2.png";
18667                   border: 2 2 2 2;
18668                }
18669                fill.smooth: 0;
18670             }
18671          }
18672          part { name: "bg";
18673             clip_to: "disclip";
18674             mouse_events: 0;
18675             description { state: "default" 0.0;
18676                visible: 0;
18677                color: 255 255 255 0;
18678                rel1 {
18679                   relative: 0.0 0.0;
18680                   offset: -5 -5;
18681                }
18682                rel2 {
18683                   relative: 1.0 1.0;
18684                   offset: 4 4;
18685                }
18686                image {
18687                   normal: "bt_sm_base1.png";
18688                   border: 6 6 6 6;
18689                }
18690                image.middle: SOLID;
18691             }
18692             description { state: "selected" 0.0;
18693                inherit: "default" 0.0;
18694                visible: 1;
18695                color: 255 255 255 255;
18696                rel1 {
18697                   relative: 0.0 0.0;
18698                   offset: -2 -2;
18699                }
18700                rel2 {
18701                   relative: 1.0 1.0;
18702                   offset: 1 1;
18703                }
18704             }
18705          }
18706          part { name: "elm.swallow.pad";
18707             type: SWALLOW;
18708             description { state: "default" 0.0;
18709                fixed: 1 0;
18710                align: 0.0 0.5;
18711                rel1 {
18712                   relative: 0.0  0.0;
18713                   offset:   4    4;
18714                }
18715                rel2 {
18716                   relative: 0.0  1.0;
18717                   offset:   4   -5;
18718                }
18719             }
18720          }
18721          part { name: "arrow";
18722             clip_to: "disclip";
18723             ignore_flags: ON_HOLD;
18724             description { state: "default" 0.0;
18725                fixed: 1 0;
18726                align: 0.0 0.5;
18727                aspect: 1.0 1.0;
18728                rel1 {
18729                   to_x: "elm.swallow.pad";
18730                   relative: 1.0  0.0;
18731                   offset:   -1    4;
18732                }
18733                rel2 {
18734                   to_x: "elm.swallow.pad";
18735                   relative: 1.0  1.0;
18736                   offset:   -1   -5;
18737                }
18738                image.normal: "icon_arrow_right.png";
18739             }
18740             description { state: "default" 0.1;
18741                inherit: "default" 0.0;
18742                image.normal: "icon_arrow_left.png";
18743             }
18744             description { state: "active" 0.0;
18745                inherit: "default" 0.0;
18746                image.normal: "icon_arrow_down.png";
18747             }
18748             description { state: "active" 0.1;
18749                inherit: "default" 0.0;
18750                image.normal: "icon_arrow_down.png";
18751             }
18752          }
18753          part { name: "elm.swallow.icon";
18754             clip_to: "disclip";
18755             type: SWALLOW;
18756             description { state: "default" 0.0;
18757                fixed: 1 0;
18758                align: 0.0 0.5;
18759                rel1 {
18760                   to_x: "arrow";
18761                   relative: 1.0  0.0;
18762                   offset:   4    4;
18763                }
18764                rel2 {
18765                   to_x: "arrow";
18766                   relative: 1.0  1.0;
18767                   offset:   4   -5;
18768                }
18769             }
18770          }
18771          part { name: "elm.swallow.end";
18772             clip_to: "disclip";
18773             type: SWALLOW;
18774             description { state: "default" 0.0;
18775                fixed: 1 0;
18776                align: 1.0 0.5;
18777                aspect: 1.0 1.0;
18778                aspect_preference: VERTICAL;
18779                rel1 {
18780                   relative: 1.0  0.0;
18781                   offset:   -5    4;
18782                }
18783                rel2 {
18784                   relative: 1.0  1.0;
18785                   offset:   -5   -5;
18786                }
18787             }
18788          }
18789          part { name: "elm.text";
18790             clip_to: "disclip";
18791             type:           TEXT;
18792             effect:         SOFT_SHADOW;
18793             mouse_events:   0;
18794             scale: 1;
18795             description {
18796                state: "default" 0.0;
18797 //               min: 16 16;
18798                rel1 {
18799                   to_x:     "elm.swallow.icon";
18800                   relative: 1.0  0.0;
18801                   offset:   0 4;
18802                }
18803                rel2 {
18804                   to_x:     "elm.swallow.end";
18805                   relative: 0.0  1.0;
18806                   offset:   -1 -5;
18807                }
18808                color: 0 0 0 255;
18809                color3: 0 0 0 0;
18810                text {
18811                   font: "Sans";
18812                   size: 10;
18813 //                  min: 1 1;
18814                   min: 0 1;
18815                   align: 0.0 0.5;
18816                   text_class: "list_item";
18817                }
18818             }
18819             description { state: "selected" 0.0;
18820                inherit: "default" 0.0;
18821                color: 224 224 224 255;
18822                color3: 0 0 0 64;
18823             }
18824          }
18825          part { name: "fg1";
18826             clip_to: "disclip";
18827             mouse_events: 0;
18828             description { state: "default" 0.0;
18829                visible: 0;
18830                color: 255 255 255 0;
18831                rel1.to: "bg";
18832                rel2.relative: 1.0 0.5;
18833                rel2.to: "bg";
18834                image {
18835                   normal: "bt_sm_hilight.png";
18836                   border: 6 6 6 0;
18837                }
18838             }
18839             description { state: "selected" 0.0;
18840                inherit: "default" 0.0;
18841                visible: 1;
18842                color: 255 255 255 255;
18843             }
18844          }
18845          part { name: "fg2";
18846             clip_to: "disclip";
18847             mouse_events: 0;
18848             description { state: "default" 0.0;
18849                visible: 0;
18850                color: 255 255 255 0;
18851                rel1.to: "bg";
18852                rel2.to: "bg";
18853                image {
18854                   normal: "bt_sm_shine.png";
18855                   border: 6 6 6 0;
18856                }
18857             }
18858             description { state: "selected" 0.0;
18859                inherit: "default" 0.0;
18860                visible: 1;
18861                color: 255 255 255 255;
18862             }
18863          }
18864          part { name: "disclip";
18865             type: RECT;
18866             description { state: "default" 0.0;
18867                rel1.to: "bg";
18868                rel2.to: "bg";
18869             }
18870             description { state: "disabled" 0.0;
18871                inherit: "default" 0.0;
18872                color: 255 255 255 64;
18873             }
18874          }
18875       }
18876       programs {
18877          // signal: elm,state,%s,active
18878          //   a "check" item named %s went active
18879          // signal: elm,state,%s,passive
18880          //   a "check" item named %s went passive
18881          // default is passive
18882          program {
18883             name:    "go_active";
18884             signal:  "elm,state,selected";
18885             source:  "elm";
18886             action:  STATE_SET "selected" 0.0;
18887             target:  "bg";
18888             target:  "fg1";
18889             target:  "fg2";
18890             target:  "elm.text";
18891          }
18892          program {
18893             name:    "go_passive";
18894             signal:  "elm,state,unselected";
18895             source:  "elm";
18896             action:  STATE_SET "default" 0.0;
18897             target:  "bg";
18898             target:  "fg1";
18899             target:  "fg2";
18900             target:  "elm.text";
18901             transition: LINEAR 0.1;
18902          }
18903          program {
18904             name:    "go_disabled";
18905             signal:  "elm,state,disabled";
18906             source:  "elm";
18907             action:  STATE_SET "disabled" 0.0;
18908             target:  "disclip";
18909          }
18910          program {
18911             name:    "go_enabled";
18912             signal:  "elm,state,enabled";
18913             source:  "elm";
18914             action:  STATE_SET "default" 0.0;
18915             target:  "disclip";
18916          }
18917          program {
18918             name:    "expand";
18919             signal:  "mouse,up,1";
18920             source:  "arrow";
18921             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18922          }
18923          program {
18924             name:    "go_expanded";
18925             signal:  "elm,state,expanded";
18926             source:  "elm";
18927             script {
18928                new st[31];
18929                new Float:vl;
18930                get_state(PART:"arrow", st, 30, vl);
18931                set_state(PART:"arrow", "active", vl);
18932             }
18933          }
18934          program {
18935             name:    "go_contracted";
18936             signal:  "elm,state,contracted";
18937             source:  "elm";
18938             script {
18939                new st[31];
18940                new Float:vl;
18941                get_state(PART:"arrow", st, 30, vl);
18942                set_state(PART:"arrow", "default", vl);
18943             }
18944          }
18945          program { name: "to_rtl";
18946             signal: "edje,state,rtl";
18947             source: "edje";
18948             script {
18949                new st[31];
18950                new Float:vl;
18951                get_state(PART:"arrow", st, 30, vl);
18952                if (vl == 0.0) {
18953                   set_state(PART:"arrow", st, 0.1);
18954                }
18955             }
18956          }
18957          program { name: "to_ltr";
18958             signal: "edje,state,ltr";
18959             source: "edje";
18960             script {
18961                new st[31];
18962                new Float:vl;
18963                get_state(PART:"arrow", st, 30, vl);
18964                if (vl == 0.1) {
18965                   set_state(PART:"arrow", st, 0.0);
18966                }
18967             }
18968          }
18969       }
18970    }
18971
18972    group { name: "elm/genlist/item/default_style/default";
18973        styles
18974        {
18975            style { name: "genlist_style";
18976                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18977                tag:  "br" "\n";
18978                tag:  "ps" "ps";
18979                tag:  "hilight" "+ font=Sans:style=Bold";
18980                tag:  "b" "+ font=Sans:style=Bold";
18981                tag:  "tab" "\t";
18982            }
18983            style { name: "genlist_selected_style";
18984                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18985                tag:  "br" "\n";
18986                tag:  "ps" "ps";
18987                tag:  "hilight" "+ font=Sans:style=Bold";
18988                tag:  "b" "+ font=Sans:style=Bold";
18989                tag:  "tab" "\t";
18990            }
18991        }
18992        data.item: "stacking" "above";
18993        data.item: "selectraise" "on";
18994        data.item: "labels" "elm.text";
18995        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18996        data.item: "treesize" "20";
18997        images {
18998            image: "bt_sm_base1.png" COMP;
18999            image: "bt_sm_shine.png" COMP;
19000            image: "bt_sm_hilight.png" COMP;
19001            image: "ilist_1.png" COMP;
19002            image: "ilist_item_shadow.png" COMP;
19003        }
19004        parts {
19005            part {
19006                name:           "event";
19007                type:           RECT;
19008                repeat_events: 1;
19009                description {
19010                    state: "default" 0.0;
19011                    color: 0 0 0 0;
19012                }
19013            }
19014            part {
19015                name: "base_sh";
19016                mouse_events: 0;
19017                description {
19018                    state: "default" 0.0;
19019                    align: 0.0 0.0;
19020                    min: 0 10;
19021                    fixed: 1 1;
19022                    rel1 {
19023                        to: "base";
19024                        relative: 0.0 1.0;
19025                        offset: 0 0;
19026                    }
19027                    rel2 {
19028                        to: "base";
19029                        relative: 1.0 1.0;
19030                        offset: -1 0;
19031                    }
19032                    image {
19033                        normal: "ilist_item_shadow.png";
19034                    }
19035                    fill.smooth: 0;
19036                }
19037            }
19038            part {
19039                name: "base";
19040                mouse_events: 0;
19041                description {
19042                    state: "default" 0.0;
19043                    min: 16 28;
19044                    image {
19045                        normal: "ilist_1.png";
19046                        border: 2 2 2 2;
19047                    }
19048                    fill.smooth: 0;
19049                }
19050            }
19051            part { name: "bg";
19052                clip_to: "disclip";
19053                mouse_events: 0;
19054                description { state: "default" 0.0;
19055                    visible: 0;
19056                    color: 255 255 255 0;
19057                    rel1 {
19058                        relative: 0.0 0.0;
19059                        offset: -5 -5;
19060                    }
19061                    rel2 {
19062                        relative: 1.0 1.0;
19063                        offset: 4 4;
19064                    }
19065                    image {
19066                        normal: "bt_sm_base1.png";
19067                        border: 6 6 6 6;
19068                    }
19069                    image.middle: SOLID;
19070                }
19071                description { state: "selected" 0.0;
19072                    inherit: "default" 0.0;
19073                    visible: 1;
19074                    color: 255 255 255 255;
19075                    rel1 {
19076                        relative: 0.0 0.0;
19077                        offset: -2 -2;
19078                    }
19079                    rel2 {
19080                        relative: 1.0 1.0;
19081                        offset: 1 1;
19082                    }
19083                }
19084            }
19085            part { name: "elm.swallow.pad";
19086                type: SWALLOW;
19087                description { state: "default" 0.0;
19088                    fixed: 1 0;
19089                    align: 0.0 0.5;
19090                    rel1 {
19091                        relative: 0.0  0.0;
19092                        offset:   4    4;
19093                    }
19094                    rel2 {
19095                        relative: 0.0  1.0;
19096                        offset:   4   -5;
19097                    }
19098                }
19099            }
19100            part { name: "elm.swallow.icon";
19101                clip_to: "disclip";
19102                type: SWALLOW;
19103                description { state: "default" 0.0;
19104                    fixed: 1 0;
19105                    align: 0.0 0.5;
19106                    rel1 {
19107                        to_x: "elm.swallow.pad";
19108                        relative: 1.0  0.0;
19109                        offset:   -1    4;
19110                    }
19111                    rel2 {
19112                        to_x: "elm.swallow.pad";
19113                        relative: 1.0  1.0;
19114                        offset:   -1   -5;
19115                    }
19116                }
19117            }
19118            part { name: "elm.swallow.end";
19119                clip_to: "disclip";
19120                type: SWALLOW;
19121                description { state: "default" 0.0;
19122                    fixed: 1 0;
19123                    align: 1.0 0.5;
19124                    aspect: 1.0 1.0;
19125                    aspect_preference: VERTICAL;
19126                    rel1 {
19127                        relative: 1.0  0.0;
19128                        offset:   -5    4;
19129                    }
19130                    rel2 {
19131                        relative: 1.0  1.0;
19132                        offset:   -5   -5;
19133                    }
19134                }
19135            }
19136            part { name: "elm.text";
19137                clip_to: "disclip";
19138                type: TEXTBLOCK;
19139                mouse_events: 0;
19140                scale: 1;
19141                description {
19142                    state: "default" 0.0;
19143                    align: 0.0 0.5;
19144                    fixed: 0 1;
19145                    rel1 {
19146                        to_x: "elm.swallow.icon";
19147                        to_y: "base";
19148                        relative: 1.0  0.5;
19149                        offset:   0 4;
19150                    }
19151                    rel2 {
19152                        to_x: "elm.swallow.end";
19153                        to_y: "base";
19154                        relative: 0.0  0.5;
19155                        offset:   -1 -5;
19156                    }
19157                    text {
19158                        style: "genlist_style";
19159                        min: 1 1;
19160                    }
19161                }
19162                description { state: "selected" 0.0;
19163                    inherit: "default" 0.0;
19164                    text {
19165                        style: "genlist_selected_style";
19166                    }
19167                }
19168            }
19169            part { name: "fg1";
19170                clip_to: "disclip";
19171                mouse_events: 0;
19172                description { state: "default" 0.0;
19173                    visible: 0;
19174                    color: 255 255 255 0;
19175                    rel1.to: "bg";
19176                    rel2.relative: 1.0 0.5;
19177                    rel2.to: "bg";
19178                    image {
19179                        normal: "bt_sm_hilight.png";
19180                        border: 6 6 6 0;
19181                    }
19182                }
19183                description { state: "selected" 0.0;
19184                    inherit: "default" 0.0;
19185                    visible: 1;
19186                    color: 255 255 255 255;
19187                }
19188            }
19189            part { name: "fg2";
19190                clip_to: "disclip";
19191                mouse_events: 0;
19192                description { state: "default" 0.0;
19193                    visible: 0;
19194                    color: 255 255 255 0;
19195                    rel1.to: "bg";
19196                    rel2.to: "bg";
19197                    image {
19198                        normal: "bt_sm_shine.png";
19199                        border: 6 6 6 0;
19200                    }
19201                }
19202                description { state: "selected" 0.0;
19203                    inherit: "default" 0.0;
19204                    visible: 1;
19205                    color: 255 255 255 255;
19206                }
19207            }
19208            part { name: "disclip";
19209                type: RECT;
19210                description { state: "default" 0.0;
19211                    rel1.to: "bg";
19212                    rel2.to: "bg";
19213                }
19214                description { state: "disabled" 0.0;
19215                    inherit: "default" 0.0;
19216                    color: 255 255 255 64;
19217                }
19218            }
19219        }
19220        programs {
19221            // signal: elm,state,%s,active
19222            //   a "check" item named %s went active
19223            // signal: elm,state,%s,passive
19224            //   a "check" item named %s went passive
19225            // default is passive
19226            program {
19227                name:    "go_active";
19228                signal:  "elm,state,selected";
19229                source:  "elm";
19230                action:  STATE_SET "selected" 0.0;
19231                target:  "bg";
19232                target:  "fg1";
19233                target:  "fg2";
19234                target:  "elm.text";
19235            }
19236            program {
19237                name:    "go_passive";
19238                signal:  "elm,state,unselected";
19239                source:  "elm";
19240                action:  STATE_SET "default" 0.0;
19241                target:  "bg";
19242                target:  "fg1";
19243                target:  "fg2";
19244                target:  "elm.text";
19245                transition: LINEAR 0.1;
19246            }
19247            program {
19248                name:    "go_disabled";
19249                signal:  "elm,state,disabled";
19250                source:  "elm";
19251                action:  STATE_SET "disabled" 0.0;
19252                target:  "disclip";
19253            }
19254            program {
19255                name:    "go_enabled";
19256                signal:  "elm,state,enabled";
19257                source:  "elm";
19258                action:  STATE_SET "default" 0.0;
19259                target:  "disclip";
19260            }
19261        }
19262    }
19263    group { name: "elm/genlist/item_odd/default_style/default";
19264        data.item: "stacking" "below";
19265        data.item: "selectraise" "on";
19266        data.item: "labels" "elm.text";
19267        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19268        data.item: "treesize" "20";
19269        images {
19270            image: "bt_sm_base1.png" COMP;
19271            image: "bt_sm_shine.png" COMP;
19272            image: "bt_sm_hilight.png" COMP;
19273            image: "ilist_2.png" COMP;
19274        }
19275        parts {
19276            part { name: "event";
19277                type: RECT;
19278                repeat_events: 1;
19279                description {
19280                    state: "default" 0.0;
19281                    color: 0 0 0 0;
19282                }
19283            }
19284            part {
19285                name: "base";
19286                mouse_events: 0;
19287                description {
19288                    state: "default" 0.0;
19289                    min: 16 28;
19290                    image {
19291                        normal: "ilist_2.png";
19292                        border: 2 2 2 2;
19293                    }
19294                    fill.smooth: 0;
19295                }
19296            }
19297            part { name: "bg";
19298                clip_to: "disclip";
19299                mouse_events: 0;
19300                description { state: "default" 0.0;
19301                    visible: 0;
19302                    color: 255 255 255 0;
19303                    rel1 {
19304                        relative: 0.0 0.0;
19305                        offset: -5 -5;
19306                    }
19307                    rel2 {
19308                        relative: 1.0 1.0;
19309                        offset: 4 4;
19310                    }
19311                    image {
19312                        normal: "bt_sm_base1.png";
19313                        border: 6 6 6 6;
19314                    }
19315                    image.middle: SOLID;
19316                }
19317                description { state: "selected" 0.0;
19318                    inherit: "default" 0.0;
19319                    visible: 1;
19320                    color: 255 255 255 255;
19321                    rel1 {
19322                        relative: 0.0 0.0;
19323                        offset: -2 -2;
19324                    }
19325                    rel2 {
19326                        relative: 1.0 1.0;
19327                        offset: 1 1;
19328                    }
19329                }
19330            }
19331            part { name: "elm.swallow.pad";
19332                type: SWALLOW;
19333                description { state: "default" 0.0;
19334                    fixed: 1 0;
19335                    align: 0.0 0.5;
19336                    rel1 {
19337                        relative: 0.0  0.0;
19338                        offset:   4    4;
19339                    }
19340                    rel2 {
19341                        relative: 0.0  1.0;
19342                        offset:   4   -5;
19343                    }
19344                }
19345            }
19346            part { name: "elm.swallow.icon";
19347                clip_to: "disclip";
19348                type: SWALLOW;
19349                description { state: "default" 0.0;
19350                    fixed: 1 0;
19351                    align: 0.0 0.5;
19352                    rel1 {
19353                        to_x: "elm.swallow.pad";
19354                        relative: 1.0  0.0;
19355                        offset:   -1    4;
19356                    }
19357                    rel2 {
19358                        to_x: "elm.swallow.pad";
19359                        relative: 1.0  1.0;
19360                        offset:   -1   -5;
19361                    }
19362                }
19363            }
19364            part { name: "elm.swallow.end";
19365                clip_to: "disclip";
19366                type:          SWALLOW;
19367                description { state:    "default" 0.0;
19368                    fixed: 1 0;
19369                    align:    1.0 0.5;
19370                    aspect: 1.0 1.0;
19371                    aspect_preference: VERTICAL;
19372                    rel1 {
19373                        relative: 1.0  0.0;
19374                        offset:   -5    4;
19375                    }
19376                    rel2 {
19377                        relative: 1.0  1.0;
19378                        offset:   -5   -5;
19379                    }
19380                }
19381            }
19382            part { name: "elm.text";
19383                clip_to: "disclip";
19384                type:           TEXTBLOCK;
19385                mouse_events:   0;
19386                scale: 1;
19387                description {
19388                    state: "default" 0.0;
19389                    align: 0.0 0.5;
19390                    fixed: 0 1;
19391                    rel1 {
19392                        to_x: "elm.swallow.icon";
19393                        to_y: "base";
19394                        relative: 1.0  0.5;
19395                        offset:   0 4;
19396                    }
19397                    rel2 {
19398                        to_x: "elm.swallow.end";
19399                        to_y: "base";
19400                        relative: 0.0  0.5;
19401                        offset:   -1 -5;
19402                    }
19403                    text {
19404                        style: "genlist_style";
19405                        min: 1 1;
19406                    }
19407                }
19408                description { state: "selected" 0.0;
19409                    inherit: "default" 0.0;
19410                    text {
19411                        style: "genlist_selected_style";
19412                    }
19413                }
19414            }
19415            part { name: "fg1";
19416                clip_to: "disclip";
19417                mouse_events: 0;
19418                description { state: "default" 0.0;
19419                    visible: 0;
19420                    color: 255 255 255 0;
19421                    rel1.to: "bg";
19422                    rel2.relative: 1.0 0.5;
19423                    rel2.to: "bg";
19424                    image {
19425                        normal: "bt_sm_hilight.png";
19426                        border: 6 6 6 0;
19427                    }
19428                }
19429                description { state: "selected" 0.0;
19430                    inherit: "default" 0.0;
19431                    visible: 1;
19432                    color: 255 255 255 255;
19433                }
19434            }
19435            part { name: "fg2";
19436                clip_to: "disclip";
19437                mouse_events: 0;
19438                description { state: "default" 0.0;
19439                    visible: 0;
19440                    color: 255 255 255 0;
19441                    rel1.to: "bg";
19442                    rel2.to: "bg";
19443                    image {
19444                        normal: "bt_sm_shine.png";
19445                        border: 6 6 6 0;
19446                    }
19447                }
19448                description { state: "selected" 0.0;
19449                    inherit: "default" 0.0;
19450                    visible: 1;
19451                    color: 255 255 255 255;
19452                }
19453            }
19454            part { name: "disclip";
19455                type: RECT;
19456                description { state: "default" 0.0;
19457                    rel1.to: "bg";
19458                    rel2.to: "bg";
19459                }
19460                description { state: "disabled" 0.0;
19461                    inherit: "default" 0.0;
19462                    color: 255 255 255 64;
19463                }
19464            }
19465        }
19466        programs {
19467            // signal: elm,state,%s,active
19468            //   a "check" item named %s went active
19469            // signal: elm,state,%s,passive
19470            //   a "check" item named %s went passive
19471            // default is passive
19472            program {
19473                name:    "go_active";
19474                signal:  "elm,state,selected";
19475                source:  "elm";
19476                action:  STATE_SET "selected" 0.0;
19477                target:  "bg";
19478                target:  "fg1";
19479                target:  "fg2";
19480                target:  "elm.text";
19481            }
19482            program {
19483                name:    "go_passive";
19484                signal:  "elm,state,unselected";
19485                source:  "elm";
19486                action:  STATE_SET "default" 0.0;
19487                target:  "bg";
19488                target:  "fg1";
19489                target:  "fg2";
19490                target:  "elm.text";
19491                transition: LINEAR 0.1;
19492            }
19493            program {
19494                name:    "go_disabled";
19495                signal:  "elm,state,disabled";
19496                source:  "elm";
19497                action:  STATE_SET "disabled" 0.0;
19498                target:  "disclip";
19499            }
19500            program {
19501                name:    "go_enabled";
19502                signal:  "elm,state,enabled";
19503                source:  "elm";
19504                action:  STATE_SET "default" 0.0;
19505                target:  "disclip";
19506            }
19507        }
19508    }
19509
19510    group { name: "elm/genlist/tree/default_style/default";
19511        data.item: "stacking" "above";
19512        data.item: "selectraise" "on";
19513        data.item: "labels" "elm.text";
19514        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19515        data.item: "treesize" "20";
19516        images {
19517            image: "bt_sm_base1.png" COMP;
19518            image: "bt_sm_shine.png" COMP;
19519            image: "bt_sm_hilight.png" COMP;
19520            image: "ilist_1.png" COMP;
19521            image: "ilist_item_shadow.png" COMP;
19522            image: "icon_arrow_right.png" COMP;
19523            image: "icon_arrow_down.png" COMP;
19524        }
19525        parts {
19526            part {
19527                name:           "event";
19528                type:           RECT;
19529                repeat_events: 1;
19530                description {
19531                    state: "default" 0.0;
19532                    color: 0 0 0 0;
19533                }
19534            }
19535            part {
19536                name: "base_sh";
19537                mouse_events: 0;
19538                description {
19539                    state: "default" 0.0;
19540                    align: 0.0 0.0;
19541                    min: 0 10;
19542                    fixed: 1 1;
19543                    rel1 {
19544                        to: "base";
19545                        relative: 0.0 1.0;
19546                        offset: 0 0;
19547                    }
19548                    rel2 {
19549                        to: "base";
19550                        relative: 1.0 1.0;
19551                        offset: -1 0;
19552                    }
19553                    image {
19554                        normal: "ilist_item_shadow.png";
19555                    }
19556                    fill.smooth: 0;
19557                }
19558            }
19559            part {
19560                name: "base";
19561                mouse_events: 0;
19562                description {
19563                    state: "default" 0.0;
19564                    min: 16 28;
19565                    image {
19566                        normal: "ilist_1.png";
19567                        border: 2 2 2 2;
19568                    }
19569                    fill.smooth: 0;
19570                }
19571            }
19572            part { name: "bg";
19573                clip_to: "disclip";
19574                mouse_events: 0;
19575                description { state: "default" 0.0;
19576                    visible: 0;
19577                    color: 255 255 255 0;
19578                    rel1 {
19579                        relative: 0.0 0.0;
19580                        offset: -5 -5;
19581                    }
19582                    rel2 {
19583                        relative: 1.0 1.0;
19584                        offset: 4 4;
19585                    }
19586                    image {
19587                        normal: "bt_sm_base1.png";
19588                        border: 6 6 6 6;
19589                    }
19590                    image.middle: SOLID;
19591                }
19592                description { state: "selected" 0.0;
19593                    inherit: "default" 0.0;
19594                    visible: 1;
19595                    color: 255 255 255 255;
19596                    rel1 {
19597                        relative: 0.0 0.0;
19598                        offset: -2 -2;
19599                    }
19600                    rel2 {
19601                        relative: 1.0 1.0;
19602                        offset: 1 1;
19603                    }
19604                }
19605            }
19606            part { name: "elm.swallow.pad";
19607                type: SWALLOW;
19608                description { state: "default" 0.0;
19609                    fixed: 1 0;
19610                    align: 0.0 0.5;
19611                    rel1 {
19612                        relative: 0.0  0.0;
19613                        offset:   4    4;
19614                    }
19615                    rel2 {
19616                        relative: 0.0  1.0;
19617                        offset:   4   -5;
19618                    }
19619                }
19620            }
19621            part { name: "arrow";
19622                clip_to: "disclip";
19623                ignore_flags: ON_HOLD;
19624                description { state: "default" 0.0;
19625                    fixed: 1 0;
19626                    align: 0.0 0.5;
19627                    aspect: 1.0 1.0;
19628                    rel1 {
19629                        to_x: "elm.swallow.pad";
19630                        relative: 1.0  0.0;
19631                        offset:   -1    4;
19632                    }
19633                    rel2 {
19634                        to_x: "elm.swallow.pad";
19635                        relative: 1.0  1.0;
19636                        offset:   -1   -5;
19637                    }
19638                    image.normal: "icon_arrow_right.png";
19639                }
19640                description { state: "active" 0.0;
19641                    inherit: "default" 0.0;
19642                    image.normal: "icon_arrow_down.png";
19643                }
19644            }
19645            part { name: "elm.swallow.icon";
19646                clip_to: "disclip";
19647                type: SWALLOW;
19648                description { state: "default" 0.0;
19649                    fixed: 1 0;
19650                    align: 0.0 0.5;
19651                    rel1 {
19652                        to_x: "arrow";
19653                        relative: 1.0  0.0;
19654                        offset:   4    4;
19655                    }
19656                    rel2 {
19657                        to_x: "arrow";
19658                        relative: 1.0  1.0;
19659                        offset:   4   -5;
19660                    }
19661                }
19662            }
19663            part { name: "elm.swallow.end";
19664                clip_to: "disclip";
19665                type: SWALLOW;
19666                description { state: "default" 0.0;
19667                    fixed: 1 0;
19668                    align: 1.0 0.5;
19669                    aspect: 1.0 1.0;
19670                    aspect_preference: VERTICAL;
19671                    rel1 {
19672                        relative: 1.0  0.0;
19673                        offset:   -5    4;
19674                    }
19675                    rel2 {
19676                        relative: 1.0  1.0;
19677                        offset:   -5   -5;
19678                    }
19679                }
19680            }
19681            part { name: "elm.text";
19682                clip_to: "disclip";
19683                type:           TEXTBLOCK;
19684                effect:         SOFT_SHADOW;
19685                mouse_events:   0;
19686                scale: 1;
19687                description {
19688                    state: "default" 0.0;
19689                    align: 0.0 0.5;
19690                    fixed: 0 1;
19691                    rel1 {
19692                        to_x:     "elm.swallow.icon";
19693                        to_y: "base";
19694                        relative: 1.0  0.5;
19695                        offset:   0 4;
19696                    }
19697                    rel2 {
19698                        to_x:     "elm.swallow.end";
19699                        to_y: "base";
19700                        relative: 0.0  0.5;
19701                        offset:   -1 -5;
19702                    }
19703                    text {
19704                        style: "genlist_style";
19705                        min: 1 1;
19706                    }
19707                }
19708                description { state: "selected" 0.0;
19709                    inherit: "default" 0.0;
19710                    text {
19711                        style: "genlist_selected_style";
19712                    }
19713                }
19714            }
19715            part { name: "fg1";
19716                clip_to: "disclip";
19717                mouse_events: 0;
19718                description { state: "default" 0.0;
19719                    visible: 0;
19720                    color: 255 255 255 0;
19721                    rel1.to: "bg";
19722                    rel2.relative: 1.0 0.5;
19723                    rel2.to: "bg";
19724                    image {
19725                        normal: "bt_sm_hilight.png";
19726                        border: 6 6 6 0;
19727                    }
19728                }
19729                description { state: "selected" 0.0;
19730                    inherit: "default" 0.0;
19731                    visible: 1;
19732                    color: 255 255 255 255;
19733                }
19734            }
19735            part { name: "fg2";
19736                clip_to: "disclip";
19737                mouse_events: 0;
19738                description { state: "default" 0.0;
19739                    visible: 0;
19740                    color: 255 255 255 0;
19741                    rel1.to: "bg";
19742                    rel2.to: "bg";
19743                    image {
19744                        normal: "bt_sm_shine.png";
19745                        border: 6 6 6 0;
19746                    }
19747                }
19748                description { state: "selected" 0.0;
19749                    inherit: "default" 0.0;
19750                    visible: 1;
19751                    color: 255 255 255 255;
19752                }
19753            }
19754            part { name: "disclip";
19755                type: RECT;
19756                description { state: "default" 0.0;
19757                    rel1.to: "bg";
19758                    rel2.to: "bg";
19759                }
19760                description { state: "disabled" 0.0;
19761                    inherit: "default" 0.0;
19762                    color: 255 255 255 64;
19763                }
19764            }
19765        }
19766        programs {
19767            // signal: elm,state,%s,active
19768            //   a "check" item named %s went active
19769            // signal: elm,state,%s,passive
19770            //   a "check" item named %s went passive
19771            // default is passive
19772            program {
19773                name:    "go_active";
19774                signal:  "elm,state,selected";
19775                source:  "elm";
19776                action:  STATE_SET "selected" 0.0;
19777                target:  "bg";
19778                target:  "fg1";
19779                target:  "fg2";
19780                target:  "elm.text";
19781            }
19782            program {
19783                name:    "go_passive";
19784                signal:  "elm,state,unselected";
19785                source:  "elm";
19786                action:  STATE_SET "default" 0.0;
19787                target:  "bg";
19788                target:  "fg1";
19789                target:  "fg2";
19790                target:  "elm.text";
19791                transition: LINEAR 0.1;
19792            }
19793            program {
19794                name:    "go_disabled";
19795                signal:  "elm,state,disabled";
19796                source:  "elm";
19797                action:  STATE_SET "disabled" 0.0;
19798                target:  "disclip";
19799            }
19800            program {
19801                name:    "go_enabled";
19802                signal:  "elm,state,enabled";
19803                source:  "elm";
19804                action:  STATE_SET "default" 0.0;
19805                target:  "disclip";
19806            }
19807            program {
19808                name:    "expand";
19809                signal:  "mouse,up,1";
19810                source:  "arrow";
19811                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19812            }
19813            program {
19814                name:    "go_expanded";
19815                signal:  "elm,state,expanded";
19816                source:  "elm";
19817                action:  STATE_SET "active" 0.0;
19818                target:  "arrow";
19819            }
19820            program {
19821                name:    "go_contracted";
19822                signal:  "elm,state,contracted";
19823                source:  "elm";
19824                action:  STATE_SET "default" 0.0;
19825                target:  "arrow";
19826            }
19827        }
19828    }
19829    group { name: "elm/genlist/tree_odd/default_style/default";
19830        data.item: "stacking" "below";
19831        data.item: "selectraise" "on";
19832        data.item: "labels" "elm.text";
19833        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19834        data.item: "treesize" "20";
19835        images {
19836            image: "bt_sm_base1.png" COMP;
19837            image: "bt_sm_shine.png" COMP;
19838            image: "bt_sm_hilight.png" COMP;
19839            image: "ilist_2.png" COMP;
19840            image: "icon_arrow_right.png" COMP;
19841            image: "icon_arrow_down.png" COMP;
19842        }
19843        parts {
19844            part {
19845                name:           "event";
19846                type:           RECT;
19847                repeat_events: 1;
19848                description {
19849                    state: "default" 0.0;
19850                    color: 0 0 0 0;
19851                }
19852            }
19853            part {
19854                name: "base";
19855                mouse_events: 0;
19856                description {
19857                    state: "default" 0.0;
19858                    min: 16 28;
19859                    image {
19860                        normal: "ilist_2.png";
19861                        border: 2 2 2 2;
19862                    }
19863                    fill.smooth: 0;
19864                }
19865            }
19866            part { name: "bg";
19867                clip_to: "disclip";
19868                mouse_events: 0;
19869                description { state: "default" 0.0;
19870                    visible: 0;
19871                    color: 255 255 255 0;
19872                    rel1 {
19873                        relative: 0.0 0.0;
19874                        offset: -5 -5;
19875                    }
19876                    rel2 {
19877                        relative: 1.0 1.0;
19878                        offset: 4 4;
19879                    }
19880                    image {
19881                        normal: "bt_sm_base1.png";
19882                        border: 6 6 6 6;
19883                    }
19884                    image.middle: SOLID;
19885                }
19886                description { state: "selected" 0.0;
19887                    inherit: "default" 0.0;
19888                    visible: 1;
19889                    color: 255 255 255 255;
19890                    rel1 {
19891                        relative: 0.0 0.0;
19892                        offset: -2 -2;
19893                    }
19894                    rel2 {
19895                        relative: 1.0 1.0;
19896                        offset: 1 1;
19897                    }
19898                }
19899            }
19900            part { name: "elm.swallow.pad";
19901                type: SWALLOW;
19902                description { state: "default" 0.0;
19903                    fixed: 1 0;
19904                    align: 0.0 0.5;
19905                    rel1 {
19906                        relative: 0.0  0.0;
19907                        offset:   4    4;
19908                    }
19909                    rel2 {
19910                        relative: 0.0  1.0;
19911                        offset:   4   -5;
19912                    }
19913                }
19914            }
19915            part { name: "arrow";
19916                clip_to: "disclip";
19917                ignore_flags: ON_HOLD;
19918                description { state: "default" 0.0;
19919                    fixed: 1 0;
19920                    align: 0.0 0.5;
19921                    aspect: 1.0 1.0;
19922                    rel1 {
19923                        to_x: "elm.swallow.pad";
19924                        relative: 1.0  0.0;
19925                        offset:   -1    4;
19926                    }
19927                    rel2 {
19928                        to_x: "elm.swallow.pad";
19929                        relative: 1.0  1.0;
19930                        offset:   -1   -5;
19931                    }
19932                    image.normal: "icon_arrow_right.png";
19933                }
19934                description { state: "active" 0.0;
19935                    inherit: "default" 0.0;
19936                    image.normal: "icon_arrow_down.png";
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: "arrow";
19947                        relative: 1.0  0.0;
19948                        offset:   4    4;
19949                    }
19950                    rel2 {
19951                        to_x: "arrow";
19952                        relative: 1.0  1.0;
19953                        offset:   4   -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:           TEXTBLOCK;
19978                effect:         SOFT_SHADOW;
19979                mouse_events:   0;
19980                scale: 1;
19981                description {
19982                    state: "default" 0.0;
19983                    align: 0.0 0.5;
19984                    fixed: 0 1;
19985                    rel1 {
19986                        to_x:     "elm.swallow.icon";
19987                        to_y: "base";
19988                        relative: 1.0  0.5;
19989                        offset:   0 4;
19990                    }
19991                    rel2 {
19992                        to_x:     "elm.swallow.end";
19993                        to_y: "base";
19994                        relative: 0.0  0.5;
19995                        offset:   -1 -5;
19996                    }
19997                    text {
19998                        style: "genlist_style";
19999                        min: 1 1;
20000                    }
20001                }
20002                description { state: "selected" 0.0;
20003                    inherit: "default" 0.0;
20004                    text {
20005                        style: "genlist_selected_style";
20006                    }
20007                }
20008            }
20009            part { name: "fg1";
20010                clip_to: "disclip";
20011                mouse_events: 0;
20012                description { state: "default" 0.0;
20013                    visible: 0;
20014                    color: 255 255 255 0;
20015                    rel1.to: "bg";
20016                    rel2.relative: 1.0 0.5;
20017                    rel2.to: "bg";
20018                    image {
20019                        normal: "bt_sm_hilight.png";
20020                        border: 6 6 6 0;
20021                    }
20022                }
20023                description { state: "selected" 0.0;
20024                    inherit: "default" 0.0;
20025                    visible: 1;
20026                    color: 255 255 255 255;
20027                }
20028            }
20029            part { name: "fg2";
20030                clip_to: "disclip";
20031                mouse_events: 0;
20032                description { state: "default" 0.0;
20033                    visible: 0;
20034                    color: 255 255 255 0;
20035                    rel1.to: "bg";
20036                    rel2.to: "bg";
20037                    image {
20038                        normal: "bt_sm_shine.png";
20039                        border: 6 6 6 0;
20040                    }
20041                }
20042                description { state: "selected" 0.0;
20043                    inherit: "default" 0.0;
20044                    visible: 1;
20045                    color: 255 255 255 255;
20046                }
20047            }
20048            part { name: "disclip";
20049                type: RECT;
20050                description { state: "default" 0.0;
20051                    rel1.to: "bg";
20052                    rel2.to: "bg";
20053                }
20054                description { state: "disabled" 0.0;
20055                    inherit: "default" 0.0;
20056                    color: 255 255 255 64;
20057                }
20058            }
20059        }
20060        programs {
20061            // signal: elm,state,%s,active
20062            //   a "check" item named %s went active
20063            // signal: elm,state,%s,passive
20064            //   a "check" item named %s went passive
20065            // default is passive
20066            program {
20067                name:    "go_active";
20068                signal:  "elm,state,selected";
20069                source:  "elm";
20070                action:  STATE_SET "selected" 0.0;
20071                target:  "bg";
20072                target:  "fg1";
20073                target:  "fg2";
20074                target:  "elm.text";
20075            }
20076            program {
20077                name:    "go_passive";
20078                signal:  "elm,state,unselected";
20079                source:  "elm";
20080                action:  STATE_SET "default" 0.0;
20081                target:  "bg";
20082                target:  "fg1";
20083                target:  "fg2";
20084                target:  "elm.text";
20085                transition: LINEAR 0.1;
20086            }
20087            program {
20088                name:    "go_disabled";
20089                signal:  "elm,state,disabled";
20090                source:  "elm";
20091                action:  STATE_SET "disabled" 0.0;
20092                target:  "disclip";
20093            }
20094            program {
20095                name:    "go_enabled";
20096                signal:  "elm,state,enabled";
20097                source:  "elm";
20098                action:  STATE_SET "default" 0.0;
20099                target:  "disclip";
20100            }
20101            program {
20102                name:    "expand";
20103                signal:  "mouse,up,1";
20104                source:  "arrow";
20105                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20106            }
20107            program {
20108                name:    "go_expanded";
20109                signal:  "elm,state,expanded";
20110                source:  "elm";
20111                action:  STATE_SET "active" 0.0;
20112                target:  "arrow";
20113            }
20114            program {
20115                name:    "go_contracted";
20116                signal:  "elm,state,contracted";
20117                source:  "elm";
20118                action:  STATE_SET "default" 0.0;
20119                target:  "arrow";
20120            }
20121        }
20122    }
20123
20124
20125    group { name: "elm/genlist/item/double_label/default";
20126       data.item: "stacking" "above";
20127       data.item: "selectraise" "on";
20128       data.item: "labels" "elm.text elm.text.sub";
20129       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20130       data.item: "treesize" "20";
20131 //      data.item: "states" "";
20132       images {
20133          image: "bt_sm_base1.png" COMP;
20134          image: "bt_sm_shine.png" COMP;
20135          image: "bt_sm_hilight.png" COMP;
20136          image: "ilist_1.png" COMP;
20137          image: "ilist_item_shadow.png" COMP;
20138       }
20139       parts {
20140          part {
20141             name:           "event";
20142             type:           RECT;
20143             repeat_events: 1;
20144             description {
20145                state: "default" 0.0;
20146                color: 0 0 0 0;
20147             }
20148          }
20149          part {
20150             name: "base_sh";
20151             mouse_events: 0;
20152             description {
20153                state: "default" 0.0;
20154                align: 0.0 0.0;
20155                min: 0 10;
20156                fixed: 1 1;
20157                rel1 {
20158                   to: "base";
20159                   relative: 0.0 1.0;
20160                   offset: 0 0;
20161                }
20162                rel2 {
20163                   to: "base";
20164                   relative: 1.0 1.0;
20165                   offset: -1 0;
20166                }
20167                image {
20168                   normal: "ilist_item_shadow.png";
20169                }
20170                fill.smooth: 0;
20171             }
20172          }
20173          part {
20174             name: "base";
20175             mouse_events: 0;
20176             description {
20177                state: "default" 0.0;
20178                image {
20179                   normal: "ilist_1.png";
20180                   border: 2 2 2 2;
20181                }
20182                fill.smooth: 0;
20183             }
20184          }
20185          part { name: "bg";
20186             clip_to: "disclip";
20187             mouse_events: 0;
20188             description { state: "default" 0.0;
20189                visible: 0;
20190                color: 255 255 255 0;
20191                rel1 {
20192                   relative: 0.0 0.0;
20193                   offset: -5 -5;
20194                }
20195                rel2 {
20196                   relative: 1.0 1.0;
20197                   offset: 4 4;
20198                }
20199                image {
20200                   normal: "bt_sm_base1.png";
20201                   border: 6 6 6 6;
20202                }
20203                image.middle: SOLID;
20204             }
20205             description { state: "selected" 0.0;
20206                inherit: "default" 0.0;
20207                visible: 1;
20208                color: 255 255 255 255;
20209                rel1 {
20210                   relative: 0.0 0.0;
20211                   offset: -2 -2;
20212                }
20213                rel2 {
20214                   relative: 1.0 1.0;
20215                   offset: 1 1;
20216                }
20217             }
20218          }
20219          part { name: "elm.swallow.pad";
20220             type: SWALLOW;
20221             description { state: "default" 0.0;
20222                fixed: 1 0;
20223                align: 0.0 0.5;
20224                rel1 {
20225                   relative: 0.0  0.0;
20226                   offset:   4    4;
20227                }
20228                rel2 {
20229                   relative: 0.0  1.0;
20230                   offset:   4   -5;
20231                }
20232             }
20233          }
20234          part { name: "elm.swallow.icon";
20235             clip_to: "disclip";
20236             type: SWALLOW;
20237             description { state: "default" 0.0;
20238                fixed: 1 0;
20239                align: 0.0 0.5;
20240                rel1 {
20241                   to_x: "elm.swallow.pad";
20242                   relative: 1.0  0.0;
20243                   offset:   -1    4;
20244                }
20245                rel2 {
20246                   to_x: "elm.swallow.pad";
20247                   relative: 1.0  1.0;
20248                   offset:   -1   -5;
20249                }
20250             }
20251          }
20252          part { name: "elm.swallow.end";
20253             clip_to: "disclip";
20254             type: SWALLOW;
20255             description { state: "default" 0.0;
20256                fixed: 1 0;
20257                align: 1.0 0.5;
20258                aspect: 1.0 1.0;
20259                aspect_preference: VERTICAL;
20260                rel1 {
20261                   relative: 1.0  0.0;
20262                   offset:   -5    4;
20263                }
20264                rel2 {
20265                   relative: 1.0  1.0;
20266                   offset:   -5   -5;
20267                }
20268             }
20269          }
20270          part { name: "elm.text";
20271             clip_to: "disclip";
20272             type:           TEXT;
20273             effect:         SOFT_SHADOW;
20274             mouse_events:   0;
20275             scale: 1;
20276             description {
20277                state: "default" 0.0;
20278 //               min: 16 16;
20279                rel1 {
20280                   to_x:     "elm.swallow.icon";
20281                   relative: 1.0  0.0;
20282                   offset:   0 4;
20283                }
20284                rel2 {
20285                   to_x:     "elm.swallow.end";
20286                   relative: 0.0  0.5;
20287                   offset:   -1 -5;
20288                }
20289                color: 0 0 0 255;
20290                color3: 0 0 0 0;
20291                text {
20292                   font: "Sans";
20293                   size: 10;
20294                   min: 1 1;
20295 //                  min: 0 1;
20296                   align: 0.0 0.5;
20297                   text_class: "list_item";
20298                }
20299             }
20300             description { state: "selected" 0.0;
20301                inherit: "default" 0.0;
20302                color: 224 224 224 255;
20303                color3: 0 0 0 64;
20304             }
20305          }
20306          part { name: "elm.text.sub";
20307             clip_to: "disclip";
20308             type:           TEXT;
20309             mouse_events:   0;
20310             scale: 1;
20311             description {
20312                state: "default" 0.0;
20313 //               min: 16 16;
20314                rel1 {
20315                   to_x:     "elm.swallow.icon";
20316                   relative: 1.0  0.5;
20317                   offset:   0 4;
20318                }
20319                rel2 {
20320                   to_x:     "elm.swallow.end";
20321                   relative: 0.0  1.0;
20322                   offset:   -1 -5;
20323                }
20324                color: 0 0 0 128;
20325                color3: 0 0 0 0;
20326                text {
20327                   font: "Sans";
20328                   size: 8;
20329                   min: 1 1;
20330 //                  min: 0 1;
20331                   align: 0.0 0.5;
20332                   text_class: "list_item";
20333                }
20334             }
20335             description { state: "selected" 0.0;
20336                inherit: "default" 0.0;
20337                color: 128 128 128 255;
20338                color3: 0 0 0 32;
20339             }
20340          }
20341          part { name: "fg1";
20342             clip_to: "disclip";
20343             mouse_events: 0;
20344             description { state: "default" 0.0;
20345                visible: 0;
20346                color: 255 255 255 0;
20347                rel1.to: "bg";
20348                rel2.relative: 1.0 0.5;
20349                rel2.to: "bg";
20350                image {
20351                   normal: "bt_sm_hilight.png";
20352                   border: 6 6 6 0;
20353                }
20354             }
20355             description { state: "selected" 0.0;
20356                inherit: "default" 0.0;
20357                visible: 1;
20358                color: 255 255 255 255;
20359             }
20360          }
20361          part { name: "fg2";
20362             clip_to: "disclip";
20363             mouse_events: 0;
20364             description { state: "default" 0.0;
20365                visible: 0;
20366                color: 255 255 255 0;
20367                rel1.to: "bg";
20368                rel2.to: "bg";
20369                image {
20370                   normal: "bt_sm_shine.png";
20371                   border: 6 6 6 0;
20372                }
20373             }
20374             description { state: "selected" 0.0;
20375                inherit: "default" 0.0;
20376                visible: 1;
20377                color: 255 255 255 255;
20378             }
20379          }
20380          part { name: "disclip";
20381             type: RECT;
20382             description { state: "default" 0.0;
20383                rel1.to: "bg";
20384                rel2.to: "bg";
20385             }
20386             description { state: "disabled" 0.0;
20387                inherit: "default" 0.0;
20388                color: 255 255 255 64;
20389             }
20390          }
20391       }
20392       programs {
20393          // signal: elm,state,%s,active
20394          //   a "check" item named %s went active
20395          // signal: elm,state,%s,passive
20396          //   a "check" item named %s went passive
20397          // default is passive
20398          program {
20399             name:    "go_active";
20400             signal:  "elm,state,selected";
20401             source:  "elm";
20402             action:  STATE_SET "selected" 0.0;
20403             target:  "bg";
20404             target:  "fg1";
20405             target:  "fg2";
20406             target:  "elm.text";
20407             target:  "elm.text.sub";
20408          }
20409          program {
20410             name:    "go_passive";
20411             signal:  "elm,state,unselected";
20412             source:  "elm";
20413             action:  STATE_SET "default" 0.0;
20414             target:  "bg";
20415             target:  "fg1";
20416             target:  "fg2";
20417             target:  "elm.text";
20418             target:  "elm.text.sub";
20419             transition: LINEAR 0.1;
20420          }
20421          program {
20422             name:    "go_disabled";
20423             signal:  "elm,state,disabled";
20424             source:  "elm";
20425             action:  STATE_SET "disabled" 0.0;
20426             target:  "disclip";
20427          }
20428          program {
20429             name:    "go_enabled";
20430             signal:  "elm,state,enabled";
20431             source:  "elm";
20432             action:  STATE_SET "default" 0.0;
20433             target:  "disclip";
20434          }
20435       }
20436    }
20437    group { name: "elm/genlist/item_compress/double_label/default";
20438       data.item: "stacking" "above";
20439       data.item: "selectraise" "on";
20440       data.item: "labels" "elm.text elm.text.sub";
20441       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20442       data.item: "treesize" "20";
20443 //      data.item: "states" "";
20444       images {
20445          image: "bt_sm_base1.png" COMP;
20446          image: "bt_sm_shine.png" COMP;
20447          image: "bt_sm_hilight.png" COMP;
20448          image: "ilist_1.png" COMP;
20449          image: "ilist_item_shadow.png" COMP;
20450       }
20451       parts {
20452          part {
20453             name:           "event";
20454             type:           RECT;
20455             repeat_events: 1;
20456             description {
20457                state: "default" 0.0;
20458                color: 0 0 0 0;
20459             }
20460          }
20461          part {
20462             name: "base_sh";
20463             mouse_events: 0;
20464             description {
20465                state: "default" 0.0;
20466                align: 0.0 0.0;
20467                min: 0 10;
20468                fixed: 1 1;
20469                rel1 {
20470                   to: "base";
20471                   relative: 0.0 1.0;
20472                   offset: 0 0;
20473                }
20474                rel2 {
20475                   to: "base";
20476                   relative: 1.0 1.0;
20477                   offset: -1 0;
20478                }
20479                image {
20480                   normal: "ilist_item_shadow.png";
20481                }
20482                fill.smooth: 0;
20483             }
20484          }
20485          part {
20486             name: "base";
20487             mouse_events: 0;
20488             description {
20489                state: "default" 0.0;
20490                image {
20491                   normal: "ilist_1.png";
20492                   border: 2 2 2 2;
20493                }
20494                fill.smooth: 0;
20495             }
20496          }
20497          part { name: "bg";
20498             clip_to: "disclip";
20499             mouse_events: 0;
20500             description { state: "default" 0.0;
20501                visible: 0;
20502                color: 255 255 255 0;
20503                rel1 {
20504                   relative: 0.0 0.0;
20505                   offset: -5 -5;
20506                }
20507                rel2 {
20508                   relative: 1.0 1.0;
20509                   offset: 4 4;
20510                }
20511                image {
20512                   normal: "bt_sm_base1.png";
20513                   border: 6 6 6 6;
20514                }
20515                image.middle: SOLID;
20516             }
20517             description { state: "selected" 0.0;
20518                inherit: "default" 0.0;
20519                visible: 1;
20520                color: 255 255 255 255;
20521                rel1 {
20522                   relative: 0.0 0.0;
20523                   offset: -2 -2;
20524                }
20525                rel2 {
20526                   relative: 1.0 1.0;
20527                   offset: 1 1;
20528                }
20529             }
20530          }
20531          part { name: "elm.swallow.pad";
20532             type: SWALLOW;
20533             description { state: "default" 0.0;
20534                fixed: 1 0;
20535                align: 0.0 0.5;
20536                rel1 {
20537                   relative: 0.0  0.0;
20538                   offset:   4    4;
20539                }
20540                rel2 {
20541                   relative: 0.0  1.0;
20542                   offset:   4   -5;
20543                }
20544             }
20545          }
20546          part { name: "elm.swallow.icon";
20547             clip_to: "disclip";
20548             type: SWALLOW;
20549             description { state: "default" 0.0;
20550                fixed: 1 0;
20551                align: 0.0 0.5;
20552                rel1 {
20553                   to_x: "elm.swallow.pad";
20554                   relative: 1.0  0.0;
20555                   offset:   -1    4;
20556                }
20557                rel2 {
20558                   to_x: "elm.swallow.pad";
20559                   relative: 1.0  1.0;
20560                   offset:   -1   -5;
20561                }
20562             }
20563          }
20564          part { name: "elm.swallow.end";
20565             clip_to: "disclip";
20566             type: SWALLOW;
20567             description { state: "default" 0.0;
20568                fixed: 1 0;
20569                align: 1.0 0.5;
20570                aspect: 1.0 1.0;
20571                aspect_preference: VERTICAL;
20572                rel1 {
20573                   relative: 1.0  0.0;
20574                   offset:   -5    4;
20575                }
20576                rel2 {
20577                   relative: 1.0  1.0;
20578                   offset:   -5   -5;
20579                }
20580             }
20581          }
20582          part { name: "elm.text";
20583             clip_to: "disclip";
20584             type:           TEXT;
20585             effect:         SOFT_SHADOW;
20586             mouse_events:   0;
20587             scale: 1;
20588             description {
20589                state: "default" 0.0;
20590 //               min: 16 16;
20591                rel1 {
20592                   to_x:     "elm.swallow.icon";
20593                   relative: 1.0  0.0;
20594                   offset:   0 4;
20595                }
20596                rel2 {
20597                   to_x:     "elm.swallow.end";
20598                   relative: 0.0  0.5;
20599                   offset:   -1 -5;
20600                }
20601                color: 0 0 0 255;
20602                color3: 0 0 0 0;
20603                text {
20604                   font: "Sans";
20605                   size: 10;
20606 //                  min: 1 1;
20607                   min: 0 1;
20608                   align: 0.0 0.5;
20609                   text_class: "list_item";
20610                }
20611             }
20612             description { state: "selected" 0.0;
20613                inherit: "default" 0.0;
20614                color: 224 224 224 255;
20615                color3: 0 0 0 64;
20616             }
20617          }
20618          part { name: "elm.text.sub";
20619             clip_to: "disclip";
20620             type:           TEXT;
20621             mouse_events:   0;
20622             scale: 1;
20623             description {
20624                state: "default" 0.0;
20625 //               min: 16 16;
20626                rel1 {
20627                   to_x:     "elm.swallow.icon";
20628                   relative: 1.0  0.5;
20629                   offset:   0 4;
20630                }
20631                rel2 {
20632                   to_x:     "elm.swallow.end";
20633                   relative: 0.0  1.0;
20634                   offset:   -1 -5;
20635                }
20636                color: 0 0 0 128;
20637                color3: 0 0 0 0;
20638                text {
20639                   font: "Sans";
20640                   size: 8;
20641 //                  min: 1 1;
20642                   min: 0 1;
20643                   align: 0.0 0.5;
20644                   text_class: "list_item";
20645                }
20646             }
20647             description { state: "selected" 0.0;
20648                inherit: "default" 0.0;
20649                color: 128 128 128 255;
20650                color3: 0 0 0 32;
20651             }
20652          }
20653          part { name: "fg1";
20654             clip_to: "disclip";
20655             mouse_events: 0;
20656             description { state: "default" 0.0;
20657                visible: 0;
20658                color: 255 255 255 0;
20659                rel1.to: "bg";
20660                rel2.relative: 1.0 0.5;
20661                rel2.to: "bg";
20662                image {
20663                   normal: "bt_sm_hilight.png";
20664                   border: 6 6 6 0;
20665                }
20666             }
20667             description { state: "selected" 0.0;
20668                inherit: "default" 0.0;
20669                visible: 1;
20670                color: 255 255 255 255;
20671             }
20672          }
20673          part { name: "fg2";
20674             clip_to: "disclip";
20675             mouse_events: 0;
20676             description { state: "default" 0.0;
20677                visible: 0;
20678                color: 255 255 255 0;
20679                rel1.to: "bg";
20680                rel2.to: "bg";
20681                image {
20682                   normal: "bt_sm_shine.png";
20683                   border: 6 6 6 0;
20684                }
20685             }
20686             description { state: "selected" 0.0;
20687                inherit: "default" 0.0;
20688                visible: 1;
20689                color: 255 255 255 255;
20690             }
20691          }
20692          part { name: "disclip";
20693             type: RECT;
20694             description { state: "default" 0.0;
20695                rel1.to: "bg";
20696                rel2.to: "bg";
20697             }
20698             description { state: "disabled" 0.0;
20699                inherit: "default" 0.0;
20700                color: 255 255 255 64;
20701             }
20702          }
20703       }
20704       programs {
20705          // signal: elm,state,%s,active
20706          //   a "check" item named %s went active
20707          // signal: elm,state,%s,passive
20708          //   a "check" item named %s went passive
20709          // default is passive
20710          program {
20711             name:    "go_active";
20712             signal:  "elm,state,selected";
20713             source:  "elm";
20714             action:  STATE_SET "selected" 0.0;
20715             target:  "bg";
20716             target:  "fg1";
20717             target:  "fg2";
20718             target:  "elm.text";
20719             target:  "elm.text.sub";
20720          }
20721          program {
20722             name:    "go_passive";
20723             signal:  "elm,state,unselected";
20724             source:  "elm";
20725             action:  STATE_SET "default" 0.0;
20726             target:  "bg";
20727             target:  "fg1";
20728             target:  "fg2";
20729             target:  "elm.text";
20730             target:  "elm.text.sub";
20731             transition: LINEAR 0.1;
20732          }
20733          program {
20734             name:    "go_disabled";
20735             signal:  "elm,state,disabled";
20736             source:  "elm";
20737             action:  STATE_SET "disabled" 0.0;
20738             target:  "disclip";
20739          }
20740          program {
20741             name:    "go_enabled";
20742             signal:  "elm,state,enabled";
20743             source:  "elm";
20744             action:  STATE_SET "default" 0.0;
20745             target:  "disclip";
20746          }
20747       }
20748    }
20749    group { name: "elm/genlist/item_odd/double_label/default";
20750       data.item: "stacking" "below";
20751       data.item: "selectraise" "on";
20752       data.item: "labels" "elm.text elm.text.sub";
20753       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20754       data.item: "treesize" "20";
20755 //      data.item: "states" "";
20756       images {
20757          image: "bt_sm_base1.png" COMP;
20758          image: "bt_sm_shine.png" COMP;
20759          image: "bt_sm_hilight.png" COMP;
20760          image: "ilist_2.png" COMP;
20761       }
20762       parts {
20763          part { name: "event";
20764             type: RECT;
20765             repeat_events: 1;
20766             description {
20767                state: "default" 0.0;
20768                color: 0 0 0 0;
20769             }
20770          }
20771          part {
20772             name: "base";
20773             mouse_events: 0;
20774             description {
20775                state: "default" 0.0;
20776                image {
20777                   normal: "ilist_2.png";
20778                   border: 2 2 2 2;
20779                }
20780                fill.smooth: 0;
20781             }
20782          }
20783          part { name: "bg";
20784             clip_to: "disclip";
20785             mouse_events: 0;
20786             description { state: "default" 0.0;
20787                visible: 0;
20788                color: 255 255 255 0;
20789                rel1 {
20790                   relative: 0.0 0.0;
20791                   offset: -5 -5;
20792                }
20793                rel2 {
20794                   relative: 1.0 1.0;
20795                   offset: 4 4;
20796                }
20797                image {
20798                   normal: "bt_sm_base1.png";
20799                   border: 6 6 6 6;
20800                }
20801                image.middle: SOLID;
20802             }
20803             description { state: "selected" 0.0;
20804                inherit: "default" 0.0;
20805                visible: 1;
20806                color: 255 255 255 255;
20807                rel1 {
20808                   relative: 0.0 0.0;
20809                   offset: -2 -2;
20810                }
20811                rel2 {
20812                   relative: 1.0 1.0;
20813                   offset: 1 1;
20814                }
20815             }
20816          }
20817          part { name: "elm.swallow.pad";
20818             type: SWALLOW;
20819             description { state: "default" 0.0;
20820                fixed: 1 0;
20821                align: 0.0 0.5;
20822                rel1 {
20823                   relative: 0.0  0.0;
20824                   offset:   4    4;
20825                }
20826                rel2 {
20827                   relative: 0.0  1.0;
20828                   offset:   4   -5;
20829                }
20830             }
20831          }
20832          part { name: "elm.swallow.icon";
20833             clip_to: "disclip";
20834             type: SWALLOW;
20835             description { state: "default" 0.0;
20836                fixed: 1 0;
20837                align: 0.0 0.5;
20838                rel1 {
20839                   to_x: "elm.swallow.pad";
20840                   relative: 1.0  0.0;
20841                   offset:   -1    4;
20842                }
20843                rel2 {
20844                   to_x: "elm.swallow.pad";
20845                   relative: 1.0  1.0;
20846                   offset:   -1   -5;
20847                }
20848             }
20849          }
20850          part { name: "elm.swallow.end";
20851             clip_to: "disclip";
20852             type:          SWALLOW;
20853             description { state:    "default" 0.0;
20854                fixed: 1 0;
20855                align:    1.0 0.5;
20856                aspect: 1.0 1.0;
20857                aspect_preference: VERTICAL;
20858                rel1 {
20859                   relative: 1.0  0.0;
20860                   offset:   -5    4;
20861                }
20862                rel2 {
20863                   relative: 1.0  1.0;
20864                   offset:   -5   -5;
20865                }
20866             }
20867          }
20868          part { name: "elm.text";
20869             clip_to: "disclip";
20870             type:           TEXT;
20871             effect:         SOFT_SHADOW;
20872             mouse_events:   0;
20873             scale: 1;
20874             description {
20875                state: "default" 0.0;
20876 //               min: 16 16;
20877                rel1 {
20878                   to_x:     "elm.swallow.icon";
20879                   relative: 1.0  0.0;
20880                   offset:   0 4;
20881                }
20882                rel2 {
20883                   to_x:     "elm.swallow.end";
20884                   relative: 0.0  0.5;
20885                   offset:   -1 -5;
20886                }
20887                color: 0 0 0 255;
20888                color3: 0 0 0 0;
20889                text {
20890                   font: "Sans";
20891                   size: 10;
20892                   min: 1 1;
20893 //                  min: 0 1;
20894                   align: 0.0 0.5;
20895                   text_class: "list_item";
20896                }
20897             }
20898             description { state: "selected" 0.0;
20899                inherit: "default" 0.0;
20900                color: 224 224 224 255;
20901                color3: 0 0 0 64;
20902             }
20903          }
20904          part { name: "elm.text.sub";
20905             clip_to: "disclip";
20906             type:           TEXT;
20907             mouse_events:   0;
20908             scale: 1;
20909             description {
20910                state: "default" 0.0;
20911 //               min: 16 16;
20912                rel1 {
20913                   to_x:     "elm.swallow.icon";
20914                   relative: 1.0  0.5;
20915                   offset:   0 4;
20916                }
20917                rel2 {
20918                   to_x:     "elm.swallow.end";
20919                   relative: 0.0  1.0;
20920                   offset:   -1 -5;
20921                }
20922                color: 0 0 0 128;
20923                color3: 0 0 0 0;
20924                text {
20925                   font: "Sans";
20926                   size: 8;
20927                   min: 1 1;
20928 //                  min: 0 1;
20929                   align: 0.0 0.5;
20930                   text_class: "list_item";
20931                }
20932             }
20933             description { state: "selected" 0.0;
20934                inherit: "default" 0.0;
20935                color: 128 128 128 255;
20936                color3: 0 0 0 32;
20937             }
20938          }
20939          part { name: "fg1";
20940             clip_to: "disclip";
20941             mouse_events: 0;
20942             description { state: "default" 0.0;
20943                visible: 0;
20944                color: 255 255 255 0;
20945                rel1.to: "bg";
20946                rel2.relative: 1.0 0.5;
20947                rel2.to: "bg";
20948                image {
20949                   normal: "bt_sm_hilight.png";
20950                   border: 6 6 6 0;
20951                }
20952             }
20953             description { state: "selected" 0.0;
20954                inherit: "default" 0.0;
20955                visible: 1;
20956                color: 255 255 255 255;
20957             }
20958          }
20959          part { name: "fg2";
20960             clip_to: "disclip";
20961             mouse_events: 0;
20962             description { state: "default" 0.0;
20963                visible: 0;
20964                color: 255 255 255 0;
20965                rel1.to: "bg";
20966                rel2.to: "bg";
20967                image {
20968                   normal: "bt_sm_shine.png";
20969                   border: 6 6 6 0;
20970                }
20971             }
20972             description { state: "selected" 0.0;
20973                inherit: "default" 0.0;
20974                visible: 1;
20975                color: 255 255 255 255;
20976             }
20977          }
20978          part { name: "disclip";
20979             type: RECT;
20980             description { state: "default" 0.0;
20981                rel1.to: "bg";
20982                rel2.to: "bg";
20983             }
20984             description { state: "disabled" 0.0;
20985                inherit: "default" 0.0;
20986                color: 255 255 255 64;
20987             }
20988          }
20989       }
20990       programs {
20991          // signal: elm,state,%s,active
20992          //   a "check" item named %s went active
20993          // signal: elm,state,%s,passive
20994          //   a "check" item named %s went passive
20995          // default is passive
20996          program {
20997             name:    "go_active";
20998             signal:  "elm,state,selected";
20999             source:  "elm";
21000             action:  STATE_SET "selected" 0.0;
21001             target:  "bg";
21002             target:  "fg1";
21003             target:  "fg2";
21004             target:  "elm.text";
21005             target:  "elm.text.sub";
21006          }
21007          program {
21008             name:    "go_passive";
21009             signal:  "elm,state,unselected";
21010             source:  "elm";
21011             action:  STATE_SET "default" 0.0;
21012             target:  "bg";
21013             target:  "fg1";
21014             target:  "fg2";
21015             target:  "elm.text";
21016             target:  "elm.text.sub";
21017             transition: LINEAR 0.1;
21018          }
21019          program {
21020             name:    "go_disabled";
21021             signal:  "elm,state,disabled";
21022             source:  "elm";
21023             action:  STATE_SET "disabled" 0.0;
21024             target:  "disclip";
21025          }
21026          program {
21027             name:    "go_enabled";
21028             signal:  "elm,state,enabled";
21029             source:  "elm";
21030             action:  STATE_SET "default" 0.0;
21031             target:  "disclip";
21032          }
21033       }
21034    }
21035    group { name: "elm/genlist/item_compress_odd/double_label/default";
21036       data.item: "stacking" "below";
21037       data.item: "selectraise" "on";
21038       data.item: "labels" "elm.text elm.text.sub";
21039       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21040       data.item: "treesize" "20";
21041 //      data.item: "states" "";
21042       images {
21043          image: "bt_sm_base1.png" COMP;
21044          image: "bt_sm_shine.png" COMP;
21045          image: "bt_sm_hilight.png" COMP;
21046          image: "ilist_2.png" COMP;
21047       }
21048       parts {
21049          part { name: "event";
21050             type: RECT;
21051             repeat_events: 1;
21052             description {
21053                state: "default" 0.0;
21054                color: 0 0 0 0;
21055             }
21056          }
21057          part {
21058             name: "base";
21059             mouse_events: 0;
21060             description {
21061                state: "default" 0.0;
21062                image {
21063                   normal: "ilist_2.png";
21064                   border: 2 2 2 2;
21065                }
21066                fill.smooth: 0;
21067             }
21068          }
21069          part { name: "bg";
21070             clip_to: "disclip";
21071             mouse_events: 0;
21072             description { state: "default" 0.0;
21073                visible: 0;
21074                color: 255 255 255 0;
21075                rel1 {
21076                   relative: 0.0 0.0;
21077                   offset: -5 -5;
21078                }
21079                rel2 {
21080                   relative: 1.0 1.0;
21081                   offset: 4 4;
21082                }
21083                image {
21084                   normal: "bt_sm_base1.png";
21085                   border: 6 6 6 6;
21086                }
21087                image.middle: SOLID;
21088             }
21089             description { state: "selected" 0.0;
21090                inherit: "default" 0.0;
21091                visible: 1;
21092                color: 255 255 255 255;
21093                rel1 {
21094                   relative: 0.0 0.0;
21095                   offset: -2 -2;
21096                }
21097                rel2 {
21098                   relative: 1.0 1.0;
21099                   offset: 1 1;
21100                }
21101             }
21102          }
21103          part { name: "elm.swallow.pad";
21104             type: SWALLOW;
21105             description { state: "default" 0.0;
21106                fixed: 1 0;
21107                align: 0.0 0.5;
21108                rel1 {
21109                   relative: 0.0  0.0;
21110                   offset:   4    4;
21111                }
21112                rel2 {
21113                   relative: 0.0  1.0;
21114                   offset:   4   -5;
21115                }
21116             }
21117          }
21118          part { name: "elm.swallow.icon";
21119             clip_to: "disclip";
21120             type: SWALLOW;
21121             description { state: "default" 0.0;
21122                fixed: 1 0;
21123                align: 0.0 0.5;
21124                rel1 {
21125                   to_x: "elm.swallow.pad";
21126                   relative: 1.0  0.0;
21127                   offset:   -1    4;
21128                }
21129                rel2 {
21130                   to_x: "elm.swallow.pad";
21131                   relative: 1.0  1.0;
21132                   offset:   -1   -5;
21133                }
21134             }
21135          }
21136          part { name: "elm.swallow.end";
21137             clip_to: "disclip";
21138             type:          SWALLOW;
21139             description { state:    "default" 0.0;
21140                fixed: 1 0;
21141                align:    1.0 0.5;
21142                aspect: 1.0 1.0;
21143                aspect_preference: VERTICAL;
21144                rel1 {
21145                   relative: 1.0  0.0;
21146                   offset:   -5    4;
21147                }
21148                rel2 {
21149                   relative: 1.0  1.0;
21150                   offset:   -5   -5;
21151                }
21152             }
21153          }
21154          part { name: "elm.text";
21155             clip_to: "disclip";
21156             type:           TEXT;
21157             effect:         SOFT_SHADOW;
21158             mouse_events:   0;
21159             scale: 1;
21160             description {
21161                state: "default" 0.0;
21162 //               min: 16 16;
21163                rel1 {
21164                   to_x:     "elm.swallow.icon";
21165                   relative: 1.0  0.0;
21166                   offset:   0 4;
21167                }
21168                rel2 {
21169                   to_x:     "elm.swallow.end";
21170                   relative: 0.0  0.5;
21171                   offset:   -1 -5;
21172                }
21173                color: 0 0 0 255;
21174                color3: 0 0 0 0;
21175                text {
21176                   font: "Sans";
21177                   size: 10;
21178 //                  min: 1 1;
21179                   min: 0 1;
21180                   align: 0.0 0.5;
21181                   text_class: "list_item";
21182                }
21183             }
21184             description { state: "selected" 0.0;
21185                inherit: "default" 0.0;
21186                color: 224 224 224 255;
21187                color3: 0 0 0 64;
21188             }
21189          }
21190          part { name: "elm.text.sub";
21191             clip_to: "disclip";
21192             type:           TEXT;
21193             mouse_events:   0;
21194             scale: 1;
21195             description {
21196                state: "default" 0.0;
21197 //               min: 16 16;
21198                rel1 {
21199                   to_x:     "elm.swallow.icon";
21200                   relative: 1.0  0.5;
21201                   offset:   0 4;
21202                }
21203                rel2 {
21204                   to_x:     "elm.swallow.end";
21205                   relative: 0.0  1.0;
21206                   offset:   -1 -5;
21207                }
21208                color: 0 0 0 128;
21209                color3: 0 0 0 0;
21210                text {
21211                   font: "Sans";
21212                   size: 8;
21213 //                  min: 1 1;
21214                   min: 0 1;
21215                   align: 0.0 0.5;
21216                   text_class: "list_item";
21217                }
21218             }
21219             description { state: "selected" 0.0;
21220                inherit: "default" 0.0;
21221                color: 128 128 128 255;
21222                color3: 0 0 0 32;
21223             }
21224          }
21225          part { name: "fg1";
21226             clip_to: "disclip";
21227             mouse_events: 0;
21228             description { state: "default" 0.0;
21229                visible: 0;
21230                color: 255 255 255 0;
21231                rel1.to: "bg";
21232                rel2.relative: 1.0 0.5;
21233                rel2.to: "bg";
21234                image {
21235                   normal: "bt_sm_hilight.png";
21236                   border: 6 6 6 0;
21237                }
21238             }
21239             description { state: "selected" 0.0;
21240                inherit: "default" 0.0;
21241                visible: 1;
21242                color: 255 255 255 255;
21243             }
21244          }
21245          part { name: "fg2";
21246             clip_to: "disclip";
21247             mouse_events: 0;
21248             description { state: "default" 0.0;
21249                visible: 0;
21250                color: 255 255 255 0;
21251                rel1.to: "bg";
21252                rel2.to: "bg";
21253                image {
21254                   normal: "bt_sm_shine.png";
21255                   border: 6 6 6 0;
21256                }
21257             }
21258             description { state: "selected" 0.0;
21259                inherit: "default" 0.0;
21260                visible: 1;
21261                color: 255 255 255 255;
21262             }
21263          }
21264          part { name: "disclip";
21265             type: RECT;
21266             description { state: "default" 0.0;
21267                rel1.to: "bg";
21268                rel2.to: "bg";
21269             }
21270             description { state: "disabled" 0.0;
21271                inherit: "default" 0.0;
21272                color: 255 255 255 64;
21273             }
21274          }
21275       }
21276       programs {
21277          // signal: elm,state,%s,active
21278          //   a "check" item named %s went active
21279          // signal: elm,state,%s,passive
21280          //   a "check" item named %s went passive
21281          // default is passive
21282          program {
21283             name:    "go_active";
21284             signal:  "elm,state,selected";
21285             source:  "elm";
21286             action:  STATE_SET "selected" 0.0;
21287             target:  "bg";
21288             target:  "fg1";
21289             target:  "fg2";
21290             target:  "elm.text";
21291             target:  "elm.text.sub";
21292          }
21293          program {
21294             name:    "go_passive";
21295             signal:  "elm,state,unselected";
21296             source:  "elm";
21297             action:  STATE_SET "default" 0.0;
21298             target:  "bg";
21299             target:  "fg1";
21300             target:  "fg2";
21301             target:  "elm.text";
21302             target:  "elm.text.sub";
21303             transition: LINEAR 0.1;
21304          }
21305          program {
21306             name:    "go_disabled";
21307             signal:  "elm,state,disabled";
21308             source:  "elm";
21309             action:  STATE_SET "disabled" 0.0;
21310             target:  "disclip";
21311          }
21312          program {
21313             name:    "go_enabled";
21314             signal:  "elm,state,enabled";
21315             source:  "elm";
21316             action:  STATE_SET "default" 0.0;
21317             target:  "disclip";
21318          }
21319       }
21320    }
21321
21322    group { name: "elm/genlist/tree/double_label/default";
21323       data.item: "stacking" "above";
21324       data.item: "selectraise" "on";
21325       data.item: "labels" "elm.text elm.text.sub";
21326       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21327       data.item: "treesize" "20";
21328 //      data.item: "states" "";
21329       images {
21330          image: "bt_sm_base1.png" COMP;
21331          image: "bt_sm_shine.png" COMP;
21332          image: "bt_sm_hilight.png" COMP;
21333          image: "ilist_1.png" COMP;
21334          image: "ilist_item_shadow.png" COMP;
21335          image: "icon_arrow_right.png" COMP;
21336          image: "icon_arrow_down.png" COMP;
21337       }
21338       parts {
21339          part {
21340             name:           "event";
21341             type:           RECT;
21342             repeat_events: 1;
21343             description {
21344                state: "default" 0.0;
21345                color: 0 0 0 0;
21346             }
21347          }
21348          part {
21349             name: "base_sh";
21350             mouse_events: 0;
21351             description {
21352                state: "default" 0.0;
21353                align: 0.0 0.0;
21354                min: 0 10;
21355                fixed: 1 1;
21356                rel1 {
21357                   to: "base";
21358                   relative: 0.0 1.0;
21359                   offset: 0 0;
21360                }
21361                rel2 {
21362                   to: "base";
21363                   relative: 1.0 1.0;
21364                   offset: -1 0;
21365                }
21366                image {
21367                   normal: "ilist_item_shadow.png";
21368                }
21369                fill.smooth: 0;
21370             }
21371          }
21372          part {
21373             name: "base";
21374             mouse_events: 0;
21375             description {
21376                state: "default" 0.0;
21377                image {
21378                   normal: "ilist_1.png";
21379                   border: 2 2 2 2;
21380                }
21381                fill.smooth: 0;
21382             }
21383          }
21384          part { name: "bg";
21385             clip_to: "disclip";
21386             mouse_events: 0;
21387             description { state: "default" 0.0;
21388                visible: 0;
21389                color: 255 255 255 0;
21390                rel1 {
21391                   relative: 0.0 0.0;
21392                   offset: -5 -5;
21393                }
21394                rel2 {
21395                   relative: 1.0 1.0;
21396                   offset: 4 4;
21397                }
21398                image {
21399                   normal: "bt_sm_base1.png";
21400                   border: 6 6 6 6;
21401                }
21402                image.middle: SOLID;
21403             }
21404             description { state: "selected" 0.0;
21405                inherit: "default" 0.0;
21406                visible: 1;
21407                color: 255 255 255 255;
21408                rel1 {
21409                   relative: 0.0 0.0;
21410                   offset: -2 -2;
21411                }
21412                rel2 {
21413                   relative: 1.0 1.0;
21414                   offset: 1 1;
21415                }
21416             }
21417          }
21418          part { name: "elm.swallow.pad";
21419             type: SWALLOW;
21420             description { state: "default" 0.0;
21421                fixed: 1 0;
21422                align: 0.0 0.5;
21423                rel1 {
21424                   relative: 0.0  0.0;
21425                   offset:   4    4;
21426                }
21427                rel2 {
21428                   relative: 0.0  1.0;
21429                   offset:   4   -5;
21430                }
21431             }
21432          }
21433          part { name: "arrow";
21434             clip_to: "disclip";
21435             ignore_flags: ON_HOLD;
21436             description { state: "default" 0.0;
21437                fixed: 1 0;
21438                align: 0.0 0.5;
21439                aspect: 1.0 1.0;
21440                rel1 {
21441                   to_x: "elm.swallow.pad";
21442                   relative: 1.0  0.0;
21443                   offset:   -1    4;
21444                }
21445                rel2 {
21446                   to_x: "elm.swallow.pad";
21447                   relative: 1.0  1.0;
21448                   offset:   -1   -5;
21449                }
21450                image.normal: "icon_arrow_right.png";
21451             }
21452             description { state: "active" 0.0;
21453                inherit: "default" 0.0;
21454                image.normal: "icon_arrow_down.png";
21455             }
21456          }
21457          part { name: "elm.swallow.icon";
21458             clip_to: "disclip";
21459             type: SWALLOW;
21460             description { state: "default" 0.0;
21461                fixed: 1 0;
21462                align: 0.0 0.5;
21463                rel1 {
21464                   to_x: "arrow";
21465                   relative: 1.0  0.0;
21466                   offset:   4    4;
21467                }
21468                rel2 {
21469                   to_x: "arrow";
21470                   relative: 1.0  1.0;
21471                   offset:   4   -5;
21472                }
21473             }
21474          }
21475          part { name: "elm.swallow.end";
21476             clip_to: "disclip";
21477             type: SWALLOW;
21478             description { state: "default" 0.0;
21479                fixed: 1 0;
21480                align: 1.0 0.5;
21481                aspect: 1.0 1.0;
21482                aspect_preference: VERTICAL;
21483                rel1 {
21484                   relative: 1.0  0.0;
21485                   offset:   -5    4;
21486                }
21487                rel2 {
21488                   relative: 1.0  1.0;
21489                   offset:   -5   -5;
21490                }
21491             }
21492          }
21493          part { name: "elm.text";
21494             clip_to: "disclip";
21495             type:           TEXT;
21496             effect:         SOFT_SHADOW;
21497             mouse_events:   0;
21498             scale: 1;
21499             description {
21500                state: "default" 0.0;
21501 //               min: 16 16;
21502                rel1 {
21503                   to_x:     "elm.swallow.icon";
21504                   relative: 1.0  0.0;
21505                   offset:   0 4;
21506                }
21507                rel2 {
21508                   to_x:     "elm.swallow.end";
21509                   relative: 0.0  0.5;
21510                   offset:   -1 -5;
21511                }
21512                color: 0 0 0 255;
21513                color3: 0 0 0 0;
21514                text {
21515                   font: "Sans";
21516                   size: 10;
21517                   min: 1 1;
21518 //                  min: 0 1;
21519                   align: 0.0 0.5;
21520                   text_class: "list_item";
21521                }
21522             }
21523             description { state: "selected" 0.0;
21524                inherit: "default" 0.0;
21525                color: 224 224 224 255;
21526                color3: 0 0 0 64;
21527             }
21528          }
21529          part { name: "elm.text.sub";
21530             clip_to: "disclip";
21531             type:           TEXT;
21532             mouse_events:   0;
21533             scale: 1;
21534             description {
21535                state: "default" 0.0;
21536 //               min: 16 16;
21537                rel1 {
21538                   to_x:     "elm.swallow.icon";
21539                   relative: 1.0  0.5;
21540                   offset:   0 4;
21541                }
21542                rel2 {
21543                   to_x:     "elm.swallow.end";
21544                   relative: 0.0  1.0;
21545                   offset:   -1 -5;
21546                }
21547                color: 0 0 0 128;
21548                color3: 0 0 0 0;
21549                text {
21550                   font: "Sans";
21551                   size: 8;
21552                   min: 1 1;
21553 //                  min: 0 1;
21554                   align: 0.0 0.5;
21555                   text_class: "list_item";
21556                }
21557             }
21558             description { state: "selected" 0.0;
21559                inherit: "default" 0.0;
21560                color: 128 128 128 255;
21561                color3: 0 0 0 32;
21562             }
21563          }
21564          part { name: "fg1";
21565             clip_to: "disclip";
21566             mouse_events: 0;
21567             description { state: "default" 0.0;
21568                visible: 0;
21569                color: 255 255 255 0;
21570                rel1.to: "bg";
21571                rel2.relative: 1.0 0.5;
21572                rel2.to: "bg";
21573                image {
21574                   normal: "bt_sm_hilight.png";
21575                   border: 6 6 6 0;
21576                }
21577             }
21578             description { state: "selected" 0.0;
21579                inherit: "default" 0.0;
21580                visible: 1;
21581                color: 255 255 255 255;
21582             }
21583          }
21584          part { name: "fg2";
21585             clip_to: "disclip";
21586             mouse_events: 0;
21587             description { state: "default" 0.0;
21588                visible: 0;
21589                color: 255 255 255 0;
21590                rel1.to: "bg";
21591                rel2.to: "bg";
21592                image {
21593                   normal: "bt_sm_shine.png";
21594                   border: 6 6 6 0;
21595                }
21596             }
21597             description { state: "selected" 0.0;
21598                inherit: "default" 0.0;
21599                visible: 1;
21600                color: 255 255 255 255;
21601             }
21602          }
21603          part { name: "disclip";
21604             type: RECT;
21605             description { state: "default" 0.0;
21606                rel1.to: "bg";
21607                rel2.to: "bg";
21608             }
21609             description { state: "disabled" 0.0;
21610                inherit: "default" 0.0;
21611                color: 255 255 255 64;
21612             }
21613          }
21614       }
21615       programs {
21616          // signal: elm,state,%s,active
21617          //   a "check" item named %s went active
21618          // signal: elm,state,%s,passive
21619          //   a "check" item named %s went passive
21620          // default is passive
21621          program {
21622             name:    "go_active";
21623             signal:  "elm,state,selected";
21624             source:  "elm";
21625             action:  STATE_SET "selected" 0.0;
21626             target:  "bg";
21627             target:  "fg1";
21628             target:  "fg2";
21629             target:  "elm.text";
21630             target:  "elm.text.sub";
21631          }
21632          program {
21633             name:    "go_passive";
21634             signal:  "elm,state,unselected";
21635             source:  "elm";
21636             action:  STATE_SET "default" 0.0;
21637             target:  "bg";
21638             target:  "fg1";
21639             target:  "fg2";
21640             target:  "elm.text";
21641             target:  "elm.text.sub";
21642             transition: LINEAR 0.1;
21643          }
21644          program {
21645             name:    "go_disabled";
21646             signal:  "elm,state,disabled";
21647             source:  "elm";
21648             action:  STATE_SET "disabled" 0.0;
21649             target:  "disclip";
21650          }
21651          program {
21652             name:    "go_enabled";
21653             signal:  "elm,state,enabled";
21654             source:  "elm";
21655             action:  STATE_SET "default" 0.0;
21656             target:  "disclip";
21657          }
21658          program {
21659             name:    "expand";
21660             signal:  "mouse,up,1";
21661             source:  "arrow";
21662             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21663          }
21664          program {
21665             name:    "go_expanded";
21666             signal:  "elm,state,expanded";
21667             source:  "elm";
21668             action:  STATE_SET "active" 0.0;
21669             target:  "arrow";
21670          }
21671          program {
21672             name:    "go_contracted";
21673             signal:  "elm,state,contracted";
21674             source:  "elm";
21675             action:  STATE_SET "default" 0.0;
21676             target:  "arrow";
21677          }
21678       }
21679    }
21680    group { name: "elm/genlist/tree_compress/double_label/default";
21681       data.item: "stacking" "above";
21682       data.item: "selectraise" "on";
21683       data.item: "labels" "elm.text elm.text.sub";
21684       data.item: "icons" "elm.swallow.icon elm.swallow.end";
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.0 0.5;
21821                rel1 {
21822                   to_x: "arrow";
21823                   relative: 1.0  0.0;
21824                   offset:   4    4;
21825                }
21826                rel2 {
21827                   to_x: "arrow";
21828                   relative: 1.0  1.0;
21829                   offset:   4   -5;
21830                }
21831             }
21832          }
21833          part { name: "elm.swallow.end";
21834             clip_to: "disclip";
21835             type: SWALLOW;
21836             description { state: "default" 0.0;
21837                fixed: 1 0;
21838                align: 1.0 0.5;
21839                aspect: 1.0 1.0;
21840                aspect_preference: VERTICAL;
21841                rel1 {
21842                   relative: 1.0  0.0;
21843                   offset:   -5    4;
21844                }
21845                rel2 {
21846                   relative: 1.0  1.0;
21847                   offset:   -5   -5;
21848                }
21849             }
21850          }
21851          part { name: "elm.text";
21852             clip_to: "disclip";
21853             type:           TEXT;
21854             effect:         SOFT_SHADOW;
21855             mouse_events:   0;
21856             scale: 1;
21857             description {
21858                state: "default" 0.0;
21859 //               min: 16 16;
21860                rel1 {
21861                   to_x:     "elm.swallow.icon";
21862                   relative: 1.0  0.0;
21863                   offset:   0 4;
21864                }
21865                rel2 {
21866                   to_x:     "elm.swallow.end";
21867                   relative: 0.0  0.5;
21868                   offset:   -1 -5;
21869                }
21870                color: 0 0 0 255;
21871                color3: 0 0 0 0;
21872                text {
21873                   font: "Sans";
21874                   size: 10;
21875 //                  min: 1 1;
21876                   min: 0 1;
21877                   align: 0.0 0.5;
21878                   text_class: "list_item";
21879                }
21880             }
21881             description { state: "selected" 0.0;
21882                inherit: "default" 0.0;
21883                color: 224 224 224 255;
21884                color3: 0 0 0 64;
21885             }
21886          }
21887          part { name: "elm.text.sub";
21888             clip_to: "disclip";
21889             type:           TEXT;
21890             mouse_events:   0;
21891             scale: 1;
21892             description {
21893                state: "default" 0.0;
21894 //               min: 16 16;
21895                rel1 {
21896                   to_x:     "elm.swallow.icon";
21897                   relative: 1.0  0.5;
21898                   offset:   0 4;
21899                }
21900                rel2 {
21901                   to_x:     "elm.swallow.end";
21902                   relative: 0.0  1.0;
21903                   offset:   -1 -5;
21904                }
21905                color: 0 0 0 128;
21906                color3: 0 0 0 0;
21907                text {
21908                   font: "Sans";
21909                   size: 8;
21910 //                  min: 1 1;
21911                   min: 0 1;
21912                   align: 0.0 0.5;
21913                   text_class: "list_item";
21914                }
21915             }
21916             description { state: "selected" 0.0;
21917                inherit: "default" 0.0;
21918                color: 128 128 128 255;
21919                color3: 0 0 0 32;
21920             }
21921          }
21922          part { name: "fg1";
21923             clip_to: "disclip";
21924             mouse_events: 0;
21925             description { state: "default" 0.0;
21926                visible: 0;
21927                color: 255 255 255 0;
21928                rel1.to: "bg";
21929                rel2.relative: 1.0 0.5;
21930                rel2.to: "bg";
21931                image {
21932                   normal: "bt_sm_hilight.png";
21933                   border: 6 6 6 0;
21934                }
21935             }
21936             description { state: "selected" 0.0;
21937                inherit: "default" 0.0;
21938                visible: 1;
21939                color: 255 255 255 255;
21940             }
21941          }
21942          part { name: "fg2";
21943             clip_to: "disclip";
21944             mouse_events: 0;
21945             description { state: "default" 0.0;
21946                visible: 0;
21947                color: 255 255 255 0;
21948                rel1.to: "bg";
21949                rel2.to: "bg";
21950                image {
21951                   normal: "bt_sm_shine.png";
21952                   border: 6 6 6 0;
21953                }
21954             }
21955             description { state: "selected" 0.0;
21956                inherit: "default" 0.0;
21957                visible: 1;
21958                color: 255 255 255 255;
21959             }
21960          }
21961          part { name: "disclip";
21962             type: RECT;
21963             description { state: "default" 0.0;
21964                rel1.to: "bg";
21965                rel2.to: "bg";
21966             }
21967             description { state: "disabled" 0.0;
21968                inherit: "default" 0.0;
21969                color: 255 255 255 64;
21970             }
21971          }
21972       }
21973       programs {
21974          // signal: elm,state,%s,active
21975          //   a "check" item named %s went active
21976          // signal: elm,state,%s,passive
21977          //   a "check" item named %s went passive
21978          // default is passive
21979          program {
21980             name:    "go_active";
21981             signal:  "elm,state,selected";
21982             source:  "elm";
21983             action:  STATE_SET "selected" 0.0;
21984             target:  "bg";
21985             target:  "fg1";
21986             target:  "fg2";
21987             target:  "elm.text";
21988             target:  "elm.text.sub";
21989          }
21990          program {
21991             name:    "go_passive";
21992             signal:  "elm,state,unselected";
21993             source:  "elm";
21994             action:  STATE_SET "default" 0.0;
21995             target:  "bg";
21996             target:  "fg1";
21997             target:  "fg2";
21998             target:  "elm.text";
21999             target:  "elm.text.sub";
22000             transition: LINEAR 0.1;
22001          }
22002          program {
22003             name:    "go_disabled";
22004             signal:  "elm,state,disabled";
22005             source:  "elm";
22006             action:  STATE_SET "disabled" 0.0;
22007             target:  "disclip";
22008          }
22009          program {
22010             name:    "go_enabled";
22011             signal:  "elm,state,enabled";
22012             source:  "elm";
22013             action:  STATE_SET "default" 0.0;
22014             target:  "disclip";
22015          }
22016          program {
22017             name:    "expand";
22018             signal:  "mouse,up,1";
22019             source:  "arrow";
22020             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22021          }
22022          program {
22023             name:    "go_expanded";
22024             signal:  "elm,state,expanded";
22025             source:  "elm";
22026             action:  STATE_SET "active" 0.0;
22027             target:  "arrow";
22028          }
22029          program {
22030             name:    "go_contracted";
22031             signal:  "elm,state,contracted";
22032             source:  "elm";
22033             action:  STATE_SET "default" 0.0;
22034             target:  "arrow";
22035          }
22036       }
22037    }
22038    group { name: "elm/genlist/tree_odd/double_label/default";
22039       data.item: "stacking" "below";
22040       data.item: "selectraise" "on";
22041       data.item: "labels" "elm.text elm.text.sub";
22042       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22043       data.item: "treesize" "20";
22044 //      data.item: "states" "";
22045       images {
22046          image: "bt_sm_base1.png" COMP;
22047          image: "bt_sm_shine.png" COMP;
22048          image: "bt_sm_hilight.png" COMP;
22049          image: "ilist_2.png" COMP;
22050          image: "icon_arrow_right.png" COMP;
22051          image: "icon_arrow_down.png" COMP;
22052       }
22053       parts {
22054          part {
22055             name:           "event";
22056             type:           RECT;
22057             repeat_events: 1;
22058             description {
22059                state: "default" 0.0;
22060                color: 0 0 0 0;
22061             }
22062          }
22063          part {
22064             name: "base";
22065             mouse_events: 0;
22066             description {
22067                state: "default" 0.0;
22068                image {
22069                   normal: "ilist_2.png";
22070                   border: 2 2 2 2;
22071                }
22072                fill.smooth: 0;
22073             }
22074          }
22075          part { name: "bg";
22076             clip_to: "disclip";
22077             mouse_events: 0;
22078             description { state: "default" 0.0;
22079                visible: 0;
22080                color: 255 255 255 0;
22081                rel1 {
22082                   relative: 0.0 0.0;
22083                   offset: -5 -5;
22084                }
22085                rel2 {
22086                   relative: 1.0 1.0;
22087                   offset: 4 4;
22088                }
22089                image {
22090                   normal: "bt_sm_base1.png";
22091                   border: 6 6 6 6;
22092                }
22093                image.middle: SOLID;
22094             }
22095             description { state: "selected" 0.0;
22096                inherit: "default" 0.0;
22097                visible: 1;
22098                color: 255 255 255 255;
22099                rel1 {
22100                   relative: 0.0 0.0;
22101                   offset: -2 -2;
22102                }
22103                rel2 {
22104                   relative: 1.0 1.0;
22105                   offset: 1 1;
22106                }
22107             }
22108          }
22109          part { name: "elm.swallow.pad";
22110             type: SWALLOW;
22111             description { state: "default" 0.0;
22112                fixed: 1 0;
22113                align: 0.0 0.5;
22114                rel1 {
22115                   relative: 0.0  0.0;
22116                   offset:   4    4;
22117                }
22118                rel2 {
22119                   relative: 0.0  1.0;
22120                   offset:   4   -5;
22121                }
22122             }
22123          }
22124          part { name: "arrow";
22125             clip_to: "disclip";
22126             ignore_flags: ON_HOLD;
22127             description { state: "default" 0.0;
22128                fixed: 1 0;
22129                align: 0.0 0.5;
22130                aspect: 1.0 1.0;
22131                rel1 {
22132                   to_x: "elm.swallow.pad";
22133                   relative: 1.0  0.0;
22134                   offset:   -1    4;
22135                }
22136                rel2 {
22137                   to_x: "elm.swallow.pad";
22138                   relative: 1.0  1.0;
22139                   offset:   -1   -5;
22140                }
22141                image.normal: "icon_arrow_right.png";
22142             }
22143             description { state: "active" 0.0;
22144                inherit: "default" 0.0;
22145                image.normal: "icon_arrow_down.png";
22146             }
22147          }
22148          part { name: "elm.swallow.icon";
22149             clip_to: "disclip";
22150             type: SWALLOW;
22151             description { state: "default" 0.0;
22152                fixed: 1 0;
22153                align: 0.0 0.5;
22154                rel1 {
22155                   to_x: "arrow";
22156                   relative: 1.0  0.0;
22157                   offset:   4    4;
22158                }
22159                rel2 {
22160                   to_x: "arrow";
22161                   relative: 1.0  1.0;
22162                   offset:   4   -5;
22163                }
22164             }
22165          }
22166          part { name: "elm.swallow.end";
22167             clip_to: "disclip";
22168             type: SWALLOW;
22169             description { state: "default" 0.0;
22170                fixed: 1 0;
22171                align: 1.0 0.5;
22172                aspect: 1.0 1.0;
22173                aspect_preference: VERTICAL;
22174                rel1 {
22175                   relative: 1.0  0.0;
22176                   offset:   -5    4;
22177                }
22178                rel2 {
22179                   relative: 1.0  1.0;
22180                   offset:   -5   -5;
22181                }
22182             }
22183          }
22184          part { name: "elm.text";
22185             clip_to: "disclip";
22186             type:           TEXT;
22187             effect:         SOFT_SHADOW;
22188             mouse_events:   0;
22189             scale: 1;
22190             description {
22191                state: "default" 0.0;
22192 //               min: 16 16;
22193                rel1 {
22194                   to_x:     "elm.swallow.icon";
22195                   relative: 1.0  0.0;
22196                   offset:   0 4;
22197                }
22198                rel2 {
22199                   to_x:     "elm.swallow.end";
22200                   relative: 0.0  0.5;
22201                   offset:   -1 -5;
22202                }
22203                color: 0 0 0 255;
22204                color3: 0 0 0 0;
22205                text {
22206                   font: "Sans";
22207                   size: 10;
22208                   min: 1 1;
22209 //                  min: 0 1;
22210                   align: 0.0 0.5;
22211                   text_class: "list_item";
22212                }
22213             }
22214             description { state: "selected" 0.0;
22215                inherit: "default" 0.0;
22216                color: 224 224 224 255;
22217                color3: 0 0 0 64;
22218             }
22219          }
22220          part { name: "elm.text.sub";
22221             clip_to: "disclip";
22222             type:           TEXT;
22223             mouse_events:   0;
22224             scale: 1;
22225             description {
22226                state: "default" 0.0;
22227 //               min: 16 16;
22228                rel1 {
22229                   to_x:     "elm.swallow.icon";
22230                   relative: 1.0  0.5;
22231                   offset:   0 4;
22232                }
22233                rel2 {
22234                   to_x:     "elm.swallow.end";
22235                   relative: 0.0  1.0;
22236                   offset:   -1 -5;
22237                }
22238                color: 0 0 0 128;
22239                color3: 0 0 0 0;
22240                text {
22241                   font: "Sans";
22242                   size: 8;
22243                   min: 1 1;
22244 //                  min: 0 1;
22245                   align: 0.0 0.5;
22246                   text_class: "list_item";
22247                }
22248             }
22249             description { state: "selected" 0.0;
22250                inherit: "default" 0.0;
22251                color: 128 128 128 255;
22252                color3: 0 0 0 32;
22253             }
22254          }
22255          part { name: "fg1";
22256             clip_to: "disclip";
22257             mouse_events: 0;
22258             description { state: "default" 0.0;
22259                visible: 0;
22260                color: 255 255 255 0;
22261                rel1.to: "bg";
22262                rel2.relative: 1.0 0.5;
22263                rel2.to: "bg";
22264                image {
22265                   normal: "bt_sm_hilight.png";
22266                   border: 6 6 6 0;
22267                }
22268             }
22269             description { state: "selected" 0.0;
22270                inherit: "default" 0.0;
22271                visible: 1;
22272                color: 255 255 255 255;
22273             }
22274          }
22275          part { name: "fg2";
22276             clip_to: "disclip";
22277             mouse_events: 0;
22278             description { state: "default" 0.0;
22279                visible: 0;
22280                color: 255 255 255 0;
22281                rel1.to: "bg";
22282                rel2.to: "bg";
22283                image {
22284                   normal: "bt_sm_shine.png";
22285                   border: 6 6 6 0;
22286                }
22287             }
22288             description { state: "selected" 0.0;
22289                inherit: "default" 0.0;
22290                visible: 1;
22291                color: 255 255 255 255;
22292             }
22293          }
22294          part { name: "disclip";
22295             type: RECT;
22296             description { state: "default" 0.0;
22297                rel1.to: "bg";
22298                rel2.to: "bg";
22299             }
22300             description { state: "disabled" 0.0;
22301                inherit: "default" 0.0;
22302                color: 255 255 255 64;
22303             }
22304          }
22305       }
22306       programs {
22307          // signal: elm,state,%s,active
22308          //   a "check" item named %s went active
22309          // signal: elm,state,%s,passive
22310          //   a "check" item named %s went passive
22311          // default is passive
22312          program {
22313             name:    "go_active";
22314             signal:  "elm,state,selected";
22315             source:  "elm";
22316             action:  STATE_SET "selected" 0.0;
22317             target:  "bg";
22318             target:  "fg1";
22319             target:  "fg2";
22320             target:  "elm.text";
22321             target:  "elm.text.sub";
22322          }
22323          program {
22324             name:    "go_passive";
22325             signal:  "elm,state,unselected";
22326             source:  "elm";
22327             action:  STATE_SET "default" 0.0;
22328             target:  "bg";
22329             target:  "fg1";
22330             target:  "fg2";
22331             target:  "elm.text";
22332             target:  "elm.text.sub";
22333             transition: LINEAR 0.1;
22334          }
22335          program {
22336             name:    "go_disabled";
22337             signal:  "elm,state,disabled";
22338             source:  "elm";
22339             action:  STATE_SET "disabled" 0.0;
22340             target:  "disclip";
22341          }
22342          program {
22343             name:    "go_enabled";
22344             signal:  "elm,state,enabled";
22345             source:  "elm";
22346             action:  STATE_SET "default" 0.0;
22347             target:  "disclip";
22348          }
22349          program {
22350             name:    "expand";
22351             signal:  "mouse,up,1";
22352             source:  "arrow";
22353             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22354          }
22355          program {
22356             name:    "go_expanded";
22357             signal:  "elm,state,expanded";
22358             source:  "elm";
22359             action:  STATE_SET "active" 0.0;
22360             target:  "arrow";
22361          }
22362          program {
22363             name:    "go_contracted";
22364             signal:  "elm,state,contracted";
22365             source:  "elm";
22366             action:  STATE_SET "default" 0.0;
22367             target:  "arrow";
22368          }
22369       }
22370    }
22371
22372    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22373       data.item: "stacking" "above";
22374       data.item: "selectraise" "on";
22375       data.item: "labels" "elm.text";
22376       data.item: "icons" "elm.swallow.icon";
22377       data.item: "treesize" "20";
22378 //      data.item: "states" "";
22379       images {
22380          image: "bt_sm_base1.png" COMP;
22381          image: "bt_sm_shine.png" COMP;
22382          image: "bt_sm_hilight.png" COMP;
22383          image: "ilist_1.png" COMP;
22384          image: "ilist_item_shadow.png" COMP;
22385       }
22386       parts {
22387          part {
22388             name:           "event";
22389             type:           RECT;
22390             repeat_events: 1;
22391             description {
22392                state: "default" 0.0;
22393                color: 0 0 0 0;
22394             }
22395          }
22396          part {
22397             name: "base_sh";
22398             mouse_events: 0;
22399             description {
22400                state: "default" 0.0;
22401                align: 0.0 0.0;
22402                min: 0 10;
22403                fixed: 1 1;
22404                rel1 {
22405                   to: "base";
22406                   relative: 0.0 1.0;
22407                   offset: 0 0;
22408                }
22409                rel2 {
22410                   to: "base";
22411                   relative: 1.0 1.0;
22412                   offset: -1 0;
22413                }
22414                image {
22415                   normal: "ilist_item_shadow.png";
22416                }
22417                fill.smooth: 0;
22418             }
22419          }
22420          part {
22421             name: "base";
22422             mouse_events: 0;
22423             description {
22424                state: "default" 0.0;
22425                image {
22426                   normal: "ilist_1.png";
22427                   border: 2 2 2 2;
22428                }
22429                fill.smooth: 0;
22430             }
22431          }
22432          part { name: "bg";
22433             clip_to: "disclip";
22434             mouse_events: 0;
22435             description { state: "default" 0.0;
22436                visible: 0;
22437                color: 255 255 255 0;
22438                rel1 {
22439                   relative: 0.0 0.0;
22440                   offset: -5 -5;
22441                }
22442                rel2 {
22443                   relative: 1.0 1.0;
22444                   offset: 4 4;
22445                }
22446                image {
22447                   normal: "bt_sm_base1.png";
22448                   border: 6 6 6 6;
22449                }
22450                image.middle: SOLID;
22451             }
22452             description { state: "selected" 0.0;
22453                inherit: "default" 0.0;
22454                visible: 1;
22455                color: 255 255 255 255;
22456                rel1 {
22457                   relative: 0.0 0.0;
22458                   offset: -2 -2;
22459                }
22460                rel2 {
22461                   relative: 1.0 1.0;
22462                   offset: 1 1;
22463                }
22464             }
22465          }
22466          part { name: "elm.swallow.pad";
22467             type: SWALLOW;
22468             description { state: "default" 0.0;
22469                fixed: 1 0;
22470                align: 0.0 0.5;
22471                rel1 {
22472                   relative: 0.0  0.0;
22473                   offset:   4    4;
22474                }
22475                rel2 {
22476                   relative: 1.0  1.0;
22477                   offset:   -4   -5;
22478                }
22479             }
22480          }
22481          part { name: "elm.swallow.icon";
22482             clip_to: "disclip";
22483             type: SWALLOW;
22484             description { state: "default" 0.0;
22485                fixed: 1 0;
22486                align: 0.5 0.5;
22487                rel1 {
22488                   to_x: "elm.swallow.pad";
22489                   relative: 0.0  0.0;
22490                   offset:   -1    4;
22491                }
22492                rel2 {
22493                   to_x: "elm.swallow.pad";
22494                   relative: 1.0  1.0;
22495                   offset:   -1   -5;
22496                }
22497             }
22498          }
22499          part { name: "elm.text";
22500             clip_to: "disclip";
22501             type:           TEXT;
22502             effect:         SOFT_SHADOW;
22503             mouse_events:   0;
22504             scale: 1;
22505             description {
22506                state: "default" 0.0;
22507 //               min: 16 16;
22508                rel1 {
22509                   to_y:     "elm.swallow.icon";
22510                   relative: 0.0  1.0;
22511                   offset:   0 4;
22512                }
22513                rel2 {
22514                   relative: 1.0  1.0;
22515                   offset:   -5 -5;
22516                }
22517                color: 0 0 0 255;
22518                color3: 0 0 0 0;
22519                text {
22520                   font: "Sans";
22521                   size: 10;
22522                   min: 1 1;
22523 //                  min: 0 1;
22524                   align: 0.5 0.5;
22525                   text_class: "list_item";
22526                }
22527             }
22528             description { state: "selected" 0.0;
22529                inherit: "default" 0.0;
22530                color: 224 224 224 255;
22531                color3: 0 0 0 64;
22532             }
22533          }
22534          part { name: "fg1";
22535             clip_to: "disclip";
22536             mouse_events: 0;
22537             description { state: "default" 0.0;
22538                visible: 0;
22539                color: 255 255 255 0;
22540                rel1.to: "bg";
22541                rel2.relative: 1.0 0.5;
22542                rel2.to: "bg";
22543                image {
22544                   normal: "bt_sm_hilight.png";
22545                   border: 6 6 6 0;
22546                }
22547             }
22548             description { state: "selected" 0.0;
22549                inherit: "default" 0.0;
22550                visible: 1;
22551                color: 255 255 255 255;
22552             }
22553          }
22554          part { name: "fg2";
22555             clip_to: "disclip";
22556             mouse_events: 0;
22557             description { state: "default" 0.0;
22558                visible: 0;
22559                color: 255 255 255 0;
22560                rel1.to: "bg";
22561                rel2.to: "bg";
22562                image {
22563                   normal: "bt_sm_shine.png";
22564                   border: 6 6 6 0;
22565                }
22566             }
22567             description { state: "selected" 0.0;
22568                inherit: "default" 0.0;
22569                visible: 1;
22570                color: 255 255 255 255;
22571             }
22572          }
22573          part { name: "disclip";
22574             type: RECT;
22575             description { state: "default" 0.0;
22576                rel1.to: "bg";
22577                rel2.to: "bg";
22578             }
22579             description { state: "disabled" 0.0;
22580                inherit: "default" 0.0;
22581                color: 255 255 255 64;
22582             }
22583          }
22584       }
22585       programs {
22586          // signal: elm,state,%s,active
22587          //   a "check" item named %s went active
22588          // signal: elm,state,%s,passive
22589          //   a "check" item named %s went passive
22590          // default is passive
22591          program {
22592             name:    "go_active";
22593             signal:  "elm,state,selected";
22594             source:  "elm";
22595             action:  STATE_SET "selected" 0.0;
22596             target:  "bg";
22597             target:  "fg1";
22598             target:  "fg2";
22599             target:  "elm.text";
22600          }
22601          program {
22602             name:    "go_passive";
22603             signal:  "elm,state,unselected";
22604             source:  "elm";
22605             action:  STATE_SET "default" 0.0;
22606             target:  "bg";
22607             target:  "fg1";
22608             target:  "fg2";
22609             target:  "elm.text";
22610             transition: LINEAR 0.1;
22611          }
22612          program {
22613             name:    "go_disabled";
22614             signal:  "elm,state,disabled";
22615             source:  "elm";
22616             action:  STATE_SET "disabled" 0.0;
22617             target:  "disclip";
22618          }
22619          program {
22620             name:    "go_enabled";
22621             signal:  "elm,state,enabled";
22622             source:  "elm";
22623             action:  STATE_SET "default" 0.0;
22624             target:  "disclip";
22625          }
22626       }
22627    }
22628    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22629       data.item: "stacking" "below";
22630       data.item: "selectraise" "on";
22631       data.item: "labels" "elm.text";
22632       data.item: "icons" "elm.swallow.icon";
22633       data.item: "treesize" "20";
22634 //      data.item: "states" "";
22635       images {
22636          image: "bt_sm_base1.png" COMP;
22637          image: "bt_sm_shine.png" COMP;
22638          image: "bt_sm_hilight.png" COMP;
22639          image: "ilist_2.png" COMP;
22640       }
22641       parts {
22642          part { name: "event";
22643             type: RECT;
22644             repeat_events: 1;
22645             description {
22646                state: "default" 0.0;
22647                color: 0 0 0 0;
22648             }
22649          }
22650          part {
22651             name: "base";
22652             mouse_events: 0;
22653             description {
22654                state: "default" 0.0;
22655                image {
22656                   normal: "ilist_2.png";
22657                   border: 2 2 2 2;
22658                }
22659                fill.smooth: 0;
22660             }
22661          }
22662          part { name: "bg";
22663             clip_to: "disclip";
22664             mouse_events: 0;
22665             description { state: "default" 0.0;
22666                visible: 0;
22667                color: 255 255 255 0;
22668                rel1 {
22669                   relative: 0.0 0.0;
22670                   offset: -5 -5;
22671                }
22672                rel2 {
22673                   relative: 1.0 1.0;
22674                   offset: 4 4;
22675                }
22676                image {
22677                   normal: "bt_sm_base1.png";
22678                   border: 6 6 6 6;
22679                }
22680                image.middle: SOLID;
22681             }
22682             description { state: "selected" 0.0;
22683                inherit: "default" 0.0;
22684                visible: 1;
22685                color: 255 255 255 255;
22686                rel1 {
22687                   relative: 0.0 0.0;
22688                   offset: -2 -2;
22689                }
22690                rel2 {
22691                   relative: 1.0 1.0;
22692                   offset: 1 1;
22693                }
22694             }
22695          }
22696          part { name: "elm.swallow.pad";
22697             type: SWALLOW;
22698             description { state: "default" 0.0;
22699                fixed: 1 0;
22700                align: 0.0 0.5;
22701                rel1 {
22702                   relative: 0.0  0.0;
22703                   offset:   4    4;
22704                }
22705                rel2 {
22706                   relative: 1.0  1.0;
22707                   offset:   -4   -5;
22708                }
22709             }
22710          }
22711          part { name: "elm.swallow.icon";
22712             clip_to: "disclip";
22713             type: SWALLOW;
22714             description { state: "default" 0.0;
22715                fixed: 1 0;
22716                align: 0.5 0.5;
22717                rel1 {
22718                   to_x: "elm.swallow.pad";
22719                   relative: 0.0  0.0;
22720                   offset:   -1    4;
22721                }
22722                rel2 {
22723                   to_x: "elm.swallow.pad";
22724                   relative: 1.0  1.0;
22725                   offset:   -1   -5;
22726                }
22727             }
22728          }
22729          part { name: "elm.text";
22730             clip_to: "disclip";
22731             type:           TEXT;
22732             effect:         SOFT_SHADOW;
22733             mouse_events:   0;
22734             scale: 1;
22735             description {
22736                state: "default" 0.0;
22737 //               min:      16 16;
22738                rel1 {
22739                   to_y:     "elm.swallow.icon";
22740                   relative: 0.0  1.0;
22741                   offset:   0 4;
22742                }
22743                rel2 {
22744                   relative: 1.0  1.0;
22745                   offset:   -5 -5;
22746                }
22747                color: 0 0 0 255;
22748                color3: 0 0 0 0;
22749                text {
22750                   font: "Sans";
22751                   size: 10;
22752                   min: 1 1;
22753 //                  min: 0 1;
22754                   align: 0.5 0.5;
22755                   text_class: "list_item";
22756                }
22757             }
22758             description { state: "selected" 0.0;
22759                inherit: "default" 0.0;
22760                color: 224 224 224 255;
22761                color3: 0 0 0 64;
22762             }
22763          }
22764          part { name: "fg1";
22765             clip_to: "disclip";
22766             mouse_events: 0;
22767             description { state: "default" 0.0;
22768                visible: 0;
22769                color: 255 255 255 0;
22770                rel1.to: "bg";
22771                rel2.relative: 1.0 0.5;
22772                rel2.to: "bg";
22773                image {
22774                   normal: "bt_sm_hilight.png";
22775                   border: 6 6 6 0;
22776                }
22777             }
22778             description { state: "selected" 0.0;
22779                inherit: "default" 0.0;
22780                visible: 1;
22781                color: 255 255 255 255;
22782             }
22783          }
22784          part { name: "fg2";
22785             clip_to: "disclip";
22786             mouse_events: 0;
22787             description { state: "default" 0.0;
22788                visible: 0;
22789                color: 255 255 255 0;
22790                rel1.to: "bg";
22791                rel2.to: "bg";
22792                image {
22793                   normal: "bt_sm_shine.png";
22794                   border: 6 6 6 0;
22795                }
22796             }
22797             description { state: "selected" 0.0;
22798                inherit: "default" 0.0;
22799                visible: 1;
22800                color: 255 255 255 255;
22801             }
22802          }
22803          part { name: "disclip";
22804             type: RECT;
22805             description { state: "default" 0.0;
22806                rel1.to: "bg";
22807                rel2.to: "bg";
22808             }
22809             description { state: "disabled" 0.0;
22810                inherit: "default" 0.0;
22811                color: 255 255 255 64;
22812             }
22813          }
22814       }
22815       programs {
22816          // signal: elm,state,%s,active
22817          //   a "check" item named %s went active
22818          // signal: elm,state,%s,passive
22819          //   a "check" item named %s went passive
22820          // default is passive
22821          program {
22822             name:    "go_active";
22823             signal:  "elm,state,selected";
22824             source:  "elm";
22825             action:  STATE_SET "selected" 0.0;
22826             target:  "bg";
22827             target:  "fg1";
22828             target:  "fg2";
22829             target:  "elm.text";
22830          }
22831          program {
22832             name:    "go_passive";
22833             signal:  "elm,state,unselected";
22834             source:  "elm";
22835             action:  STATE_SET "default" 0.0;
22836             target:  "bg";
22837             target:  "fg1";
22838             target:  "fg2";
22839             target:  "elm.text";
22840             transition: LINEAR 0.1;
22841          }
22842          program {
22843             name:    "go_disabled";
22844             signal:  "elm,state,disabled";
22845             source:  "elm";
22846             action:  STATE_SET "disabled" 0.0;
22847             target:  "disclip";
22848          }
22849          program {
22850             name:    "go_enabled";
22851             signal:  "elm,state,enabled";
22852             source:  "elm";
22853             action:  STATE_SET "default" 0.0;
22854             target:  "disclip";
22855          }
22856       }
22857    }
22858
22859    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22860       data.item: "stacking" "above";
22861       data.item: "selectraise" "on";
22862       data.item: "labels" "elm.text";
22863       data.item: "icons" "elm.swallow.icon";
22864       data.item: "treesize" "20";
22865 //      data.item: "states" "";
22866       images {
22867          image: "bt_sm_base1.png" COMP;
22868          image: "bt_sm_shine.png" COMP;
22869          image: "bt_sm_hilight.png" COMP;
22870          image: "ilist_1.png" COMP;
22871          image: "ilist_item_shadow.png" COMP;
22872          image: "icon_arrow_right.png" COMP;
22873          image: "icon_arrow_down.png" COMP;
22874       }
22875       parts {
22876          part {
22877             name:           "event";
22878             type:           RECT;
22879             repeat_events: 1;
22880             description {
22881                state: "default" 0.0;
22882                color: 0 0 0 0;
22883             }
22884          }
22885          part {
22886             name: "base_sh";
22887             mouse_events: 0;
22888             description {
22889                state: "default" 0.0;
22890                align: 0.0 0.0;
22891                min: 0 10;
22892                fixed: 1 1;
22893                rel1 {
22894                   to: "base";
22895                   relative: 0.0 1.0;
22896                   offset: 0 0;
22897                }
22898                rel2 {
22899                   to: "base";
22900                   relative: 1.0 1.0;
22901                   offset: -1 0;
22902                }
22903                image {
22904                   normal: "ilist_item_shadow.png";
22905                }
22906                fill.smooth: 0;
22907             }
22908          }
22909          part {
22910             name: "base";
22911             mouse_events: 0;
22912             description {
22913                state: "default" 0.0;
22914                image {
22915                   normal: "ilist_1.png";
22916                   border: 2 2 2 2;
22917                }
22918                fill.smooth: 0;
22919             }
22920          }
22921          part { name: "bg";
22922             clip_to: "disclip";
22923             mouse_events: 0;
22924             description { state: "default" 0.0;
22925                visible: 0;
22926                color: 255 255 255 0;
22927                rel1 {
22928                   relative: 0.0 0.0;
22929                   offset: -5 -5;
22930                }
22931                rel2 {
22932                   relative: 1.0 1.0;
22933                   offset: 4 4;
22934                }
22935                image {
22936                   normal: "bt_sm_base1.png";
22937                   border: 6 6 6 6;
22938                }
22939                image.middle: SOLID;
22940             }
22941             description { state: "selected" 0.0;
22942                inherit: "default" 0.0;
22943                visible: 1;
22944                color: 255 255 255 255;
22945                rel1 {
22946                   relative: 0.0 0.0;
22947                   offset: -2 -2;
22948                }
22949                rel2 {
22950                   relative: 1.0 1.0;
22951                   offset: 1 1;
22952                }
22953             }
22954          }
22955          part { name: "elm.swallow.pad";
22956             type: SWALLOW;
22957             description { state: "default" 0.0;
22958                fixed: 1 0;
22959                align: 0.0 0.5;
22960                rel1 {
22961                   relative: 0.0  0.0;
22962                   offset:   4    4;
22963                }
22964                rel2 {
22965                   relative: 0.0  1.0;
22966                   offset:   4   -5;
22967                }
22968             }
22969          }
22970          part { name: "arrow";
22971             clip_to: "disclip";
22972             ignore_flags: ON_HOLD;
22973             description { state: "default" 0.0;
22974                fixed: 1 0;
22975                align: 0.0 0.5;
22976                aspect: 1.0 1.0;
22977                rel1 {
22978                   to_x: "elm.swallow.pad";
22979                   relative: 1.0  0.0;
22980                   offset:   -1    4;
22981                }
22982                rel2 {
22983                   to_x: "elm.swallow.pad";
22984                   relative: 1.0  1.0;
22985                   offset:   -1   -5;
22986                }
22987                image.normal: "icon_arrow_right.png";
22988             }
22989             description { state: "active" 0.0;
22990                inherit: "default" 0.0;
22991                image.normal: "icon_arrow_down.png";
22992             }
22993          }
22994          part { name: "elm.swallow.icon";
22995             clip_to: "disclip";
22996             type: SWALLOW;
22997             description { state: "default" 0.0;
22998                fixed: 1 0;
22999                align: 0.5 0.5;
23000                rel1 {
23001                   to_x: "arrow";
23002                   relative: 1.0  0.0;
23003                   offset:   4    4;
23004                }
23005                rel2 {
23006                   relative: 1.0  1.0;
23007                   offset:   -4   -5;
23008                }
23009             }
23010          }
23011          part { name: "elm.text";
23012             clip_to: "disclip";
23013             type:           TEXT;
23014             effect:         SOFT_SHADOW;
23015             mouse_events:   0;
23016             scale: 1;
23017             description {
23018                state: "default" 0.0;
23019 //               min: 16 16;
23020                rel1 {
23021                   to_y:     "elm.swallow.icon";
23022                   relative: 0.0  1.0;
23023                   offset:   0 4;
23024                }
23025                rel2 {
23026                   relative: 1.0  1.0;
23027                   offset:   -5 -5;
23028                }
23029                color: 0 0 0 255;
23030                color3: 0 0 0 0;
23031                text {
23032                   font: "Sans";
23033                   size: 10;
23034                   min: 1 1;
23035 //                  min: 0 1;
23036                   align: 0.5 0.5;
23037                   text_class: "list_item";
23038                }
23039             }
23040             description { state: "selected" 0.0;
23041                inherit: "default" 0.0;
23042                color: 224 224 224 255;
23043                color3: 0 0 0 64;
23044             }
23045          }
23046          part { name: "fg1";
23047             clip_to: "disclip";
23048             mouse_events: 0;
23049             description { state: "default" 0.0;
23050                visible: 0;
23051                color: 255 255 255 0;
23052                rel1.to: "bg";
23053                rel2.relative: 1.0 0.5;
23054                rel2.to: "bg";
23055                image {
23056                   normal: "bt_sm_hilight.png";
23057                   border: 6 6 6 0;
23058                }
23059             }
23060             description { state: "selected" 0.0;
23061                inherit: "default" 0.0;
23062                visible: 1;
23063                color: 255 255 255 255;
23064             }
23065          }
23066          part { name: "fg2";
23067             clip_to: "disclip";
23068             mouse_events: 0;
23069             description { state: "default" 0.0;
23070                visible: 0;
23071                color: 255 255 255 0;
23072                rel1.to: "bg";
23073                rel2.to: "bg";
23074                image {
23075                   normal: "bt_sm_shine.png";
23076                   border: 6 6 6 0;
23077                }
23078             }
23079             description { state: "selected" 0.0;
23080                inherit: "default" 0.0;
23081                visible: 1;
23082                color: 255 255 255 255;
23083             }
23084          }
23085          part { name: "disclip";
23086             type: RECT;
23087             description { state: "default" 0.0;
23088                rel1.to: "bg";
23089                rel2.to: "bg";
23090             }
23091             description { state: "disabled" 0.0;
23092                inherit: "default" 0.0;
23093                color: 255 255 255 64;
23094             }
23095          }
23096       }
23097       programs {
23098          // signal: elm,state,%s,active
23099          //   a "check" item named %s went active
23100          // signal: elm,state,%s,passive
23101          //   a "check" item named %s went passive
23102          // default is passive
23103          program {
23104             name:    "go_active";
23105             signal:  "elm,state,selected";
23106             source:  "elm";
23107             action:  STATE_SET "selected" 0.0;
23108             target:  "bg";
23109             target:  "fg1";
23110             target:  "fg2";
23111             target:  "elm.text";
23112          }
23113          program {
23114             name:    "go_passive";
23115             signal:  "elm,state,unselected";
23116             source:  "elm";
23117             action:  STATE_SET "default" 0.0;
23118             target:  "bg";
23119             target:  "fg1";
23120             target:  "fg2";
23121             target:  "elm.text";
23122             transition: LINEAR 0.1;
23123          }
23124          program {
23125             name:    "go_disabled";
23126             signal:  "elm,state,disabled";
23127             source:  "elm";
23128             action:  STATE_SET "disabled" 0.0;
23129             target:  "disclip";
23130          }
23131          program {
23132             name:    "go_enabled";
23133             signal:  "elm,state,enabled";
23134             source:  "elm";
23135             action:  STATE_SET "default" 0.0;
23136             target:  "disclip";
23137          }
23138          program {
23139             name:    "expand";
23140             signal:  "mouse,up,1";
23141             source:  "arrow";
23142             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23143          }
23144          program {
23145             name:    "go_expanded";
23146             signal:  "elm,state,expanded";
23147             source:  "elm";
23148             action:  STATE_SET "active" 0.0;
23149             target:  "arrow";
23150          }
23151          program {
23152             name:    "go_contracted";
23153             signal:  "elm,state,contracted";
23154             source:  "elm";
23155             action:  STATE_SET "default" 0.0;
23156             target:  "arrow";
23157          }
23158       }
23159    }
23160    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23161       data.item: "stacking" "below";
23162       data.item: "selectraise" "on";
23163       data.item: "labels" "elm.text";
23164       data.item: "icons" "elm.swallow.icon";
23165       data.item: "treesize" "20";
23166 //      data.item: "states" "";
23167       images {
23168          image: "bt_sm_base1.png" COMP;
23169          image: "bt_sm_shine.png" COMP;
23170          image: "bt_sm_hilight.png" COMP;
23171          image: "ilist_2.png" COMP;
23172          image: "icon_arrow_right.png" COMP;
23173          image: "icon_arrow_down.png" COMP;
23174       }
23175       parts {
23176          part {
23177             name:           "event";
23178             type:           RECT;
23179             repeat_events: 1;
23180             description {
23181                state: "default" 0.0;
23182                color: 0 0 0 0;
23183             }
23184          }
23185          part {
23186             name: "base";
23187             mouse_events: 0;
23188             description {
23189                state: "default" 0.0;
23190                image {
23191                   normal: "ilist_2.png";
23192                   border: 2 2 2 2;
23193                }
23194                fill.smooth: 0;
23195             }
23196          }
23197          part { name: "bg";
23198             clip_to: "disclip";
23199             mouse_events: 0;
23200             description { state: "default" 0.0;
23201                visible: 0;
23202                color: 255 255 255 0;
23203                rel1 {
23204                   relative: 0.0 0.0;
23205                   offset: -5 -5;
23206                }
23207                rel2 {
23208                   relative: 1.0 1.0;
23209                   offset: 4 4;
23210                }
23211                image {
23212                   normal: "bt_sm_base1.png";
23213                   border: 6 6 6 6;
23214                }
23215                image.middle: SOLID;
23216             }
23217             description { state: "selected" 0.0;
23218                inherit: "default" 0.0;
23219                visible: 1;
23220                color: 255 255 255 255;
23221                rel1 {
23222                   relative: 0.0 0.0;
23223                   offset: -2 -2;
23224                }
23225                rel2 {
23226                   relative: 1.0 1.0;
23227                   offset: 1 1;
23228                }
23229             }
23230          }
23231          part { name: "elm.swallow.pad";
23232             type: SWALLOW;
23233             description { state: "default" 0.0;
23234                fixed: 1 0;
23235                align: 0.0 0.5;
23236                rel1 {
23237                   relative: 0.0  0.0;
23238                   offset:   4    4;
23239                }
23240                rel2 {
23241                   relative: 0.0  1.0;
23242                   offset:   4   -5;
23243                }
23244             }
23245          }
23246          part { name: "arrow";
23247             clip_to: "disclip";
23248             ignore_flags: ON_HOLD;
23249             description { state: "default" 0.0;
23250                fixed: 1 0;
23251                align: 0.0 0.5;
23252                aspect: 1.0 1.0;
23253                rel1 {
23254                   to_x: "elm.swallow.pad";
23255                   relative: 1.0  0.0;
23256                   offset:   -1    4;
23257                }
23258                rel2 {
23259                   to_x: "elm.swallow.pad";
23260                   relative: 1.0  1.0;
23261                   offset:   -1   -5;
23262                }
23263                image.normal: "icon_arrow_right.png";
23264             }
23265             description { state: "active" 0.0;
23266                inherit: "default" 0.0;
23267                image.normal: "icon_arrow_down.png";
23268             }
23269          }
23270          part { name: "elm.swallow.icon";
23271             clip_to: "disclip";
23272             type: SWALLOW;
23273             description { state: "default" 0.0;
23274                fixed: 1 0;
23275                align: 0.5 0.5;
23276                rel1 {
23277                   to_x: "arrow";
23278                   relative: 1.0  0.0;
23279                   offset:   4    4;
23280                }
23281                rel2 {
23282                   relative: 1.0  1.0;
23283                   offset:   -4   -5;
23284                }
23285             }
23286          }
23287          part { name: "elm.text";
23288             clip_to: "disclip";
23289             type:           TEXT;
23290             effect:         SOFT_SHADOW;
23291             mouse_events:   0;
23292             scale: 1;
23293             description {
23294                state: "default" 0.0;
23295 //               min: 16 16;
23296                rel1 {
23297                   to_y:     "elm.swallow.icon";
23298                   relative: 0.0  1.0;
23299                   offset:   0 4;
23300                }
23301                rel2 {
23302                   relative: 1.0  1.0;
23303                   offset:   -5 -5;
23304                }
23305                color: 0 0 0 255;
23306                color3: 0 0 0 0;
23307                text {
23308                   font: "Sans";
23309                   size: 10;
23310                   min: 1 1;
23311 //                  min: 0 1;
23312                   align: 0.5 0.5;
23313                   text_class: "list_item";
23314                }
23315             }
23316             description { state: "selected" 0.0;
23317                inherit: "default" 0.0;
23318                color: 224 224 224 255;
23319                color3: 0 0 0 64;
23320             }
23321          }
23322          part { name: "fg1";
23323             clip_to: "disclip";
23324             mouse_events: 0;
23325             description { state: "default" 0.0;
23326                visible: 0;
23327                color: 255 255 255 0;
23328                rel1.to: "bg";
23329                rel2.relative: 1.0 0.5;
23330                rel2.to: "bg";
23331                image {
23332                   normal: "bt_sm_hilight.png";
23333                   border: 6 6 6 0;
23334                }
23335             }
23336             description { state: "selected" 0.0;
23337                inherit: "default" 0.0;
23338                visible: 1;
23339                color: 255 255 255 255;
23340             }
23341          }
23342          part { name: "fg2";
23343             clip_to: "disclip";
23344             mouse_events: 0;
23345             description { state: "default" 0.0;
23346                visible: 0;
23347                color: 255 255 255 0;
23348                rel1.to: "bg";
23349                rel2.to: "bg";
23350                image {
23351                   normal: "bt_sm_shine.png";
23352                   border: 6 6 6 0;
23353                }
23354             }
23355             description { state: "selected" 0.0;
23356                inherit: "default" 0.0;
23357                visible: 1;
23358                color: 255 255 255 255;
23359             }
23360          }
23361          part { name: "disclip";
23362             type: RECT;
23363             description { state: "default" 0.0;
23364                rel1.to: "bg";
23365                rel2.to: "bg";
23366             }
23367             description { state: "disabled" 0.0;
23368                inherit: "default" 0.0;
23369                color: 255 255 255 64;
23370             }
23371          }
23372       }
23373       programs {
23374          // signal: elm,state,%s,active
23375          //   a "check" item named %s went active
23376          // signal: elm,state,%s,passive
23377          //   a "check" item named %s went passive
23378          // default is passive
23379          program {
23380             name:    "go_active";
23381             signal:  "elm,state,selected";
23382             source:  "elm";
23383             action:  STATE_SET "selected" 0.0;
23384             target:  "bg";
23385             target:  "fg1";
23386             target:  "fg2";
23387             target:  "elm.text";
23388          }
23389          program {
23390             name:    "go_passive";
23391             signal:  "elm,state,unselected";
23392             source:  "elm";
23393             action:  STATE_SET "default" 0.0;
23394             target:  "bg";
23395             target:  "fg1";
23396             target:  "fg2";
23397             target:  "elm.text";
23398             transition: LINEAR 0.1;
23399          }
23400          program {
23401             name:    "go_disabled";
23402             signal:  "elm,state,disabled";
23403             source:  "elm";
23404             action:  STATE_SET "disabled" 0.0;
23405             target:  "disclip";
23406          }
23407          program {
23408             name:    "go_enabled";
23409             signal:  "elm,state,enabled";
23410             source:  "elm";
23411             action:  STATE_SET "default" 0.0;
23412             target:  "disclip";
23413          }
23414          program {
23415             name:    "expand";
23416             signal:  "mouse,up,1";
23417             source:  "arrow";
23418             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23419          }
23420          program {
23421             name:    "go_expanded";
23422             signal:  "elm,state,expanded";
23423             source:  "elm";
23424             action:  STATE_SET "active" 0.0;
23425             target:  "arrow";
23426          }
23427          program {
23428             name:    "go_contracted";
23429             signal:  "elm,state,contracted";
23430             source:  "elm";
23431             action:  STATE_SET "default" 0.0;
23432             target:  "arrow";
23433          }
23434       }
23435    }
23436
23437
23438 ///////////////////////////////////////////////////////////////////////////////
23439    group { name: "elm/check/base/default";
23440       images {
23441          image: "check_base.png" COMP;
23442          image: "check.png" COMP;
23443          image: "check2.png" COMP;
23444       }
23445       parts {
23446          part { name: "bg";
23447             mouse_events: 0;
23448             scale: 1;
23449             description { state: "default" 0.0;
23450                rel1.offset: 1 1;
23451                rel2.relative: 0.0 1.0;
23452                rel2.offset: 1 -2;
23453                align: 0.0 0.5;
23454                min: 16 16;
23455                max: 16 16;
23456                aspect: 1.0 1.0;
23457                aspect_preference: VERTICAL;
23458                image {
23459                   normal: "check_base.png";
23460                   border: 5 5 5 5;
23461                   middle: 0;
23462                }
23463                fill.smooth : 0;
23464             }
23465          }
23466          part { name: "check";
23467             mouse_events: 0;
23468             scale: 1;
23469             description { state: "default" 0.0;
23470                rel1 {
23471                   to: "bg";
23472                   offset: 1 1;
23473                }
23474                rel2 {
23475                   to: "bg";
23476                   offset: -2 -2;
23477                }
23478                visible: 0;
23479                color: 255 255 255 255;
23480                image.normal: "check.png";
23481             }
23482             description { state: "visible" 0.0;
23483                inherit: "default" 0.0;
23484                visible: 1;
23485             }
23486             description { state: "disabled" 0.0;
23487                inherit: "default" 0.0;
23488                visible: 0;
23489                color: 128 128 128 128;
23490             }
23491             description { state: "disabled_visible" 0.0;
23492                inherit: "default" 0.0;
23493                color: 128 128 128 128;
23494                visible: 1;
23495             }
23496          }
23497          part { name: "elm.swallow.content";
23498             type: SWALLOW;
23499             description { state: "default" 0.0;
23500                fixed: 1 0;
23501                visible: 0;
23502                align: 0.0 0.5;
23503           rel1.to_x: "bg";
23504                rel1.relative: 1.0 0.0;
23505                rel1.offset: 1 1;
23506           rel2.to_x: "bg";
23507                rel2.offset: 1 -2;
23508                rel2.relative: 1.0 1.0;
23509             }
23510             description { state: "visible" 0.0;
23511                inherit: "default" 0.0;
23512           fixed: 1 0;
23513                visible: 1;
23514                aspect: 1.0 1.0;
23515             }
23516             description { state: "disabled" 0.0;
23517                inherit: "default" 0.0;
23518                color: 128 128 128 128;
23519             }
23520             description { state: "disabled_visible" 0.0;
23521                inherit: "default" 0.0;
23522                color: 128 128 128 128;
23523           fixed: 1 0;
23524                visible: 1;
23525                aspect: 1.0 1.0;
23526             }
23527          }
23528          part { name: "elm.text";
23529             type: TEXT;
23530             mouse_events: 0;
23531             scale: 1;
23532             description { state: "default" 0.0;
23533                visible: 0;
23534                rel1.to_x: "elm.swallow.content";
23535                rel1.relative: 1.0 0.0;
23536                rel1.offset: 1 1;
23537                rel2.relative: 1.0 1.0;
23538                rel2.offset: -2 -2;
23539                color: 0 0 0 255;
23540                text {
23541                   font: "Sans,Edje-Vera";
23542                   size: 10;
23543                   min: 0 1;
23544                   align: 0.0 0.5;
23545                }
23546             }
23547             description { state: "visible" 0.0;
23548                inherit: "default" 0.0;
23549                visible: 1;
23550                text.min: 1 1;
23551             }
23552             description { state: "disabled" 0.0;
23553                inherit: "default" 0.0;
23554                color: 0 0 0 128;
23555                color3: 0 0 0 0;
23556             }
23557             description { state: "disabled_visible" 0.0;
23558                inherit: "default" 0.0;
23559                color: 0 0 0 128;
23560                color3: 0 0 0 0;
23561                visible: 1;
23562                text.min: 1 1;
23563             }
23564          }
23565          part { name: "events";
23566             type: RECT;
23567             ignore_flags: ON_HOLD;
23568             description { state: "default" 0.0;
23569                color: 0 0 0 0;
23570             }
23571          }
23572           part { name: "disabler";
23573             type: RECT;
23574             description { state: "default" 0.0;
23575                color: 0 0 0 0;
23576                visible: 0;
23577             }
23578             description { state: "disabled" 0.0;
23579                inherit: "default" 0.0;
23580                visible: 1;
23581             }
23582          }
23583       }
23584       programs {
23585          program { name: "click";
23586             signal: "mouse,up,1";
23587             source: "events";
23588             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23589          }
23590          program { name: "check_on";
23591             signal: "elm,state,check,on";
23592             source: "elm";
23593             action:  STATE_SET "visible" 0.0;
23594             target: "check";
23595          }
23596          program { name: "check_off";
23597             signal: "elm,state,check,off";
23598             source: "elm";
23599             action:  STATE_SET "default" 0.0;
23600             target: "check";
23601          }
23602          program { name: "text_show";
23603             signal: "elm,state,text,visible";
23604             source: "elm";
23605             action:  STATE_SET "visible" 0.0;
23606             target: "elm.text";
23607          }
23608          program { name: "text_hide";
23609             signal: "elm,state,text,hidden";
23610             source: "elm";
23611             action:  STATE_SET "default" 0.0;
23612             target: "elm.text";
23613          }
23614          program { name: "icon_show";
23615             signal: "elm,state,icon,visible";
23616             source: "elm";
23617             action:  STATE_SET "visible" 0.0;
23618             target: "elm.swallow.content";
23619          }
23620          program { name: "icon_hide";
23621             signal: "elm,state,icon,hidden";
23622             source: "elm";
23623             action:  STATE_SET "default" 0.0;
23624             target: "elm.swallow.content";
23625          }
23626          program { name: "disable";
23627             signal: "elm,state,disabled";
23628             source: "elm";
23629             action: STATE_SET "disabled" 0.0;
23630             target: "disabler";
23631             after: "disable_text";
23632          }
23633          program { name: "disable_text";
23634             script {
23635                new st[31];
23636                new Float:vl;
23637                get_state(PART:"elm.text", st, 30, vl);
23638                if (!strcmp(st, "visible"))
23639                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23640                else
23641                  set_state(PART:"elm.text", "disabled", 0.0);
23642
23643                get_state(PART:"elm.swallow.content", st, 30, vl);
23644                if (!strcmp(st, "visible"))
23645                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23646                else
23647                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23648
23649                get_state(PART:"check", st, 30, vl);
23650                if (!strcmp(st, "visible"))
23651                  set_state(PART:"check", "disabled_visible", 0.0);
23652                else
23653                  set_state(PART:"check", "disabled", 0.0);
23654             }
23655          }
23656          program { name: "enable";
23657             signal: "elm,state,enabled";
23658             source: "elm";
23659             action: STATE_SET "default" 0.0;
23660             target: "disabler";
23661             after: "enable_text";
23662          }
23663          program { name: "enable_text";
23664             script {
23665                new st[31];
23666                new Float:vl;
23667                get_state(PART:"elm.text", st, 30, vl);
23668                if (!strcmp(st, "disabled_visible"))
23669                  set_state(PART:"elm.text", "visible", 0.0);
23670                else
23671                  set_state(PART:"elm.text", "default", 0.0);
23672
23673                get_state(PART:"elm.swallow.content", st, 30, vl);
23674                if (!strcmp(st, "visible"))
23675                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23676                else
23677                  set_state(PART:"elm.swallow.content", "default", 0.0);
23678
23679                get_state(PART:"check", st, 30, vl);
23680                if (!strcmp(st, "visible"))
23681                  set_state(PART:"check", "visible", 0.0);
23682                else
23683                  set_state(PART:"check", "default", 0.0);
23684             }
23685          }
23686       }
23687    }
23688 ///////////////////////////////////////////////////////////////////////////////
23689    group { name: "elm/radio/base/default";
23690       images {
23691          image: "radio_base.png" COMP;
23692          image: "radio.png" COMP;
23693          image: "radio2.png" COMP;
23694       }
23695       parts {
23696          part { name: "bg";
23697             mouse_events: 0;
23698             scale: 1;
23699             description { state: "default" 0.0;
23700                rel1.offset: 1 1;
23701                rel2.relative: 0.0 1.0;
23702                rel2.offset: 1 -2;
23703                align: 0.0 0.5;
23704                min: 16 16;
23705                max: 16 16;
23706                aspect: 1.0 1.0;
23707                aspect_preference: VERTICAL;
23708                image.normal: "radio_base.png";
23709             }
23710          }
23711          part { name: "radio";
23712             mouse_events: 0;
23713             scale: 1;
23714             description { state: "default" 0.0;
23715                rel1.to: "bg";
23716                rel2.to: "bg";
23717                visible: 0;
23718                image.normal: "radio.png";
23719             }
23720             description { state: "visible" 0.0;
23721                inherit: "default" 0.0;
23722                visible: 1;
23723             }
23724          }
23725          part { name: "elm.swallow.content";
23726             type: SWALLOW;
23727             description { state: "default" 0.0;
23728                fixed: 1 0;
23729                visible: 0;
23730                align: 0.0 0.5;
23731                color: 0 0 0 0;
23732                rel1.to_x: "bg";
23733                rel1.relative: 1.0 0.0;
23734                rel1.offset: 1 1;
23735                rel2.to_x: "bg";
23736                rel2.relative: 1.0 1.0;
23737                rel2.offset: 2 -2;
23738             }
23739             description { state: "visible" 0.0;
23740                inherit: "default" 0.0;
23741                visible: 1;
23742                color: 255 255 255 255;
23743                aspect: 1.0 1.0;
23744             }
23745             description { state: "disabled" 0.0;
23746                inherit: "default" 0.0;
23747                color: 128 128 128 128;
23748             }
23749             description { state: "disabled_visible" 0.0;
23750                inherit: "default" 0.0;
23751                color: 128 128 128 128;
23752                visible: 1;
23753                aspect: 1.0 1.0;
23754             }
23755          }
23756          part { name: "elm.text";
23757             type: TEXT;
23758             mouse_events: 0;
23759             scale: 1;
23760             description { state: "default" 0.0;
23761                visible: 0;
23762                rel1.to_x: "elm.swallow.content";
23763                rel1.relative: 1.0 0.0;
23764                rel1.offset: 1 1;
23765                rel2.relative: 1.0 1.0;
23766                rel2.offset: -2 -2;
23767                color: 0 0 0 255;
23768                text {
23769                   font: "Sans,Edje-Vera";
23770                   size: 10;
23771                   min: 0 0;
23772                   align: 0.0 0.5;
23773                }
23774             }
23775             description { state: "visible" 0.0;
23776                inherit: "default" 0.0;
23777                visible: 1;
23778                text.min: 1 1;
23779             }
23780             description { state: "disabled" 0.0;
23781                inherit: "default" 0.0;
23782                color: 0 0 0 128;
23783                color3: 0 0 0 0;
23784             }
23785             description { state: "disabled_visible" 0.0;
23786                inherit: "default" 0.0;
23787                color: 0 0 0 128;
23788                color3: 0 0 0 0;
23789                visible: 1;
23790                text.min: 1 1;
23791             }
23792          }
23793          part { name: "events";
23794             type: RECT;
23795             ignore_flags: ON_HOLD;
23796             description { state: "default" 0.0;
23797                color: 0 0 0 0;
23798             }
23799          }
23800           part { name: "disabler";
23801             type: RECT;
23802             description { state: "default" 0.0;
23803                color: 0 0 0 0;
23804                visible: 0;
23805             }
23806             description { state: "disabled" 0.0;
23807                inherit: "default" 0.0;
23808                visible: 1;
23809             }
23810          }
23811       }
23812       programs {
23813          program { name: "click";
23814             signal: "mouse,up,1";
23815             source: "events";
23816             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23817          }
23818          program { name: "radio_on";
23819             signal: "elm,state,radio,on";
23820             source: "elm";
23821             action:  STATE_SET "visible" 0.0;
23822             target: "radio";
23823          }
23824          program { name: "radio_off";
23825             signal: "elm,state,radio,off";
23826             source: "elm";
23827             action:  STATE_SET "default" 0.0;
23828             target: "radio";
23829          }
23830          program { name: "text_show";
23831             signal: "elm,state,text,visible";
23832             source: "elm";
23833             action:  STATE_SET "visible" 0.0;
23834             target: "elm.text";
23835          }
23836          program { name: "text_hide";
23837             signal: "elm,state,text,hidden";
23838             source: "elm";
23839             action:  STATE_SET "default" 0.0;
23840             target: "elm.text";
23841          }
23842          program { name: "icon_show";
23843             signal: "elm,state,icon,visible";
23844             source: "elm";
23845             action:  STATE_SET "visible" 0.0;
23846             target: "elm.swallow.content";
23847          }
23848          program { name: "icon_hide";
23849             signal: "elm,state,icon,hidden";
23850             source: "elm";
23851             action:  STATE_SET "default" 0.0;
23852             target: "elm.swallow.content";
23853          }
23854          program { name: "disable";
23855             signal: "elm,state,disabled";
23856             source: "elm";
23857             action: STATE_SET "disabled" 0.0;
23858             target: "disabler";
23859             after: "disable_text";
23860          }
23861          program { name: "disable_text";
23862             script {
23863                new st[31];
23864                new Float:vl;
23865                get_state(PART:"elm.text", st, 30, vl);
23866                if (!strcmp(st, "visible"))
23867                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23868                else
23869                  set_state(PART:"elm.text", "disabled", 0.0);
23870
23871                get_state(PART:"elm.swallow.content", st, 30, vl);
23872                if (!strcmp(st, "visible"))
23873                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23874                else
23875                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23876             }
23877          }
23878          program { name: "enable";
23879             signal: "elm,state,enabled";
23880             source: "elm";
23881             action: STATE_SET "default" 0.0;
23882             target: "disabler";
23883             after: "enable_text";
23884          }
23885          program { name: "enable_text";
23886             script {
23887                new st[31];
23888                new Float:vl;
23889                get_state(PART:"elm.text", st, 30, vl);
23890                if (!strcmp(st, "disabled_visible"))
23891                  set_state(PART:"elm.text", "visible", 0.0);
23892                else
23893                  set_state(PART:"elm.text", "default", 0.0);
23894
23895                get_state(PART:"elm.swallow.content", st, 30, vl);
23896                if (!strcmp(st, "visible"))
23897                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23898                else
23899                  set_state(PART:"elm.swallow.content", "default", 0.0);
23900             }
23901          }
23902       }
23903    }
23904    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23905       data.item: "stacking" "below";
23906       data.item: "selectraise" "on";
23907       data.item: "labels" "elm.text elm.text.sub";
23908       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23909       data.item: "treesize" "20";
23910 //      data.item: "states" "";
23911       images {
23912          image: "bt_sm_base1.png" COMP;
23913          image: "bt_sm_shine.png" COMP;
23914          image: "bt_sm_hilight.png" COMP;
23915          image: "ilist_2.png" COMP;
23916          image: "icon_arrow_right.png" COMP;
23917          image: "icon_arrow_down.png" COMP;
23918       }
23919       parts {
23920          part {
23921             name:           "event";
23922             type:           RECT;
23923             repeat_events: 1;
23924             description {
23925                state: "default" 0.0;
23926                color: 0 0 0 0;
23927             }
23928          }
23929          part {
23930             name: "base";
23931             mouse_events: 0;
23932             description {
23933                state: "default" 0.0;
23934                image {
23935                   normal: "ilist_2.png";
23936                   border: 2 2 2 2;
23937                }
23938                fill.smooth: 0;
23939             }
23940          }
23941          part { name: "bg";
23942             clip_to: "disclip";
23943             mouse_events: 0;
23944             description { state: "default" 0.0;
23945                visible: 0;
23946                color: 255 255 255 0;
23947                rel1 {
23948                   relative: 0.0 0.0;
23949                   offset: -5 -5;
23950                }
23951                rel2 {
23952                   relative: 1.0 1.0;
23953                   offset: 4 4;
23954                }
23955                image {
23956                   normal: "bt_sm_base1.png";
23957                   border: 6 6 6 6;
23958                }
23959                image.middle: SOLID;
23960             }
23961             description { state: "selected" 0.0;
23962                inherit: "default" 0.0;
23963                visible: 1;
23964                color: 255 255 255 255;
23965                rel1 {
23966                   relative: 0.0 0.0;
23967                   offset: -2 -2;
23968                }
23969                rel2 {
23970                   relative: 1.0 1.0;
23971                   offset: 1 1;
23972                }
23973             }
23974          }
23975          part { name: "elm.swallow.pad";
23976             type: SWALLOW;
23977             description { state: "default" 0.0;
23978                fixed: 1 0;
23979                align: 0.0 0.5;
23980                rel1 {
23981                   relative: 0.0  0.0;
23982                   offset:   4    4;
23983                }
23984                rel2 {
23985                   relative: 0.0  1.0;
23986                   offset:   4   -5;
23987                }
23988             }
23989          }
23990          part { name: "arrow";
23991             clip_to: "disclip";
23992             ignore_flags: ON_HOLD;
23993             description { state: "default" 0.0;
23994                fixed: 1 0;
23995                align: 0.0 0.5;
23996                aspect: 1.0 1.0;
23997                rel1 {
23998                   to_x: "elm.swallow.pad";
23999                   relative: 1.0  0.0;
24000                   offset:   -1    4;
24001                }
24002                rel2 {
24003                   to_x: "elm.swallow.pad";
24004                   relative: 1.0  1.0;
24005                   offset:   -1   -5;
24006                }
24007                image.normal: "icon_arrow_right.png";
24008             }
24009             description { state: "active" 0.0;
24010                inherit: "default" 0.0;
24011                image.normal: "icon_arrow_down.png";
24012             }
24013          }
24014          part { name: "elm.swallow.icon";
24015             clip_to: "disclip";
24016             type: SWALLOW;
24017             description { state: "default" 0.0;
24018                fixed: 1 0;
24019                align: 0.0 0.5;
24020                rel1 {
24021                   to_x: "arrow";
24022                   relative: 1.0  0.0;
24023                   offset:   4    4;
24024                }
24025                rel2 {
24026                   to_x: "arrow";
24027                   relative: 1.0  1.0;
24028                   offset:   4   -5;
24029                }
24030             }
24031          }
24032          part { name: "elm.swallow.end";
24033             clip_to: "disclip";
24034             type: SWALLOW;
24035             description { state: "default" 0.0;
24036                fixed: 1 0;
24037                align: 1.0 0.5;
24038                aspect: 1.0 1.0;
24039                aspect_preference: VERTICAL;
24040                rel1 {
24041                   relative: 1.0  0.0;
24042                   offset:   -5    4;
24043                }
24044                rel2 {
24045                   relative: 1.0  1.0;
24046                   offset:   -5   -5;
24047                }
24048             }
24049          }
24050          part { name: "elm.text";
24051             clip_to: "disclip";
24052             type:           TEXT;
24053             effect:         SOFT_SHADOW;
24054             mouse_events:   0;
24055             scale: 1;
24056             description {
24057                state: "default" 0.0;
24058 //               min: 16 16;
24059                rel1 {
24060                   to_x:     "elm.swallow.icon";
24061                   relative: 1.0  0.0;
24062                   offset:   0 4;
24063                }
24064                rel2 {
24065                   to_x:     "elm.swallow.end";
24066                   relative: 0.0  0.5;
24067                   offset:   -1 -5;
24068                }
24069                color: 0 0 0 255;
24070                color3: 0 0 0 0;
24071                text {
24072                   font: "Sans";
24073                   size: 10;
24074 //                  min: 1 1;
24075                   min: 0 1;
24076                   align: 0.0 0.5;
24077                   text_class: "list_item";
24078                }
24079             }
24080             description { state: "selected" 0.0;
24081                inherit: "default" 0.0;
24082                color: 224 224 224 255;
24083                color3: 0 0 0 64;
24084             }
24085          }
24086          part { name: "elm.text.sub";
24087             clip_to: "disclip";
24088             type:           TEXT;
24089             mouse_events:   0;
24090             scale: 1;
24091             description {
24092                state: "default" 0.0;
24093 //               min: 16 16;
24094                rel1 {
24095                   to_x:     "elm.swallow.icon";
24096                   relative: 1.0  0.5;
24097                   offset:   0 4;
24098                }
24099                rel2 {
24100                   to_x:     "elm.swallow.end";
24101                   relative: 0.0  1.0;
24102                   offset:   -1 -5;
24103                }
24104                color: 0 0 0 128;
24105                color3: 0 0 0 0;
24106                text {
24107                   font: "Sans";
24108                   size: 8;
24109 //                  min: 1 1;
24110                   min: 0 1;
24111                   align: 0.0 0.5;
24112                   text_class: "list_item";
24113                }
24114             }
24115             description { state: "selected" 0.0;
24116                inherit: "default" 0.0;
24117                color: 128 128 128 255;
24118                color3: 0 0 0 32;
24119             }
24120          }
24121          part { name: "fg1";
24122             clip_to: "disclip";
24123             mouse_events: 0;
24124             description { state: "default" 0.0;
24125                visible: 0;
24126                color: 255 255 255 0;
24127                rel1.to: "bg";
24128                rel2.relative: 1.0 0.5;
24129                rel2.to: "bg";
24130                image {
24131                   normal: "bt_sm_hilight.png";
24132                   border: 6 6 6 0;
24133                }
24134             }
24135             description { state: "selected" 0.0;
24136                inherit: "default" 0.0;
24137                visible: 1;
24138                color: 255 255 255 255;
24139             }
24140          }
24141          part { name: "fg2";
24142             clip_to: "disclip";
24143             mouse_events: 0;
24144             description { state: "default" 0.0;
24145                visible: 0;
24146                color: 255 255 255 0;
24147                rel1.to: "bg";
24148                rel2.to: "bg";
24149                image {
24150                   normal: "bt_sm_shine.png";
24151                   border: 6 6 6 0;
24152                }
24153             }
24154             description { state: "selected" 0.0;
24155                inherit: "default" 0.0;
24156                visible: 1;
24157                color: 255 255 255 255;
24158             }
24159          }
24160          part { name: "disclip";
24161             type: RECT;
24162             description { state: "default" 0.0;
24163                rel1.to: "bg";
24164                rel2.to: "bg";
24165             }
24166             description { state: "disabled" 0.0;
24167                inherit: "default" 0.0;
24168                color: 255 255 255 64;
24169             }
24170          }
24171       }
24172       programs {
24173          // signal: elm,state,%s,active
24174          //   a "check" item named %s went active
24175          // signal: elm,state,%s,passive
24176          //   a "check" item named %s went passive
24177          // default is passive
24178          program {
24179             name:    "go_active";
24180             signal:  "elm,state,selected";
24181             source:  "elm";
24182             action:  STATE_SET "selected" 0.0;
24183             target:  "bg";
24184             target:  "fg1";
24185             target:  "fg2";
24186             target:  "elm.text";
24187             target:  "elm.text.sub";
24188          }
24189          program {
24190             name:    "go_passive";
24191             signal:  "elm,state,unselected";
24192             source:  "elm";
24193             action:  STATE_SET "default" 0.0;
24194             target:  "bg";
24195             target:  "fg1";
24196             target:  "fg2";
24197             target:  "elm.text";
24198             target:  "elm.text.sub";
24199             transition: LINEAR 0.1;
24200          }
24201          program {
24202             name:    "go_disabled";
24203             signal:  "elm,state,disabled";
24204             source:  "elm";
24205             action:  STATE_SET "disabled" 0.0;
24206             target:  "disclip";
24207          }
24208          program {
24209             name:    "go_enabled";
24210             signal:  "elm,state,enabled";
24211             source:  "elm";
24212             action:  STATE_SET "default" 0.0;
24213             target:  "disclip";
24214          }
24215          program {
24216             name:    "expand";
24217             signal:  "mouse,up,1";
24218             source:  "arrow";
24219             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24220          }
24221          program {
24222             name:    "go_expanded";
24223             signal:  "elm,state,expanded";
24224             source:  "elm";
24225             action:  STATE_SET "active" 0.0;
24226             target:  "arrow";
24227          }
24228          program {
24229             name:    "go_contracted";
24230             signal:  "elm,state,contracted";
24231             source:  "elm";
24232             action:  STATE_SET "default" 0.0;
24233             target:  "arrow";
24234          }
24235       }
24236    }
24237
24238    group { name: "elm/genlist/item_compress/media/default";
24239       data.item: "stacking" "above";
24240       data.item: "selectraise" "on";
24241       data.item: "labels" "elm.text.title elm.text.album-artist";
24242       data.item: "treesize" "20";
24243       images {
24244          image: "bt_sm_base1.png" COMP;
24245          image: "bt_sm_shine.png" COMP;
24246          image: "bt_sm_hilight.png" COMP;
24247          image: "ilist_1.png" COMP;
24248          image: "ilist_item_shadow.png" COMP;
24249       }
24250       parts {
24251          part {
24252             name:           "event";
24253             type:           RECT;
24254             repeat_events: 1;
24255             description {
24256                state: "default" 0.0;
24257                color: 0 0 0 0;
24258             }
24259          }
24260          part {
24261             name: "base_sh";
24262             mouse_events: 0;
24263             description {
24264                state: "default" 0.0;
24265                align: 0.0 0.0;
24266                min: 0 10;
24267                fixed: 1 1;
24268                rel1 {
24269                   to: "base";
24270                   relative: 0.0 1.0;
24271                   offset: 0 0;
24272                }
24273                rel2 {
24274                   to: "base";
24275                   relative: 1.0 1.0;
24276                   offset: -1 0;
24277                }
24278                image {
24279                   normal: "ilist_item_shadow.png";
24280                }
24281                fill.smooth: 0;
24282             }
24283          }
24284          part {
24285             name: "base";
24286             mouse_events: 0;
24287             description {
24288                state: "default" 0.0;
24289                image {
24290                   normal: "ilist_1.png";
24291                   border: 2 2 2 2;
24292                }
24293                fill.smooth: 0;
24294             }
24295          }
24296          part { name: "bg";
24297             clip_to: "disclip";
24298             mouse_events: 0;
24299             description { state: "default" 0.0;
24300                visible: 0;
24301                color: 255 255 255 0;
24302                rel1 {
24303                   relative: 0.0 0.0;
24304                   offset: -5 -5;
24305                }
24306                rel2 {
24307                   relative: 1.0 1.0;
24308                   offset: 4 4;
24309                }
24310                image {
24311                   normal: "bt_sm_base1.png";
24312                   border: 6 6 6 6;
24313                }
24314                image.middle: SOLID;
24315             }
24316             description { state: "selected" 0.0;
24317                inherit: "default" 0.0;
24318                visible: 1;
24319                color: 255 255 255 255;
24320                rel1 {
24321                   relative: 0.0 0.0;
24322                   offset: -2 -2;
24323                }
24324                rel2 {
24325                   relative: 1.0 1.0;
24326                   offset: 1 1;
24327                }
24328             }
24329          }
24330          part { name: "elm.swallow.pad";
24331             type: SWALLOW;
24332             description { state: "default" 0.0;
24333                fixed: 1 0;
24334                align: 0.0 0.5;
24335                rel1 {
24336                   relative: 0.0  0.0;
24337                   offset:   4    4;
24338                }
24339                rel2 {
24340                   relative: 0.0  1.0;
24341                   offset:   4   -5;
24342                }
24343             }
24344          }
24345          part { name: "elm.text.title";
24346             clip_to: "disclip";
24347             type:           TEXT;
24348             effect:         SOFT_SHADOW;
24349             mouse_events:   0;
24350             scale: 1;
24351             description {
24352                state: "default" 0.0;
24353                rel1 {
24354                   relative: 0.0  0.0;
24355                   offset:   4 4;
24356                }
24357                rel2 {
24358                   relative: 1.0  0.5;
24359                   offset:   -1 -5;
24360                }
24361                color: 0 0 0 255;
24362                color3: 0 0 0 0;
24363                text {
24364                   font: "Sans";
24365                   size: 10;
24366                   min: 0 1;
24367                   align: 0.0 0.5;
24368                }
24369             }
24370             description { state: "selected" 0.0;
24371                inherit: "default" 0.0;
24372                color: 224 224 224 255;
24373                color3: 0 0 0 64;
24374             }
24375          }
24376          part { name: "elm.text.album-artist";
24377             clip_to: "disclip";
24378             type:           TEXT;
24379             mouse_events:   0;
24380             scale: 1;
24381             description {
24382                state: "default" 0.0;
24383                rel1 {
24384                   relative: 0.0  0.5;
24385                   offset:   4 4;
24386                }
24387                rel2 {
24388                   relative: 1.0  1.0;
24389                   offset:   -1 -5;
24390                }
24391                color: 0 0 0 128;
24392                color3: 0 0 0 0;
24393                text {
24394                   font: "Sans";
24395                   size: 8;
24396                   min: 0 1;
24397                   align: 0.0 0.5;
24398                }
24399             }
24400             description { state: "selected" 0.0;
24401                inherit: "default" 0.0;
24402                color: 128 128 128 255;
24403                color3: 0 0 0 32;
24404             }
24405          }
24406          part { name: "fg1";
24407             clip_to: "disclip";
24408             mouse_events: 0;
24409             description { state: "default" 0.0;
24410                visible: 0;
24411                color: 255 255 255 0;
24412                rel1.to: "bg";
24413                rel2.relative: 1.0 0.5;
24414                rel2.to: "bg";
24415                image {
24416                   normal: "bt_sm_hilight.png";
24417                   border: 6 6 6 0;
24418                }
24419             }
24420             description { state: "selected" 0.0;
24421                inherit: "default" 0.0;
24422                visible: 1;
24423                color: 255 255 255 255;
24424             }
24425          }
24426          part { name: "fg2";
24427             clip_to: "disclip";
24428             mouse_events: 0;
24429             description { state: "default" 0.0;
24430                visible: 0;
24431                color: 255 255 255 0;
24432                rel1.to: "bg";
24433                rel2.to: "bg";
24434                image {
24435                   normal: "bt_sm_shine.png";
24436                   border: 6 6 6 0;
24437                }
24438             }
24439             description { state: "selected" 0.0;
24440                inherit: "default" 0.0;
24441                visible: 1;
24442                color: 255 255 255 255;
24443             }
24444          }
24445          part { name: "disclip";
24446             type: RECT;
24447             description { state: "default" 0.0;
24448                rel1.to: "bg";
24449                rel2.to: "bg";
24450             }
24451             description { state: "disabled" 0.0;
24452                inherit: "default" 0.0;
24453                color: 255 255 255 64;
24454             }
24455          }
24456       }
24457       programs {
24458          // signal: elm,state,%s,active
24459          //   a "check" item named %s went active
24460          // signal: elm,state,%s,passive
24461          //   a "check" item named %s went passive
24462          // default is passive
24463          program {
24464             name:    "go_active";
24465             signal:  "elm,state,selected";
24466             source:  "elm";
24467             action:  STATE_SET "selected" 0.0;
24468             target:  "bg";
24469             target:  "fg1";
24470             target:  "fg2";
24471             target:  "elm.text.title";
24472             target:  "elm.text.album-artist";
24473          }
24474          program {
24475             name:    "go_passive";
24476             signal:  "elm,state,unselected";
24477             source:  "elm";
24478             action:  STATE_SET "default" 0.0;
24479             target:  "bg";
24480             target:  "fg1";
24481             target:  "fg2";
24482             target:  "elm.text.title";
24483             target:  "elm.text.album-artist";
24484             transition: LINEAR 0.1;
24485          }
24486          program {
24487             name:    "go_disabled";
24488             signal:  "elm,state,disabled";
24489             source:  "elm";
24490             action:  STATE_SET "disabled" 0.0;
24491             target:  "disclip";
24492          }
24493          program {
24494             name:    "go_enabled";
24495             signal:  "elm,state,enabled";
24496             source:  "elm";
24497             action:  STATE_SET "default" 0.0;
24498             target:  "disclip";
24499          }
24500       }
24501    }
24502    group { name: "elm/genlist/item_compress_odd/media/default";
24503       data.item: "stacking" "below";
24504       data.item: "selectraise" "on";
24505       data.item: "labels" "elm.text.title elm.text.album-artist";
24506       data.item: "treesize" "20";
24507       images {
24508          image: "bt_sm_base1.png" COMP;
24509          image: "bt_sm_shine.png" COMP;
24510          image: "bt_sm_hilight.png" COMP;
24511          image: "ilist_2.png" COMP;
24512       }
24513       parts {
24514          part { name: "event";
24515             type: RECT;
24516             repeat_events: 1;
24517             description {
24518                state: "default" 0.0;
24519                color: 0 0 0 0;
24520             }
24521          }
24522          part {
24523             name: "base";
24524             mouse_events: 0;
24525             description {
24526                state: "default" 0.0;
24527                image {
24528                   normal: "ilist_2.png";
24529                   border: 2 2 2 2;
24530                }
24531                fill.smooth: 0;
24532             }
24533          }
24534          part { name: "bg";
24535             clip_to: "disclip";
24536             mouse_events: 0;
24537             description { state: "default" 0.0;
24538                visible: 0;
24539                color: 255 255 255 0;
24540                rel1 {
24541                   relative: 0.0 0.0;
24542                   offset: -5 -5;
24543                }
24544                rel2 {
24545                   relative: 1.0 1.0;
24546                   offset: 4 4;
24547                }
24548                image {
24549                   normal: "bt_sm_base1.png";
24550                   border: 6 6 6 6;
24551                }
24552                image.middle: SOLID;
24553             }
24554             description { state: "selected" 0.0;
24555                inherit: "default" 0.0;
24556                visible: 1;
24557                color: 255 255 255 255;
24558                rel1 {
24559                   relative: 0.0 0.0;
24560                   offset: -2 -2;
24561                }
24562                rel2 {
24563                   relative: 1.0 1.0;
24564                   offset: 1 1;
24565                }
24566             }
24567          }
24568          part { name: "elm.swallow.pad";
24569             type: SWALLOW;
24570             description { state: "default" 0.0;
24571                fixed: 1 0;
24572                align: 0.0 0.5;
24573                rel1 {
24574                   relative: 0.0  0.0;
24575                   offset:   4    4;
24576                }
24577                rel2 {
24578                   relative: 0.0  1.0;
24579                   offset:   4   -5;
24580                }
24581             }
24582          }
24583          part { name: "elm.text.title";
24584             clip_to: "disclip";
24585             type:           TEXT;
24586             effect:         SOFT_SHADOW;
24587             mouse_events:   0;
24588             scale: 1;
24589             description {
24590                state: "default" 0.0;
24591                rel1 {
24592                   relative: 0.0  0.0;
24593                   offset:   4 4;
24594                }
24595                rel2 {
24596                   relative: 1.0  0.5;
24597                   offset:   -1 -5;
24598                }
24599                color: 0 0 0 255;
24600                color3: 0 0 0 0;
24601                text {
24602                   font: "Sans";
24603                   size: 10;
24604                   min: 0 1;
24605                   align: 0.0 0.5;
24606                }
24607             }
24608             description { state: "selected" 0.0;
24609                inherit: "default" 0.0;
24610                color: 224 224 224 255;
24611                color3: 0 0 0 64;
24612             }
24613          }
24614          part { name: "elm.text.album-artist";
24615             clip_to: "disclip";
24616             type:           TEXT;
24617             mouse_events:   0;
24618             scale: 1;
24619             description {
24620                state: "default" 0.0;
24621                rel1 {
24622                   relative: 0.0  0.5;
24623                   offset:   4 4;
24624                }
24625                rel2 {
24626                   relative: 1.0  1.0;
24627                   offset:   -1 -5;
24628                }
24629                color: 0 0 0 128;
24630                color3: 0 0 0 0;
24631                text {
24632                   font: "Sans";
24633                   size: 8;
24634                   min: 0 1;
24635                   align: 0.0 0.5;
24636                }
24637             }
24638             description { state: "selected" 0.0;
24639                inherit: "default" 0.0;
24640                color: 128 128 128 255;
24641                color3: 0 0 0 32;
24642             }
24643          }
24644          part { name: "fg1";
24645             clip_to: "disclip";
24646             mouse_events: 0;
24647             description { state: "default" 0.0;
24648                visible: 0;
24649                color: 255 255 255 0;
24650                rel1.to: "bg";
24651                rel2.relative: 1.0 0.5;
24652                rel2.to: "bg";
24653                image {
24654                   normal: "bt_sm_hilight.png";
24655                   border: 6 6 6 0;
24656                }
24657             }
24658             description { state: "selected" 0.0;
24659                inherit: "default" 0.0;
24660                visible: 1;
24661                color: 255 255 255 255;
24662             }
24663          }
24664          part { name: "fg2";
24665             clip_to: "disclip";
24666             mouse_events: 0;
24667             description { state: "default" 0.0;
24668                visible: 0;
24669                color: 255 255 255 0;
24670                rel1.to: "bg";
24671                rel2.to: "bg";
24672                image {
24673                   normal: "bt_sm_shine.png";
24674                   border: 6 6 6 0;
24675                }
24676             }
24677             description { state: "selected" 0.0;
24678                inherit: "default" 0.0;
24679                visible: 1;
24680                color: 255 255 255 255;
24681             }
24682          }
24683          part { name: "disclip";
24684             type: RECT;
24685             description { state: "default" 0.0;
24686                rel1.to: "bg";
24687                rel2.to: "bg";
24688             }
24689             description { state: "disabled" 0.0;
24690                inherit: "default" 0.0;
24691                color: 255 255 255 64;
24692             }
24693          }
24694       }
24695       programs {
24696          // signal: elm,state,%s,active
24697          //   a "check" item named %s went active
24698          // signal: elm,state,%s,passive
24699          //   a "check" item named %s went passive
24700          // default is passive
24701          program {
24702             name:    "go_active";
24703             signal:  "elm,state,selected";
24704             source:  "elm";
24705             action:  STATE_SET "selected" 0.0;
24706             target:  "bg";
24707             target:  "fg1";
24708             target:  "fg2";
24709             target:  "elm.text.title";
24710             target:  "elm.text.album-artist";
24711          }
24712          program {
24713             name:    "go_passive";
24714             signal:  "elm,state,unselected";
24715             source:  "elm";
24716             action:  STATE_SET "default" 0.0;
24717             target:  "bg";
24718             target:  "fg1";
24719             target:  "fg2";
24720             target:  "elm.text.title";
24721             target:  "elm.text.album-artist";
24722             transition: LINEAR 0.1;
24723          }
24724          program {
24725             name:    "go_disabled";
24726             signal:  "elm,state,disabled";
24727             source:  "elm";
24728             action:  STATE_SET "disabled" 0.0;
24729             target:  "disclip";
24730          }
24731          program {
24732             name:    "go_enabled";
24733             signal:  "elm,state,enabled";
24734             source:  "elm";
24735             action:  STATE_SET "default" 0.0;
24736             target:  "disclip";
24737          }
24738       }
24739    }
24740
24741    group { name: "elm/genlist/item_compress/media-album/default";
24742       data.item: "stacking" "above";
24743       data.item: "selectraise" "on";
24744       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24745       data.item: "states" "elm.state.trackno";
24746       data.item: "treesize" "20";
24747       images {
24748          image: "bt_sm_base1.png" COMP;
24749          image: "bt_sm_shine.png" COMP;
24750          image: "bt_sm_hilight.png" COMP;
24751          image: "ilist_1.png" COMP;
24752          image: "ilist_item_shadow.png" COMP;
24753       }
24754       script {
24755          public dot_visible;
24756       }
24757       parts {
24758          part {
24759             name: "event";
24760             type: RECT;
24761             repeat_events: 1;
24762             description {
24763                state: "default" 0.0;
24764                color: 0 0 0 0;
24765             }
24766          }
24767          part {
24768             name: "base_sh";
24769             mouse_events: 0;
24770             description {
24771                state: "default" 0.0;
24772                align: 0.0 0.0;
24773                min: 0 10;
24774                fixed: 1 1;
24775                rel1 {
24776                   to: "base";
24777                   relative: 0.0 1.0;
24778                   offset: 0 0;
24779                }
24780                rel2 {
24781                   to: "base";
24782                   relative: 1.0 1.0;
24783                   offset: -1 0;
24784                }
24785                image {
24786                   normal: "ilist_item_shadow.png";
24787                }
24788                fill.smooth: 0;
24789             }
24790          }
24791          part {
24792             name: "base";
24793             mouse_events: 0;
24794             description {
24795                state: "default" 0.0;
24796                image {
24797                   normal: "ilist_1.png";
24798                   border: 2 2 2 2;
24799                }
24800                fill.smooth: 0;
24801             }
24802          }
24803          part { name: "bg";
24804             clip_to: "disclip";
24805             mouse_events: 0;
24806             description { state: "default" 0.0;
24807                visible: 0;
24808                color: 255 255 255 0;
24809                rel1 {
24810                   relative: 0.0 0.0;
24811                   offset: -5 -5;
24812                }
24813                rel2 {
24814                   relative: 1.0 1.0;
24815                   offset: 4 4;
24816                }
24817                image {
24818                   normal: "bt_sm_base1.png";
24819                   border: 6 6 6 6;
24820                }
24821                image.middle: SOLID;
24822             }
24823             description { state: "selected" 0.0;
24824                inherit: "default" 0.0;
24825                visible: 1;
24826                color: 255 255 255 255;
24827                rel1 {
24828                   relative: 0.0 0.0;
24829                   offset: -2 -2;
24830                }
24831                rel2 {
24832                   relative: 1.0 1.0;
24833                   offset: 1 1;
24834                }
24835             }
24836          }
24837          part { name: "elm.swallow.pad";
24838             type: SWALLOW;
24839             description { state: "default" 0.0;
24840                fixed: 1 0;
24841                align: 0.0 0.5;
24842                rel1 {
24843                   relative: 0.0  0.0;
24844                   offset:   4    4;
24845                }
24846                rel2 {
24847                   relative: 0.0  1.0;
24848                   offset:   4   -5;
24849                }
24850             }
24851          }
24852          part {
24853             name: "elm.text.trackno";
24854             type: TEXT;
24855             scale: 1;
24856             mouse_events: 0;
24857             description {
24858                state: "default" 0.0;
24859                color: 255 255 255 255;
24860                align: 0.0 0.0;
24861                fixed: 1 0;
24862                rel1 {
24863                   to_y: "elm.text.title";
24864                   relative: 0.0 0.0;
24865                   offset: 5 0;
24866                }
24867                rel2 {
24868                   to_y: "elm.text.title";
24869                   relative: 0.0 1.0;
24870                   offset: 20 0;
24871                }
24872                color: 0 0 0 255;
24873                color3: 0 0 0 0;
24874                text {
24875                   font: "Sans";
24876                   size: 10;
24877                   min: 1 1;
24878                   align: 1.0 0.5;
24879                }
24880             }
24881             description { state: "selected" 0.0;
24882                inherit: "default" 0.0;
24883                color: 224 224 224 255;
24884                color3: 0 0 0 64;
24885             }
24886          }
24887          part {
24888             name: "dot";
24889             type: TEXT;
24890             scale: 1;
24891             mouse_events: 0;
24892             description {
24893                state: "default" 0.0;
24894                color: 255 255 255 255;
24895                visible: 0;
24896                fixed: 1 1;
24897                align: 0.0 0.0;
24898                rel1 {
24899                   to_x: "elm.text.trackno";
24900                   to_y: "elm.text.title";
24901                   relative: 1.0 0.0;
24902                   offset: 1 0;
24903                }
24904                rel2 {
24905                   to_x: "elm.text.trackno";
24906                   to_y: "elm.text.title";
24907                   relative: 1.0 1.0;
24908                   offset: 1 0;
24909
24910                }
24911                color: 0 0 0 255;
24912                color3: 0 0 0 0;
24913                text {
24914                   font: "Sans";
24915                   size: 10;
24916                   min: 1 1;
24917                   align: 0.0 0.5;
24918                   text: ".";
24919                }
24920             }
24921             description {
24922                state: "visible" 0.0;
24923                inherit: "default" 0.0;
24924                visible: 1;
24925             }
24926             description { state: "selected" 0.0;
24927                inherit: "default" 0.0;
24928                color: 224 224 224 255;
24929                color3: 0 0 0 64;
24930                visible: 1;
24931             }
24932          }
24933          programs {
24934             program {
24935                signal: "elm,state,elm.state.trackno,active";
24936                source: "elm";
24937                script {
24938                   set_state(PART:"dot", "visible", 0.0);
24939                   set_int(dot_visible, 1);
24940                }
24941             }
24942          }
24943          part { name: "elm.text.title";
24944             clip_to: "disclip";
24945             type:           TEXT;
24946             effect:         SOFT_SHADOW;
24947             mouse_events:   0;
24948             scale: 1;
24949             description {
24950                state: "default" 0.0;
24951                rel1 {
24952                   to_x: "dot";
24953                   relative: 0.0  0.0;
24954                   offset:   4 4;
24955                }
24956                rel2 {
24957                   relative: 1.0  0.5;
24958                   offset:   -1 -5;
24959                }
24960                color: 0 0 0 255;
24961                color3: 0 0 0 0;
24962                text {
24963                   font: "Sans";
24964                   size: 10;
24965                   min: 0 1;
24966                   align: 0.0 0.5;
24967                }
24968             }
24969             description { state: "selected" 0.0;
24970                inherit: "default" 0.0;
24971                color: 224 224 224 255;
24972                color3: 0 0 0 64;
24973             }
24974          }
24975          part { name: "elm.text.length";
24976             clip_to: "disclip";
24977             type:           TEXT;
24978             mouse_events:   0;
24979             scale: 1;
24980             description {
24981                state: "default" 0.0;
24982                rel1 {
24983                   relative: 0.0  0.5;
24984                   offset:   4 4;
24985                }
24986                rel2 {
24987                   relative: 1.0  1.0;
24988                   offset:   -1 -5;
24989                }
24990                color: 0 0 0 128;
24991                color3: 0 0 0 0;
24992                text {
24993                   font: "Sans";
24994                   size: 8;
24995                   min: 0 1;
24996                   align: 0.0 0.5;
24997                }
24998             }
24999             description { state: "selected" 0.0;
25000                inherit: "default" 0.0;
25001                color: 128 128 128 255;
25002                color3: 0 0 0 32;
25003             }
25004          }
25005          part { name: "fg1";
25006             clip_to: "disclip";
25007             mouse_events: 0;
25008             description { state: "default" 0.0;
25009                visible: 0;
25010                color: 255 255 255 0;
25011                rel1.to: "bg";
25012                rel2.relative: 1.0 0.5;
25013                rel2.to: "bg";
25014                image {
25015                   normal: "bt_sm_hilight.png";
25016                   border: 6 6 6 0;
25017                }
25018             }
25019             description { state: "selected" 0.0;
25020                inherit: "default" 0.0;
25021                visible: 1;
25022                color: 255 255 255 255;
25023             }
25024          }
25025          part { name: "fg2";
25026             clip_to: "disclip";
25027             mouse_events: 0;
25028             description { state: "default" 0.0;
25029                visible: 0;
25030                color: 255 255 255 0;
25031                rel1.to: "bg";
25032                rel2.to: "bg";
25033                image {
25034                   normal: "bt_sm_shine.png";
25035                   border: 6 6 6 0;
25036                }
25037             }
25038             description { state: "selected" 0.0;
25039                inherit: "default" 0.0;
25040                visible: 1;
25041                color: 255 255 255 255;
25042             }
25043          }
25044          part { name: "disclip";
25045             type: RECT;
25046             description { state: "default" 0.0;
25047                rel1.to: "bg";
25048                rel2.to: "bg";
25049             }
25050             description { state: "disabled" 0.0;
25051                inherit: "default" 0.0;
25052                color: 255 255 255 64;
25053             }
25054          }
25055       }
25056       programs {
25057          // signal: elm,state,%s,active
25058          //   a "check" item named %s went active
25059          // signal: elm,state,%s,passive
25060          //   a "check" item named %s went passive
25061          // default is passive
25062          program {
25063             name:    "go_active";
25064             signal:  "elm,state,selected";
25065             source:  "elm";
25066             action:  STATE_SET "selected" 0.0;
25067             target:  "bg";
25068             target:  "fg1";
25069             target:  "fg2";
25070             target:  "elm.text.title";
25071             target:  "elm.text.trackno";
25072             target:  "elm.text.length";
25073             after:   "dot_active";
25074          }
25075          program {
25076             name: "dot_active";
25077             script {
25078                if (get_int(dot_visible) == 1)
25079                   set_state(PART:"dot", "selected", 0.0);
25080             }
25081          }
25082          program {
25083             name:    "go_passive";
25084             signal:  "elm,state,unselected";
25085             source:  "elm";
25086             action:  STATE_SET "default" 0.0;
25087             target:  "bg";
25088             target:  "fg1";
25089             target:  "fg2";
25090             target:  "elm.text.title";
25091             target:  "elm.text.length";
25092             target:  "elm.text.trackno";
25093             transition: LINEAR 0.1;
25094             after:   "dot_passive";
25095          }
25096          program {
25097             name: "dot_passive";
25098             script {
25099                if (get_int(dot_visible) == 1)
25100                   set_state(PART:"dot", "visible", 0.0);
25101             }
25102          }
25103          program {
25104             name:    "go_disabled";
25105             signal:  "elm,state,disabled";
25106             source:  "elm";
25107             action:  STATE_SET "disabled" 0.0;
25108             target:  "disclip";
25109          }
25110          program {
25111             name:    "go_enabled";
25112             signal:  "elm,state,enabled";
25113             source:  "elm";
25114             action:  STATE_SET "default" 0.0;
25115             target:  "disclip";
25116          }
25117       }
25118    }
25119    group { name: "elm/genlist/item_compress_odd/media-album/default";
25120       data.item: "stacking" "below";
25121       data.item: "selectraise" "on";
25122       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25123       data.item: "states" "elm.state.trackno";
25124       data.item: "treesize" "20";
25125       images {
25126          image: "bt_sm_base1.png" COMP;
25127          image: "bt_sm_shine.png" COMP;
25128          image: "bt_sm_hilight.png" COMP;
25129          image: "ilist_2.png" COMP;
25130       }
25131       script {
25132          public dot_visible;
25133       }
25134       parts {
25135          part { name: "event";
25136             type: RECT;
25137             repeat_events: 1;
25138             description {
25139                state: "default" 0.0;
25140                color: 0 0 0 0;
25141             }
25142          }
25143          part {
25144             name: "base";
25145             mouse_events: 0;
25146             description {
25147                state: "default" 0.0;
25148                image {
25149                   normal: "ilist_2.png";
25150                   border: 2 2 2 2;
25151                }
25152                fill.smooth: 0;
25153             }
25154          }
25155          part { name: "bg";
25156             clip_to: "disclip";
25157             mouse_events: 0;
25158             description { state: "default" 0.0;
25159                visible: 0;
25160                color: 255 255 255 0;
25161                rel1 {
25162                   relative: 0.0 0.0;
25163                   offset: -5 -5;
25164                }
25165                rel2 {
25166                   relative: 1.0 1.0;
25167                   offset: 4 4;
25168                }
25169                image {
25170                   normal: "bt_sm_base1.png";
25171                   border: 6 6 6 6;
25172                }
25173                image.middle: SOLID;
25174             }
25175             description { state: "selected" 0.0;
25176                inherit: "default" 0.0;
25177                visible: 1;
25178                color: 255 255 255 255;
25179                rel1 {
25180                   relative: 0.0 0.0;
25181                   offset: -2 -2;
25182                }
25183                rel2 {
25184                   relative: 1.0 1.0;
25185                   offset: 1 1;
25186                }
25187             }
25188          }
25189          part { name: "elm.swallow.pad";
25190             type: SWALLOW;
25191             description { state: "default" 0.0;
25192                fixed: 1 0;
25193                align: 0.0 0.5;
25194                rel1 {
25195                   relative: 0.0  0.0;
25196                   offset:   4    4;
25197                }
25198                rel2 {
25199                   relative: 0.0  1.0;
25200                   offset:   4   -5;
25201                }
25202             }
25203          }
25204          part {
25205             name: "elm.text.trackno";
25206             type: TEXT;
25207             scale: 1;
25208             mouse_events: 0;
25209             description {
25210                state: "default" 0.0;
25211                color: 255 255 255 255;
25212                align: 0.0 0.0;
25213                fixed: 1 0;
25214                rel1 {
25215                   to_y: "elm.text.title";
25216                   relative: 0.0 0.0;
25217                   offset: 5 0;
25218                }
25219                rel2 {
25220                   to_y: "elm.text.title";
25221                   relative: 0.0 1.0;
25222                   offset: 20 0;
25223                }
25224                color: 0 0 0 255;
25225                color3: 0 0 0 0;
25226                text {
25227                   font: "Sans";
25228                   size: 10;
25229                   min: 1 1;
25230                   align: 1.0 0.5;
25231                }
25232             }
25233             description { state: "selected" 0.0;
25234                inherit: "default" 0.0;
25235                color: 224 224 224 255;
25236                color3: 0 0 0 64;
25237             }
25238          }
25239          part {
25240             name: "dot";
25241             type: TEXT;
25242             scale: 1;
25243             mouse_events: 0;
25244             description {
25245                state: "default" 0.0;
25246                color: 255 255 255 255;
25247                visible: 0;
25248                fixed: 1 1;
25249                align: 0.0 0.0;
25250                rel1 {
25251                   to_x: "elm.text.trackno";
25252                   to_y: "elm.text.title";
25253                   relative: 1.0 0.0;
25254                   offset: 1 0;
25255                }
25256                rel2 {
25257                   to_x: "elm.text.trackno";
25258                   to_y: "elm.text.title";
25259                   relative: 1.0 1.0;
25260                   offset: 1 0;
25261
25262                }
25263                color: 0 0 0 255;
25264                color3: 0 0 0 0;
25265                text {
25266                   font: "Sans";
25267                   size: 10;
25268                   min: 1 1;
25269                   align: 0.0 0.5;
25270                   text: ".";
25271                }
25272             }
25273             description {
25274                state: "visible" 0.0;
25275                inherit: "default" 0.0;
25276                visible: 1;
25277             }
25278             description { state: "selected" 0.0;
25279                inherit: "default" 0.0;
25280                color: 224 224 224 255;
25281                color3: 0 0 0 64;
25282                visible: 1;
25283             }
25284          }
25285          programs {
25286             program {
25287                signal: "elm,state,elm.state.trackno,active";
25288                source: "elm";
25289                script {
25290                   set_state(PART:"dot", "visible", 0.0);
25291                   set_int(dot_visible, 1);
25292                }
25293             }
25294          }
25295          part { name: "elm.text.title";
25296             clip_to: "disclip";
25297             type:           TEXT;
25298             effect:         SOFT_SHADOW;
25299             mouse_events:   0;
25300             scale: 1;
25301             description {
25302                state: "default" 0.0;
25303                rel1 {
25304                   to_x: "dot";
25305                   relative: 1.0  0.0;
25306                   offset:   4 4;
25307                }
25308                rel2 {
25309                   relative: 1.0  0.5;
25310                   offset:   -1 -5;
25311                }
25312                color: 0 0 0 255;
25313                color3: 0 0 0 0;
25314                text {
25315                   font: "Sans";
25316                   size: 10;
25317                   min: 0 1;
25318                   align: 0.0 0.5;
25319                }
25320             }
25321             description { state: "selected" 0.0;
25322                inherit: "default" 0.0;
25323                color: 224 224 224 255;
25324                color3: 0 0 0 64;
25325             }
25326          }
25327          part { name: "elm.text.length";
25328             clip_to: "disclip";
25329             type:           TEXT;
25330             mouse_events:   0;
25331             scale: 1;
25332             description {
25333                state: "default" 0.0;
25334                rel1 {
25335                   relative: 0.0  0.5;
25336                   offset:   4 4;
25337                }
25338                rel2 {
25339                   relative: 1.0  1.0;
25340                   offset:   -1 -5;
25341                }
25342                color: 0 0 0 128;
25343                color3: 0 0 0 0;
25344                text {
25345                   font: "Sans";
25346                   size: 8;
25347                   min: 0 1;
25348                   align: 0.0 0.5;
25349                }
25350             }
25351             description { state: "selected" 0.0;
25352                inherit: "default" 0.0;
25353                color: 128 128 128 255;
25354                color3: 0 0 0 32;
25355             }
25356          }
25357          part { name: "fg1";
25358             clip_to: "disclip";
25359             mouse_events: 0;
25360             description { state: "default" 0.0;
25361                visible: 0;
25362                color: 255 255 255 0;
25363                rel1.to: "bg";
25364                rel2.relative: 1.0 0.5;
25365                rel2.to: "bg";
25366                image {
25367                   normal: "bt_sm_hilight.png";
25368                   border: 6 6 6 0;
25369                }
25370             }
25371             description { state: "selected" 0.0;
25372                inherit: "default" 0.0;
25373                visible: 1;
25374                color: 255 255 255 255;
25375             }
25376          }
25377          part { name: "fg2";
25378             clip_to: "disclip";
25379             mouse_events: 0;
25380             description { state: "default" 0.0;
25381                visible: 0;
25382                color: 255 255 255 0;
25383                rel1.to: "bg";
25384                rel2.to: "bg";
25385                image {
25386                   normal: "bt_sm_shine.png";
25387                   border: 6 6 6 0;
25388                }
25389             }
25390             description { state: "selected" 0.0;
25391                inherit: "default" 0.0;
25392                visible: 1;
25393                color: 255 255 255 255;
25394             }
25395          }
25396          part { name: "disclip";
25397             type: RECT;
25398             description { state: "default" 0.0;
25399                rel1.to: "bg";
25400                rel2.to: "bg";
25401             }
25402             description { state: "disabled" 0.0;
25403                inherit: "default" 0.0;
25404                color: 255 255 255 64;
25405             }
25406          }
25407       }
25408       programs {
25409          // signal: elm,state,%s,active
25410          //   a "check" item named %s went active
25411          // signal: elm,state,%s,passive
25412          //   a "check" item named %s went passive
25413          // default is passive
25414          program {
25415             name:    "go_active";
25416             signal:  "elm,state,selected";
25417             source:  "elm";
25418             action:  STATE_SET "selected" 0.0;
25419             target:  "bg";
25420             target:  "fg1";
25421             target:  "fg2";
25422             target:  "elm.text.title";
25423             target:  "elm.text.length";
25424             target:  "elm.text.trackno";
25425             after:   "dot_active";
25426          }
25427          program {
25428             name: "dot_active";
25429             script {
25430                if (get_int(dot_visible) == 1)
25431                   set_state(PART:"dot", "selected", 0.0);
25432             }
25433          }
25434          program {
25435             name:    "go_passive";
25436             signal:  "elm,state,unselected";
25437             source:  "elm";
25438             action:  STATE_SET "default" 0.0;
25439             target:  "bg";
25440             target:  "fg1";
25441             target:  "fg2";
25442             target:  "elm.text.title";
25443             target:  "elm.text.length";
25444             target:  "elm.text.trackno";
25445             transition: LINEAR 0.1;
25446             after:   "dot_passive";
25447          }
25448          program {
25449             name: "dot_passive";
25450             script {
25451                if (get_int(dot_visible) == 1)
25452                   set_state(PART:"dot", "visible", 0.0);
25453             }
25454          }
25455          program {
25456             name:    "go_disabled";
25457             signal:  "elm,state,disabled";
25458             source:  "elm";
25459             action:  STATE_SET "disabled" 0.0;
25460             target:  "disclip";
25461          }
25462          program {
25463             name:    "go_enabled";
25464             signal:  "elm,state,enabled";
25465             source:  "elm";
25466             action:  STATE_SET "default" 0.0;
25467             target:  "disclip";
25468          }
25469       }
25470    }
25471
25472    group { name: "elm/genlist/item_compress/media-preview/default";
25473       data.item: "stacking" "above";
25474       data.item: "selectraise" "on";
25475       data.item: "labels" "elm.text.title elm.text.artist";
25476       data.item: "icons" "elm.swallow.preview";
25477       data.item: "treesize" "20";
25478       images {
25479          image: "bt_sm_base1.png" COMP;
25480          image: "bt_sm_shine.png" COMP;
25481          image: "bt_sm_hilight.png" COMP;
25482          image: "ilist_1.png" COMP;
25483          image: "ilist_item_shadow.png" COMP;
25484       }
25485       parts {
25486          part {
25487             name: "event";
25488             type: RECT;
25489             repeat_events: 1;
25490             description {
25491                state: "default" 0.0;
25492                color: 0 0 0 0;
25493             }
25494          }
25495          part {
25496             name: "base_sh";
25497             mouse_events: 0;
25498             description {
25499                state: "default" 0.0;
25500                align: 0.0 0.0;
25501                min: 0 10;
25502                fixed: 1 1;
25503                rel1 {
25504                   to: "base";
25505                   relative: 0.0 1.0;
25506                   offset: 0 0;
25507                }
25508                rel2 {
25509                   to: "base";
25510                   relative: 1.0 1.0;
25511                   offset: -1 0;
25512                }
25513                image {
25514                   normal: "ilist_item_shadow.png";
25515                }
25516                fill.smooth: 0;
25517             }
25518          }
25519          part {
25520             name: "base";
25521             mouse_events: 0;
25522             description {
25523                state: "default" 0.0;
25524                image {
25525                   normal: "ilist_1.png";
25526                   border: 2 2 2 2;
25527                }
25528                fill.smooth: 0;
25529             }
25530          }
25531          part { name: "bg";
25532             clip_to: "disclip";
25533             mouse_events: 0;
25534             description { state: "default" 0.0;
25535                visible: 0;
25536                color: 255 255 255 0;
25537                rel1 {
25538                   relative: 0.0 0.0;
25539                   offset: -5 -5;
25540                }
25541                rel2 {
25542                   relative: 1.0 1.0;
25543                   offset: 4 4;
25544                }
25545                image {
25546                   normal: "bt_sm_base1.png";
25547                   border: 6 6 6 6;
25548                }
25549                image.middle: SOLID;
25550             }
25551             description { state: "selected" 0.0;
25552                inherit: "default" 0.0;
25553                visible: 1;
25554                color: 255 255 255 255;
25555                rel1 {
25556                   relative: 0.0 0.0;
25557                   offset: -2 -2;
25558                }
25559                rel2 {
25560                   relative: 1.0 1.0;
25561                   offset: 1 1;
25562                }
25563             }
25564          }
25565          part { name: "elm.swallow.pad";
25566             type: SWALLOW;
25567             description { state: "default" 0.0;
25568                fixed: 1 0;
25569                align: 0.0 0.5;
25570                rel1 {
25571                   relative: 0.0  0.0;
25572                   offset:   4    4;
25573                }
25574                rel2 {
25575                   relative: 0.0  1.0;
25576                   offset:   4   -5;
25577                }
25578             }
25579          }
25580          part { name: "elm.swallow.preview";
25581             clip_to: "disclip";
25582             type: SWALLOW;
25583             description { state: "default" 0.0;
25584                fixed: 1 0;
25585                align: 0.0 0.5;
25586                min: 68 68;
25587                max: 68 68;
25588                rel1 {
25589                   to_x: "elm.swallow.pad";
25590                   relative: 1.0  0.0;
25591                   offset:   -1    4;
25592                }
25593                rel2 {
25594                   to_x: "elm.swallow.pad";
25595                   relative: 1.0  1.0;
25596                   offset:   -1   -5;
25597                }
25598             }
25599          }
25600          part { name: "elm.text.title";
25601             clip_to: "disclip";
25602             type:           TEXT;
25603             effect:         SOFT_SHADOW;
25604             mouse_events:   0;
25605             scale: 1;
25606             description {
25607                state: "default" 0.0;
25608                rel1 {
25609                   to_x:     "elm.swallow.preview";
25610                   relative: 1.0  0.0;
25611                   offset:   4 4;
25612                }
25613                rel2 {
25614                   relative: 1.0  0.5;
25615                   offset:   -1 -5;
25616                }
25617                color: 0 0 0 255;
25618                color3: 0 0 0 0;
25619                text {
25620                   font: "Sans";
25621                   size: 10;
25622                   min: 0 1;
25623                   align: 0.0 0.5;
25624                }
25625             }
25626             description { state: "selected" 0.0;
25627                inherit: "default" 0.0;
25628                color: 224 224 224 255;
25629                color3: 0 0 0 64;
25630             }
25631          }
25632          part { name: "elm.text.artist";
25633             clip_to: "disclip";
25634             type:           TEXT;
25635             mouse_events:   0;
25636             scale: 1;
25637             description {
25638                state: "default" 0.0;
25639                rel1 {
25640                   to_x:     "elm.swallow.preview";
25641                   relative: 1.0  0.5;
25642                   offset:   4 4;
25643                }
25644                rel2 {
25645                   relative: 1.0  1.0;
25646                   offset:   -1 -5;
25647                }
25648                color: 0 0 0 128;
25649                color3: 0 0 0 0;
25650                text {
25651                   font: "Sans";
25652                   size: 8;
25653                   min: 0 1;
25654                   align: 0.0 0.5;
25655                }
25656             }
25657             description { state: "selected" 0.0;
25658                inherit: "default" 0.0;
25659                color: 128 128 128 255;
25660                color3: 0 0 0 32;
25661             }
25662          }
25663          part { name: "fg1";
25664             clip_to: "disclip";
25665             mouse_events: 0;
25666             description { state: "default" 0.0;
25667                visible: 0;
25668                color: 255 255 255 0;
25669                rel1.to: "bg";
25670                rel2.relative: 1.0 0.5;
25671                rel2.to: "bg";
25672                image {
25673                   normal: "bt_sm_hilight.png";
25674                   border: 6 6 6 0;
25675                }
25676             }
25677             description { state: "selected" 0.0;
25678                inherit: "default" 0.0;
25679                visible: 1;
25680                color: 255 255 255 255;
25681             }
25682          }
25683          part { name: "fg2";
25684             clip_to: "disclip";
25685             mouse_events: 0;
25686             description { state: "default" 0.0;
25687                visible: 0;
25688                color: 255 255 255 0;
25689                rel1.to: "bg";
25690                rel2.to: "bg";
25691                image {
25692                   normal: "bt_sm_shine.png";
25693                   border: 6 6 6 0;
25694                }
25695             }
25696             description { state: "selected" 0.0;
25697                inherit: "default" 0.0;
25698                visible: 1;
25699                color: 255 255 255 255;
25700             }
25701          }
25702          part { name: "disclip";
25703             type: RECT;
25704             description { state: "default" 0.0;
25705                rel1.to: "bg";
25706                rel2.to: "bg";
25707             }
25708             description { state: "disabled" 0.0;
25709                inherit: "default" 0.0;
25710                color: 255 255 255 64;
25711             }
25712          }
25713       }
25714       programs {
25715          // signal: elm,state,%s,active
25716          //   a "check" item named %s went active
25717          // signal: elm,state,%s,passive
25718          //   a "check" item named %s went passive
25719          // default is passive
25720          program {
25721             name:    "go_active";
25722             signal:  "elm,state,selected";
25723             source:  "elm";
25724             action:  STATE_SET "selected" 0.0;
25725             target:  "bg";
25726             target:  "fg1";
25727             target:  "fg2";
25728             target:  "elm.text.title";
25729             target:  "elm.text.artist";
25730          }
25731          program {
25732             name:    "go_passive";
25733             signal:  "elm,state,unselected";
25734             source:  "elm";
25735             action:  STATE_SET "default" 0.0;
25736             target:  "bg";
25737             target:  "fg1";
25738             target:  "fg2";
25739             target:  "elm.text.title";
25740             target:  "elm.text.artist";
25741             transition: LINEAR 0.1;
25742          }
25743          program {
25744             name:    "go_disabled";
25745             signal:  "elm,state,disabled";
25746             source:  "elm";
25747             action:  STATE_SET "disabled" 0.0;
25748             target:  "disclip";
25749          }
25750          program {
25751             name:    "go_enabled";
25752             signal:  "elm,state,enabled";
25753             source:  "elm";
25754             action:  STATE_SET "default" 0.0;
25755             target:  "disclip";
25756          }
25757       }
25758    }
25759    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25760       data.item: "stacking" "below";
25761       data.item: "selectraise" "on";
25762       data.item: "labels" "elm.text.title elm.text.artist";
25763       data.item: "icons" "elm.swallow.preview";
25764       data.item: "treesize" "20";
25765       images {
25766          image: "bt_sm_base1.png" COMP;
25767          image: "bt_sm_shine.png" COMP;
25768          image: "bt_sm_hilight.png" COMP;
25769          image: "ilist_2.png" COMP;
25770       }
25771       parts {
25772          part { name: "event";
25773             type: RECT;
25774             repeat_events: 1;
25775             description {
25776                state: "default" 0.0;
25777                color: 0 0 0 0;
25778             }
25779          }
25780          part {
25781             name: "base";
25782             mouse_events: 0;
25783             description {
25784                state: "default" 0.0;
25785                image {
25786                   normal: "ilist_2.png";
25787                   border: 2 2 2 2;
25788                }
25789                fill.smooth: 0;
25790             }
25791          }
25792          part { name: "bg";
25793             clip_to: "disclip";
25794             mouse_events: 0;
25795             description { state: "default" 0.0;
25796                visible: 0;
25797                color: 255 255 255 0;
25798                rel1 {
25799                   relative: 0.0 0.0;
25800                   offset: -5 -5;
25801                }
25802                rel2 {
25803                   relative: 1.0 1.0;
25804                   offset: 4 4;
25805                }
25806                image {
25807                   normal: "bt_sm_base1.png";
25808                   border: 6 6 6 6;
25809                }
25810                image.middle: SOLID;
25811             }
25812             description { state: "selected" 0.0;
25813                inherit: "default" 0.0;
25814                visible: 1;
25815                color: 255 255 255 255;
25816                rel1 {
25817                   relative: 0.0 0.0;
25818                   offset: -2 -2;
25819                }
25820                rel2 {
25821                   relative: 1.0 1.0;
25822                   offset: 1 1;
25823                }
25824             }
25825          }
25826          part { name: "elm.swallow.pad";
25827             type: SWALLOW;
25828             description { state: "default" 0.0;
25829                fixed: 1 0;
25830                align: 0.0 0.5;
25831                rel1 {
25832                   relative: 0.0  0.0;
25833                   offset:   4    4;
25834                }
25835                rel2 {
25836                   relative: 0.0  1.0;
25837                   offset:   4   -5;
25838                }
25839             }
25840          }
25841          part { name: "elm.swallow.preview";
25842             clip_to: "disclip";
25843             type: SWALLOW;
25844             description { state: "default" 0.0;
25845                fixed: 1 0;
25846                align: 0.0 0.5;
25847                min: 68 68;
25848                max: 68 68;
25849                rel1 {
25850                   to_x: "elm.swallow.pad";
25851                   relative: 1.0  0.0;
25852                   offset:   -1    4;
25853                }
25854                rel2 {
25855                   to_x: "elm.swallow.pad";
25856                   relative: 1.0  1.0;
25857                   offset:   -1   -5;
25858                }
25859             }
25860          }
25861          part { name: "elm.text.title";
25862             clip_to: "disclip";
25863             type:           TEXT;
25864             effect:         SOFT_SHADOW;
25865             mouse_events:   0;
25866             scale: 1;
25867             description {
25868                state: "default" 0.0;
25869                rel1 {
25870                   to_x:     "elm.swallow.preview";
25871                   relative: 1.0  0.0;
25872                   offset:   4 4;
25873                }
25874                rel2 {
25875                   relative: 1.0  0.5;
25876                   offset:   -1 -5;
25877                }
25878                color: 0 0 0 255;
25879                color3: 0 0 0 0;
25880                text {
25881                   font: "Sans";
25882                   size: 10;
25883                   min: 0 1;
25884                   align: 0.0 0.5;
25885                }
25886             }
25887             description { state: "selected" 0.0;
25888                inherit: "default" 0.0;
25889                color: 224 224 224 255;
25890                color3: 0 0 0 64;
25891             }
25892          }
25893          part { name: "elm.text.artist";
25894             clip_to: "disclip";
25895             type:           TEXT;
25896             mouse_events:   0;
25897             scale: 1;
25898             description {
25899                state: "default" 0.0;
25900                rel1 {
25901                   to_x:     "elm.swallow.preview";
25902                   relative: 1.0  0.5;
25903                   offset:   4 4;
25904                }
25905                rel2 {
25906                   relative: 1.0  1.0;
25907                   offset:   -1 -5;
25908                }
25909                color: 0 0 0 128;
25910                color3: 0 0 0 0;
25911                text {
25912                   font: "Sans";
25913                   size: 8;
25914                   min: 0 1;
25915                   align: 0.0 0.5;
25916                }
25917             }
25918             description { state: "selected" 0.0;
25919                inherit: "default" 0.0;
25920                color: 128 128 128 255;
25921                color3: 0 0 0 32;
25922             }
25923          }
25924          part { name: "fg1";
25925             clip_to: "disclip";
25926             mouse_events: 0;
25927             description { state: "default" 0.0;
25928                visible: 0;
25929                color: 255 255 255 0;
25930                rel1.to: "bg";
25931                rel2.relative: 1.0 0.5;
25932                rel2.to: "bg";
25933                image {
25934                   normal: "bt_sm_hilight.png";
25935                   border: 6 6 6 0;
25936                }
25937             }
25938             description { state: "selected" 0.0;
25939                inherit: "default" 0.0;
25940                visible: 1;
25941                color: 255 255 255 255;
25942             }
25943          }
25944          part { name: "fg2";
25945             clip_to: "disclip";
25946             mouse_events: 0;
25947             description { state: "default" 0.0;
25948                visible: 0;
25949                color: 255 255 255 0;
25950                rel1.to: "bg";
25951                rel2.to: "bg";
25952                image {
25953                   normal: "bt_sm_shine.png";
25954                   border: 6 6 6 0;
25955                }
25956             }
25957             description { state: "selected" 0.0;
25958                inherit: "default" 0.0;
25959                visible: 1;
25960                color: 255 255 255 255;
25961             }
25962          }
25963          part { name: "disclip";
25964             type: RECT;
25965             description { state: "default" 0.0;
25966                rel1.to: "bg";
25967                rel2.to: "bg";
25968             }
25969             description { state: "disabled" 0.0;
25970                inherit: "default" 0.0;
25971                color: 255 255 255 64;
25972             }
25973          }
25974       }
25975       programs {
25976          // signal: elm,state,%s,active
25977          //   a "check" item named %s went active
25978          // signal: elm,state,%s,passive
25979          //   a "check" item named %s went passive
25980          // default is passive
25981          program {
25982             name:    "go_active";
25983             signal:  "elm,state,selected";
25984             source:  "elm";
25985             action:  STATE_SET "selected" 0.0;
25986             target:  "bg";
25987             target:  "fg1";
25988             target:  "fg2";
25989             target:  "elm.text.title";
25990             target:  "elm.text.artist";
25991          }
25992          program {
25993             name:    "go_passive";
25994             signal:  "elm,state,unselected";
25995             source:  "elm";
25996             action:  STATE_SET "default" 0.0;
25997             target:  "bg";
25998             target:  "fg1";
25999             target:  "fg2";
26000             target:  "elm.text.title";
26001             target:  "elm.text.artist";
26002             transition: LINEAR 0.1;
26003          }
26004          program {
26005             name:    "go_disabled";
26006             signal:  "elm,state,disabled";
26007             source:  "elm";
26008             action:  STATE_SET "disabled" 0.0;
26009             target:  "disclip";
26010          }
26011          program {
26012             name:    "go_enabled";
26013             signal:  "elm,state,enabled";
26014             source:  "elm";
26015             action:  STATE_SET "default" 0.0;
26016             target:  "disclip";
26017          }
26018       }
26019    }
26020
26021 ///////////////////////////////////////////////////////////////////////////////
26022    group { name: "elm/pager/base/default";
26023       data.item: "onshow" "raise";
26024 // other options
26025 //      data.item: "onhide" "lower";
26026 //      data.item: "onshow" "lower";
26027       images {
26028          image: "frame_1.png" COMP;
26029          image: "frame_2.png" COMP;
26030          image: "dia_grad.png" COMP;
26031       }
26032       parts {
26033          part { name: "clip";
26034             type: RECT;
26035             mouse_events: 0;
26036             description { state: "default" 0.0;
26037                rel1 {
26038                   to: "base";
26039                   offset: -9999 -9999;
26040                }
26041                rel2 {
26042                   to: "base";
26043                   offset: 9999 9999;
26044                }
26045                color: 255 255 255 255;
26046             }
26047             description { state: "visible" 0.0;
26048                inherit: "default" 0.0;
26049             }
26050             description { state: "hidden" 0.0;
26051                inherit: "default" 0.0;
26052                color: 255 255 255 0;
26053                visible: 0;
26054             }
26055          }
26056          part { name: "base0";
26057             mouse_events:  0;
26058             clip_to: "clip";
26059             description { state: "default" 0.0;
26060                image.normal: "dia_grad.png";
26061                rel1.to: "over";
26062                rel2.to: "over";
26063                fill {
26064                   smooth: 0;
26065                   size {
26066                      relative: 0.0 1.0;
26067                      offset: 64 0;
26068                   }
26069                }
26070             }
26071          }
26072          part { name: "base";
26073             mouse_events:  0;
26074             clip_to: "clip";
26075             description { state: "default" 0.0;
26076                image {
26077                   normal: "frame_2.png";
26078                   border: 5 5 32 26;
26079                   middle: 0;
26080                }
26081                fill.smooth : 0;
26082             }
26083             description { state: "hidden" 0.0;
26084                inherit: "default" 0.0;
26085                rel1.relative: -1.0 0.0;
26086                rel2.relative: 0.0 1.0;
26087             }
26088             description { state: "visible" 0.0;
26089                inherit: "default" 0.0;
26090                rel1.relative: 0.0 0.0;
26091                rel2.relative: 1.0 1.0;
26092             }
26093          }
26094          part { name: "over";
26095             mouse_events:  0;
26096             clip_to: "clip";
26097             description { state:    "default" 0.0;
26098                rel1 {
26099                   to: "base";
26100                   offset: 4 4;
26101                }
26102                rel2 {
26103                   to: "base";
26104                   offset: -5 -5;
26105                }
26106                image {
26107                   normal: "frame_1.png";
26108                   border: 2 2 28 22;
26109                   middle: 0;
26110                }
26111                fill.smooth : 0;
26112             }
26113          }
26114          part { name: "elm.swallow.content";
26115             type: SWALLOW;
26116             clip_to: "clip";
26117             description { state: "default" 0.0;
26118                rel1 {
26119                   to: "base";
26120                   offset: 8 8;
26121                }
26122                rel2 {
26123                   to: "base";
26124                   offset: -9 -9;
26125                }
26126             }
26127          }
26128       }
26129       programs {
26130          program { name: "push_start";
26131             signal: "elm,action,push";
26132             source: "elm";
26133             action:  STATE_SET "hidden" 0.0;
26134             target: "base";
26135             target: "clip";
26136             after: "show_start2";
26137          }
26138          program { name: "show_start";
26139             signal: "elm,action,show";
26140             source: "elm";
26141             action:  STATE_SET "hidden" 0.0;
26142             target: "base";
26143             target: "clip";
26144             after: "show_start2";
26145          }
26146          program { name: "show_start2";
26147             action:  STATE_SET "visible" 0.0;
26148             transition: DECELERATE 0.5;
26149             target: "base";
26150             target: "clip";
26151             after: "show_end";
26152          }
26153          program { name: "show_end";
26154             action: SIGNAL_EMIT "elm,action,show,finished" "";
26155          }
26156          program { name: "pop_start";
26157             signal: "elm,action,pop";
26158             source: "elm";
26159             action:  STATE_SET "visible" 0.0;
26160             target: "base";
26161             target: "clip";
26162             after: "hide_start2";
26163          }
26164          program { name: "hide_start";
26165             signal: "elm,action,hide";
26166             source: "elm";
26167             action:  STATE_SET "visible" 0.0;
26168             target: "base";
26169             target: "clip";
26170             after: "hide_start2";
26171          }
26172          program { name: "hide_start2";
26173             action:  STATE_SET "hidden" 0.0;
26174             transition: DECELERATE 0.5;
26175             target: "base";
26176             target: "clip";
26177             after: "hide_end";
26178          }
26179          program { name: "hide_end";
26180             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26181          }
26182          program { name: "reset";
26183             signal: "elm,action,reset";
26184             source: "elm";
26185             action:  STATE_SET "default" 0.0;
26186             target: "base";
26187             target: "clip";
26188          }
26189       }
26190    }
26191
26192    group { name: "elm/pager/base/slide";
26193       images {
26194          image: "frame_1.png" COMP;
26195          image: "frame_2.png" COMP;
26196          image: "dia_grad.png" COMP;
26197       }
26198       parts {
26199          part { name: "clip";
26200             type: RECT;
26201             mouse_events: 0;
26202             description { state: "default" 0.0;
26203                rel1 {
26204                   to: "base";
26205                   offset: -9999 -9999;
26206                }
26207                rel2 {
26208                   to: "base";
26209                   offset: 9999 9999;
26210                }
26211                color: 255 255 255 255;
26212             }
26213             description { state: "visible" 0.0;
26214                inherit: "default" 0.0;
26215             }
26216             description { state: "hidden" 0.0;
26217                inherit: "default" 0.0;
26218                color: 255 255 255 0;
26219                visible: 0;
26220             }
26221             description { state: "hidden2" 0.0;
26222                inherit: "default" 0.0;
26223                color: 255 255 255 0;
26224                visible: 0;
26225             }
26226          }
26227          part { name: "base0";
26228             mouse_events:  0;
26229             clip_to: "clip";
26230             description { state: "default" 0.0;
26231                image.normal: "dia_grad.png";
26232                rel1.to: "over";
26233                rel2.to: "over";
26234                fill {
26235                   smooth: 0;
26236                   size {
26237                      relative: 0.0 1.0;
26238                      offset: 64 0;
26239                   }
26240                }
26241             }
26242          }
26243          part { name: "base";
26244             mouse_events:  0;
26245             clip_to: "clip";
26246             description { state: "default" 0.0;
26247                image {
26248                   normal: "frame_2.png";
26249                   border: 5 5 32 26;
26250                   middle: 0;
26251                }
26252                fill.smooth : 0;
26253             }
26254             description { state: "hidden" 0.0;
26255                inherit: "default" 0.0;
26256                rel1.relative: -1.0 0.0;
26257                rel2.relative: 0.0 1.0;
26258             }
26259             description { state: "hidden2" 0.0;
26260                inherit: "default" 0.0;
26261                rel1.relative: 1.0 0.0;
26262                rel2.relative: 2.0 1.0;
26263             }
26264             description { state: "visible" 0.0;
26265                inherit: "default" 0.0;
26266                rel1.relative: 0.0 0.0;
26267                rel2.relative: 1.0 1.0;
26268             }
26269          }
26270          part { name: "over";
26271             mouse_events:  0;
26272             clip_to: "clip";
26273             description { state:    "default" 0.0;
26274                rel1 {
26275                   to: "base";
26276                   offset: 4 4;
26277                }
26278                rel2 {
26279                   to: "base";
26280                   offset: -5 -5;
26281                }
26282                image {
26283                   normal: "frame_1.png";
26284                   border: 2 2 28 22;
26285                   middle: 0;
26286                }
26287                fill.smooth : 0;
26288             }
26289          }
26290          part { name: "elm.swallow.content";
26291             type: SWALLOW;
26292             clip_to: "clip";
26293             description { state: "default" 0.0;
26294                rel1 {
26295                   to: "base";
26296                   offset: 8 8;
26297                }
26298                rel2 {
26299                   to: "base";
26300                   offset: -9 -9;
26301                }
26302             }
26303          }
26304       }
26305       programs {
26306          program { name: "push_start";
26307             signal: "elm,action,push";
26308             source: "elm";
26309             action:  STATE_SET "hidden2" 0.0;
26310             target: "base";
26311             target: "clip";
26312             after: "show_start2";
26313          }
26314          program { name: "show_start";
26315             signal: "elm,action,show";
26316             source: "elm";
26317             action:  STATE_SET "hidden" 0.0;
26318             target: "base";
26319             target: "clip";
26320             after: "show_start2";
26321          }
26322          program { name: "show_start2";
26323             action:  STATE_SET "visible" 0.0;
26324             transition: DECELERATE 0.5;
26325             target: "base";
26326             target: "clip";
26327             after: "show_end";
26328          }
26329          program { name: "show_end";
26330             action: SIGNAL_EMIT "elm,action,show,finished" "";
26331          }
26332          program { name: "pop_start";
26333             signal: "elm,action,pop";
26334             source: "elm";
26335             action:  STATE_SET "visible" 0.0;
26336             target: "base";
26337             target: "clip";
26338             after: "pop_start2";
26339          }
26340          program { name: "pop_start2";
26341             action:  STATE_SET "hidden2" 0.0;
26342             transition: DECELERATE 0.5;
26343             target: "base";
26344             target: "clip";
26345             after: "hide_end";
26346          }
26347          program { name: "hide_start";
26348             signal: "elm,action,hide";
26349             source: "elm";
26350             action:  STATE_SET "visible" 0.0;
26351             target: "base";
26352             target: "clip";
26353             after: "hide_start2";
26354          }
26355          program { name: "hide_start2";
26356             action:  STATE_SET "hidden" 0.0;
26357             transition: DECELERATE 0.5;
26358             target: "base";
26359             target: "clip";
26360             after: "hide_end";
26361          }
26362          program { name: "hide_end";
26363             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26364          }
26365          program { name: "reset";
26366             signal: "elm,action,reset";
26367             source: "elm";
26368             action:  STATE_SET "default" 0.0;
26369             target: "base";
26370             target: "clip";
26371          }
26372       }
26373    }
26374    group { name: "elm/pager/base/slide_invisible";
26375       parts {
26376          part { name: "clip";
26377             type: RECT;
26378             mouse_events: 0;
26379             description { state: "default" 0.0;
26380                rel1 {
26381                   to: "base";
26382                   offset: -9999 -9999;
26383             }
26384                rel2 {
26385                   to: "base";
26386                   offset: 9999 9999;
26387                }
26388                color: 255 255 255 255;
26389             }
26390             description { state: "visible" 0.0;
26391                inherit: "default" 0.0;
26392             }
26393             description { state: "hidden" 0.0;
26394                inherit: "default" 0.0;
26395                color: 255 255 255 0;
26396                visible: 0;
26397             }
26398             description { state: "hidden2" 0.0;
26399                inherit: "default" 0.0;
26400                color: 255 255 255 0;
26401                visible: 0;
26402             }
26403          }
26404          part { name: "base";
26405             type: RECT;
26406             mouse_events:  0;
26407             clip_to: "clip";
26408             description { state: "default" 0.0;
26409                color: 0 0 0 0;
26410             }
26411             description { state: "hidden" 0.0;
26412                color: 0 0 0 0;
26413                rel1.relative: -1.0 0.0;
26414                rel2.relative: 0.0 1.0;
26415             }
26416             description { state: "hidden2" 0.0;
26417                color: 0 0 0 0;
26418                rel1.relative: 1.0 0.0;
26419                rel2.relative: 2.0 1.0;
26420             }
26421             description { state: "visible" 0.0;
26422                color: 0 0 0 0;
26423                rel1.relative: 0.0 0.0;
26424                rel2.relative: 1.0 1.0;
26425             }
26426          }
26427          part { name: "elm.swallow.content";
26428             type: SWALLOW;
26429             clip_to: "clip";
26430             description { state: "default" 0.0;
26431                rel1.to: "base";
26432                rel2.to: "base";
26433             }
26434          }
26435       }
26436       programs {
26437          program { name: "push_start";
26438             signal: "elm,action,push";
26439             source: "elm";
26440             action:  STATE_SET "hidden2" 0.0;
26441             target: "base";
26442             target: "clip";
26443             after: "show_start2";
26444          }
26445          program { name: "show_start";
26446             signal: "elm,action,show";
26447             source: "elm";
26448             action:  STATE_SET "hidden" 0.0;
26449             target: "base";
26450             target: "clip";
26451             after: "show_start2";
26452          }
26453          program { name: "show_start2";
26454             action:  STATE_SET "visible" 0.0;
26455             transition: DECELERATE 0.5;
26456             target: "base";
26457             target: "clip";
26458             after: "show_end";
26459          }
26460          program { name: "show_end";
26461             action: SIGNAL_EMIT "elm,action,show,finished" "";
26462          }
26463          program { name: "pop_start";
26464             signal: "elm,action,pop";
26465             source: "elm";
26466             action:  STATE_SET "visible" 0.0;
26467             target: "base";
26468             target: "clip";
26469             after: "pop_start2";
26470          }
26471          program { name: "pop_start2";
26472             action:  STATE_SET "hidden2" 0.0;
26473             transition: DECELERATE 0.5;
26474             target: "base";
26475             target: "clip";
26476             after: "hide_end";
26477          }
26478          program { name: "hide_start";
26479             signal: "elm,action,hide";
26480             source: "elm";
26481             action:  STATE_SET "visible" 0.0;
26482             target: "base";
26483             target: "clip";
26484             after: "hide_start2";
26485          }
26486          program { name: "hide_start2";
26487             action:  STATE_SET "hidden" 0.0;
26488             transition: DECELERATE 0.5;
26489             target: "base";
26490             target: "clip";
26491             after: "hide_end";
26492          }
26493          program { name: "hide_end";
26494             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26495          }
26496          program { name: "reset";
26497             signal: "elm,action,reset";
26498             source: "elm";
26499             action:  STATE_SET "default" 0.0;
26500             target: "base";
26501             target: "clip";
26502          }
26503       }
26504    }
26505
26506    group { name: "elm/pager/base/fade";
26507        data.item: "onshow" "raise";
26508        // other options
26509        //      data.item: "onhide" "lower";
26510        //      data.item: "onshow" "lower";
26511        images {
26512            image: "frame_1.png" COMP;
26513            image: "frame_2.png" COMP;
26514            image: "dia_grad.png" COMP;
26515        }
26516        parts {
26517            part { name: "clip_base";
26518                type: RECT;
26519                mouse_events: 0;
26520                description { state: "default" 0.0;
26521                    rel1 {
26522                        to: "base";
26523                        offset: -9999 -9999;
26524                    }
26525                    rel2 {
26526                        to: "base";
26527                        offset: 9999 9999;
26528                    }
26529                    color: 255 255 255 120;
26530                }
26531                description { state: "visible" 0.0;
26532                    inherit: "default" 0.0;
26533                }
26534                description { state: "hidden" 0.0;
26535                    inherit: "default" 0.0;
26536                    color: 255 255 255 0;
26537                    visible: 0;
26538                }
26539            }
26540            part { name: "clip";
26541                type: RECT;
26542                mouse_events: 0;
26543                description { state: "default" 0.0;
26544                    rel1 {
26545                        to: "base";
26546                        offset: -9999 -9999;
26547                    }
26548                    rel2 {
26549                        to: "base";
26550                        offset: 9999 9999;
26551                    }
26552                    color: 255 255 255 255;
26553                }
26554                description { state: "visible" 0.0;
26555                    inherit: "default" 0.0;
26556                }
26557                description { state: "hidden" 0.0;
26558                    inherit: "default" 0.0;
26559                    color: 255 255 255 0;
26560                    visible: 0;
26561                }
26562            }
26563            part { name: "base0";
26564                mouse_events:  0;
26565                clip_to: "clip_base";
26566                description { state: "default" 0.0;
26567                    image.normal: "dia_grad.png";
26568                    rel1.to: "over";
26569                    rel2.to: "over";
26570                    fill {
26571                        smooth: 0;
26572                        size {
26573                            relative: 0.0 1.0;
26574                            offset: 64 0;
26575                        }
26576                    }
26577                }
26578            }
26579            part { name: "base";
26580                mouse_events:  0;
26581                clip_to: "clip_base";
26582                description { state: "default" 0.0;
26583                    image {
26584                        normal: "frame_2.png";
26585                        border: 5 5 32 26;
26586                        middle: 0;
26587                    }
26588                    fill.smooth : 0;
26589                }
26590            }
26591            part { name: "over";
26592                mouse_events:  0;
26593                clip_to: "clip";
26594                description { state:    "default" 0.0;
26595                    rel1 {
26596                        to: "base";
26597                        offset: 4 4;
26598                    }
26599                    rel2 {
26600                        to: "base";
26601                        offset: -5 -5;
26602                    }
26603                    image {
26604                        normal: "frame_1.png";
26605                        border: 2 2 28 22;
26606                        middle: 0;
26607                    }
26608                    fill.smooth : 0;
26609                }
26610            }
26611            part { name: "elm.swallow.content";
26612                type: SWALLOW;
26613                clip_to: "clip";
26614                description { state: "default" 0.0;
26615                    rel1 {
26616                        to: "base";
26617                        offset: 8 8;
26618                    }
26619                    rel2 {
26620                        to: "base";
26621                        offset: -9 -9;
26622                    }
26623                }
26624            }
26625        }
26626        programs {
26627            program { name: "push_start";
26628                signal: "elm,action,push";
26629                source: "elm";
26630                action:  STATE_SET "hidden" 0.0;
26631                target: "clip";
26632                target: "clip_base";
26633                after: "show_start2";
26634            }
26635            program { name: "show_start";
26636                signal: "elm,action,show";
26637                source: "elm";
26638                action:  STATE_SET "hidden" 0.0;
26639                target: "clip";
26640                target: "clip_base";
26641                after: "show_start2";
26642            }
26643            program { name: "show_start2";
26644                action:  STATE_SET "visible" 0.0;
26645                transition: DECELERATE 0.5;
26646                target: "clip";
26647                target: "clip_base";
26648                after: "show_end";
26649            }
26650            program { name: "show_end";
26651                action: SIGNAL_EMIT "elm,action,show,finished" "";
26652            }
26653            program { name: "pop_start";
26654                signal: "elm,action,pop";
26655                source: "elm";
26656                action:  STATE_SET "visible" 0.0;
26657                target: "clip";
26658                target: "clip_base";
26659                after: "hide_start2";
26660            }
26661            program { name: "hide_start";
26662                signal: "elm,action,hide";
26663                source: "elm";
26664                action:  STATE_SET "visible" 0.0;
26665                target: "clip";
26666                target: "clip_base";
26667                after: "hide_start2";
26668            }
26669            program { name: "hide_start2";
26670                action:  STATE_SET "hidden" 0.0;
26671                transition: DECELERATE 0.5;
26672                target: "clip";
26673                target: "clip_base";
26674                after: "hide_end";
26675            }
26676            program { name: "hide_end";
26677                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26678            }
26679            program { name: "reset";
26680                signal: "elm,action,reset";
26681                source: "elm";
26682                action:  STATE_SET "default" 0.0;
26683                target: "clip_base";
26684                target: "clip";
26685            }
26686        }
26687    }
26688    group { name: "elm/pager/base/fade_translucide";
26689        data.item: "onshow" "raise";
26690        // other options
26691        //      data.item: "onhide" "lower";
26692        //      data.item: "onshow" "lower";
26693        images {
26694            image: "frame_1.png" COMP;
26695            image: "frame_2.png" COMP;
26696            image: "dia_grad.png" COMP;
26697        }
26698        parts {
26699            part { name: "clip_base";
26700                type: RECT;
26701                mouse_events: 0;
26702                description { state: "default" 0.0;
26703                    rel1 {
26704                        to: "base";
26705                        offset: -9999 -9999;
26706                    }
26707                    rel2 {
26708                        to: "base";
26709                        offset: 9999 9999;
26710                    }
26711                    color: 255 255 255 120;
26712                }
26713                description { state: "visible" 0.0;
26714                    inherit: "default" 0.0;
26715                }
26716                description { state: "hidden" 0.0;
26717                    inherit: "default" 0.0;
26718                    color: 255 255 255 0;
26719                    visible: 0;
26720                }
26721            }
26722            part { name: "clip";
26723                type: RECT;
26724                mouse_events: 0;
26725                description { state: "default" 0.0;
26726                    rel1 {
26727                        to: "base";
26728                        offset: -9999 -9999;
26729                    }
26730                    rel2 {
26731                        to: "base";
26732                        offset: 9999 9999;
26733                    }
26734                    color: 255 255 255 255;
26735                }
26736                description { state: "visible" 0.0;
26737                    inherit: "default" 0.0;
26738                }
26739                description { state: "hidden" 0.0;
26740                    inherit: "default" 0.0;
26741                    color: 255 255 255 0;
26742                    visible: 0;
26743                }
26744            }
26745            part { name: "base0";
26746                mouse_events:  0;
26747                clip_to: "clip_base";
26748                description { state: "default" 0.0;
26749                    image.normal: "dia_grad.png";
26750                    rel1.to: "over";
26751                    rel2.to: "over";
26752                    fill {
26753                        smooth: 0;
26754                        size {
26755                            relative: 0.0 1.0;
26756                            offset: 64 0;
26757                        }
26758                    }
26759                }
26760            }
26761            part { name: "base";
26762                mouse_events:  0;
26763                clip_to: "clip_base";
26764                description { state: "default" 0.0;
26765                    image {
26766                        normal: "frame_2.png";
26767                        border: 5 5 32 26;
26768                        middle: 0;
26769                    }
26770                    fill.smooth : 0;
26771                }
26772            }
26773            part { name: "over";
26774                mouse_events:  0;
26775                clip_to: "clip";
26776                description { state:    "default" 0.0;
26777                    rel1 {
26778                        to: "base";
26779                        offset: 4 4;
26780                    }
26781                    rel2 {
26782                        to: "base";
26783                        offset: -5 -5;
26784                    }
26785                    image {
26786                        normal: "frame_1.png";
26787                        border: 2 2 28 22;
26788                        middle: 0;
26789                    }
26790                    fill.smooth : 0;
26791                }
26792            }
26793            part { name: "elm.swallow.content";
26794                type: SWALLOW;
26795                clip_to: "clip";
26796                description { state: "default" 0.0;
26797                    rel1 {
26798                        to: "base";
26799                        offset: 8 8;
26800                    }
26801                    rel2 {
26802                        to: "base";
26803                        offset: -9 -9;
26804                    }
26805                }
26806            }
26807        }
26808        programs {
26809            program { name: "push_start";
26810                signal: "elm,action,push";
26811                source: "elm";
26812                action:  STATE_SET "hidden" 0.0;
26813                target: "clip";
26814                target: "clip_base";
26815                after: "show_start2";
26816            }
26817            program { name: "show_start";
26818                signal: "elm,action,show";
26819                source: "elm";
26820                action:  STATE_SET "hidden" 0.0;
26821                target: "clip";
26822                target: "clip_base";
26823                after: "show_start2";
26824            }
26825            program { name: "show_start2";
26826                action:  STATE_SET "visible" 0.0;
26827                transition: DECELERATE 0.5;
26828                target: "clip";
26829                target: "clip_base";
26830                after: "show_end";
26831            }
26832            program { name: "show_end";
26833                action: SIGNAL_EMIT "elm,action,show,finished" "";
26834            }
26835            program { name: "pop_start";
26836                signal: "elm,action,pop";
26837                source: "elm";
26838                action:  STATE_SET "visible" 0.0;
26839                target: "clip";
26840                target: "clip_base";
26841                after: "hide_start2";
26842            }
26843            program { name: "hide_start";
26844                signal: "elm,action,hide";
26845                source: "elm";
26846                action:  STATE_SET "visible" 0.0;
26847                target: "clip";
26848                target: "clip_base";
26849                after: "hide_start2";
26850            }
26851            program { name: "hide_start2";
26852                action:  STATE_SET "hidden" 0.0;
26853                transition: DECELERATE 0.5;
26854                target: "clip";
26855                target: "clip_base";
26856                after: "hide_end";
26857            }
26858            program { name: "hide_end";
26859                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26860            }
26861            program { name: "reset";
26862                signal: "elm,action,reset";
26863                source: "elm";
26864                action:  STATE_SET "default" 0.0;
26865                target: "clip_base";
26866                target: "clip";
26867            }
26868        }
26869    }
26870    group { name: "elm/pager/base/fade_invisible";
26871        data.item: "onshow" "raise";
26872        // other options
26873        //      data.item: "onhide" "lower";
26874        //      data.item: "onshow" "lower";
26875        parts {
26876            part { name: "clip";
26877                type: RECT;
26878                mouse_events: 0;
26879                description { state: "default" 0.0;
26880                    rel1 {
26881                        offset: -9999 -9999;
26882                    }
26883                    rel2 {
26884                        offset: 9999 9999;
26885                    }
26886                    color: 255 255 255 255;
26887                }
26888                description { state: "visible" 0.0;
26889                    inherit: "default" 0.0;
26890                }
26891                description { state: "hidden" 0.0;
26892                    inherit: "default" 0.0;
26893                    color: 255 255 255 0;
26894                    visible: 0;
26895                }
26896            }
26897            part { name: "elm.swallow.content";
26898                type: SWALLOW;
26899                clip_to: "clip";
26900                description { state: "default" 0.0;
26901                    rel1 {
26902                        offset: 8 8;
26903                    }
26904                    rel2 {
26905                        offset: -9 -9;
26906                    }
26907                }
26908            }
26909        }
26910        programs {
26911            program { name: "push_start";
26912                signal: "elm,action,push";
26913                source: "elm";
26914                action:  STATE_SET "hidden" 0.0;
26915                target: "clip";
26916                after: "show_start2";
26917            }
26918            program { name: "show_start";
26919                signal: "elm,action,show";
26920                source: "elm";
26921                action:  STATE_SET "hidden" 0.0;
26922                target: "clip";
26923                after: "show_start2";
26924            }
26925            program { name: "show_start2";
26926                action:  STATE_SET "visible" 0.0;
26927                transition: DECELERATE 0.5;
26928                target: "clip";
26929                after: "show_end";
26930            }
26931            program { name: "show_end";
26932                action: SIGNAL_EMIT "elm,action,show,finished" "";
26933            }
26934            program { name: "pop_start";
26935                signal: "elm,action,pop";
26936                source: "elm";
26937                action:  STATE_SET "visible" 0.0;
26938                target: "clip";
26939                after: "hide_start2";
26940            }
26941            program { name: "hide_start";
26942                signal: "elm,action,hide";
26943                source: "elm";
26944                action:  STATE_SET "visible" 0.0;
26945                target: "clip";
26946                after: "hide_start2";
26947            }
26948            program { name: "hide_start2";
26949                action:  STATE_SET "hidden" 0.0;
26950                transition: DECELERATE 0.5;
26951                target: "clip";
26952                after: "hide_end";
26953            }
26954            program { name: "hide_end";
26955                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26956            }
26957            program { name: "reset";
26958                signal: "elm,action,reset";
26959                source: "elm";
26960                action:  STATE_SET "default" 0.0;
26961                target: "clip";
26962            }
26963        }
26964    }
26965
26966    group { name: "elm/pager/base/flip";
26967       data.item: "onshow" "raise";
26968       images {
26969          image: "frame_1.png" COMP;
26970          image: "frame_2.png" COMP;
26971          image: "dia_grad.png" COMP;
26972       }
26973       parts {
26974          part { name: "elm.swallow.content";
26975             type: SWALLOW;
26976             description { state: "default" 0.0;
26977                map {
26978                   on: 1;
26979                   smooth: 1;
26980                   backface_cull: 1;
26981                   perspective_on: 1;
26982                }
26983                perspective {
26984                   zplane: 0;
26985                   focal: 1000;
26986                }
26987             }
26988             description { state: "hidden" 0.0;
26989                inherit: "default" 0.0;
26990                visible: 0;
26991                map.rotation.y: 90.0;
26992             }
26993             description { state: "before_hidden" 0.0;
26994                inherit: "default" 0.0;
26995                visible: 0;
26996                map.rotation.y: -90.0;
26997             }
26998          }
26999       }
27000       programs {
27001          program { name: "push_start";
27002             signal: "elm,action,push";
27003             source: "elm";
27004             after: "push1";
27005          }
27006          program { name: "push1";
27007             action:  STATE_SET "hidden" 0.0;
27008             target: "elm.swallow.content";
27009             after: "push2";
27010          }
27011          program { name: "push2";
27012             action:  STATE_SET "default" 0.0;
27013             in: 0.5 0.0;
27014             transition: LINEAR 0.5;
27015             target: "elm.swallow.content";
27016             after: "push3";
27017          }
27018          program { name: "push3";
27019             action: SIGNAL_EMIT "elm,action,show,finished" "";
27020          }
27021
27022          program { name: "show_start";
27023             signal: "elm,action,show";
27024             source: "elm";
27025             after: "show1";
27026          }
27027          program { name: "show1";
27028             action:  STATE_SET "before_hidden" 0.0;
27029             target: "elm.swallow.content";
27030             after: "show2";
27031          }
27032          program { name: "show2";
27033             action:  STATE_SET "default" 0.0;
27034             in: 0.5 0.0;
27035             transition: LINEAR 0.5;
27036             target: "elm.swallow.content";
27037             after: "show3";
27038          }
27039          program { name: "show3";
27040             action: SIGNAL_EMIT "elm,action,show,finished" "";
27041          }
27042
27043          program { name: "pop_start";
27044             signal: "elm,action,pop";
27045             source: "elm";
27046             after: "pop1";
27047          }
27048          program { name: "pop1";
27049             action:  STATE_SET "default" 0.0;
27050             target: "elm.swallow.content";
27051             after: "pop2";
27052          }
27053          program { name: "pop2";
27054             action:  STATE_SET "hidden" 0.0;
27055             transition: LINEAR 0.5;
27056             target: "elm.swallow.content";
27057             after: "pop3";
27058          }
27059          program { name: "pop3";
27060             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27061          }
27062
27063          program { name: "hide_start";
27064             signal: "elm,action,hide";
27065             source: "elm";
27066             after: "hide1";
27067          }
27068          program { name: "hide1";
27069             action:  STATE_SET "default" 0.0;
27070             target: "elm.swallow.content";
27071             after: "hide2";
27072          }
27073          program { name: "hide2";
27074             action:  STATE_SET "before_hidden" 0.0;
27075             transition: LINEAR 0.5;
27076             target: "elm.swallow.content";
27077             after: "hide3";
27078          }
27079          program { name: "hide3";
27080             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27081          }
27082
27083          program { name: "reset";
27084             signal: "elm,action,reset";
27085             source: "elm";
27086             action:  STATE_SET "default" 0.0;
27087             target: "elm.swallow.content";
27088          }
27089       }
27090    }
27091
27092
27093
27094 ///////////////////////////////////////////////////////////////////////////////
27095 // FIXME: this doesn't look too hot. need to fix it up
27096    group { name: "elm/progressbar/horizontal/default";
27097       images {
27098          image: "shelf_inset.png" COMP;
27099          image: "bt_sm_base2.png" COMP;
27100          image: "bt_sm_hilight.png" COMP;
27101          image: "bt_sm_shine.png" COMP;
27102       }
27103       parts {
27104          part { name: "elm.background.progressbar";
27105             mouse_events: 0;
27106             description {
27107                state: "default" 0.0;
27108                rel1 {
27109                   relative: 0.0 0.0;
27110                   offset: 0 0;
27111                }
27112                rel2 {
27113                   relative: 1.0 1.0;
27114                }
27115             }
27116          }
27117          part { name: "elm.swallow.bar";
27118             mouse_events: 0;
27119             type: SWALLOW;
27120             description {
27121                min: 48 28;
27122                max: 99999 28;
27123                state: "default" 0.0;
27124                rel1 {
27125                   to_x: "elm.text";
27126                   to_y: "elm.background.progressbar";
27127                   relative: 1.0 0.0;
27128                }
27129                rel2 {
27130                   to: "elm.background.progressbar";
27131                   relative: 1.0 1.0;
27132                }
27133             }
27134          }
27135          part { name: "elm.swallow.content";
27136             type: SWALLOW;
27137             description { state: "default" 0.0;
27138                visible: 0;
27139                align: 0.0 0.5;
27140                rel1 {
27141                   offset: 4 0;
27142                   to_y: "elm.background.progressbar";
27143                }
27144                rel2 {
27145                   offset: 3 -1;
27146                   relative: 0.0 1.0;
27147                   to_y: "elm.background.progressbar";
27148                }
27149             }
27150             description { state: "visible" 0.0;
27151                inherit: "default" 0.0;
27152                visible: 1;
27153                aspect: 1.0 1.0;
27154                aspect_preference: VERTICAL;
27155                rel2.offset: 4 -1;
27156             }
27157          }
27158          part { name: "elm.text";
27159             type: TEXT;
27160             mouse_events: 0;
27161             scale: 1;
27162             description { state: "default" 0.0;
27163                visible: 0;
27164                fixed: 1 1;
27165                align: 0.0 0.5;
27166                rel1.to_x: "elm.swallow.content";
27167                rel1.relative: 1.0 0.0;
27168                rel1.offset: -1 4;
27169                rel2.to_x: "elm.swallow.content";
27170                rel2.relative: 1.0 1.0;
27171                rel2.offset: -1 -5;
27172                color: 0 0 0 255;
27173                text {
27174                   font: "Sans,Edje-Vera";
27175                   size: 10;
27176                   min: 0 0;
27177                   align: 0.0 0.5;
27178                }
27179             }
27180             description { state: "visible" 0.0;
27181                inherit: "default" 0.0;
27182                visible: 1;
27183                text.min: 1 1;
27184                rel1.offset: 0 4;
27185                rel2.offset: 0 -5;
27186             }
27187          }
27188
27189          part { name: "background";
27190             mouse_events: 0;
27191             clip_to: "elm.background.progressbar";
27192             description {
27193                state: "default" 0.0;
27194                rel1 {
27195                   to: "elm.swallow.bar";
27196                   relative: 0.0 0.0;
27197                }
27198                rel2 {
27199                   to: "elm.swallow.bar";
27200                   relative: 1.0 1.0;
27201                   offset: -1 -1;
27202                }
27203                image {
27204                   normal: "shelf_inset.png";
27205                   border: 7 7 7 7;
27206                }
27207             }
27208          }
27209
27210          part { name: "elm.text.status";
27211             type: TEXT;
27212             mouse_events: 0;
27213             description { state: "default" 0.0;
27214                fixed: 1 1;
27215                visible: 1;
27216                rel1 {
27217                   to: "background";
27218                   relative: 0.5 0.5;
27219                }
27220                rel2 {
27221                   to: "background";
27222                   relative: 0.5 0.5;
27223                }
27224                text {
27225                   font: "Sans:style=Bold,Edje-Vera-Bold";
27226                   size: 10;
27227                   min: 1 1;
27228                   align: 0.5 0.0;
27229                }
27230                color: 0 0 0 255;
27231             }
27232             description { state: "hidden" 0.0;
27233                inherit: "default" 0.0;
27234                visible: 0;
27235                text.min: 0 0;
27236             }
27237          }
27238
27239          part { name: "elm.progress.progressbar";
27240             mouse_events: 0;
27241             clip_to: "elm.background.progressbar";
27242             description {
27243                state: "default" 0.0;
27244                min: 14 28;
27245                fixed: 1 1;
27246                rel1 {
27247                   to: "elm.swallow.bar";
27248                   relative: 0.0 0.0;
27249                }
27250                rel2 {
27251                   to_y: "elm.swallow.bar";
27252                   to_x: "elm.cur.progressbar";
27253                   offset: -1 -1;
27254                }
27255                image {
27256                   normal: "bt_sm_base2.png";
27257                   border: 6 6 6 6;
27258                }
27259             }
27260             description {
27261                state: "invert" 0.0;
27262                inherit: "default" 0.0;
27263                rel1 {
27264                   to_y: "elm.swallow.bar";
27265                   to_x: "elm.cur.progressbar";
27266                }
27267                rel2 {
27268                   to: "elm.swallow.bar";
27269                   relative: 1.0 1.0;
27270                }
27271             }
27272             description {
27273                state: "state_begin" 0.0;
27274                inherit: "default" 0.0;
27275                rel1 {
27276                   to: "elm.swallow.bar";
27277                   relative: 0.0 0.0;
27278                }
27279                rel2 {
27280                   to: "elm.swallow.bar";
27281                   relative: 0.1 1.0;
27282                }
27283             }
27284             description {
27285                state: "state_end" 0.0;
27286                inherit: "default" 0.0;
27287                rel1 {
27288                   to: "elm.swallow.bar";
27289                   relative: 0.9 0.0;
27290                }
27291                rel2 {
27292                   to: "elm.swallow.bar";
27293                   relative: 1.0 1.0;
27294                }
27295             }
27296          }
27297          part { name: "text-bar";
27298             type: TEXT;
27299             mouse_events: 0;
27300             clip_to: "progress-rect";
27301             effect: SOFT_SHADOW;
27302             scale: 1;
27303             description { state: "default" 0.0;
27304                align: 0.0 0.0;
27305                fixed: 1 1;
27306                visible: 1;
27307                rel1.to: "elm.text.status";
27308                rel1.offset: -1 -1;
27309                rel2.to: "elm.text.status";
27310                text {
27311                   text_source: "elm.text.status";
27312                   font: "Sans:style=Bold,Edje-Vera-Bold";
27313                   size: 10;
27314                   min: 1 1;
27315                   align: 0.0 0.0;
27316                }
27317                color: 224 224 224 255;
27318                color3: 0 0 0 64;
27319             }
27320             description { state: "hidden" 0.0;
27321                inherit: "default" 0.0;
27322                visible: 0;
27323                text.min: 0 0;
27324             }
27325          }
27326
27327          part { name: "over1";
27328             mouse_events: 0;
27329             description { state: "default" 0.0;
27330                rel1.to: "elm.progress.progressbar";
27331                rel2.to: "elm.progress.progressbar";
27332                rel2.relative: 1.0 0.5;
27333                image {
27334                   normal: "bt_sm_hilight.png";
27335                   border: 6 6 6 0;
27336                }
27337             }
27338          }
27339
27340          part { name: "over2";
27341             mouse_events: 1;
27342             repeat_events: 1;
27343             description { state: "default" 0.0;
27344                rel1.to: "elm.progress.progressbar";
27345                rel2.to: "elm.progress.progressbar";
27346                image {
27347                   normal: "bt_sm_shine.png";
27348                   border: 6 6 6 0;
27349                }
27350             }
27351          }
27352
27353          part { name: "elm.cur.progressbar";
27354             mouse_events: 0;
27355             dragable {
27356                confine: "background";
27357                x: 1 1 1;
27358                y: 0 0 0;
27359             }
27360             description { state: "default" 0.0;
27361                min: 14 28;
27362                fixed: 1 1;
27363                visible: 0;
27364                rel1 {
27365                   to: "background";
27366                   relative: 0 0;
27367                }
27368                rel2.to: "background";
27369            }
27370          }
27371          part { name: "progress-rect";
27372             mouse_events: 0;
27373             description {
27374                state: "default" 0.0;
27375                rel1.to: "elm.progress.progressbar";
27376                rel2.to: "elm.progress.progressbar";
27377             }
27378          }
27379       }
27380       programs {
27381          program { name: "label_show";
27382             signal: "elm,state,text,visible";
27383             source: "elm";
27384             action:  STATE_SET "visible" 0.0;
27385             target: "elm.text";
27386          }
27387          program { name: "label_hide";
27388             signal: "elm,state,text,hidden";
27389             source: "elm";
27390             action:  STATE_SET "default" 0.0;
27391             target: "elm.text";
27392          }
27393          program { name: "icon_show";
27394             signal: "elm,state,icon,visible";
27395             source: "elm";
27396             action:  STATE_SET "visible" 0.0;
27397             target: "elm.swallow.content";
27398          }
27399          program { name: "icon_hide";
27400             signal: "elm,state,icon,hidden";
27401             source: "elm";
27402             action:  STATE_SET "default" 0.0;
27403             target: "elm.swallow.content";
27404          }
27405          program { name: "units_show";
27406             signal: "elm,state,units,visible";
27407             source: "elm";
27408             action:  STATE_SET "default" 0.0;
27409             target: "text-bar";
27410             target: "elm.text.status";
27411          }
27412          program { name: "units_hide";
27413             signal: "elm,state,units,hidden";
27414             source: "elm";
27415             action:  STATE_SET "hidden" 0.0;
27416             target: "text-bar";
27417             target: "elm.text.status";
27418          }
27419          program { name: "slide_to_end";
27420             action:  STATE_SET "state_end" 0.0;
27421             transition: LINEAR 0.5;
27422             target: "elm.progress.progressbar";
27423             after: "slide_to_begin";
27424          }
27425          program { name: "slide_to_begin";
27426             signal: "elm,state,slide,begin";
27427             action: STATE_SET "state_begin" 0.0;
27428             target: "elm.progress.progressbar";
27429             transition: LINEAR 0.5;
27430             after: "slide_to_end";
27431          }
27432          program { name: "start_pulse";
27433             signal: "elm,state,pulse,start";
27434             source: "elm";
27435             after: "slide_to_end";
27436          }
27437          program { name: "stop_pulse";
27438             signal: "elm,state,pulse,stop";
27439             source: "elm";
27440             action: ACTION_STOP;
27441             target: "slide_to_begin";
27442             target: "slide_to_end";
27443             target: "start_pulse";
27444             after: "state_pulse";
27445          }
27446          program { name: "state_pulse";
27447             signal: "elm,state,pulse";
27448             source: "elm";
27449             action: STATE_SET "state_begin" 0.0;
27450             target: "elm.progress.progressbar";
27451             after: "units_hide";
27452          }
27453          program { name: "state_fraction";
27454             signal: "elm,state,fraction";
27455             source: "elm";
27456             action: ACTION_STOP;
27457             target: "slide_to_begin";
27458             target: "slide_to_end";
27459             target: "start_pulse";
27460             action: STATE_SET "default" 0.0;
27461             target: "elm.progress.progressbar";
27462          }
27463          program { name: "set_invert_on";
27464             signal: "elm,state,inverted,on";
27465             source: "elm";
27466             action:  STATE_SET "invert" 0.0;
27467             target: "elm.progress.progressbar";
27468          }
27469          program { name: "set_invert_off";
27470             signal: "elm,state,inverted,off";
27471             source: "elm";
27472             action:  STATE_SET "default" 0.0;
27473             target: "elm.progress.progressbar";
27474          }
27475       }
27476    }
27477
27478 ///////////////////////////////////////////////////////////////////////////////
27479    group { name: "elm/progressbar/vertical/default";
27480       images {
27481          image: "shelf_inset.png" COMP;
27482          image: "bt_sm_base2.png" COMP;
27483          image: "bt_sm_hilight.png" COMP;
27484          image: "bt_sm_shine.png" COMP;
27485       }
27486       parts {
27487          part { name: "elm.background.progressbar";
27488             type: RECT;
27489             mouse_events: 0;
27490             description {
27491                state: "default" 0.0;
27492                rel1 {
27493                   relative: 0.0 0.0;
27494                   offset: 0 0;
27495                }
27496                rel2 {
27497                   relative: 1.0 1.0;
27498                   offset: -1 -1;
27499                }
27500             }
27501          }
27502          part { name: "elm.swallow.bar";
27503             type: SWALLOW;
27504             scale: 1;
27505             description { state: "default" 0.0;
27506                min: 28 48;
27507                max: 28 9999;
27508                align: 0.5 1.0;
27509                rel1 {
27510                   to_y: "elm.text";
27511                   relative: 0.0 1.0;
27512                   offset: 0 2;
27513                }
27514                rel2 {
27515                   to_y: "elm.text.box";
27516                   relative: 1.0 0.0;
27517                   offset: -1 -3;
27518                }
27519             }
27520          }
27521          part { name: "elm.swallow.content";
27522             type: SWALLOW;
27523             description { state: "default" 0.0;
27524                visible: 0;
27525                align: 0.5 0.0;
27526                rel1 {
27527                   offset: 0 4;
27528                   to_x: "elm.swallow.bar";
27529                }
27530                rel2 {
27531                   offset: -1 3;
27532                   relative: 1.0 0.0;
27533                   to_x: "elm.swallow.bar";
27534                }
27535             }
27536             description { state: "visible" 0.0;
27537                inherit: "default" 0.0;
27538                visible: 1;
27539                aspect: 1.0 1.0;
27540                aspect_preference: HORIZONTAL;
27541                rel2.offset: -1 4;
27542             }
27543          }
27544          part { name: "elm.text";
27545             type: TEXT;
27546             mouse_events: 0;
27547             scale: 1;
27548             description { state: "default" 0.0;
27549                visible: 0;
27550                fixed: 1 1;
27551                align: 0.5 0.0;
27552                rel1.to_y: "elm.swallow.content";
27553                rel1.relative: 0.5 1.0;
27554                rel1.offset: 0 -1;
27555                rel2.to_y: "elm.swallow.content";
27556                rel2.relative: 0.5 1.0;
27557                rel2.offset: -1 -1;
27558                color: 0 0 0 255;
27559                text {
27560                   font: "Sans,Edje-Vera";
27561                   size: 10;
27562                   min: 0 0;
27563                   align: 0.5 0.0;
27564                }
27565             }
27566             description { state: "visible" 0.0;
27567                inherit: "default" 0.0;
27568                visible: 1;
27569                text.min: 1 1;
27570                rel1.offset: 4 0;
27571                rel2.offset: -5 0;
27572             }
27573          }
27574
27575          part { name: "background";
27576             mouse_events: 0;
27577             clip_to: "elm.background.progressbar";
27578             description {
27579                state: "default" 0.0;
27580                rel1 {
27581                   to: "elm.swallow.bar";
27582                   relative: 0.0 0.0;
27583                }
27584                rel2 {
27585                   to: "elm.swallow.bar";
27586                   relative: 1.0 1.0;
27587                   offset: -1 -1;
27588                }
27589                image {
27590                   normal: "shelf_inset.png";
27591                   border: 7 7 7 7;
27592                }
27593             }
27594          }
27595
27596          part { name: "elm.progress.progressbar";
27597             mouse_events: 0;
27598             clip_to: "elm.background.progressbar";
27599             description {
27600                state: "default" 0.0;
27601                min: 28 14;
27602                fixed: 1 1;
27603                rel1 {
27604                   to: "elm.swallow.bar";
27605                   relative: 0.0 0.0;
27606                }
27607                rel2 {
27608                   to_x: "elm.swallow.bar";
27609                   to_y: "elm.cur.progressbar";
27610                   offset: -1 -1;
27611                }
27612                image {
27613                   normal: "bt_sm_base2.png";
27614                   border: 6 6 6 6;
27615                }
27616             }
27617             description {
27618                state: "invert" 0.0;
27619                inherit: "default" 0.0;
27620                rel1 {
27621                   to_x: "elm.swallow.bar";
27622                   to_y: "elm.cur.progressbar";
27623                }
27624                rel2 {
27625                   to: "elm.swallow.bar";
27626                   relative: 1.0 1.0;
27627                }
27628             }
27629             description {
27630                state: "state_begin" 0.0;
27631                inherit: "default" 0.0;
27632                rel1 {
27633                   to: "elm.swallow.bar";
27634                   relative: 0.0 0.0;
27635                }
27636                rel2 {
27637                   to: "elm.swallow.bar";
27638                   relative: 1.0 0.1;
27639                }
27640             }
27641             description {
27642                state: "state_end" 0.0;
27643                inherit: "default" 0.0;
27644                rel1 {
27645                   to: "elm.swallow.bar";
27646                   relative: 0.0 0.9;
27647                }
27648                rel2 {
27649                   to: "elm.swallow.bar";
27650                   relative: 1.0 1.0;
27651                }
27652             }
27653          }
27654
27655          part { name: "over1";
27656             mouse_events: 0;
27657             description { state: "default" 0.0;
27658                rel1.to: "elm.progress.progressbar";
27659                rel2.to: "elm.progress.progressbar";
27660                rel2.relative: 1.0 0.5;
27661                image {
27662                   normal: "bt_sm_hilight.png";
27663                   border: 6 6 6 0;
27664                }
27665             }
27666          }
27667
27668          part { name: "over2";
27669             mouse_events: 1;
27670             repeat_events: 1;
27671             description { state: "default" 0.0;
27672                rel1.to: "elm.progress.progressbar";
27673                rel2.to: "elm.progress.progressbar";
27674                image {
27675                   normal: "bt_sm_shine.png";
27676                   border: 6 6 6 0;
27677                }
27678             }
27679          }
27680
27681          part { name: "elm.cur.progressbar";
27682             mouse_events: 0;
27683             dragable {
27684                confine: "background";
27685                x: 0 0 0;
27686                y: 1 1 1;
27687             }
27688             description { state: "default" 0.0;
27689                min: 28 14;
27690                fixed: 1 1;
27691                visible: 0;
27692                rel1 {
27693                   to: "background";
27694                   relative: 0 0;
27695                }
27696                rel2.to: "background";
27697            }
27698          }
27699
27700          part { name: "elm.text.box";
27701             mouse_events: 0;
27702             type: RECT;
27703             description { state: "default" 0.0;
27704                visible: 0;
27705                rel1 {
27706                   to: "elm.text.status";
27707                   offset: -2 -2;
27708                }
27709                rel2 {
27710                   to: "elm.text.status";
27711                   offset: 2 2;
27712                }
27713                color: 255 255 255 0;
27714             }
27715             description { state: "visible" 0.0;
27716                inherit: "default" 0.0;
27717                visible: 1;
27718             }
27719          }
27720          part { name: "elm.text.status";
27721             type: TEXT;
27722             mouse_events: 0;
27723             scale: 1;
27724             description { state: "default" 0.0;
27725                visible: 0;
27726                fixed: 1 1;
27727                align: 0.5 1.0;
27728                rel1.relative: 0.0 1.0;
27729                rel1.offset: 2 0;
27730                rel2.relative: 1.0 1.0;
27731                rel2.offset: -2 0;
27732                color: 0 0 0 255;
27733                text {
27734                   font: "Sans:style=Bold,Edje-Vera-Bold";
27735                   size: 10;
27736                   min: 0 0;
27737                   align: 0.5 0.0;
27738                }
27739             }
27740             description { state: "visible" 0.0;
27741                inherit: "default" 0.0;
27742                fixed: 1 1;
27743                visible: 1;
27744                text.min: 1 1;
27745                rel1.offset: 8 -9;
27746                rel2.offset: -9 -9;
27747             }
27748          }
27749       }
27750       programs {
27751          program { name: "label_show";
27752             signal: "elm,state,text,visible";
27753             source: "elm";
27754             action:  STATE_SET "visible" 0.0;
27755             target: "elm.text";
27756          }
27757          program { name: "label_hide";
27758             signal: "elm,state,text,hidden";
27759             source: "elm";
27760             action:  STATE_SET "default" 0.0;
27761             target: "elm.text";
27762          }
27763          program { name: "icon_show";
27764             signal: "elm,state,icon,visible";
27765             source: "elm";
27766             action:  STATE_SET "visible" 0.0;
27767             target: "elm.swallow.content";
27768          }
27769          program { name: "icon_hide";
27770             signal: "elm,state,icon,hidden";
27771             source: "elm";
27772             action:  STATE_SET "default" 0.0;
27773             target: "elm.swallow.content";
27774          }
27775          program { name: "units_show";
27776             signal: "elm,state,units,visible";
27777             source: "elm";
27778             action:  STATE_SET "visible" 0.0;
27779             target: "elm.text.status";
27780             target: "elm.text.box";
27781          }
27782          program { name: "units_hide";
27783             signal: "elm,state,units,hidden";
27784             source: "elm";
27785             action:  STATE_SET "default" 0.0;
27786             target: "elm.text.status";
27787             target: "elm.text.box";
27788          }
27789          program { name: "slide_to_end";
27790             action:  STATE_SET "state_end" 0.0;
27791             transition: LINEAR 0.5;
27792             target: "elm.progress.progressbar";
27793             after: "slide_to_begin";
27794          }
27795          program { name: "slide_to_begin";
27796             action:  STATE_SET "state_begin" 0.0;
27797             target: "elm.progress.progressbar";
27798             transition: LINEAR 0.5;
27799             after: "slide_to_end";
27800          }
27801          program { name: "start_pulse";
27802             signal: "elm,state,pulse,start";
27803             source: "elm";
27804             action: STATE_SET "state_begin" 0.0;
27805             target: "elm.progress.progressbar";
27806             after: "slide_to_end";
27807          }
27808          program { name: "stop_pulse";
27809             signal: "elm,state,pulse,stop";
27810             source: "elm";
27811             action: ACTION_STOP;
27812             target: "slide_to_begin";
27813             target: "slide_to_end";
27814             target: "start_pulse";
27815             after: "state_pulse";
27816          }
27817          program { name: "state_pulse";
27818             signal: "elm,state,pulse";
27819             source: "elm";
27820             action: STATE_SET "state_begin" 0.0;
27821             target: "elm.progress.progressbar";
27822             after: "units_hide";
27823          }
27824          program { name: "state_fraction";
27825             signal: "elm,state,fraction";
27826             source: "elm";
27827             action: ACTION_STOP;
27828             target: "slide_to_begin";
27829             target: "slide_to_end";
27830             target: "start_pulse";
27831             action: STATE_SET "default" 0.0;
27832             target: "elm.progress.progressbar";
27833          }
27834          program { name: "set_invert_on";
27835             signal: "elm,state,inverted,on";
27836             source: "elm";
27837             action:  STATE_SET "invert" 0.0;
27838             target: "elm.progress.progressbar";
27839             target: "elm.cur.progressbar";
27840          }
27841          program { name: "set_invert_off";
27842             signal: "elm,state,inverted,off";
27843             source: "elm";
27844             action:  STATE_SET "default" 0.0;
27845             target: "elm.progress.progressbar";
27846             target: "elm.cur.progressbar";
27847          }
27848       }
27849    }
27850
27851 ///////////////////////////////////////////////////////////////////////////////
27852    group { name: "elm/separator/horizontal/default";
27853        images {
27854            image: "separator_h.png" COMP;
27855        }
27856        parts {
27857            part { name: "separator"; // separator group
27858                description { state: "default" 0.0;
27859                    min: 2 2;
27860                    rel1.offset: 4 4;
27861                    rel2.offset: -5 -5;
27862                    image {
27863                        normal: "separator_h.png";
27864                    }
27865                    fill {
27866                        smooth: 0;
27867                    }
27868                }
27869            }
27870        }
27871    }
27872
27873    ///////////////////////////////////////////////////////////////////////////////
27874    group { name: "elm/separator/vertical/default";
27875        images {
27876            image: "separator_v.png" COMP;
27877        }
27878        parts {
27879            part { name: "separator"; // separator group
27880                description { state: "default" 0.0;
27881                    min: 2 2;
27882                    rel1.offset: 4 4;
27883                    rel2.offset: -5 -5;
27884                    image {
27885                        normal: "separator_v.png";
27886                    }
27887                    fill {
27888                        smooth: 0;
27889                    }
27890                }
27891            }
27892        }
27893    }
27894
27895    group { name: "elm/progressbar/horizontal/wheel";
27896        images {
27897            image: "busy-1.png" COMP;
27898            image: "busy-2.png" COMP;
27899            image: "busy-3.png" COMP;
27900            image: "busy-4.png" COMP;
27901            image: "busy-5.png" COMP;
27902            image: "busy-6.png" COMP;
27903            image: "busy-7.png" COMP;
27904            image: "busy-8.png" COMP;
27905            image: "busy-9.png" COMP;
27906        }
27907        parts {
27908            part { name: "elm.background.progressbar";
27909                mouse_events: 0;
27910                type: RECT;
27911                description {
27912                    state: "default" 0.0;
27913                }
27914            }
27915            part { name: "elm.swallow.bar";
27916                mouse_events: 0;
27917                type: SWALLOW;
27918                description { state: "default" 0.0;
27919                    min: 0 0;
27920                    max: 0 0;
27921                    visible: 0;
27922                }
27923            }
27924            part { name: "elm.swallow.content";
27925                type: SWALLOW;
27926                description { state: "default" 0.0;
27927                    min: 0 0;
27928                    max: 0 0;
27929                    visible: 0;
27930                }
27931            }
27932            part { name: "background";
27933                mouse_events: 0;
27934                clip_to: "elm.background.progressbar";
27935                description {
27936                    state: "default" 0.0;
27937                    min: 32 32;
27938                    max: 32 32;
27939                    visible: 1;
27940                    aspect: 1.0 1.0;
27941                    aspect_preference: BOTH;
27942                    image {
27943                        normal: "busy-9.png";
27944                        border: 7 7 7 7;
27945                    }
27946                }
27947                description {
27948                    state: "pulse" 0.0;
27949                    inherit: "default" 0.0;
27950                    image {
27951                        normal: "busy-9.png";
27952                        tween:  "busy-1.png";
27953                        tween:  "busy-2.png";
27954                        tween:  "busy-3.png";
27955                        tween:  "busy-4.png";
27956                        tween:  "busy-5.png";
27957                        tween:  "busy-6.png";
27958                        tween:  "busy-7.png";
27959                        tween:  "busy-8.png";
27960                        border: 7 7 7 7;
27961                    }
27962                }
27963            }
27964        }
27965        programs {
27966            program { name: "start_pulse";
27967                signal: "elm,state,pulse,start";
27968                source: "elm";
27969                action: STATE_SET "pulse" 0.0;
27970                target: "background";
27971                transition: LINEAR 0.5;
27972                after: "start_pulse";
27973            }
27974            program { name: "stop_pulse";
27975                signal: "elm,state,pulse,stop";
27976                source: "elm";
27977                action: STATE_SET "default" 0.0;
27978                target: "background";
27979            }
27980        }
27981    }
27982
27983
27984 ///////////////////////////////////////////////////////////////////////////////
27985    group { name: "elm/spinner/base/default";
27986        images {
27987            image: "shelf_inset.png" COMP;
27988            image: "bt_base1.png" COMP;
27989            image: "bt_hilight.png" COMP;
27990            image: "bt_shine.png" COMP;
27991            image: "bt_glow.png" COMP;
27992            image: "bt_dis_base.png" COMP;
27993            image: "bt_dis_hilight.png" COMP;
27994            image: "sp_bt_l.png" COMP;
27995            image: "sp_bt_r.png" COMP;
27996        }
27997        parts {
27998            part { name: "bg";
27999                type: RECT;
28000                description { state: "default" 0.0;
28001                    min: 0 30;
28002                    rel1.offset: 1 1;
28003                    rel2.offset: -2 -2;
28004                    color: 255 255 255 0;
28005                }
28006            }
28007            part { name: "conf_over";
28008                mouse_events:  0;
28009                description { state: "default" 0.0;
28010                    rel1.to: "bg";
28011                    rel2.to: "bg";
28012                    image {
28013                        normal: "shelf_inset.png";
28014                        border: 7 7 7 7;
28015                        middle: 0;
28016                    }
28017                    fill.smooth : 0;
28018                }
28019            }
28020            part { name: "left_bt";
28021                mouse_events:  1;
28022                description { state: "default" 0.0;
28023                    rel1 { to: "bg";
28024                        offset: 3 3;
28025                    }
28026                    rel2 { to: "bg";
28027                        offset: -4 -4;
28028                    }
28029                    align: 0.0 0.5;
28030                    min: 24 24;
28031                    aspect: 1.0 1.0;
28032                    aspect_preference: VERTICAL;
28033                    image {
28034                        normal: "bt_base1.png";
28035                        border: 6 6 6 6;
28036                    }
28037                    fill.smooth : 0;
28038                }
28039                description { state: "clicked" 0.0;
28040                    inherit: "default" 0.0;
28041                    image.normal: "bt_base1.png";
28042                    image.middle: SOLID;
28043                }
28044                description { state: "disabled" 0.0;
28045                    inherit:  "default" 0.0;
28046                    image {
28047                        normal: "bt_dis_base.png";
28048                        border: 4 4 4 4;
28049                    }
28050                }
28051            }
28052            part {          name: "left_over1";
28053                mouse_events: 0;
28054                description { state: "default" 0.0;
28055                    rel1.to: "left_bt";
28056                    rel2 { to: "left_bt";
28057                        relative: 1.0 0.5;
28058                    }
28059                    image {
28060                        normal: "bt_hilight.png";
28061                        border: 7 7 7 0;
28062                    }
28063                }
28064                description { state: "disabled" 0.0;
28065                    inherit:  "default" 0.0;
28066                    image {
28067                        normal: "bt_dis_hilight.png";
28068                        border: 4 4 4 0;
28069                    }
28070                }
28071            }
28072            part { name: "left_over2";
28073                mouse_events: 1;
28074                repeat_events: 1;
28075                ignore_flags: ON_HOLD;
28076                description { state: "default" 0.0;
28077                    rel1.to: "left_bt";
28078                    rel2.to: "left_bt";
28079                    image {
28080                        normal: "bt_shine.png";
28081                        border: 7 7 7 7;
28082                    }
28083                }
28084                description { state: "disabled" 0.0;
28085                    inherit:  "default" 0.0;
28086                    visible: 0;
28087                }
28088            }
28089            part { name: "left_over3";
28090                mouse_events: 1;
28091                repeat_events: 1;
28092                description { state: "default" 0.0;
28093                    color: 255 255 255 0;
28094                    rel1.to: "left_bt";
28095                    rel2.to: "left_bt";
28096                    image {
28097                        normal: "bt_glow.png";
28098                        border: 12 12 12 12;
28099                    }
28100                    fill.smooth : 0;
28101                }
28102                description { state: "clicked" 0.0;
28103                    inherit:  "default" 0.0;
28104                    visible: 1;
28105                    color: 255 255 255 255;
28106                }
28107            }
28108            part { name: "right_bt";
28109                mouse_events:  1;
28110                description { state: "default" 0.0;
28111                    rel1 { to: "bg";
28112                        offset: -26 3;
28113                    }
28114                    rel2 { to: "bg";
28115                        offset: -4 -4;
28116                    }
28117                    align: 1.0 0.5;
28118                    min: 24 24;
28119                    aspect: 1.0 1.0;
28120                    aspect_preference: VERTICAL;
28121                    image {
28122                        normal: "bt_base1.png";
28123                        border: 5 5 4 12;
28124                    }
28125                    fill.smooth : 0;
28126                }
28127                description { state: "clicked" 0.0;
28128                    inherit: "default" 0.0;
28129                    image.normal: "bt_base1.png";
28130                    image.middle: SOLID;
28131                }
28132                description { state: "disabled" 0.0;
28133                    inherit:  "default" 0.0;
28134                    image {
28135                        normal: "bt_dis_base.png";
28136                        border: 4 4 4 4;
28137                    }
28138                }
28139            }
28140            part { name: "right_over1";
28141                mouse_events: 0;
28142                description { state: "default" 0.0;
28143                    rel1.to: "right_bt";
28144                    rel2 { to: "right_bt";
28145                        relative: 1.0 0.5;
28146                    }
28147                    image {
28148                        normal: "bt_hilight.png";
28149                        border: 7 7 7 0;
28150                    }
28151                }
28152                description { state: "disabled" 0.0;
28153                    inherit:  "default" 0.0;
28154                    image {
28155                        normal: "bt_dis_hilight.png";
28156                        border: 4 4 4 0;
28157                    }
28158                }
28159            }
28160            part { name: "right_over2";
28161                mouse_events: 1;
28162                repeat_events: 1;
28163                ignore_flags: ON_HOLD;
28164                description { state: "default" 0.0;
28165                    rel1.to: "right_bt";
28166                    rel2.to: "right_bt";
28167                    image {
28168                        normal: "bt_shine.png";
28169                        border: 7 7 7 7;
28170                    }
28171                }
28172                description { state: "disabled" 0.0;
28173                    inherit:  "default" 0.0;
28174                    visible: 0;
28175                }
28176            }
28177            part { name: "right_over3";
28178                mouse_events: 1;
28179                repeat_events: 1;
28180                description { state: "default" 0.0;
28181                    color: 255 255 255 0;
28182                    rel1.to: "right_bt";
28183                    rel2.to: "right_bt";
28184                    image {
28185                        normal: "bt_glow.png";
28186                        border: 12 12 12 12;
28187                    }
28188                    fill.smooth : 0;
28189                }
28190                description { state: "clicked" 0.0;
28191                    inherit:  "default" 0.0;
28192                    visible: 1;
28193                    color: 255 255 255 255;
28194                }
28195            }
28196            part { name: "left_bt_icon";
28197                repeat_events: 1;
28198                description { state: "default" 0.0;
28199                    rel1.to: "left_bt";
28200                    rel1.offset: 4 4;
28201                    rel2.to: "left_bt";
28202                    rel2.offset: -5 -5;
28203                    align: 0.5 0.5;
28204                    min: 16 16;
28205                    aspect: 1.0 1.0;
28206                    aspect_preference: BOTH;
28207                    image.normal: "sp_bt_l.png";
28208                }
28209                description { state: "rtl" 0.0;
28210                    inherit: "default" 0.0;
28211                    image.normal: "sp_bt_r.png";
28212                }
28213            }
28214            part { name: "right_bt_icon";
28215                repeat_events: 1;
28216                description { state: "default" 0.0;
28217                    rel1.to: "right_bt";
28218                    rel1.offset: 4 4;
28219                    rel2.to: "right_bt";
28220                    rel2.offset: -5 -5;
28221                    align: 0.5 0.5;
28222                    min: 16 16;
28223                    aspect: 1.0 1.0;
28224                    aspect_preference: BOTH;
28225                    image.normal: "sp_bt_r.png";
28226                }
28227                description { state: "rtl" 0.0;
28228                    inherit: "default" 0.0;
28229                    image.normal: "sp_bt_l.png";
28230                }
28231            }
28232            part { name: "elm.text";
28233                type: TEXT;
28234                mouse_events: 0;
28235                scale: 1;
28236                description { state: "default" 0.0;
28237                    visible: 1;
28238                    align: 0.0 0.5;
28239                    rel1 { relative: 1.0 0.0;
28240                        offset: 3 2;
28241                        to_x: "left_bt";
28242                        to_y: "bg";
28243                    }
28244                    rel2 { relative: 0.0 1.0;
28245                        offset: -3 -2;
28246                        to_x: "right_bt";
28247                        to_y: "bg";
28248                    }
28249                    color: 0 0 0 255;
28250                    text {
28251                        font: "Sans,Edje-Vera";
28252                        size: 10;
28253                        min: 1 1;
28254                        align: 0.5 0.5;
28255                    }
28256                }
28257                description { state: "active" 0.0;
28258                    inherit: "default" 0.0;
28259                    visible: 0;
28260                }
28261                description { state: "disabled_active" 0.0;
28262                    inherit: "default" 0.0;
28263                    color: 0 0 0 128;
28264                    color3: 0 0 0 0;
28265                }
28266                description { state: "disabled" 0.0;
28267                    inherit: "default" 0.0;
28268                    color: 0 0 0 128;
28269                    color3: 0 0 0 0;
28270                }
28271            }
28272            part { name: "elm.dragable.slider";
28273                type: RECT;
28274                mouse_events: 0;
28275                scale: 1;
28276                dragable {
28277                    x: 1 1 0;
28278                    y: 0 0 0;
28279                }
28280                description { state: "default" 0.0;
28281                    rel1.to: "bg";
28282                    rel2.to: "bg";
28283                    fixed: 1 1;
28284                    color: 0 0 0 0;
28285                }
28286            }
28287            part { name: "button_events";
28288                type: RECT;
28289                dragable {
28290                    events: "elm.dragable.slider";
28291                }
28292                mouse_events: 1;
28293                description { state: "default" 0.0;
28294                    rel1.to: "elm.text";
28295                    rel2.to: "elm.text";
28296                    color: 0 0 0 0;
28297                }
28298            }
28299            part { name: "elm.swallow.entry";
28300                type: SWALLOW;
28301                description { state: "default" 0.0;
28302                    visible: 0;
28303                    align: 0.5 0.5;
28304                    rel1 { relative: 1.0 0.5;
28305                        offset: 3 2;
28306                        to_x: "left_bt";
28307                        to_y: "bg";
28308                    }
28309                    rel2 { relative: 0.0 0.5;
28310                        offset: -3 -2;
28311                        to_x: "right_bt";
28312                        to_y: "bg";
28313                    }
28314                    fixed: 1 1;
28315                    color: 0 0 0 0;
28316                }
28317                description { state: "active" 0.0;
28318                    inherit: "default" 0.0;
28319                    visible: 1;
28320                    color: 255 255 255 255;
28321                }
28322                description { state: "disabled_active" 0.0;
28323                    inherit: "default" 0.0;
28324                    visible: 0;
28325                }
28326                description { state: "disabled" 0.0;
28327                    inherit: "default" 0.0;
28328                    visible: 0;
28329                }
28330            }
28331            part { name: "disabler";
28332                type: RECT;
28333                description { state: "default" 0.0;
28334                    color: 0 0 0 0;
28335                    visible: 0;
28336                }
28337                description { state: "disabled" 0.0;
28338                    inherit: "default" 0.0;
28339                    visible: 1;
28340                }
28341            }
28342        }
28343        programs {
28344            program { name: "text_show";
28345                signal: "elm,state,text,visible";
28346                source: "elm";
28347                action:  STATE_SET "visible" 0.0;
28348                target: "elm.text";
28349            }
28350            program { name: "text_hide";
28351                signal: "elm,state,text,hidden";
28352                source: "elm";
28353                action:  STATE_SET "default" 0.0;
28354                target: "elm.text";
28355            }
28356            program { name: "dec";
28357                signal: "mouse,down,1";
28358                source: "left_bt";
28359                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28360            }
28361            program { name: "dec2";
28362                signal: "mouse,up,1";
28363                source: "left_bt";
28364                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28365            }
28366            program { name: "inc";
28367                signal: "mouse,down,1";
28368                source: "right_bt";
28369                action: SIGNAL_EMIT "elm,action,increment,start" "";
28370            }
28371            program { name: "inc2";
28372                signal: "mouse,up,1";
28373                source: "right_bt";
28374                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28375            }
28376            program {
28377                name:   "left_bt_click";
28378                signal: "mouse,down,1";
28379                source: "left_over2";
28380                action: STATE_SET "clicked" 0.0;
28381                target: "left_bt";
28382            }
28383            program {
28384                name:   "left_bt_unclick";
28385                signal: "mouse,up,1";
28386                source: "left_over2";
28387                action: STATE_SET "default" 0.0;
28388                target: "left_bt";
28389            }
28390            program {
28391                name:   "left_bt_click2";
28392                signal: "mouse,down,1";
28393                source: "left_over3";
28394                action: STATE_SET "clicked" 0.0;
28395                target: "left_over3";
28396            }
28397            program {
28398                name:   "left_bt_unclick2";
28399                signal: "mouse,up,1";
28400                source: "left_over3";
28401                action: STATE_SET "default" 0.0;
28402                transition: DECELERATE 0.5;
28403                target: "left_over3";
28404            }
28405            program {
28406                name:   "left_bt_unclick3";
28407                signal: "mouse,up,1";
28408                source: "left_over2";
28409                action: SIGNAL_EMIT "elm,action,click" "";
28410            }
28411            program {
28412                name:   "left_bt_pressed_anim";
28413                signal: "elm,left,anim,activate";
28414                source: "elm";
28415                action: STATE_SET "clicked" 0.0;
28416                target: "left_bt";
28417                target: "left_over3";
28418                after: "left_bt_unpressed_anim";
28419            }
28420            program {
28421                name:   "left_bt_unpressed_anim";
28422                action: STATE_SET "default" 0.0;
28423                transition: DECELERATE 0.5;
28424                target: "left_bt";
28425                target: "left_over3";
28426            }
28427
28428            program {
28429                name:   "right_bt_click";
28430                signal: "mouse,down,1";
28431                source: "right_over2";
28432                action: STATE_SET "clicked" 0.0;
28433                target: "right_bt";
28434            }
28435            program {
28436                name:   "right_bt_unclick";
28437                signal: "mouse,up,1";
28438                source: "right_over2";
28439                action: STATE_SET "default" 0.0;
28440                target: "right_bt";
28441            }
28442            program {
28443                name:   "right_bt_click2";
28444                signal: "mouse,down,1";
28445                source: "right_over3";
28446                action: STATE_SET "clicked" 0.0;
28447                target: "right_over3";
28448            }
28449            program {
28450                name:   "right_bt_unclick2";
28451                signal: "mouse,up,1";
28452                source: "right_over3";
28453                action: STATE_SET "default" 0.0;
28454                transition: DECELERATE 0.5;
28455                target: "right_over3";
28456            }
28457            program {
28458                name:   "right_bt_unclick3";
28459                signal: "mouse,up,1";
28460                source: "right_over2";
28461                action: SIGNAL_EMIT "elm,action,click" "";
28462            }
28463            program {
28464                name:   "right_bt_pressed_anim";
28465                signal: "elm,right,anim,activate";
28466                source: "elm";
28467                action: STATE_SET "clicked" 0.0;
28468                target: "right_bt";
28469                target: "right_over3";
28470                after: "right_bt_unpressed_anim";
28471            }
28472            program {
28473                name:   "right_bt_unpressed_anim";
28474                action: STATE_SET "default" 0.0;
28475                transition: DECELERATE 0.5;
28476                target: "right_bt";
28477                target: "right_over3";
28478            }
28479
28480            program { name: "disable";
28481                signal: "elm,state,disabled";
28482                source: "elm";
28483                action: STATE_SET "disabled" 0.0;
28484                target: "left_bt";
28485                target: "left_over1";
28486                target: "left_over2";
28487                target: "right_bt";
28488                target: "right_over1";
28489                target: "right_over2";
28490                target: "disabler";
28491                after: "disable_text";
28492            }
28493            program { name: "disable_text";
28494                script {
28495                    new st[31];
28496                    new Float:vl;
28497                    get_state(PART:"elm.text", st, 30, vl);
28498                    if (!strcmp(st, "active"))
28499                    set_state(PART:"elm.text", "disabled_active", 0.0);
28500                    else
28501                    set_state(PART:"elm.text", "disabled", 0.0);
28502
28503                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28504                    if (!strcmp(st, "active"))
28505                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28506                    else
28507                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28508                }
28509            }
28510            program { name: "enable";
28511                signal: "elm,state,enabled";
28512                source: "elm";
28513                action: STATE_SET "default" 0.0;
28514                target: "left_bt";
28515                target: "left_over1";
28516                target: "left_over2";
28517                target: "right_bt";
28518                target: "right_over1";
28519                target: "right_over2";
28520                target: "disabler";
28521                after: "enable_text";
28522            }
28523            program { name: "enable_text";
28524                script {
28525                    new st[31];
28526                    new Float:vl;
28527                    get_state(PART:"elm.text", st, 30, vl);
28528                    if (!strcmp(st, "disabled_active"))
28529                    set_state(PART:"elm.text", "active", 0.0);
28530                    else
28531                    set_state(PART:"elm.text", "default", 0.0);
28532
28533                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28534                    if (!strcmp(st, "disabled_active"))
28535                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28536                    else
28537                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28538                }
28539            }
28540            program { name: "active";
28541                signal: "elm,state,active";
28542                source: "elm";
28543                action: STATE_SET "active" 0.0;
28544                target: "elm.text";
28545                target: "elm.swallow.entry";
28546            }
28547            program { name: "inactive";
28548                signal: "elm,state,inactive";
28549                source: "elm";
28550                action: STATE_SET "default" 0.0;
28551                target: "elm.text";
28552                target: "elm.swallow.entry";
28553            }
28554            program { name: "toggle_text";
28555                signal: "mouse,up,1";
28556                source: "button_events";
28557                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28558            }
28559            program { name: "to_rtl";
28560                signal: "edje,state,rtl";
28561                source: "edje";
28562                action: STATE_SET "rtl" 0.0;
28563                target: "right_bt_icon";
28564                target: "left_bt_icon";
28565            }
28566            program { name: "to_ltr";
28567                signal: "edje,state,ltr";
28568                source: "edje";
28569                action: STATE_SET "default" 0.0;
28570                target: "right_bt_icon";
28571                target: "left_bt_icon";
28572            }
28573        }
28574    }
28575
28576 ///////////////////////////////////////////////////////////////////////////////
28577    group { name: "elm/spinner/base/vertical";
28578        images {
28579            image: "shelf_inset.png" COMP;
28580            image: "bt_hilight.png" COMP;
28581            image: "bt_shine.png" COMP;
28582            image: "bt_glow.png" COMP;
28583            image: "bt_dis_base.png" COMP;
28584            image: "bt_dis_hilight.png" COMP;
28585            image: "up.png" COMP;
28586            image: "down.png" COMP;
28587            image: "bt_spinner_up.png" COMP;
28588            image: "bt_spinner_down.png" COMP;
28589            image: "bt_spinner_hilight.png" COMP;
28590        }
28591        parts {
28592            part { name: "bg";
28593                type: RECT;
28594                description { state: "default" 0.0;
28595                    min: 0 30;
28596                    rel1.offset: 1 1;
28597                    rel2.offset: -2 -2;
28598                    color: 255 255 255 0;
28599                }
28600            }
28601            part { name: "conf_over";
28602                mouse_events:  0;
28603                description { state: "default" 0.0;
28604                    rel1 {
28605                      to: "bg";
28606                      relative: 0.0 0.0;
28607                    }
28608                    rel2 {
28609                       to: "bg";
28610                    }
28611                    image {
28612                        normal: "shelf_inset.png";
28613                        border: 7 7 7 7;
28614                        middle: 0;
28615                    }
28616                    fill.smooth : 0;
28617                }
28618            }
28619            part { name: "down_bt";
28620                mouse_events:  1;
28621                description { state: "default" 0.0;
28622                    fixed: 1 1;
28623                    rel1 {
28624                        to: "up_bt";
28625                        relative: 0 1;
28626                        offset: 0 1;
28627                    }
28628                    rel2 {
28629                        to_y: "bg";
28630                        to_x: "up_bt";
28631                        relative: 1 1;
28632                        offset: -1 -4;
28633                    }
28634                    align: 1.0 0.5;
28635                    min: 24 16;
28636                    image {
28637                        normal: "bt_spinner_down.png";
28638                        border: 6 6 6 6;
28639                    }
28640                    fill.smooth : 0;
28641                }
28642                description { state: "clicked" 0.0;
28643                    inherit: "default" 0.0;
28644                    image.normal: "bt_spinner_down.png";
28645                    image.middle: SOLID;
28646                }
28647                description { state: "disabled" 0.0;
28648                    inherit:  "default" 0.0;
28649                    image {
28650                        normal: "bt_dis_base.png";
28651                        border: 4 4 4 4;
28652                    }
28653                }
28654            }
28655            part { name: "down_over3";
28656                mouse_events: 1;
28657                repeat_events: 1;
28658                description { state: "default" 0.0;
28659                    color: 255 255 255 0;
28660                    rel1.to: "down_bt";
28661                    rel2.to: "down_bt";
28662                    image {
28663                        normal: "bt_glow.png";
28664                        border: 12 12 12 12;
28665                    }
28666                    fill.smooth : 0;
28667                }
28668                description { state: "clicked" 0.0;
28669                    inherit:  "default" 0.0;
28670                    visible: 1;
28671                    color: 255 255 255 255;
28672                }
28673            }
28674            part { name: "up_bt";
28675                mouse_events:  1;
28676                description { state: "default" 0.0;
28677                    fixed: 1 0;
28678                    rel1 { to: "bg";
28679                        relative: 0 0;
28680                        offset: 0 2;
28681                    }
28682                    rel2 { to: "bg";
28683                        relative: 1 0.5;
28684                        offset: -3 0;
28685                    }
28686                    align: 1.0 0.5;
28687                    min: 24 16;
28688                    aspect: 1.5 1.0;
28689                    aspect_preference: BOTH;
28690                    image {
28691                        normal: "bt_spinner_up.png";
28692                        border: 6 6 6 6;
28693                    }
28694                    fill.smooth : 0;
28695                }
28696                description { state: "clicked" 0.0;
28697                    inherit: "default" 0.0;
28698                    image.normal: "bt_spinner_up.png";
28699                    image.middle: SOLID;
28700                }
28701                description { state: "disabled" 0.0;
28702                    inherit:  "default" 0.0;
28703                    image {
28704                        normal: "bt_dis_base.png";
28705                        border: 4 4 4 4;
28706                    }
28707                }
28708            }
28709            part { name: "up_over1";
28710                mouse_events: 0;
28711                description { state: "default" 0.0;
28712                    rel1.to: "up_bt";
28713                    rel2 { to: "up_bt";
28714                        relative: 1.0 0.5;
28715                    }
28716                    image {
28717                        normal: "bt_spinner_hilight.png";
28718                        border: 7 7 7 0;
28719                    }
28720                }
28721                description { state: "disabled" 0.0;
28722                    inherit:  "default" 0.0;
28723                    image {
28724                        normal: "bt_dis_hilight.png";
28725                        border: 4 4 4 0;
28726                    }
28727                }
28728            }
28729            part { name: "up_over3";
28730                mouse_events: 1;
28731                repeat_events: 1;
28732                description { state: "default" 0.0;
28733                    color: 255 255 255 0;
28734                    rel1.to: "up_bt";
28735                    rel2.to: "up_bt";
28736                    image {
28737                        normal: "bt_glow.png";
28738                        border: 12 12 12 12;
28739                    }
28740                    fill.smooth : 0;
28741                }
28742                description { state: "clicked" 0.0;
28743                    inherit:  "default" 0.0;
28744                    visible: 1;
28745                    color: 255 255 255 255;
28746                }
28747            }
28748            part { name: "down_bt_icon";
28749                repeat_events: 1;
28750                description { state: "default" 0.0;
28751                    rel1.to: "down_bt";
28752                    rel1.offset: 5 3;
28753                    rel2.to: "down_bt";
28754                    rel2.offset: -6 -3;
28755                    align: 0.5 0.5;
28756                    image.normal: "down.png";
28757                }
28758            }
28759            part { name: "up_bt_icon";
28760                repeat_events: 1;
28761                description { state: "default" 0.0;
28762                    rel1.to: "up_bt";
28763                    rel1.offset: 5 3;
28764                    rel2.to: "up_bt";
28765                    rel2.offset: -6 -3;
28766                    align: 0.5 0.5;
28767                    image.normal: "up.png";
28768                }
28769            }
28770            part { name: "elm.text";
28771                type: TEXT;
28772                mouse_events: 0;
28773                scale: 1;
28774                description { state: "default" 0.0;
28775                    visible: 1;
28776                    align: 0.0 0.5;
28777                    rel1 { relative: 0.0 0.0;
28778                        offset: 3 2;
28779                        to_x: "bg";
28780                        to_y: "bg";
28781                    }
28782                    rel2 { relative: 0.0 1.0;
28783                        offset: -3 -2;
28784                        to_x: "down_bt";
28785                        to_y: "bg";
28786                    }
28787                    color: 0 0 0 255;
28788                    text {
28789                        font: "Sans,Edje-Vera";
28790                        size: 10;
28791                        min: 1 1;
28792                        align: 0.5 0.5;
28793                    }
28794                }
28795                description { state: "active" 0.0;
28796                    inherit: "default" 0.0;
28797                    visible: 0;
28798                }
28799                description { state: "disabled_active" 0.0;
28800                    inherit: "default" 0.0;
28801                    color: 0 0 0 128;
28802                    color3: 0 0 0 0;
28803                }
28804                description { state: "disabled" 0.0;
28805                    inherit: "default" 0.0;
28806                    color: 0 0 0 128;
28807                    color3: 0 0 0 0;
28808                }
28809            }
28810            part { name: "elm.dragable.slider";
28811                type: RECT;
28812                mouse_events: 0;
28813                scale: 1;
28814                dragable {
28815                    x: 1 1 0;
28816                    y: 0 0 0;
28817                }
28818                description { state: "default" 0.0;
28819                    rel1.to: "bg";
28820                    rel2.to: "bg";
28821                    fixed: 1 1;
28822                    color: 0 0 0 0;
28823                }
28824            }
28825            part { name: "button_events";
28826                type: RECT;
28827                dragable {
28828                    events: "elm.dragable.slider";
28829                }
28830                mouse_events: 1;
28831                description { state: "default" 0.0;
28832                    rel1.to: "elm.text";
28833                    rel2.to: "elm.text";
28834                    color: 0 0 0 0;
28835                }
28836            }
28837            part { name: "elm.swallow.entry";
28838                type: SWALLOW;
28839                description { state: "default" 0.0;
28840                    visible: 0;
28841                    align: 0.5 0.5;
28842                    rel1 { relative: 0.0 0.5;
28843                        offset: 3 2;
28844                        to: "bg";
28845                    }
28846                    rel2 { relative: 1.0 0.5;
28847                        offset: -3 -2;
28848                        to: "bg";
28849                    }
28850                    fixed: 1 1;
28851                    color: 0 0 0 0;
28852                }
28853                description { state: "active" 0.0;
28854                    inherit: "default" 0.0;
28855                    visible: 1;
28856                    color: 255 255 255 255;
28857                }
28858                description { state: "disabled_active" 0.0;
28859                    inherit: "default" 0.0;
28860                    visible: 0;
28861                }
28862                description { state: "disabled" 0.0;
28863                    inherit: "default" 0.0;
28864                    visible: 0;
28865                }
28866            }
28867            part { name: "disabler";
28868                type: RECT;
28869                description { state: "default" 0.0;
28870                    color: 0 0 0 0;
28871                    visible: 0;
28872                }
28873                description { state: "disabled" 0.0;
28874                    inherit: "default" 0.0;
28875                    visible: 1;
28876                }
28877            }
28878        }
28879        programs {
28880            program { name: "text_show";
28881                signal: "elm,state,text,visible";
28882                source: "elm";
28883                action:  STATE_SET "visible" 0.0;
28884                target: "elm.text";
28885            }
28886            program { name: "text_hide";
28887                signal: "elm,state,text,hidden";
28888                source: "elm";
28889                action:  STATE_SET "default" 0.0;
28890                target: "elm.text";
28891            }
28892            program { name: "dec";
28893                signal: "mouse,down,1";
28894                source: "down_bt";
28895                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28896            }
28897            program { name: "dec2";
28898                signal: "mouse,up,1";
28899                source: "down_bt";
28900                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28901            }
28902            program { name: "inc";
28903                signal: "mouse,down,1";
28904                source: "up_bt";
28905                action: SIGNAL_EMIT "elm,action,increment,start" "";
28906            }
28907            program { name: "inc2";
28908                signal: "mouse,up,1";
28909                source: "up_bt";
28910                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28911            }
28912            program {
28913                name:   "down_bt_click2";
28914                signal: "mouse,down,1";
28915                source: "down_over3";
28916                action: STATE_SET "clicked" 0.0;
28917                target: "down_over3";
28918            }
28919            program {
28920                name:   "down_bt_unclick2";
28921                signal: "mouse,up,1";
28922                source: "down_over3";
28923                action: STATE_SET "default" 0.0;
28924                transition: DECELERATE 0.5;
28925                target: "down_over3";
28926            }
28927            program {
28928                name:   "up_bt_click2";
28929                signal: "mouse,down,1";
28930                source: "up_over3";
28931                action: STATE_SET "clicked" 0.0;
28932                target: "up_over3";
28933            }
28934            program {
28935                name:   "up_bt_unclick2";
28936                signal: "mouse,up,1";
28937                source: "up_over3";
28938                action: STATE_SET "default" 0.0;
28939                transition: DECELERATE 0.5;
28940                target: "up_over3";
28941            }
28942            program { name: "disable";
28943                signal: "elm,state,disabled";
28944                source: "elm";
28945                action: STATE_SET "disabled" 0.0;
28946                target: "down_bt";
28947                target: "up_bt";
28948                target: "disabler";
28949                after: "disable_text";
28950            }
28951            program { name: "disable_text";
28952                script {
28953                    new st[31];
28954                    new Float:vl;
28955                    get_state(PART:"elm.text", st, 30, vl);
28956                    if (!strcmp(st, "active"))
28957                    set_state(PART:"elm.text", "disabled_active", 0.0);
28958                    else
28959                    set_state(PART:"elm.text", "disabled", 0.0);
28960
28961                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28962                    if (!strcmp(st, "active"))
28963                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28964                    else
28965                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28966                }
28967            }
28968            program { name: "enable";
28969                signal: "elm,state,enabled";
28970                source: "elm";
28971                action: STATE_SET "default" 0.0;
28972                target: "down_bt";
28973                target: "up_bt";
28974                target: "disabler";
28975                after: "enable_text";
28976            }
28977            program { name: "enable_text";
28978                script {
28979                    new st[31];
28980                    new Float:vl;
28981                    get_state(PART:"elm.text", st, 30, vl);
28982                    if (!strcmp(st, "disabled_active"))
28983                    set_state(PART:"elm.text", "active", 0.0);
28984                    else
28985                    set_state(PART:"elm.text", "default", 0.0);
28986
28987                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28988                    if (!strcmp(st, "disabled_active"))
28989                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28990                    else
28991                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28992                }
28993            }
28994            program { name: "active";
28995                signal: "elm,state,active";
28996                source: "elm";
28997                action: STATE_SET "active" 0.0;
28998                target: "elm.text";
28999                target: "elm.swallow.entry";
29000            }
29001            program { name: "inactive";
29002                signal: "elm,state,inactive";
29003                source: "elm";
29004                action: STATE_SET "default" 0.0;
29005                target: "elm.text";
29006                target: "elm.swallow.entry";
29007            }
29008            program { name: "toggle_text";
29009                signal: "mouse,up,1";
29010                source: "button_events";
29011                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29012            }
29013        }
29014    }
29015
29016
29017    ///////////////////////////////////////////////////////////////////////////////
29018    group { name: "elm/index/base/vertical/default";
29019        images {
29020            image: "bt_base1.png" COMP;
29021            image: "bt_base2.png" COMP;
29022            image: "bt_hilight.png" COMP;
29023            image: "bt_shine.png" COMP;
29024        }
29025        parts {
29026            part { name: "clip";
29027                type: RECT;
29028                mouse_events:  0;
29029                description { state: "default" 0.0;
29030                    visible:  0;
29031                    color: 255 255 255 0;
29032                }
29033                description { state: "active" 0.0;
29034                    visible:  1;
29035                    color: 255 255 255 255;
29036                }
29037            }
29038            part { name: "clip2";
29039                type: RECT;
29040                mouse_events:  0;
29041                clip_to: "clip";
29042                description { state: "default" 0.0;
29043                    visible: 0;
29044                    color: 255 255 255 0;
29045                }
29046                description { state: "active" 0.0;
29047                    visible:  1;
29048                    color: 255 255 255 255;
29049                }
29050            }
29051            part { name: "elm.swallow.index.0";
29052                type: SWALLOW;
29053                clip_to: "clip";
29054                description { state: "default" 0.0;
29055                    align: 1.0 0.5;
29056                    fixed: 1 1;
29057                    rel1 {
29058                        relative: 1.0 0.5;
29059                        offset: -1 5;
29060                    }
29061                    rel2 {
29062                        relative: 1.0 0.5;
29063                        offset: -1 -6;
29064                    }
29065                }
29066            }
29067            part { name: "button_image";
29068                mouse_events: 1;
29069                clip_to: "clip";
29070                description { state: "default" 0.0;
29071                    rel1 {
29072                        to: "elm.text.body";
29073                        offset: -5 -5;
29074                    }
29075                    rel2 {
29076                        to: "elm.text";
29077                        offset: 4 4;
29078                    }
29079                    image {
29080                        normal: "bt_base2.png";
29081                        border: 7 7 7 7;
29082                    }
29083                    image.middle: SOLID;
29084                }
29085            }
29086            part { name: "elm.text.body";
29087                type: TEXT;
29088                effect: SOFT_SHADOW;
29089                mouse_events: 0;
29090                scale: 1;
29091                clip_to: "clip";
29092                description { state: "default" 0.0;
29093                    align: 1.0 0.5;
29094                    fixed: 1 1;
29095                    rel1 {
29096                        to: "elm.text";
29097                        relative: 0.0 0.0;
29098                        offset: 5 0;
29099                    }
29100                    rel2 {
29101                        to: "elm.text";
29102                        relative: 0.0 1.0;
29103                        offset: 5 -1;
29104                    }
29105                    color: 224 224 224 255;
29106                    color3: 0 0 0 64;
29107                    text {
29108                        font:     "Sans,Edje-Vera";
29109                        size:     20;
29110                        min:      1 1;
29111                        align:    1.0 0.5;
29112                    }
29113                }
29114            }
29115            part { name: "elm.text";
29116                type: TEXT;
29117                effect: SOFT_SHADOW;
29118                mouse_events: 0;
29119                scale: 1;
29120                clip_to: "clip";
29121                description { state: "default" 0.0;
29122                    align: 1.0 0.5;
29123                    fixed: 1 1;
29124                    rel1 {
29125                        to_x: "elm.swallow.event.0";
29126                        to_y: "elm.dragable.pointer";
29127                        relative: 0.0 0.5;
29128                        offset: -16 0;
29129                    }
29130                    rel2 {
29131                        to_x: "elm.swallow.event.0";
29132                        to_y: "elm.dragable.pointer";
29133                        relative: 0.0 0.5;
29134                        offset: -16 -1;
29135                    }
29136                    color: 255 0 0 255;
29137                    color3: 0 0 0 64;
29138                    text {
29139                        font:     "Sans,Edje-Vera";
29140                        size:     20;
29141                        min:      1 1;
29142                        align:    1.0 0.5;
29143                    }
29144                }
29145            }
29146            part {        name: "over1";
29147                mouse_events: 0;
29148                clip_to: "clip";
29149                description { state: "default" 0.0;
29150                    rel1 {
29151                        to: "button_image";
29152                    }
29153                    rel2 {
29154                        to: "button_image";
29155                        relative: 1.0 0.5;
29156                    }
29157                    image {
29158                        normal: "bt_hilight.png";
29159                        border: 7 7 7 0;
29160                    }
29161                }
29162            }
29163            part { name: "over2";
29164                mouse_events: 1;
29165                repeat_events: 1;
29166                ignore_flags: ON_HOLD;
29167                clip_to: "clip";
29168                description { state: "default" 0.0;
29169                    rel1 {
29170                        to: "button_image";
29171                    }
29172                    rel2 {
29173                        to: "button_image";
29174                    }
29175                    image {
29176                        normal: "bt_shine.png";
29177                        border: 7 7 7 7;
29178                    }
29179                }
29180            }
29181            part { name: "elm.dragable.pointer";
29182                type: RECT;
29183                mouse_events: 0;
29184                dragable {
29185                    x: 1 1 0;
29186                    y: 1 1 0;
29187                }
29188                clip_to: "clip";
29189                description { state: "default" 0.0;
29190                    fixed: 1 1;
29191                    min: 8 8;
29192                    max: 8 8;
29193                    rel1 {
29194                        relative: 0.0 0.0;
29195                        offset:   0 0;
29196                    }
29197                    rel2 {
29198                        relative: 0.0 0.0;
29199                        offset:   0 0;
29200                    }
29201                    color: 0 0 255 128;
29202                }
29203            }
29204            part { name: "elm.swallow.event.0";
29205                type: SWALLOW;
29206                description { state: "default" 0.0;
29207                    align: 1.0 0.5;
29208                    fixed: 1 1;
29209                    rel1 {
29210                        relative: 1.0 0.0;
29211                        offset: -1 0;
29212                    }
29213                    rel2 {
29214                        relative: 1.0 1.0;
29215                        offset: -1 -1;
29216                    }
29217                }
29218            }
29219        }
29220        programs {
29221            program { name: "active";
29222                signal: "elm,state,active";
29223                source: "elm";
29224                action: STATE_SET "active" 0.0;
29225                transition: DECELERATE 0.5;
29226                target: "clip";
29227            }
29228            program { name: "inactive";
29229                signal: "elm,state,inactive";
29230                source: "elm";
29231                action: STATE_SET "default" 0.0;
29232                transition: DECELERATE 0.5;
29233                target: "clip";
29234            }
29235        }
29236    }
29237
29238    group { name: "elm/index/item/vertical/default";
29239        data.item: "stacking" "above";
29240        data.item: "selectraise" "on";
29241        images {
29242            image: "ilist_1.png" COMP;
29243            image: "ilist_item_shadow.png" COMP;
29244        }
29245        parts {
29246            part {
29247                name: "base_sh";
29248                mouse_events: 0;
29249                description {
29250                    state: "default" 0.0;
29251                    align: 0.0 0.0;
29252                    min: 0 10;
29253                    fixed: 1 1;
29254                    rel1 {
29255                        to: "base";
29256                        relative: 0.0 1.0;
29257                        offset: 0 0;
29258                    }
29259                    rel2 {
29260                        to: "base";
29261                        relative: 1.0 1.0;
29262                        offset: -1 0;
29263                    }
29264                    image {
29265                        normal: "ilist_item_shadow.png";
29266                    }
29267                    fill.smooth: 0;
29268                }
29269            }
29270            part {
29271                name: "base";
29272                mouse_events: 0;
29273                description {
29274                    state: "default" 0.0;
29275                    image {
29276                        normal: "ilist_1.png";
29277                        border: 2 2 2 2;
29278                    }
29279                    fill.smooth: 0;
29280                }
29281                description { state: "active" 0.0;
29282                    inherit: "default" 0.0;
29283                    rel1 {
29284                        offset: -16 0;
29285                    }
29286                }
29287            }
29288            part { name: "elm.text";
29289                type:           TEXT;
29290                mouse_events:   0;
29291                scale: 1;
29292                description {
29293                    state: "default" 0.0;
29294                           //               min: 16 16;
29295                    rel1 {
29296                        to: "base";
29297                        relative: 0.0  0.0;
29298                        offset:   4 4;
29299                    }
29300                    rel2 {
29301                        to: "base";
29302                        relative: 0.5  1.0;
29303                        offset:   -1 -1;
29304                    }
29305                    color: 0 0 0 128;
29306                    text {
29307                        font: "Sans";
29308                        size: 10;
29309                        min: 1 1;
29310                             //                  min: 0 1;
29311                        align: 0.5 0.5;
29312                    }
29313                }
29314                description { state: "active" 0.0;
29315                    inherit: "default" 0.0;
29316                    color: 0 0 0 255;
29317                }
29318            }
29319        }
29320        programs {
29321            program { name: "active";
29322                signal: "elm,state,active";
29323                source: "elm";
29324                action: STATE_SET "active" 0.0;
29325                transition: DECELERATE 0.5;
29326                target: "elm.text";
29327                target: "base";
29328            }
29329            program { name: "inactive";
29330                signal: "elm,state,inactive";
29331                source: "elm";
29332                action: STATE_SET "default" 0.0;
29333                transition: DECELERATE 0.5;
29334                target: "elm.text";
29335                target: "base";
29336            }
29337        }
29338    }
29339
29340    group { name: "elm/index/item_odd/vertical/default";
29341        data.item: "stacking" "below";
29342        images {
29343            image: "ilist_2.png" COMP;
29344        }
29345        parts {
29346            part {
29347                name: "base";
29348                mouse_events: 0;
29349                description {
29350                    state: "default" 0.0;
29351                    image {
29352                        normal: "ilist_2.png";
29353                        border: 2 2 2 2;
29354                    }
29355                    fill.smooth: 0;
29356                }
29357                description { state: "active" 0.0;
29358                    inherit: "default" 0.0;
29359                    rel1 {
29360                        offset: -16 0;
29361                    }
29362                }
29363            }
29364            part { name: "elm.text";
29365                type:           TEXT;
29366                mouse_events:   0;
29367                scale: 1;
29368                description {
29369                    state: "default" 0.0;
29370                           //               min: 16 16;
29371                    rel1 {
29372                        to: "base";
29373                        relative: 0.0  0.0;
29374                        offset:   4 4;
29375                    }
29376                    rel2 {
29377                        to: "base";
29378                        relative: 0.5  1.0;
29379                        offset:   -1 -1;
29380                    }
29381                    color: 0 0 0 128;
29382                    text {
29383                        font: "Sans";
29384                        size: 10;
29385                        min: 1 1;
29386                             //                  min: 0 1;
29387                        align: 0.5 0.5;
29388                    }
29389                }
29390                description { state: "active" 0.0;
29391                    inherit: "default" 0.0;
29392                    color: 0 0 0 255;
29393                }
29394            }
29395        }
29396        programs {
29397            program { name: "active";
29398                signal: "elm,state,active";
29399                source: "elm";
29400                action: STATE_SET "active" 0.0;
29401                transition: DECELERATE 0.5;
29402                target: "elm.text";
29403                target: "base";
29404            }
29405            program { name: "inactive";
29406                signal: "elm,state,inactive";
29407                source: "elm";
29408                action: STATE_SET "default" 0.0;
29409                transition: DECELERATE 0.5;
29410                target: "elm.text";
29411                target: "base";
29412            }
29413        }
29414    }
29415
29416 ///////////////////////////////////////////////////////////////////////////////
29417    group { name: "elm/gengrid/item/default/default";
29418       data.item: "labels" "elm.text";
29419       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29420       images {
29421          image: "bt_sm_base1.png" COMP;
29422          image: "bt_sm_shine.png" COMP;
29423          image: "bt_sm_hilight.png" COMP;
29424          image: "ilist_1.png" COMP;
29425          image: "ilist_item_shadow.png" COMP;
29426       }
29427       parts {
29428          part { name: "event";
29429             type: RECT;
29430             repeat_events: 1;
29431             description {
29432                state: "default" 0.0;
29433                color: 0 0 0 0;
29434             }
29435          }
29436          part { name: "base_sh";
29437             mouse_events: 0;
29438             description { state: "default" 0.0;
29439                align: 0.0 0.0;
29440                min: 0 10;
29441                fixed: 1 1;
29442                rel1 {
29443                   to: "base";
29444                   relative: 0.0 1.0;
29445                   offset: 0 0;
29446                }
29447                rel2 {
29448                   to: "base";
29449                   relative: 1.0 1.0;
29450                   offset: -1 0;
29451                }
29452                image {
29453                   normal: "ilist_item_shadow.png";
29454                }
29455                fill.smooth: 0;
29456             }
29457          }
29458          part { name: "base";
29459             mouse_events: 0;
29460             description { state: "default" 0.0;
29461                image {
29462                   normal: "ilist_1.png";
29463                   border: 2 2 2 2;
29464                }
29465                fill.smooth: 0;
29466             }
29467          }
29468          part { name: "bg";
29469             clip_to: "disclip";
29470             mouse_events: 0;
29471             description { state: "default" 0.0;
29472                visible: 0;
29473                color: 255 255 255 0;
29474                rel1 {
29475                   relative: 0.0 0.0;
29476                   offset: -5 -5;
29477                }
29478                rel2 {
29479                   relative: 1.0 1.0;
29480                   offset: 4 4;
29481                }
29482                image {
29483                   normal: "bt_sm_base1.png";
29484                   border: 6 6 6 6;
29485                }
29486                image.middle: SOLID;
29487             }
29488             description { state: "selected" 0.0;
29489                inherit: "default" 0.0;
29490                visible: 1;
29491                color: 255 255 255 255;
29492                rel1 {
29493                   relative: 0.0 0.0;
29494                   offset: -2 -2;
29495                }
29496                rel2 {
29497                   relative: 1.0 1.0;
29498                   offset: 1 1;
29499                }
29500             }
29501          }
29502          part { name: "elm.swallow.pad";
29503             type: SWALLOW;
29504             description { state: "default" 0.0;
29505                fixed: 1 0;
29506                align: 0.0 0.5;
29507                rel1 {
29508                   relative: 0.0  1.0;
29509                   offset:   0    -10;
29510                }
29511                rel2 {
29512                   to_y: "elm.text";
29513                   relative: 0.0  0.0;
29514                   offset:   -1   -1;
29515                }
29516             }
29517          }
29518          part { name: "elm.swallow.icon";
29519             clip_to: "disclip";
29520             type: SWALLOW;
29521             description { state: "default" 0.0;
29522                fixed: 1 0;
29523                align: 0.5 0.5;
29524                rel1 {
29525                   relative: 0.0  0.0;
29526                   offset:   -1    4;
29527                }
29528                rel2 {
29529                   to_y: "elm.swallow.pad";
29530                   relative: 1.0  0.0;
29531                   offset:   -1   -5;
29532                }
29533             }
29534          }
29535          part { name: "elm.swallow.end";
29536             clip_to: "disclip";
29537             type: SWALLOW;
29538             description { state: "default" 0.0;
29539                fixed: 1 0;
29540                align: 1.0 0.0;
29541                aspect: 1.0 1.0;
29542                aspect_preference: HORIZONTAL;
29543                rel1 {
29544                   relative: 1.0 0.0;
29545                   offset: -5 -5;
29546                }
29547                rel2 {
29548                   relative: 1.0 1.0;
29549                   offset: 5 5;
29550                }
29551             }
29552          }
29553          part { name: "elm.text";
29554             clip_to: "disclip";
29555             type: TEXT;
29556             effect: SOFT_SHADOW;
29557             mouse_events: 0;
29558             scale: 1;
29559             description { state: "default" 0.0;
29560                rel1 {
29561                   relative: 0.0  1.0;
29562                   offset: 0 0;
29563                }
29564                rel2 {
29565                   relative: 1.0  1.0;
29566                   offset: -5 -5;
29567                }
29568                color: 0 0 0 255;
29569                color3: 0 0 0 0;
29570                text {
29571                   font: "Sans";
29572                   size: 10;
29573                   min: 0 1;
29574                   align: 0.5 0.0;
29575                   text_class: "grid_item";
29576                }
29577             }
29578             description { state: "selected" 0.0;
29579                inherit: "default" 0.0;
29580                color: 224 224 224 255;
29581                color3: 0 0 0 64;
29582             }
29583          }
29584          part { name: "fg1";
29585             clip_to: "disclip";
29586             mouse_events: 0;
29587             description { state: "default" 0.0;
29588                visible: 0;
29589                color: 255 255 255 0;
29590                rel1.to: "bg";
29591                rel2.relative: 1.0 0.5;
29592                rel2.to: "bg";
29593                image {
29594                   normal: "bt_sm_hilight.png";
29595                   border: 6 6 6 0;
29596                }
29597             }
29598             description { state: "selected" 0.0;
29599                inherit: "default" 0.0;
29600                visible: 1;
29601                color: 255 255 255 255;
29602             }
29603          }
29604          part { name: "fg2";
29605             clip_to: "disclip";
29606             mouse_events: 0;
29607             description { state: "default" 0.0;
29608                visible: 0;
29609                color: 255 255 255 0;
29610                rel1.to: "bg";
29611                rel2.to: "bg";
29612                image {
29613                   normal: "bt_sm_shine.png";
29614                   border: 6 6 6 0;
29615                }
29616             }
29617             description { state: "selected" 0.0;
29618                inherit: "default" 0.0;
29619                visible: 1;
29620                color: 255 255 255 255;
29621             }
29622          }
29623          part { name: "disclip";
29624             type: RECT;
29625             description { state: "default" 0.0;
29626                rel1.to: "bg";
29627                rel2.to: "bg";
29628             }
29629             description { state: "disabled" 0.0;
29630                inherit: "default" 0.0;
29631                color: 255 255 255 64;
29632             }
29633          }
29634       }
29635       programs {
29636          // signal: elm,state,%s,active
29637          //   a "check" item named %s went active
29638          // signal: elm,state,%s,passive
29639          //   a "check" item named %s went passive
29640          // default is passive
29641          program { name:    "go_active";
29642             signal:  "elm,state,selected";
29643             source:  "elm";
29644             action:  STATE_SET "selected" 0.0;
29645             target:  "bg";
29646             target:  "fg1";
29647             target:  "fg2";
29648             target:  "elm.text";
29649          }
29650          program { name:    "go_passive";
29651             signal:  "elm,state,unselected";
29652             source:  "elm";
29653             action:  STATE_SET "default" 0.0;
29654             target:  "bg";
29655             target:  "fg1";
29656             target:  "fg2";
29657             target:  "elm.text";
29658             transition: LINEAR 0.1;
29659          }
29660          program { name:    "go_disabled";
29661             signal:  "elm,state,disabled";
29662             source:  "elm";
29663             action:  STATE_SET "disabled" 0.0;
29664             target:  "disclip";
29665          }
29666          program { name:    "go_enabled";
29667             signal:  "elm,state,enabled";
29668             source:  "elm";
29669             action:  STATE_SET "default" 0.0;
29670             target:  "disclip";
29671          }
29672       }
29673    }
29674    group { name: "elm/gengrid/item/default_style/default";
29675        styles
29676        {
29677            style { name: "gengrid_style";
29678                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29679                tag:  "br" "\n";
29680                tag:  "ps" "ps";
29681                tag:  "hilight" "+ font=Sans:style=Bold";
29682                tag:  "b" "+ font=Sans:style=Bold";
29683                tag:  "tab" "\t";
29684            }
29685            style { name: "gengrid_selected_style";
29686                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29687                tag:  "br" "\n";
29688                tag:  "ps" "ps";
29689                tag:  "hilight" "+ font=Sans:style=Bold";
29690                tag:  "b" "+ font=Sans:style=Bold";
29691                tag:  "tab" "\t";
29692            }
29693        }
29694        data.item: "labels" "elm.text";
29695        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29696        images {
29697            image: "bt_sm_base1.png" COMP;
29698            image: "bt_sm_shine.png" COMP;
29699            image: "bt_sm_hilight.png" COMP;
29700            image: "ilist_1.png" COMP;
29701            image: "ilist_item_shadow.png" COMP;
29702        }
29703        parts {
29704            part { name: "event";
29705                type: RECT;
29706                repeat_events: 1;
29707                description { state: "default" 0.0;
29708                    color: 0 0 0 0;
29709                }
29710            }
29711            part { name: "base_sh";
29712                mouse_events: 0;
29713                description { state: "default" 0.0;
29714                    align: 0.0 0.0;
29715                    min: 0 10;
29716                    fixed: 1 1;
29717                    rel1 {
29718                        to: "base";
29719                        relative: 0.0 1.0;
29720                        offset: 0 0;
29721                    }
29722                    rel2 {
29723                        to: "base";
29724                        relative: 1.0 1.0;
29725                        offset: -1 0;
29726                    }
29727                    image {
29728                        normal: "ilist_item_shadow.png";
29729                    }
29730                    fill.smooth: 0;
29731                }
29732            }
29733            part { name: "base";
29734                mouse_events: 0;
29735                description { state: "default" 0.0;
29736                    min: 16 28;
29737                    image {
29738                        normal: "ilist_1.png";
29739                        border: 2 2 2 2;
29740                    }
29741                    fill.smooth: 0;
29742                }
29743            }
29744            part { name: "bg";
29745                clip_to: "disclip";
29746                mouse_events: 0;
29747                description { state: "default" 0.0;
29748                    visible: 0;
29749                    color: 255 255 255 0;
29750                    rel1 {
29751                        relative: 0.0 0.0;
29752                        offset: -5 -5;
29753                    }
29754                    rel2 {
29755                        relative: 1.0 1.0;
29756                        offset: 4 4;
29757                    }
29758                    image {
29759                        normal: "bt_sm_base1.png";
29760                        border: 6 6 6 6;
29761                    }
29762                    image.middle: SOLID;
29763                }
29764                description { state: "selected" 0.0;
29765                    inherit: "default" 0.0;
29766                    visible: 1;
29767                    color: 255 255 255 255;
29768                    rel1 {
29769                        relative: 0.0 0.0;
29770                        offset: -2 -2;
29771                    }
29772                    rel2 {
29773                        relative: 1.0 1.0;
29774                        offset: 1 1;
29775                    }
29776                }
29777            }
29778            part { name: "elm.swallow.pad";
29779                type: SWALLOW;
29780                description { state: "default" 0.0;
29781                    fixed: 1 0;
29782                    align: 0.0 0.5;
29783                    rel1 {
29784                        relative: 0.0  0.0;
29785                        offset:   4    4;
29786                    }
29787                    rel2 {
29788                        relative: 0.0  1.0;
29789                        offset:   4   -5;
29790                    }
29791                }
29792            }
29793            part { name: "elm.swallow.icon";
29794                clip_to: "disclip";
29795                type: SWALLOW;
29796                description { state: "default" 0.0;
29797                    fixed: 1 0;
29798                    align: 0.0 0.5;
29799                    rel1 {
29800                        to_x: "elm.swallow.pad";
29801                        relative: 1.0  0.0;
29802                        offset:   -1    4;
29803                    }
29804                    rel2 {
29805                        to_x: "elm.swallow.pad";
29806                        relative: 1.0  1.0;
29807                        offset:   -1   -5;
29808                    }
29809                }
29810            }
29811            part { name: "elm.swallow.end";
29812                clip_to: "disclip";
29813                type: SWALLOW;
29814                description { state: "default" 0.0;
29815                    fixed: 1 0;
29816                    align: 1.0 0.5;
29817                    aspect: 1.0 1.0;
29818                    aspect_preference: VERTICAL;
29819                    rel1 {
29820                        relative: 1.0  0.0;
29821                        offset:   -5    4;
29822                    }
29823                    rel2 {
29824                        relative: 1.0  1.0;
29825                        offset:   -5   -5;
29826                    }
29827                }
29828            }
29829            part { name: "elm.text";
29830                clip_to: "disclip";
29831                type: TEXTBLOCK;
29832                mouse_events: 0;
29833                scale: 1;
29834                description {
29835                    state: "default" 0.0;
29836                    align: 0.0 0.5;
29837                    fixed: 0 1;
29838                    rel1 {
29839                        to_x: "elm.swallow.icon";
29840                        to_y: "base";
29841                        relative: 1.0  0.5;
29842                        offset:   0 4;
29843                    }
29844                    rel2 {
29845                        to_x: "elm.swallow.end";
29846                        to_y: "base";
29847                        relative: 0.0  0.5;
29848                        offset:   -1 -5;
29849                    }
29850                    text {
29851                        style: "gengrid_style";
29852                        min: 1 1;
29853                    }
29854                }
29855                description { state: "selected" 0.0;
29856                    inherit: "default" 0.0;
29857                    text {
29858                        style: "gengrid_selected_style";
29859                    }
29860                }
29861            }
29862            part { name: "fg1";
29863                clip_to: "disclip";
29864                mouse_events: 0;
29865                description { state: "default" 0.0;
29866                    visible: 0;
29867                    color: 255 255 255 0;
29868                    rel1.to: "bg";
29869                    rel2.relative: 1.0 0.5;
29870                    rel2.to: "bg";
29871                    image {
29872                        normal: "bt_sm_hilight.png";
29873                        border: 6 6 6 0;
29874                    }
29875                }
29876                description { state: "selected" 0.0;
29877                    inherit: "default" 0.0;
29878                    visible: 1;
29879                    color: 255 255 255 255;
29880                }
29881            }
29882            part { name: "fg2";
29883                clip_to: "disclip";
29884                mouse_events: 0;
29885                description { state: "default" 0.0;
29886                    visible: 0;
29887                    color: 255 255 255 0;
29888                    rel1.to: "bg";
29889                    rel2.to: "bg";
29890                    image {
29891                        normal: "bt_sm_shine.png";
29892                        border: 6 6 6 0;
29893                    }
29894                }
29895                description { state: "selected" 0.0;
29896                    inherit: "default" 0.0;
29897                    visible: 1;
29898                    color: 255 255 255 255;
29899                }
29900            }
29901            part { name: "disclip";
29902                type: RECT;
29903                description { state: "default" 0.0;
29904                    rel1.to: "bg";
29905                    rel2.to: "bg";
29906                }
29907                description { state: "disabled" 0.0;
29908                    inherit: "default" 0.0;
29909                    color: 255 255 255 64;
29910                }
29911            }
29912        }
29913        programs {
29914            // signal: elm,state,%s,active
29915            //   a "check" item named %s went active
29916            // signal: elm,state,%s,passive
29917            //   a "check" item named %s went passive
29918            // default is passive
29919            program { name:    "go_active";
29920                signal:  "elm,state,selected";
29921                source:  "elm";
29922                action:  STATE_SET "selected" 0.0;
29923                target:  "bg";
29924                target:  "fg1";
29925                target:  "fg2";
29926                target:  "elm.text";
29927            }
29928            program { name:    "go_passive";
29929                signal:  "elm,state,unselected";
29930                source:  "elm";
29931                action:  STATE_SET "default" 0.0;
29932                target:  "bg";
29933                target:  "fg1";
29934                target:  "fg2";
29935                target:  "elm.text";
29936                transition: LINEAR 0.1;
29937            }
29938            program { name:    "go_disabled";
29939                signal:  "elm,state,disabled";
29940                source:  "elm";
29941                action:  STATE_SET "disabled" 0.0;
29942                target:  "disclip";
29943            }
29944            program { name:    "go_enabled";
29945                signal:  "elm,state,enabled";
29946                source:  "elm";
29947                action:  STATE_SET "default" 0.0;
29948                target:  "disclip";
29949            }
29950        }
29951    }
29952
29953    group { name: "elm/gengrid/item/up/default";
29954       data.item: "labels" "elm.text";
29955       images {
29956           image: "bt_sm_base1.png" COMP;
29957           image: "bt_sm_shine.png" COMP;
29958           image: "bt_sm_hilight.png" COMP;
29959           image: "arrow_up.png" COMP;
29960       }
29961       parts {
29962          part { name: "event";
29963             type: RECT;
29964             repeat_events: 1;
29965             description { state: "default" 0.0;
29966                color: 0 0 0 0;
29967             }
29968          }
29969          part { name: "bg";
29970             clip_to: "disclip";
29971             mouse_events: 0;
29972             description { state: "default" 0.0;
29973                visible: 0;
29974                color: 255 255 255 0;
29975                rel1.offset: -3 -3;
29976                rel2.offset: 2 2;
29977                image { normal: "bt_sm_base1.png";
29978                   border: 6 6 6 6;
29979                   middle: SOLID;
29980                }
29981             }
29982             description { state: "selected" 0.0;
29983                inherit: "default" 0.0;
29984                visible: 1;
29985                color: 255 255 255 255;
29986             }
29987          }
29988          part { name: "image";
29989              type: IMAGE;
29990              mouse_events: 0;
29991              description { state: "default" 0.0;
29992                  aspect_preference: BOTH;
29993                  aspect: 1.0 1.0;
29994                  image.normal: "arrow_up.png";
29995                  rel2 {
29996                      to_y: "elm.text";
29997                      relative: 1.0 0.0;
29998                      offset: -1 -2;
29999                  }
30000              }
30001          }
30002          part { name: "elm.text";
30003             clip_to: "disclip";
30004             type: TEXT;
30005             effect: SOFT_SHADOW;
30006             mouse_events: 0;
30007             scale: 1;
30008             description { state: "default" 0.0;
30009                rel1 {
30010                   relative: 0.0  1.0;
30011                   offset: 20 -25;
30012                }
30013                rel2 {
30014                   relative: 1.0  1.0;
30015                   offset: -21 -3;
30016                }
30017                color: 0 0 0 255;
30018                color3: 0 0 0 0;
30019                text {
30020                   font: "Sans";
30021                   size: 10;
30022                   min: 0 1;
30023                   align: 0.5 0.0;
30024                   text_class: "grid_item";
30025                }
30026             }
30027             description { state: "selected" 0.0;
30028                inherit: "default" 0.0;
30029                color: 224 224 224 255;
30030                color3: 0 0 0 64;
30031             }
30032          }
30033          part { name: "fg1";
30034             clip_to: "disclip";
30035             mouse_events: 0;
30036             description { state: "default" 0.0;
30037                visible: 0;
30038                color: 255 255 255 0;
30039                rel1.offset: -3 -3;
30040                rel2 {
30041                    relative: 1.0 0.5;
30042                    offset: 2 -1;
30043                }
30044                image {
30045                   normal: "bt_sm_hilight.png";
30046                   border: 6 6 6 0;
30047                }
30048             }
30049             description { state: "selected" 0.0;
30050                inherit: "default" 0.0;
30051                visible: 1;
30052                color: 255 255 255 255;
30053             }
30054          }
30055          part { name: "fg2";
30056             clip_to: "disclip";
30057             mouse_events: 0;
30058             description { state: "default" 0.0;
30059                visible: 0;
30060                color: 255 255 255 0;
30061                rel1.offset: -3 -3;
30062                rel2.offset: 2 2;
30063                image {
30064                   normal: "bt_sm_shine.png";
30065                   border: 6 6 6 0;
30066                }
30067             }
30068             description { state: "selected" 0.0;
30069                inherit: "default" 0.0;
30070                visible: 1;
30071                color: 255 255 255 255;
30072             }
30073          }
30074          part { name: "disclip";
30075             type: RECT;
30076             description { state: "default" 0.0;
30077                rel1.to: "bg";
30078                rel2.to: "bg";
30079             }
30080             description { state: "disabled" 0.0;
30081                inherit: "default" 0.0;
30082                color: 255 255 255 64;
30083             }
30084          }
30085       }
30086       programs {
30087          program { name:    "go_active";
30088             signal:  "elm,state,selected";
30089             source:  "elm";
30090             action:  STATE_SET "selected" 0.0;
30091             target:  "bg";
30092             target:  "fg1";
30093             target:  "fg2";
30094             target:  "elm.text";
30095          }
30096          program { name:    "go_passive";
30097             signal:  "elm,state,unselected";
30098             source:  "elm";
30099             action:  STATE_SET "default" 0.0;
30100             target:  "bg";
30101             target:  "fg1";
30102             target:  "fg2";
30103             target:  "elm.text";
30104             transition: LINEAR 0.1;
30105          }
30106          program { name:    "go_disabled";
30107             signal:  "elm,state,disabled";
30108             source:  "elm";
30109             action:  STATE_SET "disabled" 0.0;
30110             target:  "disclip";
30111          }
30112          program { name:    "go_enabled";
30113             signal:  "elm,state,enabled";
30114             source:  "elm";
30115             action:  STATE_SET "default" 0.0;
30116             target:  "disclip";
30117          }
30118       }
30119    }
30120
30121    group { name: "elm/gengrid/item/album-preview/default";
30122       data.item: "labels" "elm.text";
30123       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30124       data.item: "states" "have_files";
30125       images {
30126          image: "bt_sm_base1.png" COMP;
30127          image: "bt_sm_shine.png" COMP;
30128          image: "bt_sm_hilight.png" COMP;
30129          image: "icon_folder.png" COMP;
30130       }
30131       parts {
30132          part { name: "event";
30133             type: RECT;
30134             repeat_events: 1;
30135             description { state: "default" 0.0;
30136                color: 0 0 0 0;
30137             }
30138          }
30139          part { name: "bg";
30140             clip_to: "disclip";
30141             mouse_events: 0;
30142             description { state: "default" 0.0;
30143                visible: 0;
30144                color: 255 255 255 0;
30145                rel1.offset: -3 -3;
30146                rel2.offset: 2 2;
30147                image {
30148                   normal: "bt_sm_base1.png";
30149                   border: 6 6 6 6;
30150                   middle: SOLID;
30151                }
30152             }
30153             description { state: "selected" 0.0;
30154                inherit: "default" 0.0;
30155                visible: 1;
30156                color: 255 255 255 255;
30157             }
30158          }
30159          part { name: "image";
30160              type: IMAGE;
30161              mouse_events: 0;
30162              description { state: "default" 0.0;
30163                  aspect_preference: BOTH;
30164                  aspect: 1.0 1.0;
30165                  image.normal: "icon_folder.png";
30166                  rel2 {
30167                      to_y: "elm.text";
30168                      relative: 1.0 0.0;
30169                      offset: -1 -2;
30170                  }
30171              }
30172          }
30173          part { name: "have-files-clipper";
30174              type: RECT;
30175              description { state: "default" 0.0;
30176                  color: 255 255 255 0;
30177                  visible: 0;
30178              }
30179              description { state: "visible" 0.0;
30180                  inherit: "default" 0.0;
30181                  color: 255 255 255 255;
30182                  visible: 1;
30183              }
30184          }
30185          part { name: "icon_box_margin";
30186              type: RECT;
30187              mouse_events: 0;
30188              clip_to: "have-files-clipper";
30189              description { state: "default" 0.0;
30190                  color: 0 0 0 255;
30191                  rel1 {
30192                      to: "icon_box";
30193                      offset: -1 -1;
30194                  }
30195                  rel2 {
30196                      to: "icon_box";
30197                      offset: 0 0;
30198                  }
30199              }
30200          }
30201          part { name: "icon_box";
30202              type: RECT;
30203              mouse_events: 0;
30204              clip_to: "have-files-clipper";
30205              description { state: "default" 0.0;
30206                  color: 255 255 255 255;
30207                  align: 1.0 1.0;
30208                  min: 32 32;
30209                  rel1 {
30210                      relative: 0.25 0.25;
30211                      offset: 0 0;
30212                  }
30213                  rel2 {
30214                      relative: 1.0 0.0;
30215                      offset: -11 -4;
30216                      to_y: "elm.text";
30217                  }
30218              }
30219          }
30220          part { name: "elm.swallow.icon.1";
30221              type: SWALLOW;
30222              mouse_events: 0;
30223              clip_to: "have-files-clipper";
30224              description { state: "default" 0.0;
30225                rel1 {
30226                   relative: 0.0  0.0;
30227                   to: "icon_box";
30228                }
30229                rel2 {
30230                   relative: 0.5  0.5;
30231                   offset: -1 -1;
30232                   to: "icon_box";
30233                }
30234             }
30235          }
30236          part { name: "elm.swallow.icon.2";
30237              type: SWALLOW;
30238              mouse_events: 0;
30239              clip_to: "have-files-clipper";
30240              description { state: "default" 0.0;
30241                rel1 {
30242                   relative: 0.5  0.0;
30243                   to: "icon_box";
30244                }
30245                rel2 {
30246                   relative: 1.0  0.5;
30247                   offset: -1 -1;
30248                   to: "icon_box";
30249                }
30250             }
30251          }
30252          part { name: "elm.swallow.icon.3";
30253              type: SWALLOW;
30254              mouse_events: 0;
30255              clip_to: "have-files-clipper";
30256              description { state: "default" 0.0;
30257                rel1 {
30258                   relative: 0.0  0.5;
30259                   to: "icon_box";
30260                }
30261                rel2 {
30262                   relative: 0.5  1.0;
30263                   offset: -1 -1;
30264                   to: "icon_box";
30265                }
30266             }
30267          }
30268          part { name: "elm.swallow.icon.4";
30269              type: SWALLOW;
30270              mouse_events: 0;
30271              clip_to: "have-files-clipper";
30272              description { state: "default" 0.0;
30273                rel1 {
30274                   relative: 0.5  0.5;
30275                   to: "icon_box";
30276                }
30277                rel2 {
30278                   relative: 1.0  1.0;
30279                   offset: -1 -1;
30280                   to: "icon_box";
30281                }
30282             }
30283          }
30284          part { name: "elm.text";
30285             clip_to: "disclip";
30286             type: TEXT;
30287             effect: SOFT_SHADOW;
30288             mouse_events: 0;
30289             scale: 1;
30290             description { state: "default" 0.0;
30291                rel1 {
30292                   relative: 0.0  1.0;
30293                   offset: 20 -30;
30294                }
30295                rel2 {
30296                   relative: 1.0  1.0;
30297                   offset: -21 -15;
30298                }
30299                color: 0 0 0 255;
30300                color3: 0 0 0 0;
30301                text {
30302                   font: "Sans";
30303                   size: 10;
30304                   min: 0 1;
30305                   align: 0.5 0.0;
30306                   text_class: "grid_item";
30307                }
30308             }
30309             description { state: "selected" 0.0;
30310                 inherit: "default" 0.0;
30311                 color: 255 255 255 255;
30312             }
30313          }
30314          part { name: "fg1";
30315             clip_to: "disclip";
30316             mouse_events: 0;
30317             description { state: "default" 0.0;
30318                visible: 0;
30319                color: 255 255 255 0;
30320                rel1.offset: -3 -3;
30321                rel2 {
30322                    relative: 1.0 0.5;
30323                    offset: 2 -1;
30324                }
30325                image {
30326                   normal: "bt_sm_hilight.png";
30327                   border: 6 6 6 0;
30328                }
30329             }
30330             description { state: "selected" 0.0;
30331                inherit: "default" 0.0;
30332                visible: 1;
30333                color: 255 255 255 255;
30334             }
30335          }
30336          part { name: "fg2";
30337             clip_to: "disclip";
30338             mouse_events: 0;
30339             description { state: "default" 0.0;
30340                visible: 0;
30341                color: 255 255 255 0;
30342                rel1.offset: -3 -3;
30343                rel2.offset: 2 2;
30344                image {
30345                   normal: "bt_sm_shine.png";
30346                   border: 6 6 6 0;
30347                }
30348             }
30349             description { state: "selected" 0.0;
30350                inherit: "default" 0.0;
30351                visible: 1;
30352                color: 255 255 255 255;
30353             }
30354          }
30355          part { name: "disclip";
30356             type: RECT;
30357             description { state: "default" 0.0;
30358                rel1.to: "bg";
30359                rel2.to: "bg";
30360             }
30361             description { state: "disabled" 0.0;
30362                inherit: "default" 0.0;
30363                color: 255 255 255 64;
30364             }
30365          }
30366       }
30367       programs {
30368          program { name:    "go_active";
30369             signal:  "elm,state,selected";
30370             source:  "elm";
30371             action:  STATE_SET "selected" 0.0;
30372             target:  "bg";
30373             target:  "fg1";
30374             target:  "fg2";
30375             target:  "elm.text";
30376          }
30377          program { name:    "go_passive";
30378             signal:  "elm,state,unselected";
30379             source:  "elm";
30380             action:  STATE_SET "default" 0.0;
30381             target:  "bg";
30382             target:  "fg1";
30383             target:  "fg2";
30384             target:  "elm.text";
30385             transition: LINEAR 0.1;
30386          }
30387          program { name:    "go_disabled";
30388             signal:  "elm,state,disabled";
30389             source:  "elm";
30390             action:  STATE_SET "disabled" 0.0;
30391             target:  "disclip";
30392          }
30393          program { name:    "go_enabled";
30394             signal:  "elm,state,enabled";
30395             source:  "elm";
30396             action:  STATE_SET "default" 0.0;
30397             target:  "disclip";
30398          }
30399          program {
30400              signal: "elm,state,have_files,active";
30401              source: "elm";
30402              action: STATE_SET "visible" 0.0;
30403              target: "have-files-clipper";
30404          }
30405       }
30406    }
30407
30408    group { name: "elm/gengrid/item/thumb/default";
30409        data {
30410            item: "icons" "elm.swallow.icon";
30411            item: "labels" "elm.text";
30412        }
30413        images {
30414            image: "bt_sm_base1.png" COMP;
30415            image: "bt_sm_shine.png" COMP;
30416            image: "bt_sm_hilight.png" COMP;
30417            image: "thumb_shadow.png" COMP;
30418        }
30419        parts {
30420            part { name: "event";
30421                type: RECT;
30422                repeat_events: 1;
30423                description { state: "default" 0.0;
30424                    color: 0 0 0 0;
30425                }
30426            }
30427            part { name: "bg";
30428                mouse_events: 0;
30429                description { state: "default" 0.0;
30430                    visible: 0;
30431                    color: 255 255 255 0;
30432                    rel1.offset: -3 -3;
30433                    rel2.offset: 2 2;
30434                    image {
30435                        normal: "bt_sm_base1.png";
30436                        border: 6 6 6 6;
30437                        middle: SOLID;
30438                    }
30439                }
30440                description { state: "selected" 0.0;
30441                    inherit: "default" 0.0;
30442                    visible: 1;
30443                    color: 255 255 255 255;
30444                }
30445            }
30446            part { name: "border-shadow";
30447                type: IMAGE;
30448                mouse_events: 0;
30449                description { state: "default" 0.0;
30450                    rel1 {
30451                        to: "elm.swallow.icon";
30452                        offset: -18 -18;
30453                    }
30454                    rel2 {
30455                        to_x: "elm.swallow.icon";
30456                        to_y: "elm.text";
30457                        offset: 17 17;
30458                    }
30459                    image {
30460                        normal: "thumb_shadow.png";
30461                        border: 17 17 17 17;
30462                        middle: NONE;
30463                    }
30464                }
30465            }
30466            part { name: "border";
30467                type: RECT;
30468                mouse_events: 0;
30469                description { state: "default" 0.0;
30470                    rel1 {
30471                        to: "border-shadow";
30472                        offset: 16 16;
30473                    }
30474                    rel2 {
30475                        to: "border-shadow";
30476                        offset: -15 -15;
30477                    }
30478                }
30479            }
30480            part { name: "elm.swallow.icon";
30481                type: SWALLOW;
30482                mouse_events: 0;
30483                description { state: "default" 0.0;
30484                    aspect_preference: BOTH;
30485                    aspect: 1.0 1.0;
30486                    rel1.offset: 0 8;
30487                    rel2 {
30488                        to_y: "elm.text";
30489                        relative: 1.0 0.0;
30490                        offset: -1 -2;
30491                    }
30492                }
30493            }
30494            part { name: "elm.text";
30495                type: TEXT;
30496                effect: SOFT_SHADOW;
30497                mouse_events: 0;
30498                scale: 1;
30499                description { state: "default" 0.0;
30500                    color: 0 0 0 255;
30501                    color3: 0 0 0 0;
30502                    align: 0.5 1.0;
30503                    rel1 {
30504                        relative: 0.0 1.0;
30505                        offset: 20 -30;
30506                    }
30507                    rel2 {
30508                        relative: 1.0 1.0;
30509                        offset: -21 -15;
30510                    }
30511                    text {
30512                        font: "Sans";
30513                        size: 10;
30514                        min: 0 1;
30515                        align: 0.5 0.0;
30516                        text_class: "grid_item";
30517                    }
30518                }
30519            }
30520            part { name: "fg1";
30521                mouse_events: 0;
30522                description { state: "default" 0.0;
30523                    visible: 0;
30524                    color: 255 255 255 0;
30525                    rel1.offset: -3 -3;
30526                    rel2 {
30527                        relative: 1.0 0.5;
30528                        offset: 2 -1;
30529                    }
30530                    image {
30531                        normal: "bt_sm_hilight.png";
30532                        border: 6 6 6 0;
30533                    }
30534                }
30535                description { state: "selected" 0.0;
30536                    inherit: "default" 0.0;
30537                    visible: 1;
30538                    color: 255 255 255 255;
30539                }
30540            }
30541            part { name: "fg2";
30542                mouse_events: 0;
30543                description { state: "default" 0.0;
30544                    visible: 0;
30545                    color: 255 255 255 0;
30546                    rel1.offset: -3 -3;
30547                    rel2.offset: 2 2;
30548                    image {
30549                        image: "bt_sm_shine.png";
30550                        border: 6 6 6 0;
30551                    }
30552                }
30553                description { state: "selected" 0.0;
30554                    inherit: "default" 0.0;
30555                    visible: 1;
30556                    color: 255 255 255 255;
30557                }
30558            }
30559        }
30560        programs {
30561            program {
30562                signal: "elm,state,selected";
30563                source: "elm";
30564                action: STATE_SET "selected" 0.0;
30565                target: "bg";
30566                target: "fg1";
30567                target: "fg2";
30568            }
30569            program {
30570                signal: "elm,state,unselected";
30571                source: "elm";
30572                action:  STATE_SET "default" 0.0;
30573                target: "bg";
30574                target: "fg1";
30575                target: "fg2";
30576                transition: LINEAR 0.1;
30577            }
30578        }
30579    }
30580
30581 ///////////////////////////////////////////////////////////////////////////////
30582    group { name: "elm/photocam/base/default";
30583        script {
30584            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30585            public timer0(val) {
30586                new v;
30587                v = get_int(sbvis_v);
30588                if (v) {
30589                    v = get_int(sbalways_v);
30590                    if (!v) {
30591                        emit("do-hide-vbar", "");
30592                        set_int(sbvis_v, 0);
30593                    }
30594                }
30595                v = get_int(sbvis_h);
30596                if (v) {
30597                    v = get_int(sbalways_h);
30598                    if (!v) {
30599                        emit("do-hide-hbar", "");
30600                        set_int(sbvis_h, 0);
30601                    }
30602                }
30603                set_int(sbvis_timer, 0);
30604                return 0;
30605            }
30606        }
30607        images {
30608            image: "shelf_inset.png" COMP;
30609            image: "bt_sm_base2.png" COMP;
30610            image: "bt_sm_shine.png" COMP;
30611            image: "bt_sm_hilight.png" COMP;
30612            image: "busy-1.png" COMP;
30613            image: "busy-2.png" COMP;
30614            image: "busy-3.png" COMP;
30615            image: "busy-4.png" COMP;
30616            image: "busy-5.png" COMP;
30617            image: "busy-6.png" COMP;
30618            image: "busy-7.png" COMP;
30619            image: "busy-8.png" COMP;
30620            image: "busy-9.png" COMP;
30621        }
30622        parts {
30623            part { name: "bg";
30624                type: RECT;
30625                description { state: "default" 0.0;
30626                    rel1.offset: 1 1;
30627                    rel2.offset: -2 -2;
30628                    color: 255 255 255 0;
30629                }
30630            }
30631            part { name: "clipper";
30632                type: RECT;
30633                mouse_events: 0;
30634                description { state: "default" 0.0;
30635                    rel1.to: "bg";
30636                    rel2.to: "bg";
30637                }
30638            }
30639            part { name: "elm.swallow.content";
30640                clip_to: "clipper";
30641                type: SWALLOW;
30642                description { state: "default" 0.0;
30643                    rel1.offset: 1 1;
30644                    rel2.offset: -2 -2;
30645                }
30646            }
30647            part { name: "busy_clip";
30648                type: RECT;
30649                mouse_events: 0;
30650                description { state: "default" 0.0;
30651                    visible: 0;
30652                    color: 255 255 255 0;
30653                }
30654                description { state: "active" 0.0;
30655                    visible: 1;
30656                    color: 255 255 255 255;
30657                }
30658            }
30659            part { name: "busy";
30660                clip_to: "busy_clip";
30661                mouse_events: 0;
30662                description { state: "default" 0.0;
30663                    fixed: 1 1;
30664                    min: 32 32;
30665                    aspect: 1.0 1.0;
30666                    align: 1.0 1.0;
30667                    aspect_preference: BOTH;
30668                    rel1 {
30669                        relative: 0.9 0.9;
30670                        offset:   -9 -9;
30671                    }
30672                    rel2 {
30673                        relative: 0.9 0.9;
30674                        offset:   -9 -9;
30675                    }
30676                    image {
30677                        normal: "busy-9.png";
30678                        tween:  "busy-1.png";
30679                        tween:  "busy-2.png";
30680                        tween:  "busy-3.png";
30681                        tween:  "busy-4.png";
30682                        tween:  "busy-5.png";
30683                        tween:  "busy-6.png";
30684                        tween:  "busy-7.png";
30685                        tween:  "busy-8.png";
30686                    }
30687                }
30688            }
30689            part { name: "conf_over";
30690                mouse_events:  0;
30691                description { state: "default" 0.0;
30692                    rel1.offset: 0 0;
30693                    rel2.offset: -1 -1;
30694                    image {
30695                        normal: "shelf_inset.png";
30696                        border: 7 7 7 7;
30697                        middle: 0;
30698                    }
30699                    fill.smooth : 0;
30700                }
30701            }
30702            part { name: "sb_vbar_clip_master";
30703                type: RECT;
30704                mouse_events: 0;
30705                description { state: "default" 0.0;
30706                }
30707                description { state: "hidden" 0.0;
30708                    visible: 0;
30709                    color: 255 255 255 0;
30710                }
30711            }
30712            part { name: "sb_vbar_clip";
30713                clip_to: "sb_vbar_clip_master";
30714                type: RECT;
30715                mouse_events: 0;
30716                description { state: "default" 0.0;
30717                }
30718                description { state: "hidden" 0.0;
30719                    visible: 0;
30720                    color: 255 255 255 0;
30721                }
30722            }
30723            part { name: "sb_vbar";
30724                type: RECT;
30725                mouse_events: 0;
30726                description { state: "default" 0.0;
30727                    fixed: 1 1;
30728                    visible: 0;
30729                    min: 10 17;
30730                    align: 1.0 0.0;
30731                    rel1 {
30732                        relative: 1.0 0.0;
30733                        offset:   -2 0;
30734                    }
30735                    rel2 {
30736                        relative: 1.0 0.0;
30737                        offset:   -2 -1;
30738                        to_y:     "sb_hbar";
30739                    }
30740                }
30741            }
30742            part { name: "elm.dragable.vbar";
30743                clip_to: "sb_vbar_clip";
30744                mouse_events: 0;
30745                dragable {
30746                    x: 0 0 0;
30747                    y: 1 1 0;
30748                    confine: "sb_vbar";
30749                }
30750                description { state: "default" 0.0;
30751                    fixed: 1 1;
30752                    min: 10 17;
30753                    max: 10 99999;
30754                    rel1 {
30755                        relative: 0.5  0.5;
30756                        offset:   0    0;
30757                        to: "sb_vbar";
30758                    }
30759                    rel2 {
30760                        relative: 0.5  0.5;
30761                        offset:   0    0;
30762                        to: "sb_vbar";
30763                    }
30764                    image {
30765                        normal: "bt_sm_base2.png";
30766                        border: 6 6 6 6;
30767                        middle: SOLID;
30768                    }
30769                }
30770            }
30771            part { name: "sb_vbar_over1";
30772                clip_to: "sb_vbar_clip";
30773                mouse_events: 0;
30774                description { state: "default" 0.0;
30775                    rel1.to: "elm.dragable.vbar";
30776                    rel2.relative: 1.0 0.5;
30777                    rel2.to: "elm.dragable.vbar";
30778                    image {
30779                        normal: "bt_sm_hilight.png";
30780                        border: 6 6 6 0;
30781                    }
30782                }
30783            }
30784            part { name: "sb_vbar_over2";
30785                clip_to: "sb_vbar_clip";
30786                mouse_events: 0;
30787                description { state: "default" 0.0;
30788                    rel1.to: "elm.dragable.vbar";
30789                    rel2.to: "elm.dragable.vbar";
30790                    image {
30791                        normal: "bt_sm_shine.png";
30792                        border: 6 6 6 0;
30793                    }
30794                }
30795            }
30796
30797            part { name: "sb_hbar_clip_master";
30798                type: RECT;
30799                mouse_events: 0;
30800                description { state: "default" 0.0;
30801                }
30802                description { state: "hidden" 0.0;
30803                    visible: 0;
30804                    color: 255 255 255 0;
30805                }
30806            }
30807            part { name: "sb_hbar_clip";
30808                clip_to: "sb_hbar_clip_master";
30809                type: RECT;
30810                mouse_events: 0;
30811                description { state: "default" 0.0;
30812                }
30813                description { state: "hidden" 0.0;
30814                    visible: 0;
30815                    color: 255 255 255 0;
30816                }
30817            }
30818            part { name: "sb_hbar";
30819                type: RECT;
30820                mouse_events: 0;
30821                description { state: "default" 0.0;
30822                    fixed: 1 1;
30823                    visible: 0;
30824                    min: 17 10;
30825                    align: 0.0 1.0;
30826                    rel1 {
30827                        relative: 0.0 1.0;
30828                        offset:   0 -2;
30829                    }
30830                    rel2 {
30831                        relative: 0.0 1.0;
30832                        offset:   -1 -2;
30833                        to_x:     "sb_vbar";
30834                    }
30835                }
30836            }
30837            part { name: "elm.dragable.hbar";
30838                clip_to: "sb_hbar_clip";
30839                mouse_events: 0;
30840                dragable {
30841                    x: 1 1 0;
30842                    y: 0 0 0;
30843                    confine: "sb_hbar";
30844                }
30845                description { state: "default" 0.0;
30846                    fixed: 1 1;
30847                    min: 17 10;
30848                    max: 99999 10;
30849                    rel1 {
30850                        relative: 0.5  0.5;
30851                        offset:   0    0;
30852                        to: "sb_hbar";
30853                    }
30854                    rel2 {
30855                        relative: 0.5  0.5;
30856                        offset:   0    0;
30857                        to: "sb_hbar";
30858                    }
30859                    image {
30860                        normal: "bt_sm_base2.png";
30861                        border: 4 4 4 4;
30862                        middle: SOLID;
30863                    }
30864                }
30865            }
30866            part { name: "sb_hbar_over1";
30867                clip_to: "sb_hbar_clip";
30868                mouse_events: 0;
30869                description { state: "default" 0.0;
30870                    rel1.to: "elm.dragable.hbar";
30871                    rel2.relative: 1.0 0.5;
30872                    rel2.to: "elm.dragable.hbar";
30873                    image {
30874                        normal: "bt_sm_hilight.png";
30875                        border: 4 4 4 0;
30876                    }
30877                }
30878            }
30879            part { name: "sb_hbar_over2";
30880                clip_to: "sb_hbar_clip";
30881                mouse_events: 0;
30882                description { state: "default" 0.0;
30883                    rel1.to: "elm.dragable.hbar";
30884                    rel2.to: "elm.dragable.hbar";
30885                    image {
30886                        normal: "bt_sm_shine.png";
30887                        border: 4 4 4 0;
30888                    }
30889                }
30890            }
30891        }
30892        programs {
30893            program { name: "load";
30894                signal: "load";
30895                source: "";
30896                script {
30897                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30898                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30899                    set_int(sbvis_h, 0);
30900                    set_int(sbvis_v, 0);
30901                    set_int(sbalways_v, 0);
30902                    set_int(sbalways_h, 0);
30903                    set_int(sbvis_timer, 0);
30904                }
30905            }
30906
30907            program { name: "vbar_show";
30908                signal: "elm,action,show,vbar";
30909                source: "elm";
30910                action:  STATE_SET "default" 0.0;
30911                target: "sb_vbar_clip_master";
30912            }
30913            program { name: "vbar_hide";
30914                signal: "elm,action,hide,vbar";
30915                source: "elm";
30916                action:  STATE_SET "hidden" 0.0;
30917                target: "sb_vbar_clip_master";
30918            }
30919            program { name: "vbar_show_always";
30920                signal: "elm,action,show_always,vbar";
30921                source: "elm";
30922                script {
30923                    new v;
30924                    v = get_int(sbvis_v);
30925                    v |= get_int(sbalways_v);
30926                    if (!v) {
30927                        set_int(sbalways_v, 1);
30928                        emit("do-show-vbar", "");
30929                        set_int(sbvis_v, 1);
30930                    }
30931                }
30932            }
30933            program { name: "vbar_show_notalways";
30934                signal: "elm,action,show_notalways,vbar";
30935                source: "elm";
30936                script {
30937                    new v;
30938                    v = get_int(sbalways_v);
30939                    if (v) {
30940                        set_int(sbalways_v, 0);
30941                        v = get_int(sbvis_v);
30942                        if (!v) {
30943                            emit("do-hide-vbar", "");
30944                            set_int(sbvis_v, 0);
30945                        }
30946                    }
30947                }
30948            }
30949            program { name: "sb_vbar_show";
30950                signal: "do-show-vbar";
30951                source: "";
30952                action:  STATE_SET "default" 0.0;
30953                transition: LINEAR 0.5;
30954                target: "sb_vbar_clip";
30955            }
30956            program { name: "sb_vbar_hide";
30957                signal: "do-hide-vbar";
30958                source: "";
30959                action:  STATE_SET "hidden" 0.0;
30960                transition: LINEAR 0.5;
30961                target: "sb_vbar_clip";
30962            }
30963
30964            program { name: "hbar_show";
30965                signal: "elm,action,show,hbar";
30966                source: "elm";
30967                action:  STATE_SET "default" 0.0;
30968                target: "sb_hbar_clip_master";
30969            }
30970            program { name: "hbar_hide";
30971                signal: "elm,action,hide,hbar";
30972                source: "elm";
30973                action:  STATE_SET "hidden" 0.0;
30974                target: "sb_hbar_clip_master";
30975            }
30976            program { name: "hbar_show_always";
30977                signal: "elm,action,show_always,hbar";
30978                source: "elm";
30979                script {
30980                    new v;
30981                    v = get_int(sbvis_h);
30982                    v |= get_int(sbalways_h);
30983                    if (!v) {
30984                        set_int(sbalways_h, 1);
30985                        emit("do-show-hbar", "");
30986                        set_int(sbvis_h, 1);
30987                    }
30988                }
30989            }
30990            program { name: "hbar_show_notalways";
30991                signal: "elm,action,show_notalways,hbar";
30992                source: "elm";
30993                script {
30994                    new v;
30995                    v = get_int(sbalways_h);
30996                    if (v) {
30997                        set_int(sbalways_h, 0);
30998                        v = get_int(sbvis_h);
30999                        if (!v) {
31000                            emit("do-hide-hbar", "");
31001                            set_int(sbvis_h, 0);
31002                        }
31003                    }
31004                }
31005            }
31006            program { name: "sb_hbar_show";
31007                signal: "do-show-hbar";
31008                source: "";
31009                action:  STATE_SET "default" 0.0;
31010                transition: LINEAR 0.5;
31011                target: "sb_hbar_clip";
31012            }
31013            program { name: "sb_hbar_hide";
31014                signal: "do-hide-hbar";
31015                source: "";
31016                action:  STATE_SET "hidden" 0.0;
31017                transition: LINEAR 0.5;
31018                target: "sb_hbar_clip";
31019            }
31020
31021            program { name: "scroll";
31022                signal: "elm,action,scroll";
31023                source: "elm";
31024                script {
31025                    new v;
31026                    v = get_int(sbvis_v);
31027                    v |= get_int(sbalways_v);
31028                    if (!v) {
31029                        emit("do-show-vbar", "");
31030                        set_int(sbvis_v, 1);
31031                    }
31032                    v = get_int(sbvis_h);
31033                    v |= get_int(sbalways_h);
31034                    if (!v) {
31035                        emit("do-show-hbar", "");
31036                        set_int(sbvis_h, 1);
31037                    }
31038                    v = get_int(sbvis_timer);
31039                    if (v > 0) cancel_timer(v);
31040                    v = timer(1.0, "timer0", 0);
31041                    set_int(sbvis_timer, v);
31042                }
31043            }
31044            program { name: "go1";
31045                signal: "elm,state,busy,start";
31046                source: "elm";
31047                action: STATE_SET "active" 0.0;
31048                transition: SINUSOIDAL 1.0;
31049                target:  "busy_clip";
31050            }
31051            program { name: "go2";
31052                signal: "elm,state,busy,start";
31053                source: "elm";
31054                action: STATE_SET "default" 0.0;
31055                transition: LINEAR 0.5;
31056                target: "busy";
31057                after:  "go2";
31058            }
31059            program { name: "stop1";
31060                signal: "elm,state,busy,stop";
31061                source: "elm";
31062                action: STATE_SET "default" 0.0;
31063                transition: SINUSOIDAL 1.0;
31064                target: "busy_clip";
31065                after: "stop2";
31066            }
31067          program { name: "stop2";
31068             action: ACTION_STOP;
31069             target: "go2";
31070          }
31071       }
31072    }
31073
31074    ///////////////////////////////////////////////////////////////////////////////
31075    group { name: "elm/map/base/default";
31076        script {
31077            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31078            public timer0(val) {
31079                new v;
31080                v = get_int(sbvis_v);
31081                if (v) {
31082                    v = get_int(sbalways_v);
31083                    if (!v) {
31084                        emit("do-hide-vbar", "");
31085                        set_int(sbvis_v, 0);
31086                    }
31087                }
31088                v = get_int(sbvis_h);
31089                if (v) {
31090                    v = get_int(sbalways_h);
31091                    if (!v) {
31092                        emit("do-hide-hbar", "");
31093                        set_int(sbvis_h, 0);
31094                    }
31095                }
31096                set_int(sbvis_timer, 0);
31097                return 0;
31098            }
31099        }
31100        images {
31101            image: "shelf_inset.png" COMP;
31102            image: "bt_sm_base2.png" COMP;
31103            image: "bt_sm_shine.png" COMP;
31104            image: "bt_sm_hilight.png" COMP;
31105            image: "busy-1.png" COMP;
31106            image: "busy-2.png" COMP;
31107            image: "busy-3.png" COMP;
31108            image: "busy-4.png" COMP;
31109            image: "busy-5.png" COMP;
31110            image: "busy-6.png" COMP;
31111            image: "busy-7.png" COMP;
31112            image: "busy-8.png" COMP;
31113            image: "busy-9.png" COMP;
31114        }
31115        parts {
31116            part { name: "bg";
31117                type: RECT;
31118                description { state: "default" 0.0;
31119                    rel1.offset: 1 1;
31120                    rel2.offset: -2 -2;
31121                    color: 255 255 255 0;
31122                }
31123            }
31124            part { name: "clipper";
31125                type: RECT;
31126                mouse_events: 0;
31127                description { state: "default" 0.0;
31128                    rel1.to: "bg";
31129                    rel2.to: "bg";
31130                }
31131            }
31132            part { name: "elm.swallow.content";
31133                clip_to: "clipper";
31134                type: SWALLOW;
31135                description { state: "default" 0.0;
31136                    rel1.offset: 1 1;
31137                    rel2.offset: -2 -2;
31138                }
31139            }
31140            part { name: "busy_clip";
31141                type: RECT;
31142                mouse_events: 0;
31143                description { state: "default" 0.0;
31144                    visible: 0;
31145                    color: 255 255 255 0;
31146                }
31147                description { state: "active" 0.0;
31148                    visible: 1;
31149                    color: 255 255 255 255;
31150                }
31151            }
31152            part { name: "busy";
31153                clip_to: "busy_clip";
31154                mouse_events: 0;
31155                description { state: "default" 0.0;
31156                    fixed: 1 1;
31157                    min: 32 32;
31158                    aspect: 1.0 1.0;
31159                    align: 1.0 1.0;
31160                    aspect_preference: BOTH;
31161                    rel1 {
31162                        relative: 0.9 0.9;
31163                        offset:   -9 -9;
31164                    }
31165                    rel2 {
31166                        relative: 0.9 0.9;
31167                        offset:   -9 -9;
31168                    }
31169                    image {
31170                        normal: "busy-9.png";
31171                        tween:  "busy-1.png";
31172                        tween:  "busy-2.png";
31173                        tween:  "busy-3.png";
31174                        tween:  "busy-4.png";
31175                        tween:  "busy-5.png";
31176                        tween:  "busy-6.png";
31177                        tween:  "busy-7.png";
31178                        tween:  "busy-8.png";
31179                    }
31180                }
31181            }
31182            part { name: "conf_over";
31183                mouse_events:  0;
31184                description { state: "default" 0.0;
31185                    rel1.offset: 0 0;
31186                    rel2.offset: -1 -1;
31187                    image {
31188                        normal: "shelf_inset.png";
31189                        border: 7 7 7 7;
31190                        middle: 0;
31191                    }
31192                    fill.smooth : 0;
31193                }
31194            }
31195            part { name: "sb_vbar_clip_master";
31196                type: RECT;
31197                mouse_events: 0;
31198                description { state: "default" 0.0;
31199                }
31200                description { state: "hidden" 0.0;
31201                    visible: 0;
31202                    color: 255 255 255 0;
31203                }
31204            }
31205            part { name: "sb_vbar_clip";
31206                clip_to: "sb_vbar_clip_master";
31207                type: RECT;
31208                mouse_events: 0;
31209                description { state: "default" 0.0;
31210                }
31211                description { state: "hidden" 0.0;
31212                    visible: 0;
31213                    color: 255 255 255 0;
31214                }
31215            }
31216            part { name: "sb_vbar";
31217                type: RECT;
31218                mouse_events: 0;
31219                description { state: "default" 0.0;
31220                    fixed: 1 1;
31221                    visible: 0;
31222                    min: 10 17;
31223                    align: 1.0 0.0;
31224                    rel1 {
31225                        relative: 1.0 0.0;
31226                        offset:   -2 0;
31227                    }
31228                    rel2 {
31229                        relative: 1.0 0.0;
31230                        offset:   -2 -1;
31231                        to_y:     "sb_hbar";
31232                    }
31233                }
31234            }
31235            part { name: "elm.dragable.vbar";
31236                clip_to: "sb_vbar_clip";
31237                mouse_events: 0;
31238                dragable {
31239                    x: 0 0 0;
31240                    y: 1 1 0;
31241                    confine: "sb_vbar";
31242                }
31243                description { state: "default" 0.0;
31244                    fixed: 1 1;
31245                    min: 10 17;
31246                    max: 10 99999;
31247                    rel1 {
31248                        relative: 0.5  0.5;
31249                        offset:   0    0;
31250                        to: "sb_vbar";
31251                    }
31252                    rel2 {
31253                        relative: 0.5  0.5;
31254                        offset:   0    0;
31255                        to: "sb_vbar";
31256                    }
31257                    image {
31258                        normal: "bt_sm_base2.png";
31259                        border: 6 6 6 6;
31260                        middle: SOLID;
31261                    }
31262                }
31263            }
31264            part { name: "sb_vbar_over1";
31265                clip_to: "sb_vbar_clip";
31266                mouse_events: 0;
31267                description { state: "default" 0.0;
31268                    rel1.to: "elm.dragable.vbar";
31269                    rel2.relative: 1.0 0.5;
31270                    rel2.to: "elm.dragable.vbar";
31271                    image {
31272                        normal: "bt_sm_hilight.png";
31273                        border: 6 6 6 0;
31274                    }
31275                }
31276            }
31277            part { name: "sb_vbar_over2";
31278                clip_to: "sb_vbar_clip";
31279                mouse_events: 0;
31280                description { state: "default" 0.0;
31281                    rel1.to: "elm.dragable.vbar";
31282                    rel2.to: "elm.dragable.vbar";
31283                    image {
31284                        normal: "bt_sm_shine.png";
31285                        border: 6 6 6 0;
31286                    }
31287                }
31288            }
31289
31290            part { name: "sb_hbar_clip_master";
31291                type: RECT;
31292                mouse_events: 0;
31293                description { state: "default" 0.0;
31294                }
31295                description { state: "hidden" 0.0;
31296                    visible: 0;
31297                    color: 255 255 255 0;
31298                }
31299            }
31300            part { name: "sb_hbar_clip";
31301                clip_to: "sb_hbar_clip_master";
31302                type: RECT;
31303                mouse_events: 0;
31304                description { state: "default" 0.0;
31305                }
31306                description { state: "hidden" 0.0;
31307                    visible: 0;
31308                    color: 255 255 255 0;
31309                }
31310            }
31311            part { name: "sb_hbar";
31312                type: RECT;
31313                mouse_events: 0;
31314                description { state: "default" 0.0;
31315                    fixed: 1 1;
31316                    visible: 0;
31317                    min: 17 10;
31318                    align: 0.0 1.0;
31319                    rel1 {
31320                        relative: 0.0 1.0;
31321                        offset:   0 -2;
31322                    }
31323                    rel2 {
31324                        relative: 0.0 1.0;
31325                        offset:   -1 -2;
31326                        to_x:     "sb_vbar";
31327                    }
31328                }
31329            }
31330            part { name: "elm.dragable.hbar";
31331                clip_to: "sb_hbar_clip";
31332                mouse_events: 0;
31333                dragable {
31334                    x: 1 1 0;
31335                    y: 0 0 0;
31336                    confine: "sb_hbar";
31337                }
31338                description { state: "default" 0.0;
31339                    fixed: 1 1;
31340                    min: 17 10;
31341                    max: 99999 10;
31342                    rel1 {
31343                        relative: 0.5  0.5;
31344                        offset:   0    0;
31345                        to: "sb_hbar";
31346                    }
31347                    rel2 {
31348                        relative: 0.5  0.5;
31349                        offset:   0    0;
31350                        to: "sb_hbar";
31351                    }
31352                    image {
31353                        normal: "bt_sm_base2.png";
31354                        border: 4 4 4 4;
31355                        middle: SOLID;
31356                    }
31357                }
31358            }
31359            part { name: "sb_hbar_over1";
31360                clip_to: "sb_hbar_clip";
31361                mouse_events: 0;
31362                description { state: "default" 0.0;
31363                    rel1.to: "elm.dragable.hbar";
31364                    rel2.relative: 1.0 0.5;
31365                    rel2.to: "elm.dragable.hbar";
31366                    image {
31367                        normal: "bt_sm_hilight.png";
31368                        border: 4 4 4 0;
31369                    }
31370                }
31371            }
31372            part { name: "sb_hbar_over2";
31373                clip_to: "sb_hbar_clip";
31374                mouse_events: 0;
31375                description { state: "default" 0.0;
31376                    rel1.to: "elm.dragable.hbar";
31377                    rel2.to: "elm.dragable.hbar";
31378                    image {
31379                        normal: "bt_sm_shine.png";
31380                        border: 4 4 4 0;
31381                    }
31382                }
31383            }
31384        }
31385        programs {
31386            program { name: "load";
31387                signal: "load";
31388                source: "";
31389                script {
31390                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31391                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31392                    set_int(sbvis_h, 0);
31393                    set_int(sbvis_v, 0);
31394                    set_int(sbalways_v, 0);
31395                    set_int(sbalways_h, 0);
31396                    set_int(sbvis_timer, 0);
31397                }
31398            }
31399
31400            program { name: "vbar_show";
31401                signal: "elm,action,show,vbar";
31402                source: "elm";
31403                action:  STATE_SET "default" 0.0;
31404                target: "sb_vbar_clip_master";
31405            }
31406            program { name: "vbar_hide";
31407                signal: "elm,action,hide,vbar";
31408                source: "elm";
31409                action:  STATE_SET "hidden" 0.0;
31410                target: "sb_vbar_clip_master";
31411            }
31412            program { name: "vbar_show_always";
31413                signal: "elm,action,show_always,vbar";
31414                source: "elm";
31415                script {
31416                    new v;
31417                    v = get_int(sbvis_v);
31418                    v |= get_int(sbalways_v);
31419                    if (!v) {
31420                        set_int(sbalways_v, 1);
31421                        emit("do-show-vbar", "");
31422                        set_int(sbvis_v, 1);
31423                    }
31424                }
31425            }
31426            program { name: "vbar_show_notalways";
31427                signal: "elm,action,show_notalways,vbar";
31428                source: "elm";
31429                script {
31430                    new v;
31431                    v = get_int(sbalways_v);
31432                    if (v) {
31433                        set_int(sbalways_v, 0);
31434                        v = get_int(sbvis_v);
31435                        if (!v) {
31436                            emit("do-hide-vbar", "");
31437                            set_int(sbvis_v, 0);
31438                        }
31439                    }
31440                }
31441            }
31442            program { name: "sb_vbar_show";
31443                signal: "do-show-vbar";
31444                source: "";
31445                action:  STATE_SET "default" 0.0;
31446                transition: LINEAR 0.5;
31447                target: "sb_vbar_clip";
31448            }
31449            program { name: "sb_vbar_hide";
31450                signal: "do-hide-vbar";
31451                source: "";
31452                action:  STATE_SET "hidden" 0.0;
31453                transition: LINEAR 0.5;
31454                target: "sb_vbar_clip";
31455            }
31456
31457            program { name: "hbar_show";
31458                signal: "elm,action,show,hbar";
31459                source: "elm";
31460                action:  STATE_SET "default" 0.0;
31461                target: "sb_hbar_clip_master";
31462            }
31463            program { name: "hbar_hide";
31464                signal: "elm,action,hide,hbar";
31465                source: "elm";
31466                action:  STATE_SET "hidden" 0.0;
31467                target: "sb_hbar_clip_master";
31468            }
31469            program { name: "hbar_show_always";
31470                signal: "elm,action,show_always,hbar";
31471                source: "elm";
31472                script {
31473                    new v;
31474                    v = get_int(sbvis_h);
31475                    v |= get_int(sbalways_h);
31476                    if (!v) {
31477                        set_int(sbalways_h, 1);
31478                        emit("do-show-hbar", "");
31479                        set_int(sbvis_h, 1);
31480                    }
31481                }
31482            }
31483            program { name: "hbar_show_notalways";
31484                signal: "elm,action,show_notalways,hbar";
31485                source: "elm";
31486                script {
31487                    new v;
31488                    v = get_int(sbalways_h);
31489                    if (v) {
31490                        set_int(sbalways_h, 0);
31491                        v = get_int(sbvis_h);
31492                        if (!v) {
31493                            emit("do-hide-hbar", "");
31494                            set_int(sbvis_h, 0);
31495                        }
31496                    }
31497                }
31498            }
31499            program { name: "sb_hbar_show";
31500                signal: "do-show-hbar";
31501                source: "";
31502                action:  STATE_SET "default" 0.0;
31503                transition: LINEAR 0.5;
31504                target: "sb_hbar_clip";
31505            }
31506            program { name: "sb_hbar_hide";
31507                signal: "do-hide-hbar";
31508                source: "";
31509                action:  STATE_SET "hidden" 0.0;
31510                transition: LINEAR 0.5;
31511                target: "sb_hbar_clip";
31512            }
31513
31514            program { name: "scroll";
31515                signal: "elm,action,scroll";
31516                source: "elm";
31517                script {
31518                    new v;
31519                    v = get_int(sbvis_v);
31520                    v |= get_int(sbalways_v);
31521                    if (!v) {
31522                        emit("do-show-vbar", "");
31523                        set_int(sbvis_v, 1);
31524                    }
31525                    v = get_int(sbvis_h);
31526                    v |= get_int(sbalways_h);
31527                    if (!v) {
31528                        emit("do-show-hbar", "");
31529                        set_int(sbvis_h, 1);
31530                    }
31531                    v = get_int(sbvis_timer);
31532                    if (v > 0) cancel_timer(v);
31533                    v = timer(1.0, "timer0", 0);
31534                    set_int(sbvis_timer, v);
31535                }
31536            }
31537            program { name: "go1";
31538                signal: "elm,state,busy,start";
31539                source: "elm";
31540                action: STATE_SET "active" 0.0;
31541                transition: SINUSOIDAL 1.0;
31542                target:  "busy_clip";
31543            }
31544            program { name: "go2";
31545                signal: "elm,state,busy,start";
31546                source: "elm";
31547                action: STATE_SET "default" 0.0;
31548                transition: LINEAR 0.5;
31549                target: "busy";
31550                after:  "go2";
31551            }
31552            program { name: "stop1";
31553                signal: "elm,state,busy,stop";
31554                source: "elm";
31555                action: STATE_SET "default" 0.0;
31556                transition: SINUSOIDAL 1.0;
31557                target: "busy_clip";
31558                after: "stop2";
31559            }
31560          program { name: "stop2";
31561             action: ACTION_STOP;
31562             target: "go2";
31563          }
31564       }
31565    }
31566    group { name: "elm/map/marker/radio/default";
31567         data {
31568             item: size_w 24;
31569             item: size_h 24;
31570             item: size_max_w 58;
31571             item: size_max_h 58;
31572         }
31573         images {
31574                 image: "map_item.png" COMP;
31575         }
31576         parts {
31577             part { name: "whole";
31578                 description { state: "default" 0.0;
31579                 }
31580             }
31581             part { name: "base";
31582                 ignore_flags: ON_HOLD;
31583                 description { state: "default" 0.0;
31584                     image.normal: "map_item.png";
31585                 }
31586             }
31587             part { name: "elm.icon";
31588                 type: SWALLOW;
31589                 clip_to: "whole";
31590                 mouse_events:  0;
31591                 description { state: "default" 0.0;
31592                     rel1.relative: 0.27 0.27;
31593                     rel2.relative: 0.73 0.73;
31594                 }
31595             }
31596             part { name: "elm.text";
31597                 type:          TEXT;
31598                 effect:        SOFT_SHADOW;
31599                 mouse_events:  0;
31600                 scale: 1;
31601                 description { state: "default" 0.0;
31602                     align:    0.5 0.5;
31603                     color: 224 224 224 255;
31604                     color3: 0 0 0 64;
31605                     rel1.relative: 0.28 0.25;
31606                     rel2.relative: 0.75 0.75;
31607                     text {
31608                         font:     "Sans,Edje-Vera";
31609                         size:     10;
31610                         min:      0 0;
31611                         align:    0.5 0.5;
31612                     }
31613                 }
31614             }
31615        }
31616        programs {
31617             program { name: "open";
31618                 signal: "mouse,clicked,1";
31619                 source: "base";
31620                 action: SIGNAL_EMIT "open" "elm";
31621             }
31622             program { name: "bringin";
31623                 signal: "mouse,down,1,double";
31624                 source: "base";
31625                 action: SIGNAL_EMIT "bringin" "elm";
31626             }
31627        }
31628    }
31629    group { name: "elm/map/marker/radio2/default";
31630         data {
31631             item: size_w 24;
31632             item: size_h 24;
31633             item: size_max_w 58;
31634             item: size_max_h 58;
31635         }
31636         images {
31637                 image: "map_item_2.png" COMP;
31638         }
31639         parts {
31640             part { name: "base";
31641                 ignore_flags: ON_HOLD;
31642                 description { state: "default" 0.0;
31643                     image.normal: "map_item_2.png";
31644                 }
31645             }
31646             part { name: "elm.text";
31647                 type:          TEXT;
31648                 effect:        SOFT_SHADOW;
31649                 mouse_events:  0;
31650                 scale: 1;
31651                 description { state: "default" 0.0;
31652                     align:    0.5 0.5;
31653                     color: 224 224 224 255;
31654                     color3: 0 0 0 64;
31655                     rel1.relative: 0.28 0.25;
31656                     rel2.relative: 0.75 0.75;
31657                     text {
31658                         font:     "Sans,Edje-Vera";
31659                         size:     10;
31660                         min:      0 0;
31661                         align:    0.5 0.5;
31662                     }
31663                 }
31664             }
31665        }
31666        programs {
31667             program { name: "open";
31668                 signal: "mouse,clicked,1";
31669                 source: "base";
31670                 action: SIGNAL_EMIT "open" "elm";
31671             }
31672             program { name: "bringin";
31673                 signal: "mouse,down,1,double";
31674                 source: "base";
31675                 action: SIGNAL_EMIT "bringin" "elm";
31676             }
31677        }
31678    }
31679    group { name: "elm/map/marker/empty/default";
31680         data {
31681             item: size_w 22;
31682             item: size_h 22;
31683             item: size_max_w 64;
31684             item: size_max_h 64;
31685         }
31686         parts {
31687             part { name: "whole";
31688                 description { state: "default" 0.0;
31689                 }
31690             }
31691             part { name: "base";
31692                 ignore_flags: ON_HOLD;
31693                 description { state: "default" 0.0;
31694                 }
31695             }
31696             part { name: "elm.icon";
31697                 type: SWALLOW;
31698                 clip_to: "whole";
31699                 mouse_events:  0;
31700                 description { state: "default" 0.0;
31701                 }
31702             }
31703             part { name: "elm.text";
31704                 type:          TEXT;
31705                 effect:        SOFT_SHADOW;
31706                 mouse_events:  0;
31707                 scale: 1;
31708                 description { state: "default" 0.0;
31709                     align:    0.5 0.5;
31710                     color: 224 224 224 255;
31711                     color3: 0 0 0 64;
31712                     rel1.relative: 0.28 0.25;
31713                     rel2.relative: 0.75 0.75;
31714                     text {
31715                         font:     "Sans,Edje-Vera";
31716                         size:     10;
31717                         min:      0 0;
31718                         align:    0.5 0.5;
31719                     }
31720                 }
31721             }
31722        }
31723        programs {
31724             program { name: "open";
31725                 signal: "mouse,clicked,1";
31726                 source: "base";
31727                 action: SIGNAL_EMIT "open" "elm";
31728             }
31729             program { name: "bringin";
31730                 signal: "mouse,down,1,double";
31731                 source: "base";
31732                 action: SIGNAL_EMIT "bringin" "elm";
31733             }
31734        }
31735    }
31736    group { name: "elm/map/marker_bubble/default";
31737     images {
31738       image: "bubble.png" COMP;
31739       image: "bubble_shine.png" COMP;
31740     }
31741     data {
31742             item: size_w 400;
31743             item: size_h 100;
31744         }
31745     parts {
31746     part { name: "clipper";
31747         mouse_events:  1;
31748         description { state: "default" 0.0;
31749           color: 255 255 255 0;
31750         }
31751         description { state: "show" 0.0;
31752             inherit: "default" 0.0;
31753             color: 255 255 255 255;
31754         }
31755       }
31756      part { name: "base0";
31757         mouse_events:  0;
31758         clip_to: "clipper";
31759         description { state: "default" 0.0;
31760           image {
31761             normal: "bubble.png";
31762             border: 11 36 10 19;
31763           }
31764           image.middle: SOLID;
31765           fill.smooth: 0;
31766         }
31767         description { state: "rtl" 0.0;
31768            inherit: "default" 0.0;
31769            image {
31770               normal: "bubble_4.png";
31771               border: 11 36 18 9;
31772            }
31773         }
31774       }
31775       part { name: "elm.swallow.content";
31776         type: SWALLOW;
31777         clip_to: "clipper";
31778         description { state: "default" 0.0;
31779             align: 0.5 0.5;
31780           rel1 {
31781             offset: 9 8;
31782           }
31783           rel2 {
31784             offset: -10 -17;
31785           }
31786         }
31787       }
31788       part { name: "shine";
31789         mouse_events:  0;
31790         clip_to: "clipper";
31791         description { state:    "default" 0.0;
31792           rel1 {
31793             to: "base0";
31794           }
31795           rel2 {
31796             to: "base0";
31797             relative: 1.0 0.5;
31798           }
31799           image {
31800             normal: "bubble_shine.png";
31801             border: 5 5 5 0;
31802           }
31803           fill.smooth: 0;
31804         }
31805         }
31806     }
31807     programs {
31808         program { name: "show";
31809             signal: "show";
31810             action: STATE_SET "show" 0.0;
31811             target: "clipper";
31812             transition: ACCELERATE 0.5;
31813         }
31814     }
31815   }
31816
31817 /////////////////////////////////////////////////////////////////////////////
31818 // PANES
31819 /////////////////////////////////////////////////////////////////////////////
31820   group {
31821      name: "elm/panes/vertical/default";
31822       images {
31823          image: "bt_base1.png" COMP;
31824          image: "bt_base2.png" COMP;
31825          image: "bt_hilight.png" COMP;
31826          image: "bt_shine.png" COMP;
31827          image: "bt_glow.png" COMP;
31828          image: "bt_dis_base.png" COMP;
31829          image: "bt_dis_hilight.png" COMP;
31830          image: "arrow_right.png" COMP;
31831          image: "arrow_left.png" COMP;
31832       }
31833      parts
31834        {
31835           part
31836             {
31837                name: "whole";
31838                type: RECT;
31839                mouse_events: 0;
31840                description
31841                  {
31842                     state: "default" 0.0;
31843                     visible: 0;
31844                  }
31845             }
31846
31847          //2 contents
31848           part
31849             {
31850                name: "whole_left";
31851                type: RECT;
31852                mouse_events: 0;
31853                description
31854                  {
31855                     state: "default" 0.0;
31856                     rel2.to_x: "elm.bar";
31857                     rel2.relative: 0.0 1.0;
31858                     visible: 1;
31859                  }
31860             }
31861           part
31862             {
31863                name: "elm.swallow.left";
31864                type: SWALLOW;
31865                clip_to: "whole_left";
31866                description
31867                  {
31868                     state: "default" 0.0;
31869                     rel1.to: "whole_left";
31870                     rel2.to: "whole_left";
31871                  }
31872             }
31873
31874             part
31875             {
31876                name: "whole_right";
31877                type: RECT;
31878                mouse_events: 0;
31879                description
31880                  {
31881                     state: "default" 0.0;
31882                     rel1.to_x: "elm.bar";
31883                     rel1.relative: 1.0 0.0;
31884                     visible: 1;
31885                  }
31886             }
31887           part
31888             {
31889                name: "elm.swallow.right";
31890                type: SWALLOW;
31891                clip_to: "whole_right";
31892                description
31893                  {
31894                     state: "default" 0.0;
31895                     rel1.to: "whole_right";
31896                     rel2.to: "whole_right";
31897                  }
31898             }
31899          //BAR
31900          part { name: "elm.bar";
31901             mouse_events: 1;
31902             dragable {
31903                confine: "whole";
31904                x: 1 1 1;
31905                y: 0 0 0;
31906             }
31907             description { state: "default" 0.0;
31908                max: 15 9999;
31909                min: 15 100;
31910                rel1.relative: 0.0 0.5;
31911                rel2.relative: 1.0 0.5;
31912                image {
31913                   normal: "bt_base2.png";
31914                   border: 7 7 7 7;
31915                }
31916                image.middle: SOLID;
31917             }
31918             description { state: "clicked" 0.0;
31919                inherit: "default" 0.0;
31920                image.normal: "bt_base1.png";
31921                image.middle: SOLID;
31922             }
31923             description { state: "disabled" 0.0;
31924                inherit:  "default" 0.0;
31925                image {
31926                   normal: "bt_dis_base.png";
31927                   border: 4 4 4 4;
31928                }
31929             }
31930          }
31931          part {          name: "over1";
31932             mouse_events: 0;
31933             description { state: "default" 0.0;
31934             rel1.to: "elm.bar";
31935             rel2.to: "elm.bar";
31936                rel2.relative: 1.0 0.5;
31937                image {
31938                   normal: "bt_hilight.png";
31939                   border: 7 7 7 0;
31940                }
31941             }
31942             description { state: "disabled" 0.0;
31943                inherit:  "default" 0.0;
31944                image {
31945                   normal: "bt_dis_hilight.png";
31946                   border: 4 4 4 0;
31947                }
31948             }
31949          }
31950          part { name: "over2";
31951             mouse_events: 1;
31952             repeat_events: 1;
31953             ignore_flags: ON_HOLD;
31954             description { state: "default" 0.0;
31955             rel1.to: "elm.bar";
31956             rel2.to: "elm.bar";
31957                image {
31958                   normal: "bt_shine.png";
31959                   border: 7 7 7 7;
31960                }
31961             }
31962             description { state: "disabled" 0.0;
31963                inherit:  "default" 0.0;
31964                visible: 0;
31965             }
31966          }
31967          part { name: "over3";
31968             mouse_events: 1;
31969             repeat_events: 1;
31970             description { state: "default" 0.0;
31971                color: 255 255 255 0;
31972             rel1.to: "elm.bar";
31973             rel2.to: "elm.bar";
31974                image {
31975                   normal: "bt_glow.png";
31976                   border: 12 12 12 12;
31977                }
31978                fill.smooth : 0;
31979             }
31980             description { state: "clicked" 0.0;
31981                inherit:  "default" 0.0;
31982                visible: 1;
31983                color: 255 255 255 255;
31984             }
31985          }
31986
31987          //Arrow
31988          part {
31989             name: "arrow_right";
31990             repeat_events: 1;
31991             description { state: "default" 0.0;
31992                 min: 45 45;
31993                 max: 45 45;
31994                 color: 255 255 255 0;
31995
31996                 rel1.relative: 1.0 0.5;
31997                 rel1.to_x: "elm.bar";
31998                 rel1.offset: 45/2 -45/2;
31999
32000                 rel2.relative: 1.0 0.5;
32001                 rel2.to_x: "elm.bar";
32002                 rel2.offset: 45/2 45/2;
32003
32004                 image.normal: "arrow_right.png";
32005
32006                 fixed: 1 1;
32007             }
32008             description { state: "default" 0.1;
32009                 inherit: "default" 0.0;
32010                 image.normal: "arrow_left.png";
32011             }
32012             description { state: "anim_1" 0.0;
32013                 inherit: "default" 0.0;
32014                 color: 255 255 255 200;
32015                 rel1.offset: (45/2 + 10) -45/2;
32016                 rel2.offset: (45/2 +10) 45/2;
32017             }
32018             description { state: "anim_1" 0.1;
32019                 inherit: "default" 0.0;
32020                 image.normal: "arrow_left.png";
32021                 color: 255 255 255 200;
32022                 rel1.offset: (45/2 + 10) -45/2;
32023                 rel2.offset: (45/2 +10) 45/2;
32024             }
32025             description { state: "anim_2" 0.0;
32026                 inherit: "default" 0.0;
32027                 color: 255 255 255 0;
32028                 rel1.offset: (45/2 + 20) -45/2;
32029                 rel2.offset: (45/2 + 20) 45/2;
32030             }
32031             description { state: "anim_2" 0.1;
32032                 inherit: "default" 0.0;
32033                 image.normal: "arrow_left.png";
32034                 color: 255 255 255 0;
32035                 rel1.offset: (45/2 + 20) -45/2;
32036                 rel2.offset: (45/2 + 20) 45/2;
32037             }
32038          }
32039         part {
32040             name: "arrow_left";
32041             repeat_events: 1;
32042             description { state: "default" 0.0;
32043                 min: 45 45;
32044                 max: 45 45;
32045                 color: 255 255 255 0;
32046
32047                 rel1.relative: 0.0 0.5;
32048                 rel1.to_x: "elm.bar";
32049                 rel1.offset: -45/2 -45/2;
32050
32051                 rel2.relative: 0.0 0.5;
32052                 rel2.to_x: "elm.bar";
32053                 rel2.offset: -45/2 45/2;
32054
32055                 image.normal: "arrow_left.png";
32056
32057                 fixed: 1 1;
32058             }
32059             description { state: "default" 0.1;
32060                 inherit: "default" 0.0;
32061                 image.normal: "arrow_right.png";
32062             }
32063             description { state: "anim_1" 0.0;
32064                 inherit: "default" 0.0;
32065                 color: 255 255 255 200;
32066                 rel1.offset: (-45/2 - 10) -45/2;
32067                 rel2.offset: (-45/2 - 10) 45/2;
32068             }
32069             description { state: "anim_1" 0.1;
32070                 inherit: "default" 0.0;
32071                 image.normal: "arrow_right.png";
32072                 color: 255 255 255 200;
32073                 rel1.offset: (-45/2 - 10) -45/2;
32074                 rel2.offset: (-45/2 - 10) 45/2;
32075             }
32076             description { state: "anim_2" 0.0;
32077                 inherit: "default" 0.0;
32078                 color: 255 255 255 0;
32079                 rel1.offset: (-45/2 - 20) -45/2;
32080                 rel2.offset: (-45/2 - 20) 45/2;
32081             }
32082             description { state: "anim_2" 0.1;
32083                 inherit: "default" 0.0;
32084                 image.normal: "arrow_right.png";
32085                 color: 255 255 255 0;
32086                 rel1.offset: (-45/2 - 20) -45/2;
32087                 rel2.offset: (-45/2 - 20) 45/2;
32088             }
32089          }
32090
32091        }
32092         programs {
32093          program {
32094             name:   "button_click";
32095             signal: "mouse,down,1";
32096             source: "over2";
32097             action: SIGNAL_EMIT "elm,action,press" "";
32098             after: "button_click_anim";
32099             after: "arrow_anim_start";
32100          }
32101          program {
32102             name:   "button_click_anim";
32103             action: STATE_SET "clicked" 0.0;
32104             target: "elm.bar";
32105          }
32106          program {
32107             name:   "button_unclick";
32108             signal: "mouse,up,1";
32109             source: "over2";
32110             action: SIGNAL_EMIT "elm,action,unpress" "";
32111             after: "button_unclick_anim";
32112             after: "arrow_anim_stop";
32113          }
32114          program {
32115             name:   "button_unclick_anim";
32116             action: STATE_SET "default" 0.0;
32117             target: "elm.bar";
32118          }
32119          program {
32120             name:   "button_click2";
32121             signal: "mouse,down,1";
32122             source: "over3";
32123             action: STATE_SET "clicked" 0.0;
32124             target: "over3";
32125          }
32126          program {
32127             name:   "button_unclick2";
32128             signal: "mouse,up,1";
32129             source: "over3";
32130             action: STATE_SET "default" 0.0;
32131             transition: DECELERATE 0.5;
32132             target: "over3";
32133          }
32134          program {
32135             name:   "button_unclick3";
32136             signal: "mouse,up,1";
32137             source: "over2";
32138             action: SIGNAL_EMIT "elm,action,click" "";
32139          }
32140          program {
32141             name:   "button_down_double";
32142             signal: "mouse,down,1,double";
32143             source: "over3";
32144             action: SIGNAL_EMIT "elm,action,click,double" "";
32145          }
32146
32147          //arrows animation
32148          program {
32149             name: "arrow_anim_start";
32150             script {
32151                new st[31];
32152                new Float:vl;
32153                get_state(PART:"arrow_left", st, 30, vl);
32154                if (vl == 0.0) {
32155                   run_program(PROGRAM:"arrow_anim_start_ltr");
32156                }
32157                else {
32158                   run_program(PROGRAM:"arrow_anim_start_rtl");
32159                }
32160             }
32161          }
32162          program {
32163             name: "arrow_anim_stop";
32164             script {
32165                new st[31];
32166                new Float:vl;
32167                get_state(PART:"arrow_left", st, 30, vl);
32168                if (vl == 0.0) {
32169                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32170                }
32171                else {
32172                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32173                }
32174             }
32175          }
32176
32177          program {
32178             name: "arrow_anim_start_ltr";
32179             action: STATE_SET "anim_1" 0.0;
32180             target: "arrow_right";
32181             target: "arrow_left";
32182             transition: LINEAR 0.6;
32183             after: "arrow_anim_1_ltr";
32184          }
32185          program {
32186             name: "arrow_anim_1_ltr";
32187             action: STATE_SET "anim_2" 0.0;
32188             target: "arrow_right";
32189             target: "arrow_left";
32190             transition: LINEAR 0.6;
32191             after: "arrow_anim_2_ltr";
32192          }
32193          program {
32194             name: "arrow_anim_2_ltr";
32195             action: STATE_SET "default" 0.0;
32196             target: "arrow_right";
32197             target: "arrow_left";
32198             after: "arrow_anim_start_ltr";
32199          }
32200          program {
32201             name: "arrow_anim_stop_ltr";
32202             action: ACTION_STOP;
32203             target: "arrow_anim_start_ltr";
32204             target: "arrow_anim_1_ltr";
32205             target: "arrow_anim_2_ltr";
32206             after: "arrow_anim_stop_1_ltr";
32207          }
32208          program {
32209             name: "arrow_anim_stop_1_ltr";
32210             action: STATE_SET "default" 0.0;
32211             target: "arrow_right";
32212             target: "arrow_left";
32213             transition: DECELERATE 0.4;
32214         }
32215          program {
32216             name: "arrow_anim_start_rtl";
32217             action: STATE_SET "anim_1" 0.1;
32218             target: "arrow_right";
32219             target: "arrow_left";
32220             transition: LINEAR 0.6;
32221             after: "arrow_anim_1_rtl";
32222          }
32223          program {
32224             name: "arrow_anim_1_rtl";
32225             action: STATE_SET "anim_2" 0.1;
32226             target: "arrow_right";
32227             target: "arrow_left";
32228             transition: LINEAR 0.6;
32229             after: "arrow_anim_2_rtl";
32230          }
32231          program {
32232             name: "arrow_anim_2_rtl";
32233             action: STATE_SET "default" 0.1;
32234             target: "arrow_right";
32235             target: "arrow_left";
32236             after: "arrow_anim_start_rtl";
32237          }
32238          program {
32239             name: "arrow_anim_stop_rtl";
32240             action: ACTION_STOP;
32241             target: "arrow_anim_start_rtl";
32242             target: "arrow_anim_1_rtl";
32243             target: "arrow_anim_2_rtl";
32244             after: "arrow_anim_stop_1_rtl";
32245          }
32246          program {
32247             name: "arrow_anim_stop_1_rtl";
32248             action: STATE_SET "default" 0.1;
32249             target: "arrow_right";
32250             target: "arrow_left";
32251             transition: DECELERATE 0.4;
32252         }
32253          program { name: "to_rtl";
32254             signal: "edje,state,rtl";
32255             source: "edje";
32256             script {
32257                new st[31];
32258                new Float:vl;
32259                get_state(PART:"arrow_left", st, 30, vl);
32260                if (vl == 0.0) {
32261                   set_state(PART:"arrow_left", st, 0.1);
32262                }
32263                get_state(PART:"arrow_right", st, 30, vl);
32264                if (vl == 0.0) {
32265                   set_state(PART:"arrow_right", st, 0.1);
32266                }
32267             }
32268          }
32269          program { name: "to_ltr";
32270             signal: "edje,state,ltr";
32271             source: "edje";
32272             script {
32273                new st[31];
32274                new Float:vl;
32275                get_state(PART:"arrow_left", st, 30, vl);
32276                if (vl == 0.1) {
32277                   set_state(PART:"arrow_left", st, 0.0);
32278                }
32279                get_state(PART:"arrow_right", st, 30, vl);
32280                if (vl == 0.1) {
32281                   set_state(PART:"arrow_right", st, 0.0);
32282                }
32283             }
32284          }
32285       }
32286   }
32287
32288   group {
32289      name: "elm/panes/horizontal/default";
32290       images {
32291          image: "bt_base1.png" COMP;
32292          image: "bt_base2.png" COMP;
32293          image: "bt_hilight.png" COMP;
32294          image: "bt_shine.png" COMP;
32295          image: "bt_glow.png" COMP;
32296          image: "bt_dis_base.png" COMP;
32297          image: "bt_dis_hilight.png" COMP;
32298          image: "arrow_up.png" COMP;
32299          image: "arrow_down.png" COMP;
32300       }
32301      parts
32302        {
32303           part
32304             {
32305                name: "whole";
32306                type: RECT;
32307                mouse_events: 0;
32308                description
32309                  {
32310                     state: "default" 0.0;
32311                     visible: 0;
32312                  }
32313             }
32314
32315          //2 contents
32316           part
32317             {
32318                name: "whole_left";
32319                type: RECT;
32320                mouse_events: 0;
32321                description
32322                  {
32323                     state: "default" 0.0;
32324                     rel2.to_y: "elm.bar";
32325                     rel2.relative: 1.0 0.0;
32326                     visible: 1;
32327                  }
32328             }
32329           part
32330             {
32331                name: "elm.swallow.left";
32332                type: SWALLOW;
32333                clip_to: "whole_left";
32334                description
32335                  {
32336                     state: "default" 0.0;
32337                     rel1.to: "whole_left";
32338                     rel2.to: "whole_left";
32339                  }
32340             }
32341
32342             part
32343             {
32344                name: "whole_right";
32345                type: RECT;
32346                mouse_events: 0;
32347                description
32348                  {
32349                     state: "default" 0.0;
32350                     rel1.to_y: "elm.bar";
32351                     rel1.relative: 0.0 1.0;
32352                     visible: 1;
32353                  }
32354             }
32355           part
32356             {
32357                name: "elm.swallow.right";
32358                type: SWALLOW;
32359                clip_to: "whole_right";
32360                description
32361                  {
32362                     state: "default" 0.0;
32363                     rel1.to: "whole_right";
32364                     rel2.to: "whole_right";
32365                  }
32366             }
32367          //BAR
32368          part { name: "elm.bar";
32369             mouse_events: 1;
32370             dragable {
32371                confine: "whole";
32372                x: 0 0 0;
32373                y: 1 1 1;
32374             }
32375             description { state: "default" 0.0;
32376                max: 999 15;
32377                min: 100 15;
32378                rel1.relative: 0.5 0.0;
32379                rel2.relative: 0.5 1.0;
32380                image {
32381                   normal: "bt_base2.png";
32382                   border: 7 7 7 7;
32383                }
32384                image.middle: SOLID;
32385             }
32386             description { state: "clicked" 0.0;
32387                inherit: "default" 0.0;
32388                image.normal: "bt_base1.png";
32389                image.middle: SOLID;
32390             }
32391             description { state: "disabled" 0.0;
32392                inherit:  "default" 0.0;
32393                image {
32394                   normal: "bt_dis_base.png";
32395                   border: 4 4 4 4;
32396                }
32397             }
32398          }
32399          part {          name: "over1";
32400             mouse_events: 0;
32401             description { state: "default" 0.0;
32402             rel1.to: "elm.bar";
32403             rel2.to: "elm.bar";
32404                rel2.relative: 1.0 0.5;
32405                image {
32406                   normal: "bt_hilight.png";
32407                   border: 7 7 7 0;
32408                }
32409             }
32410             description { state: "disabled" 0.0;
32411                inherit:  "default" 0.0;
32412                image {
32413                   normal: "bt_dis_hilight.png";
32414                   border: 4 4 4 0;
32415                }
32416             }
32417          }
32418          part { name: "over2";
32419             mouse_events: 1;
32420             repeat_events: 1;
32421             ignore_flags: ON_HOLD;
32422             description { state: "default" 0.0;
32423             rel1.to: "elm.bar";
32424             rel2.to: "elm.bar";
32425                image {
32426                   normal: "bt_shine.png";
32427                   border: 7 7 7 7;
32428                }
32429             }
32430             description { state: "disabled" 0.0;
32431                inherit:  "default" 0.0;
32432                visible: 0;
32433             }
32434          }
32435          part { name: "over3";
32436             mouse_events: 1;
32437             repeat_events: 1;
32438             description { state: "default" 0.0;
32439                color: 255 255 255 0;
32440             rel1.to: "elm.bar";
32441             rel2.to: "elm.bar";
32442                image {
32443                   normal: "bt_glow.png";
32444                   border: 12 12 12 12;
32445                }
32446                fill.smooth : 0;
32447             }
32448             description { state: "clicked" 0.0;
32449                inherit:  "default" 0.0;
32450                visible: 1;
32451                color: 255 255 255 255;
32452             }
32453          }
32454
32455          //Arrow
32456          part {
32457             name: "arrow_right";
32458             repeat_events: 1;
32459             description { state: "default" 0.0;
32460                 min: 45 45;
32461                 max: 45 45;
32462                 color: 255 255 255 0;
32463
32464                 rel1.relative: 0.5 1.0;
32465                 rel1.to_y: "elm.bar";
32466                 rel1.offset: -45/2 45/2;
32467
32468                 rel2.relative: 0.5 1.0;
32469                 rel2.to_y: "elm.bar";
32470                 rel2.offset: 45/2 45/2;
32471
32472                 image.normal: "arrow_down.png";
32473
32474                 fixed: 1 1;
32475             }
32476             description { state: "anim_1" 0.0;
32477                 inherit: "default" 0.0;
32478                 color: 255 255 255 200;
32479                 rel1.offset: -45/2 (45/2 +10);
32480                 rel2.offset: 45/2 (45/2 +10);
32481             }
32482             description { state: "anim_2" 0.0;
32483                 inherit: "default" 0.0;
32484                 color: 255 255 255 0;
32485                 rel1.offset: -45/2 (45/2 + 20);
32486                 rel2.offset: 45/2 (45/2 + 20);
32487             }
32488          }
32489         part {
32490             name: "arrow_left";
32491             repeat_events: 1;
32492             description { state: "default" 0.0;
32493                 min: 45 45;
32494                 max: 45 45;
32495                 color: 255 255 255 0;
32496
32497                 rel1.relative: 0.5 0.0;
32498                 rel1.to_y: "elm.bar";
32499                 rel1.offset: -45/2 -45/2;
32500
32501                 rel2.relative: 0.5 0.0;
32502                 rel2.to_y: "elm.bar";
32503                 rel2.offset: 45/2 -45/2;
32504
32505                 image.normal: "arrow_up.png";
32506
32507                 fixed: 1 1;
32508             }
32509             description { state: "anim_1" 0.0;
32510                 inherit: "default" 0.0;
32511                 color: 255 255 255 200;
32512                 rel1.offset: -45/2 (-45/2 - 10);
32513                 rel2.offset: 45/2 (-45/2 - 10);
32514             }
32515             description { state: "anim_2" 0.0;
32516                 inherit: "default" 0.0;
32517                 color: 255 255 255 0;
32518                 rel1.offset: -45/2 (-45/2 - 20);
32519                 rel2.offset: 45/2 (-45/2 - 20);
32520             }
32521          }
32522
32523        }
32524         programs {
32525          program {
32526             name:   "button_click";
32527             signal: "mouse,down,1";
32528             source: "over2";
32529             action: SIGNAL_EMIT "elm,action,press" "";
32530             after: "button_click_anim";
32531             after: "arrow_anim_start";
32532          }
32533          program {
32534             name:   "button_click_anim";
32535             action: STATE_SET "clicked" 0.0;
32536             target: "elm.bar";
32537          }
32538          program {
32539             name:   "button_unclick";
32540             signal: "mouse,up,1";
32541             source: "over2";
32542             action: SIGNAL_EMIT "elm,action,unpress" "";
32543             after: "button_unclick_anim";
32544             after: "arrow_anim_stop";
32545          }
32546          program {
32547             name:   "button_unclick_anim";
32548             action: STATE_SET "default" 0.0;
32549             target: "elm.bar";
32550          }
32551          program {
32552             name:   "button_click2";
32553             signal: "mouse,down,1";
32554             source: "over3";
32555             action: STATE_SET "clicked" 0.0;
32556             target: "over3";
32557          }
32558          program {
32559             name:   "button_unclick2";
32560             signal: "mouse,up,1";
32561             source: "over3";
32562             action: STATE_SET "default" 0.0;
32563             transition: DECELERATE 0.5;
32564             target: "over3";
32565          }
32566          program {
32567             name:   "button_unclick3";
32568             signal: "mouse,up,1";
32569             source: "over2";
32570             action: SIGNAL_EMIT "elm,action,click" "";
32571          }
32572          program {
32573             name:   "button_down_double";
32574             signal: "mouse,down,1,double";
32575             source: "over3";
32576             action: SIGNAL_EMIT "elm,action,click,double" "";
32577          }
32578
32579          //arrows animation
32580          program {
32581             name: "arrow_anim_start";
32582             action: STATE_SET "anim_1" 0.0;
32583             target: "arrow_right";
32584             target: "arrow_left";
32585             transition: LINEAR 0.6;
32586             after: "arrow_anim_1";
32587          }
32588          program {
32589             name: "arrow_anim_1";
32590             action: STATE_SET "anim_2" 0.0;
32591             target: "arrow_right";
32592             target: "arrow_left";
32593             transition: LINEAR 0.6;
32594             after: "arrow_anim_2";
32595          }
32596          program {
32597             name: "arrow_anim_2";
32598             action: STATE_SET "default" 0.0;
32599             target: "arrow_right";
32600             target: "arrow_left";
32601             after: "arrow_anim_start";
32602          }
32603          program {
32604             name: "arrow_anim_stop";
32605             action: ACTION_STOP;
32606             target: "arrow_anim_start";
32607             target: "arrow_anim_1";
32608             target: "arrow_anim_2";
32609             after: "arrow_anim_stop_1";
32610          }
32611          program {
32612             name: "arrow_anim_stop_1";
32613             action: STATE_SET "default" 0.0;
32614             target: "arrow_right";
32615             target: "arrow_left";
32616             transition: DECELERATE 0.4;
32617         }
32618       }
32619   }
32620
32621
32622
32623 /////////////////////////////////////////////////////////////////////////////
32624 // PANEL
32625 /////////////////////////////////////////////////////////////////////////////
32626   group {
32627      name: "elm/panel/base/left";
32628      alias: "elm/panel/base/top";
32629      images
32630        {
32631           image: "bt_base1.png" COMP;
32632           image: "bt_hilight.png" COMP;
32633           image: "bt_shine.png" COMP;
32634           image: "bt_glow.png" COMP;
32635           image: "bt_dis_base.png" COMP;
32636           image: "icon_arrow_left.png" COMP;
32637           image: "icon_arrow_right.png" COMP;
32638        }
32639        data {
32640           item: "focus_highlight" "on";
32641        }
32642      parts
32643        {
32644             part { name: "focus_highlight";
32645                description { state: "default" 0.0;
32646                   visible: 0;
32647                   color: 255 255 255 0;
32648                   rel1 {
32649                      to: "btn";
32650                      offset: -8 -8;
32651                   }
32652                   rel2 {
32653                      to: "btn";
32654                      offset: 7 7;
32655                   }
32656                   image {
32657                      normal: "frame_2.png";
32658                      border: 5 5 32 26;
32659                      middle: 0;
32660                   }
32661                }
32662                description { state: "enabled" 0.0;
32663                   inherit: "default" 0.0;
32664                   visible: 1;
32665                   color: 255 255 255 255;
32666                }
32667             }
32668           part
32669             {
32670                name: "bg";
32671                type: RECT;
32672                mouse_events: 0;
32673                description
32674                  {
32675                     state: "default" 0.0;
32676                     color: 255 255 255 0;
32677                     rel1.relative: 0.0 0.0;
32678                     rel1.offset: 0 0;
32679                     rel2.relative: 1.0 1.0;
32680                     rel2.offset: -1 -1;
32681                  }
32682                description
32683                  {
32684                     state: "hidden" 0.0;
32685                     inherit: "default" 0.0;
32686                     rel1.relative: -1.0 0.0;
32687                     rel1.offset: 21 0;
32688                     rel2.relative: 0.0 1.0;
32689                     rel2.offset: 20 -1;
32690                  }
32691             }
32692           part
32693             {
32694                name: "base";
32695                type: IMAGE;
32696                mouse_events: 0;
32697                description
32698                  {
32699                     state: "default" 0.0;
32700                     rel1.to: "bg";
32701                     rel2.to: "bg";
32702                     rel2.offset: -20 -1;
32703                     image
32704                       {
32705                          normal: "bt_dis_base.png";
32706                          border: 4 4 4 4;
32707                       }
32708                  }
32709             }
32710           part
32711             {
32712                name: "clipper";
32713                type: RECT;
32714                mouse_events: 0;
32715                description
32716                  {
32717                     state: "default" 0.0;
32718                     rel1
32719                       {
32720                          offset: 4 4;
32721                          to: "base";
32722                       }
32723                     rel2
32724                       {
32725                          offset: -5 -5;
32726                          to: "base";
32727                       }
32728                  }
32729             }
32730           part
32731             {
32732                name: "elm.swallow.content";
32733                type: SWALLOW;
32734                clip_to: "clipper";
32735                description
32736                  {
32737                     state: "default" 0.0;
32738                     rel1.to: "clipper";
32739                     rel2.to: "clipper";
32740                  }
32741             }
32742           part
32743             {
32744                name: "btn";
32745                type: IMAGE;
32746                mouse_events: 1;
32747                description
32748                  {
32749                     state: "default" 0.0;
32750                     max: 32 48;
32751                     fixed: 1 1;
32752                     align: 0.0 0.5;
32753                     rel1
32754                       {
32755                          relative: 1.0 0.0;
32756                          offset: -3 0;
32757                          to_x: "base";
32758                       }
32759                     rel2.to_x: "bg";
32760                     image
32761                       {
32762                          normal: "bt_base1.png";
32763                          border: 0 5 4 12;
32764                       }
32765                     fill.smooth: 0;
32766                  }
32767                description
32768                  {
32769                     state: "clicked" 0.0;
32770                     inherit: "default" 0.0;
32771                  }
32772             }
32773           part
32774             {
32775                name: "btn_over";
32776                type: IMAGE;
32777                mouse_events: 0;
32778                description
32779                  {
32780                     state: "default" 0.0;
32781                     rel1.to: "btn";
32782                     rel2
32783                       {
32784                          relative: 1.0 0.5;
32785                          to: "btn";
32786                       }
32787                     image
32788                       {
32789                          normal: "bt_hilight.png";
32790                          border: 0 7 7 0;
32791                       }
32792                  }
32793             }
32794           part
32795             {
32796                name: "btn_over2";
32797                type: IMAGE;
32798                mouse_events: 1;
32799                repeat_events: 1;
32800                ignore_flags: ON_HOLD;
32801                description
32802                  {
32803                     state: "default" 0.0;
32804                     rel1.to: "btn";
32805                     rel2.to: "btn";
32806                     image
32807                       {
32808                          normal: "bt_shine.png";
32809                          border: 0 7 7 7;
32810                     }
32811                  }
32812             }
32813           part
32814             {
32815                name: "btn_over3";
32816                type: IMAGE;
32817                mouse_events: 1;
32818                repeat_events: 1;
32819                description
32820                  {
32821                     state: "default" 0.0;
32822                     color: 255 255 255 0;
32823                     rel1.to: "btn";
32824                     rel2.to: "btn";
32825                     image
32826                       {
32827                        normal: "bt_glow.png";
32828                        border: 12 12 12 12;
32829                     }
32830                   fill.smooth: 0;
32831                }
32832              description
32833                {
32834                   state: "clicked" 0.0;
32835                   inherit: "default" 0.0;
32836                   visible: 1;
32837                   color: 255 255 255 255;
32838                }
32839             }
32840           part
32841             {
32842                name: "btn_icon";
32843                type: IMAGE;
32844                repeat_events: 1;
32845                description
32846                  {
32847                     state: "default" 0.0;
32848                     rel1.to: "btn";
32849                     rel2.to: "btn";
32850                     align: 0.5 0.5;
32851                     min: 16 16;
32852                     max: 16 16;
32853                     image.normal: "icon_arrow_left.png";
32854                  }
32855                description
32856                  {
32857                     state: "hidden" 0.0;
32858                     inherit: "default" 0.0;
32859                     image.normal: "icon_arrow_right.png";
32860                  }
32861             }
32862        }
32863      programs
32864        {
32865           program
32866             {
32867                name: "show";
32868                signal: "elm,action,show";
32869                source: "elm";
32870                action: STATE_SET "default" 0.0;
32871                target: "bg";
32872                target: "btn_icon";
32873                transition: LINEAR 0.5;
32874             }
32875           program
32876             {
32877                name: "hide";
32878                signal: "elm,action,hide";
32879                source: "elm";
32880                action: STATE_SET "hidden" 0.0;
32881                target: "bg";
32882                target: "btn_icon";
32883                transition: LINEAR 0.5;
32884             }
32885           program
32886             {
32887                name: "btn_click";
32888                signal: "mouse,down,1";
32889                source: "btn_over2";
32890                action: STATE_SET "clicked" 0.0;
32891                target: "btn";
32892             }
32893           program
32894             {
32895                name: "btn_unclick";
32896                signal: "mouse,up,1";
32897                source: "btn_over2";
32898                action: STATE_SET "default" 0.0;
32899                target: "btn";
32900             }
32901           program
32902             {
32903                name: "btn_click2";
32904                signal: "mouse,down,1";
32905                source: "btn_over3";
32906                action: STATE_SET "clicked" 0.0;
32907                target: "btn_over3";
32908             }
32909           program
32910             {
32911                name: "btn_unclick2";
32912                signal: "mouse,up,1";
32913                source: "btn_over3";
32914                action: STATE_SET "default" 0.0;
32915                transition: DECELERATE 0.5;
32916                target: "btn_over3";
32917             }
32918           program
32919             {
32920                name: "btn_unclick3";
32921                signal: "mouse,clicked,1";
32922                source: "btn_over2";
32923                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32924             }
32925          program { name: "highlight_show";
32926             signal: "elm,action,focus_highlight,show";
32927             source: "elm";
32928             action: STATE_SET "enabled" 0.0;
32929             transition: ACCELERATE 0.3;
32930             target: "focus_highlight";
32931          }
32932          program { name: "highlight_hide";
32933             signal: "elm,action,focus_highlight,hide";
32934             source: "elm";
32935             action: STATE_SET "default" 0.0;
32936             transition: DECELERATE 0.3;
32937             target: "focus_highlight";
32938          }
32939        }
32940   }
32941
32942   group {
32943      name: "elm/panel/base/right";
32944      alias: "elm/panel/base/bottom";
32945      images
32946        {
32947           image: "bt_base1.png" COMP;
32948           image: "bt_hilight.png" COMP;
32949           image: "bt_shine.png" COMP;
32950           image: "bt_glow.png" COMP;
32951           image: "bt_dis_base.png" COMP;
32952           image: "icon_arrow_left.png" COMP;
32953           image: "icon_arrow_right.png" COMP;
32954        }
32955      parts
32956        {
32957             part { name: "focus_highlight";
32958                description { state: "default" 0.0;
32959                   visible: 0;
32960                   color: 255 255 255 0;
32961                   rel1 {
32962                      to: "btn";
32963                      offset: -8 -8;
32964                   }
32965                   rel2 {
32966                      to: "btn";
32967                      offset: 7 7;
32968                   }
32969                   image {
32970                      normal: "frame_2.png";
32971                      border: 5 5 32 26;
32972                      middle: 0;
32973                   }
32974                }
32975                description { state: "enabled" 0.0;
32976                   inherit: "default" 0.0;
32977                   visible: 1;
32978                   color: 255 255 255 255;
32979                }
32980             }
32981           part
32982             {
32983                name: "bg";
32984                type: RECT;
32985                mouse_events: 0;
32986                description
32987                  {
32988                     state: "default" 0.0;
32989                     color: 255 255 255 0;
32990                     rel1.relative: 0.0 0.0;
32991                     rel1.offset: 0 0;
32992                     rel2.relative: 1.0 1.0;
32993                     rel2.offset: -1 -1;
32994                  }
32995                description
32996                  {
32997                     state: "hidden" 0.0;
32998                     inherit: "default" 0.0;
32999                     rel1.relative: 1.0 0.0;
33000                     rel1.offset: -22 0;
33001                     rel2.relative: 2.0 1.0;
33002                     rel2.offset: -23 -1;
33003                  }
33004             }
33005           part
33006             {
33007                name: "base";
33008                type: IMAGE;
33009                mouse_events: 0;
33010                description
33011                  {
33012                     state: "default" 0.0;
33013                     rel1.to: "bg";
33014                     rel1.offset: 20 0;
33015                     rel2.to: "bg";
33016                     image
33017                       {
33018                          normal: "bt_dis_base.png";
33019                          border: 4 4 4 4;
33020                       }
33021                  }
33022             }
33023           part
33024             {
33025                name: "clipper";
33026                type: RECT;
33027                mouse_events: 0;
33028                description
33029                  {
33030                     state: "default" 0.0;
33031                     rel1
33032                       {
33033                          offset: 4 4;
33034                          to: "base";
33035                       }
33036                     rel2
33037                       {
33038                          offset: -5 -5;
33039                          to: "base";
33040                       }
33041                  }
33042             }
33043           part
33044             {
33045                name: "elm.swallow.content";
33046                type: SWALLOW;
33047                clip_to: "clipper";
33048                description
33049                  {
33050                     state: "default" 0.0;
33051                     rel1.to: "clipper";
33052                     rel2.to: "clipper";
33053                  }
33054             }
33055           part
33056             {
33057                name: "btn";
33058                type: IMAGE;
33059                mouse_events: 1;
33060                description
33061                  {
33062                     state: "default" 0.0;
33063                     max: 32 48;
33064                     fixed: 1 1;
33065                     align: 1 0.5;
33066                     rel1
33067                       {
33068                          to_x: "bg";
33069                       }
33070                     rel2
33071                       {
33072                          offset: 2 0;
33073                          relative: 0.0 1;
33074                          to_x: "base";
33075                       }
33076                     image
33077                       {
33078                          normal: "bt_base1.png";
33079                          border: 5 0 4 12;
33080                       }
33081                     fill.smooth: 0;
33082                  }
33083                description
33084                  {
33085                     state: "clicked" 0.0;
33086                     inherit: "default" 0.0;
33087                  }
33088             }
33089           part
33090             {
33091                name: "btn_over";
33092                type: IMAGE;
33093                mouse_events: 0;
33094                description
33095                  {
33096                     state: "default" 0.0;
33097                     rel1.to: "btn";
33098                     rel2
33099                       {
33100                          relative: 1.0 0.5;
33101                          to: "btn";
33102                       }
33103                     image
33104                       {
33105                          normal: "bt_hilight.png";
33106                          border: 7 0 7 0;
33107                       }
33108                  }
33109             }
33110           part
33111             {
33112                name: "btn_over2";
33113                type: IMAGE;
33114                mouse_events: 1;
33115                repeat_events: 1;
33116                ignore_flags: ON_HOLD;
33117                description
33118                  {
33119                     state: "default" 0.0;
33120                     rel1.to: "btn";
33121                     rel2.to: "btn";
33122                     image
33123                       {
33124                          normal: "bt_shine.png";
33125                          border: 7 0 7 7;
33126                     }
33127                  }
33128             }
33129           part
33130             {
33131                name: "btn_over3";
33132                type: IMAGE;
33133                mouse_events: 1;
33134                repeat_events: 1;
33135                description
33136                  {
33137                     state: "default" 0.0;
33138                     color: 255 255 255 0;
33139                     rel1.to: "btn";
33140                     rel2.to: "btn";
33141                     image
33142                       {
33143                        normal: "bt_glow.png";
33144                        border: 12 12 12 12;
33145                     }
33146                   fill.smooth: 0;
33147                }
33148              description
33149                {
33150                   state: "clicked" 0.0;
33151                   inherit: "default" 0.0;
33152                   visible: 1;
33153                   color: 255 255 255 255;
33154                }
33155             }
33156           part
33157             {
33158                name: "btn_icon";
33159                type: IMAGE;
33160                repeat_events: 1;
33161                description
33162                  {
33163                     state: "default" 0.0;
33164                     rel1.to: "btn";
33165                     rel2.to: "btn";
33166                     align: 0.5 0.5;
33167                     min: 16 16;
33168                     max: 16 16;
33169                     image.normal: "icon_arrow_right.png";
33170                  }
33171                description
33172                  {
33173                     state: "hidden" 0.0;
33174                     inherit: "default" 0.0;
33175                     image.normal: "icon_arrow_left.png";
33176                  }
33177             }
33178        }
33179      programs
33180        {
33181           program
33182             {
33183                name: "show";
33184                signal: "elm,action,show";
33185                source: "elm";
33186                action: STATE_SET "default" 0.0;
33187                target: "bg";
33188                target: "btn_icon";
33189                transition: LINEAR 0.5;
33190             }
33191           program
33192             {
33193                name: "hide";
33194                signal: "elm,action,hide";
33195                source: "elm";
33196                action: STATE_SET "hidden" 0.0;
33197                target: "bg";
33198                target: "btn_icon";
33199                transition: LINEAR 0.5;
33200             }
33201           program
33202             {
33203                name: "btn_click";
33204                signal: "mouse,down,1";
33205                source: "btn_over2";
33206                action: STATE_SET "clicked" 0.0;
33207                target: "btn";
33208             }
33209           program
33210             {
33211                name: "btn_unclick";
33212                signal: "mouse,up,1";
33213                source: "btn_over2";
33214                action: STATE_SET "default" 0.0;
33215                target: "btn";
33216             }
33217           program
33218             {
33219                name: "btn_click2";
33220                signal: "mouse,down,1";
33221                source: "btn_over3";
33222                action: STATE_SET "clicked" 0.0;
33223                target: "btn_over3";
33224             }
33225           program
33226             {
33227                name: "btn_unclick2";
33228                signal: "mouse,up,1";
33229                source: "btn_over3";
33230                action: STATE_SET "default" 0.0;
33231                transition: DECELERATE 0.5;
33232                target: "btn_over3";
33233             }
33234           program
33235             {
33236                name: "btn_unclick3";
33237                signal: "mouse,up,1";
33238                source: "btn_over2";
33239                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33240             }
33241          program { name: "highlight_show";
33242             signal: "elm,action,focus";
33243             source: "elm";
33244             action: STATE_SET "enabled" 0.0;
33245             transition: ACCELERATE 0.3;
33246             target: "focus_highlight";
33247          }
33248          program { name: "highlight_hide";
33249             signal: "elm,action,unfocus";
33250             source: "elm";
33251             action: STATE_SET "default" 0.0;
33252             transition: DECELERATE 0.3;
33253             target: "focus_highlight";
33254          }
33255        }
33256   }
33257
33258 ///////////////////////////////////////////////////////////////////////////////
33259   group { name: "elm/conformant/base/default";
33260      parts {
33261         part { name: "elm.swallow.shelf";
33262            type: SWALLOW;
33263            description { state: "default" 0.0;
33264               fixed: 1 1;
33265               align: 0.0 0.0;
33266               rel2.relative: 1.0 0.0;
33267            }
33268         }
33269         part { name: "elm.swallow.content";
33270            type: SWALLOW;
33271            description { state: "default" 0.0;
33272               align: 0.5 0.5;
33273               rel1.relative: 0.0 1.0;
33274               rel1.to_y: "elm.swallow.shelf";
33275               rel2.relative: 1.0 0.0;
33276               rel2.to_y: "elm.swallow.panel";
33277            }
33278         }
33279         part { name: "elm.swallow.panel";
33280            type: SWALLOW;
33281            description { state: "default" 0.0;
33282               fixed: 1 1;
33283               align: 0.0 1.0;
33284               rel1.relative: 0.0 1.0;
33285            }
33286         }
33287      }
33288   }
33289
33290 /////////////////////////////////////////////////////////////////////////////
33291 // CALENDAR
33292 /////////////////////////////////////////////////////////////////////////////
33293 #define CH(_pos) \
33294          part { name: "ch_"#_pos".base"; \
33295             type: RECT; \
33296             description { state: "default" 0.0; \
33297                rel1 { \
33298                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33299                   to: "header"; \
33300                } \
33301                rel2 { \
33302                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33303                   to: "header"; \
33304                } \
33305                color: 0 0 0 0; \
33306                visible: 0; \
33307             } \
33308          } \
33309          part { name: "ch_"#_pos".text"; \
33310             type: TEXT; \
33311             effect: SOFT_SHADOW; \
33312             mouse_events: 0; \
33313             scale: 1; \
33314             clip_to: "ch_"#_pos".clipper"; \
33315             description { \
33316                state: "default" 0.0; \
33317                rel1.to: "ch_"#_pos".base"; \
33318                rel2.to: "ch_"#_pos".base"; \
33319                color: 0 0 0 255; \
33320                color3: 0 0 0 0; \
33321                text { \
33322                   font: "Sans"; \
33323                   size: 10; \
33324                   min: 1 1; \
33325                   align: 0.5 0.5; \
33326                } \
33327             } \
33328          } \
33329          part { name: "ch_"#_pos".clipper"; \
33330             type: RECT; \
33331             description { state: "default" 0.0; \
33332                rel1.to: "ch_"#_pos".base"; \
33333                rel2.to: "ch_"#_pos".base"; \
33334             } \
33335          }
33336
33337 #define CIT(_pos) \
33338          part { name: "cit_"#_pos".rect"; \
33339             type: RECT; \
33340             description { state: "default" 0.0; \
33341                rel1 { \
33342                   relative: (_pos % 7 * 7 / 8 / 6) \
33343                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33344                   to: "base"; \
33345                } \
33346                rel2 { \
33347                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33348                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33349                   to: "base"; \
33350                } \
33351                color: 0 0 0 0; \
33352                visible: 0; \
33353             } \
33354          } \
33355          part { \
33356             name: "cit_"#_pos".event"; \
33357             type: RECT; \
33358             repeat_events: 1; \
33359             description { \
33360                rel1.to: "cit_"#_pos".rect"; \
33361                rel2.to: "cit_"#_pos".rect"; \
33362                state: "default" 0.0; \
33363                color: 0 0 0 0; \
33364             } \
33365          } \
33366          part { name: "cit_"#_pos".shelf"; \
33367             type: RECT; \
33368             mouse_events: 0; \
33369             description { state: "default" 0.0; \
33370                rel1 { \
33371                   to: "cit_"#_pos".bg"; \
33372                   offset: -1 -1; \
33373                } \
33374                rel2 { \
33375                   to: "cit_"#_pos".bg"; \
33376                } \
33377                color: 200 200 200 255; \
33378             } \
33379          } \
33380          part { name: "cit_"#_pos".hd"; \
33381             type: RECT; \
33382             mouse_events: 0; \
33383             description { state: "default" 0.0; \
33384                rel1 { \
33385                   to: "cit_"#_pos".bg"; \
33386                   offset: -1 -1; \
33387                } \
33388                rel2 { \
33389                   to: "cit_"#_pos".bg"; \
33390                } \
33391                visible: 0; \
33392                color: 160 0 0 255; \
33393             } \
33394             description { state: "visible" 0.0; \
33395                inherit: "default" 0.0; \
33396                visible: 1; \
33397             } \
33398          } \
33399          part { \
33400             name: "cit_"#_pos".base_sh"; \
33401             mouse_events: 0; \
33402             description { \
33403                state: "default" 0.0; \
33404                align: 0.0 0.0; \
33405                min: 0 1; \
33406                rel1 { \
33407                   to: "cit_"#_pos".base"; \
33408                   relative: 0.0 1.0; \
33409                   offset: 0 0; \
33410                } \
33411                rel2 { \
33412                   to: "cit_"#_pos".base"; \
33413                   relative: 1.0 1.05; \
33414                   offset: -1 0; \
33415                } \
33416                image { \
33417                   normal: "ilist_item_shadow.png"; \
33418                } \
33419                fill.smooth: 0; \
33420             } \
33421          } \
33422          part { \
33423             name: "cit_"#_pos".base"; \
33424             mouse_events: 0; \
33425             description { \
33426                state: "default" 0.0; \
33427                rel1.to: "cit_"#_pos".rect"; \
33428                rel2.to: "cit_"#_pos".rect"; \
33429                rel2.offset: -1 -1; \
33430                image { \
33431                   normal: "ilist_1.png"; \
33432                   border: 2 2 2 2; \
33433                } \
33434                fill.smooth: 0; \
33435             } \
33436             description { \
33437                state: "today" 0.0; \
33438                inherit: "default" 0.0; \
33439                image.normal: "ilist_2.png"; \
33440                color: 240 240 240 255; \
33441             } \
33442          } \
33443          part { name: "cit_"#_pos".bg"; \
33444             mouse_events: 0; \
33445             description { state: "default" 0.0; \
33446                visible: 0; \
33447                color: 255 255 255 0; \
33448                rel1 { \
33449                   to: "cit_"#_pos".rect"; \
33450                   relative: 0.0 0.0; \
33451                } \
33452                rel2 { \
33453                   to: "cit_"#_pos".rect"; \
33454                   relative: 1.0 1.0; \
33455                   offset: -1 -1; \
33456                } \
33457                image { \
33458                   normal: "bt_sm_base1.png"; \
33459                   border: 6 6 6 6; \
33460                } \
33461                image.middle: SOLID; \
33462             } \
33463             description { state: "selected" 0.0; \
33464                inherit: "default" 0.0; \
33465                visible: 1; \
33466                color: 255 255 255 255; \
33467             } \
33468          } \
33469          part { name: "cit_"#_pos".text"; \
33470             type: TEXT; \
33471             effect: SOFT_SHADOW; \
33472             mouse_events: 0; \
33473             scale: 1; \
33474             description { \
33475                state: "default" 0.0; \
33476                rel1.to: "cit_"#_pos".bg"; \
33477                rel2.to: "cit_"#_pos".bg"; \
33478                color: 0 0 0 255; \
33479                color3: 0 0 0 0; \
33480                text { \
33481                   font: "Sans"; \
33482                   size: 10; \
33483                   min: 1 1; \
33484                   align: 0.5 0.5; \
33485                } \
33486             } \
33487             description { state: "selected" 0.0; \
33488                inherit: "default" 0.0; \
33489                color: 224 224 224 255; \
33490                color3: 0 0 0 64; \
33491             } \
33492          } \
33493          part { name: "cit_"#_pos".fg1"; \
33494             mouse_events: 0; \
33495             description { state: "default" 0.0; \
33496                visible: 0; \
33497                color: 255 255 255 0; \
33498                rel1.to: "cit_"#_pos".bg"; \
33499                rel2.relative: 1.0 0.5; \
33500                rel2.to: "cit_"#_pos".bg"; \
33501                image { \
33502                   normal: "bt_sm_hilight.png"; \
33503                   border: 6 6 6 0; \
33504                } \
33505             } \
33506             description { state: "selected" 0.0; \
33507                inherit: "default" 0.0; \
33508                visible: 1; \
33509                color: 255 255 255 255; \
33510             } \
33511          } \
33512          part { name: "cit_"#_pos".fg2"; \
33513             mouse_events: 0; \
33514             description { state: "default" 0.0; \
33515                visible: 0; \
33516                color: 255 255 255 0; \
33517                rel1.to: "cit_"#_pos".bg"; \
33518                rel2.to: "cit_"#_pos".bg"; \
33519                image { \
33520                   normal: "bt_sm_shine.png"; \
33521                   border: 6 6 6 0; \
33522                } \
33523             } \
33524             description { state: "selected" 0.0; \
33525                inherit: "default" 0.0; \
33526                visible: 1; \
33527                color: 255 255 255 255; \
33528             } \
33529          } \
33530          part { name: "cit_"#_pos".check"; \
33531             mouse_events: 0; \
33532             description { state: "default" 0.0; \
33533                rel1 { \
33534                   to: "cit_"#_pos".bg"; \
33535                   relative: 0.7 0.6; \
33536                   offset: 1 1; \
33537                } \
33538                rel2 { \
33539                   to: "cit_"#_pos".bg"; \
33540                   relative: 1.1 1.2; \
33541                   offset: -2 -2; \
33542                } \
33543                aspect: 1 1; \
33544                visible: 0; \
33545                color: 255 0 0 255; \
33546                image.normal: "check.png"; \
33547             } \
33548             description { state: "visible" 0.0; \
33549                inherit: "default" 0.0; \
33550                visible: 1; \
33551             } \
33552          } \
33553       programs { \
33554          program { \
33555             name:    "cit_"#_pos".go_active"; \
33556             signal:  "cit_"#_pos",selected"; \
33557             source:  "elm"; \
33558             action:  STATE_SET "selected" 0.0; \
33559             target:  "cit_"#_pos".bg"; \
33560             target:  "cit_"#_pos".fg1"; \
33561             target:  "cit_"#_pos".fg2"; \
33562             target:  "cit_"#_pos".text"; \
33563          } \
33564          program { \
33565             name:    "cit_"#_pos".go_passive"; \
33566             signal:  "cit_"#_pos",unselected"; \
33567             source:  "elm"; \
33568             action:  STATE_SET "default" 0.0; \
33569             target:  "cit_"#_pos".bg"; \
33570             target:  "cit_"#_pos".fg1"; \
33571             target:  "cit_"#_pos".fg2"; \
33572             target:  "cit_"#_pos".text"; \
33573          } \
33574          program { \
33575             name:    "cit_"#_pos".is_today"; \
33576             signal:  "cit_"#_pos",today"; \
33577             source:  "elm"; \
33578             action:  STATE_SET "today" 0.0; \
33579             target: "cit_"#_pos".base"; \
33580          } \
33581          program { \
33582             name:    "cit_"#_pos".not_today"; \
33583             signal:  "cit_"#_pos",not_today"; \
33584             source:  "elm"; \
33585             action:  STATE_SET "default" 0.0; \
33586             target: "cit_"#_pos".base"; \
33587          } \
33588          program { \
33589             source: "cit_"#_pos".clicked"; \
33590             signal: "mouse,clicked,1"; \
33591             source: "cit_"#_pos".event"; \
33592             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33593          } \
33594          program { \
33595             name:    "cit_"#_pos".clear"; \
33596             signal:  "cit_"#_pos",clear"; \
33597             source:  "elm"; \
33598             action:  STATE_SET "default" 0.0; \
33599             target: "cit_"#_pos".check"; \
33600             target: "cit_"#_pos".hd"; \
33601          } \
33602          program { \
33603             name:    "cit_"#_pos".checked"; \
33604             signal:  "cit_"#_pos",checked"; \
33605             source:  "elm"; \
33606             action:  STATE_SET "visible" 0.0; \
33607             target: "cit_"#_pos".check"; \
33608          } \
33609          program { \
33610             name:    "cit_"#_pos".holiday"; \
33611             signal:  "cit_"#_pos",holiday"; \
33612             source:  "elm"; \
33613             action:  STATE_SET "visible" 0.0; \
33614             target: "cit_"#_pos".hd"; \
33615          } \
33616       }
33617
33618    group { name: "elm/calendar/base/default";
33619        images {
33620            image: "shelf_inset.png" COMP;
33621            image: "bt_base1.png" COMP;
33622            image: "bt_hilight.png" COMP;
33623            image: "bt_shine.png" COMP;
33624            image: "bt_glow.png" COMP;
33625            image: "bt_dis_base.png" COMP;
33626            image: "bt_dis_hilight.png" COMP;
33627            image: "sp_bt_l.png" COMP;
33628            image: "sp_bt_r.png" COMP;
33629            image: "bt_sm_base1.png" COMP;
33630            image: "bt_sm_shine.png" COMP;
33631            image: "bt_sm_hilight.png" COMP;
33632            image: "ilist_1.png" COMP;
33633            image: "ilist_2.png" COMP;
33634            image: "ilist_item_shadow.png" COMP;
33635            image: "check.png" COMP;
33636        }
33637        parts {
33638            part { name: "bg";
33639                type: RECT;
33640                description { state: "default" 0.0;
33641                    min: 0 30;
33642                    rel1.offset: 1 1;
33643                    rel2.offset: -2 -2;
33644                    color: 255 255 255 0;
33645                    align: 0.0 0.5;
33646                }
33647            }
33648            part { name: "spinner-base";
33649                type: RECT;
33650                mouse_events: 0;
33651                description { state: "default" 0.0;
33652                    min: 24 24;
33653                    max: 999999 24;
33654                    rel1.to: "bg";
33655                    rel1.offset: 6 6;
33656                    rel2.to: "bg";
33657                    rel2.offset: -7 -7;
33658                    color: 255 255 255 0;
33659                    align: 0.0 0.0;
33660                }
33661            }
33662            part { name: "conf_over_spinner";
33663                mouse_events:  0;
33664                description { state: "default" 0.0;
33665                    rel1.to: "spinner-base";
33666                    rel1.offset: -3 -3;
33667                    rel2.to: "spinner-base";
33668                    rel2.offset: 2 2;
33669                    image {
33670                        normal: "shelf_inset.png";
33671                        border: 7 7 7 7;
33672                        middle: 0;
33673                    }
33674                    fill.smooth : 0;
33675                }
33676            }
33677            part { name: "table-base";
33678                type: RECT;
33679                mouse_events: 0;
33680                description { state: "default" 0.0;
33681                    min: 256 220;
33682                    rel1.to_x: "bg";
33683                    rel1.to_y: "spinner-base";
33684                    rel1.offset: 6 6;
33685                    rel1.relative: 0 1;
33686                    rel2.to: "bg";
33687                    rel2.offset: -7 -7;
33688                    color: 255 255 255 0;
33689                }
33690            }
33691            part { name: "conf_over_table";
33692                mouse_events:  0;
33693                description { state: "default" 0.0;
33694                    rel1.to: "table-base";
33695                    rel1.offset: -3 -3;
33696                    rel2.to: "table-base";
33697                    rel2.offset: 2 2;
33698                    image {
33699                        normal: "shelf_inset.png";
33700                        border: 7 7 7 7;
33701                        middle: 0;
33702                    }
33703                    fill.smooth : 0;
33704                }
33705            }
33706            part { name: "header";
33707                type: RECT;
33708                mouse_events: 0;
33709                description { state: "default" 0.0;
33710                    rel1.to: "table-base";
33711                    rel1.relative: 0 0;
33712                    rel2.to: "table-base";
33713                    rel2.relative: 1 0.1;
33714                    color: 255 255 255 0;
33715                }
33716            }
33717            part { name: "base";
33718                type: RECT;
33719                mouse_events: 0;
33720                description { state: "default" 0.0;
33721                    rel1.to_x: "table-base";
33722                    rel1.to_y: "header";
33723                    rel1.relative: 0 1;
33724                    rel1.offset: 3 0;
33725                    rel2.to: "table-base";
33726                    rel2.offset: -3 0;
33727                    color: 255 255 255 0;
33728                }
33729            }
33730            part { name: "left_bt";
33731                mouse_events:  1;
33732                description { state: "default" 0.0;
33733                    rel1 { to: "spinner-base";
33734                        offset: 2 2;
33735                    }
33736                    rel2 { to: "spinner-base";
33737                        offset: -3 -3;
33738                    }
33739                    align: 0.0 0.5;
33740                    min: 24 24;
33741                    max: 24 24;
33742                    fixed: 1 1;
33743                    image {
33744                        normal: "bt_base1.png";
33745                        border: 6 6 6 6;
33746                    }
33747                    fill.smooth : 0;
33748                }
33749                description { state: "clicked" 0.0;
33750                    inherit: "default" 0.0;
33751                    image.normal: "bt_base1.png";
33752                    image.middle: SOLID;
33753                }
33754            }
33755            part { name: "left_over1";
33756                mouse_events: 0;
33757                description { state: "default" 0.0;
33758                    rel1.to: "left_bt";
33759                    rel2 { to: "left_bt";
33760                        relative: 1.0 0.5;
33761                    }
33762                    image {
33763                        normal: "bt_hilight.png";
33764                        border: 7 7 7 0;
33765                    }
33766                }
33767            }
33768            part { name: "left_over2";
33769                mouse_events: 1;
33770                repeat_events: 1;
33771                description { state: "default" 0.0;
33772                    rel1.to: "left_bt";
33773                    rel2.to: "left_bt";
33774                    image {
33775                        normal: "bt_shine.png";
33776                        border: 7 7 7 7;
33777                    }
33778                }
33779            }
33780            part { name: "left_over3";
33781                mouse_events: 1;
33782                repeat_events: 1;
33783                description { state: "default" 0.0;
33784                    color: 255 255 255 0;
33785                    rel1.to: "left_bt";
33786                    rel2.to: "left_bt";
33787                    image {
33788                        normal: "bt_glow.png";
33789                        border: 12 12 12 12;
33790                    }
33791                    fill.smooth : 0;
33792                }
33793                description { state: "clicked" 0.0;
33794                    inherit:  "default" 0.0;
33795                    visible: 1;
33796                    color: 255 255 255 255;
33797                }
33798            }
33799            part { name: "right_bt";
33800                mouse_events:  1;
33801                description { state: "default" 0.0;
33802                    rel1 { to: "spinner-base";
33803                        offset: -27 3;
33804                    }
33805                    rel2 { to: "spinner-base";
33806                        offset: -3 -3;
33807                    }
33808                    align: 1.0 0.5;
33809                    min: 24 24;
33810                    max: 24 24;
33811                    fixed: 1 1;
33812                    image {
33813                        normal: "bt_base1.png";
33814                        border: 5 5 4 12;
33815                    }
33816                    fill.smooth : 0;
33817                }
33818                description { state: "clicked" 0.0;
33819                    inherit: "default" 0.0;
33820                    image.normal: "bt_base1.png";
33821                    image.middle: SOLID;
33822                }
33823            }
33824            part { name: "right_over1";
33825                mouse_events: 0;
33826                description { state: "default" 0.0;
33827                    rel1.to: "right_bt";
33828                    rel2 { to: "right_bt";
33829                        relative: 1.0 0.5;
33830                    }
33831                    image {
33832                        normal: "bt_hilight.png";
33833                        border: 7 7 7 0;
33834                    }
33835                }
33836            }
33837            part { name: "right_over2";
33838                mouse_events: 1;
33839                repeat_events: 1;
33840                description { state: "default" 0.0;
33841                    rel1.to: "right_bt";
33842                    rel2.to: "right_bt";
33843                    image {
33844                        normal: "bt_shine.png";
33845                        border: 7 7 7 7;
33846                    }
33847                }
33848            }
33849            part { name: "right_over3";
33850                mouse_events: 1;
33851                repeat_events: 1;
33852                description { state: "default" 0.0;
33853                    color: 255 255 255 0;
33854                    rel1.to: "right_bt";
33855                    rel2.to: "right_bt";
33856                    image {
33857                        normal: "bt_glow.png";
33858                        border: 12 12 12 12;
33859                    }
33860                    fill.smooth : 0;
33861                }
33862                description { state: "clicked" 0.0;
33863                    inherit:  "default" 0.0;
33864                    visible: 1;
33865                    color: 255 255 255 255;
33866                }
33867            }
33868            part { name: "left_bt_icon";
33869                repeat_events: 1;
33870                description { state: "default" 0.0;
33871                    rel1.to: "left_bt";
33872                    rel2.to: "left_bt";
33873                    align: 0.5 0.5;
33874                    min: 16 16;
33875                    max: 16 16;
33876                    image.normal: "sp_bt_l.png";
33877                }
33878                description { state: "rtl" 0.0;
33879                    inherit: "default" 0.0;
33880                    image.normal: "sp_bt_r.png";
33881                }
33882            }
33883            part { name: "right_bt_icon";
33884                repeat_events: 1;
33885                description { state: "default" 0.0;
33886                    rel1.to: "right_bt";
33887                    rel2.to: "right_bt";
33888                    align: 0.5 0.5;
33889                    min: 16 16;
33890                    max: 16 16;
33891                    image.normal: "sp_bt_r.png";
33892                }
33893                description { state: "rtl" 0.0;
33894                    inherit: "default" 0.0;
33895                    image.normal: "sp_bt_l.png";
33896                }
33897            }
33898            part { name: "month_text";
33899                type: TEXT;
33900                mouse_events: 0;
33901                scale: 1;
33902                description { state: "default" 0.0;
33903                    align: 0 0.5;
33904                    fixed: 1 1;
33905                    rel1 { relative: 1.0 0.0;
33906                        offset: 3 2;
33907                        to: "left_bt";
33908                        to_y: "spinner-base";
33909                    }
33910                    rel2 { relative: 0.0 1.0;
33911                        offset: -3 -2;
33912                        to_x: "right_bt";
33913                        to_y: "spinner-base";
33914                    }
33915                    color: 0 0 0 255;
33916                    text {
33917                        font: "Sans,Edje-Vera";
33918                        size: 12;
33919                        min: 1 1;
33920                        align: 0.5 0.5;
33921                    }
33922                }
33923            }
33924            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33925            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33926            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33927            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33928            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33929            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33930            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33931        }
33932        programs {
33933            program { name: "dec_start";
33934                signal: "mouse,down,1";
33935                source: "left_bt";
33936                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33937            }
33938            program { name: "dec_stop";
33939                signal: "mouse,up,1";
33940                source: "left_bt";
33941                action: SIGNAL_EMIT "elm,action,stop" "";
33942            }
33943            program { name: "inc_start";
33944                signal: "mouse,down,1";
33945                source: "right_bt";
33946                action: SIGNAL_EMIT "elm,action,increment,start" "";
33947            }
33948            program { name: "inc_stop";
33949                signal: "mouse,up,1";
33950                source: "right_bt";
33951                action: SIGNAL_EMIT "elm,action,stop" "";
33952            }
33953            program {
33954                name:   "left_bt_click";
33955                signal: "mouse,down,1";
33956                source: "left_over2";
33957                action: STATE_SET "clicked" 0.0;
33958                target: "left_bt";
33959            }
33960            program {
33961                name:   "left_bt_unclick";
33962                signal: "mouse,up,1";
33963                source: "left_over2";
33964                action: STATE_SET "default" 0.0;
33965                target: "left_bt";
33966            }
33967            program {
33968                name:   "left_bt_click2";
33969                signal: "mouse,down,1";
33970                source: "left_over3";
33971                action: STATE_SET "clicked" 0.0;
33972                target: "left_over3";
33973            }
33974            program {
33975                name:   "left_bt_unclick2";
33976                signal: "mouse,up,1";
33977                source: "left_over3";
33978                action: STATE_SET "default" 0.0;
33979                transition: DECELERATE 0.5;
33980                target: "left_over3";
33981            }
33982            program {
33983                name:   "right_bt_click";
33984                signal: "mouse,down,1";
33985                source: "right_over2";
33986                action: STATE_SET "clicked" 0.0;
33987                target: "right_bt";
33988            }
33989            program {
33990                name:   "right_bt_unclick";
33991                signal: "mouse,up,1";
33992                source: "right_over2";
33993                action: STATE_SET "default" 0.0;
33994                target: "right_bt";
33995            }
33996            program {
33997                name:   "right_bt_click2";
33998                signal: "mouse,down,1";
33999                source: "right_over3";
34000                action: STATE_SET "clicked" 0.0;
34001                target: "right_over3";
34002            }
34003            program {
34004                name:   "right_bt_unclick2";
34005                signal: "mouse,up,1";
34006                source: "right_over3";
34007                action: STATE_SET "default" 0.0;
34008                transition: DECELERATE 0.5;
34009                target: "right_over3";
34010            }
34011            program { name: "to_rtl";
34012                signal: "edje,state,rtl";
34013                source: "edje";
34014                action: STATE_SET "rtl" 0.0;
34015                target: "right_bt_icon";
34016                target: "left_bt_icon";
34017            }
34018            program { name: "to_ltr";
34019                signal: "edje,state,ltr";
34020                source: "edje";
34021                action: STATE_SET "default" 0.0;
34022                target: "right_bt_icon";
34023                target: "left_bt_icon";
34024            }
34025        }
34026    }
34027
34028 #undef CIT
34029 #undef CH
34030
34031 ////////////////////////////////////////////////////////////////////////////////
34032 // colorselector
34033 ////////////////////////////////////////////////////////////////////////////////
34034    group { name: "elm/colorselector/bg/default";
34035       parts {
34036          part { name: "elm.colorbar_0";
34037             type: SWALLOW;
34038             mouse_events: 1;
34039             description { state: "default" 0.0;
34040                min: 120 30;
34041                rel1.relative: 0.0 0.00653594771;
34042                rel2.relative: 1.0 0.254901961;
34043             }
34044          }
34045          part { name: "elm.colorbar_1";
34046             type: SWALLOW;
34047             mouse_events: 1;
34048             description { state: "default" 0.0;
34049                min: 120 30;
34050                rel1.relative: 0.0 0.254901961;
34051                rel2.relative: 1.0 0.503267974;
34052             }
34053          }
34054          part { name: "elm.colorbar_2";
34055             type: SWALLOW;
34056             mouse_events: 1;
34057             description { state: "default" 0.0;
34058                min: 120 30;
34059                rel1.relative: 0.0 0.503267974;
34060                rel2.relative: 1.0 0.751633987;
34061             }
34062          }
34063          part { name: "elm.colorbar_3";
34064             type: SWALLOW;
34065             mouse_events: 1;
34066             description { state: "default" 0.0;
34067                min: 120 30;
34068                rel1.relative: 0.0 0.751633987;
34069                rel2.relative: 1.0 1.0;
34070             }
34071          }
34072       }
34073    }
34074
34075    group { name: "elm/colorselector/base/default";
34076       parts {
34077          part { name: "elm.bar_bg";
34078             type: SWALLOW;
34079             mouse_events: 0;
34080             description { state: "default" 0.0;
34081                min: 60 22;
34082                rel1 {
34083                   relative: 0.0 0.8;
34084                   to_x: "elm.arrow_bg";
34085                   to_y: "elm.arrow_icon";
34086                   offset: 0 0;
34087                }
34088                rel2 {
34089                   relative: 1.0 0.83;
34090                   to_x: "elm.arrow_bg";
34091                   offset: 0 0;
34092                }
34093             }
34094          }
34095          part { name: "elm.bar";
34096             type: SWALLOW;
34097             mouse_events: 0;
34098             description { state: "default" 0.0;
34099                rel1.to: "elm.bar_bg";
34100                rel2.to: "elm.bar_bg";
34101             }
34102          }
34103          part { name: "elm.arrow_bg";
34104             type: SWALLOW;
34105             mouse_events: 1;
34106             description { state: "default" 0.0;
34107                rel1 {
34108                   relative: 1.0 0.17;
34109                   offset: 3 0;
34110                   to_x: "elm.l_button";
34111                }
34112                rel2 {
34113                   relative: 0.0 0.83;
34114                      offset: -4 0;
34115                   to_x: "elm.r_button";
34116                }
34117             }
34118          }
34119          part { name: "elm.arrow";
34120             type: RECT;
34121             mouse_events: 1;
34122             scale: 1;
34123             description { state: "default" 0.0;
34124                min: 1 1;
34125                fixed: 1 1;
34126                align: 0 0;
34127                rel1 {
34128                   to_x: "elm.arrow_bg";
34129                }
34130                rel2 {
34131                   relative: 0.0 0.17;
34132                   to_x: "elm.arrow_bg";
34133                }
34134                color: 0 0 0 0;
34135                visible: 0;
34136             }
34137             dragable {
34138                confine: "elm.arrow_bg";
34139                x: 1 1 0;
34140                y: 0 0 0;
34141             }
34142          }
34143          part { name: "elm.arrow_icon";
34144             type: SWALLOW;
34145             mouse_events: 0;
34146             description { state: "default" 0.0;
34147                min: 25 15;
34148                max: 25 15;
34149                fixed: 1 1;
34150                align: 0.5 0;
34151                rel1 {
34152                   to_x: "elm.arrow";
34153                }
34154                rel2 {
34155                   relative: 1.0 0.0;
34156                   offset: 0 10;
34157                   to_x: "elm.arrow";
34158                }
34159             }
34160          }
34161          part { name: "event";
34162             type: RECT;
34163             mouse_events: 1;
34164             description { state: "default" 0.0;
34165                rel1 {
34166                   to: "elm.arrow_icon";
34167                }
34168                rel2 {
34169                   to_x: "elm.arrow_icon";
34170                   to_y: "elm.arrow_bg";
34171                   offset: 0 0;
34172                }
34173                color: 0 0 0 0;
34174             }
34175             dragable {
34176                events: "elm.arrow";
34177             }
34178          }
34179          part { name: "elm.l_button";
34180             type: SWALLOW;
34181             mouse_events: 1;
34182             scale: 1;
34183             description { state: "default" 0.0;
34184                min: 24 24;
34185                fixed: 1 1;
34186                rel1 {
34187                   relative: 0.0 0.0;
34188                   to_y: "elm.bar_bg";
34189                }
34190                rel2 {
34191                   relative: 0.0 1.0;
34192                   to_y: "elm.bar_bg";
34193                }
34194                align: 0.0 0.5;
34195             }
34196          }
34197          part { name: "elm.r_button";
34198             type: SWALLOW;
34199             mouse_events: 1;
34200             scale: 1;
34201             description {
34202                state: "default" 0.0;
34203                min: 24 24;
34204                fixed: 1 1;
34205                rel1 {
34206                   relative: 1.0 0.0;
34207                   to_y: "elm.bar_bg";
34208                }
34209                rel2 {
34210                   relative: 1.0 1.0;
34211                   to_y: "elm.bar_bg";
34212                }
34213                align: 1.0 0.5;
34214             }
34215          }
34216       }
34217    }
34218
34219    group{ name: "elm/colorselector/image/colorbar_0";
34220       images {
34221          image: "color_picker_color.png" COMP;
34222       }
34223       parts {
34224          part { name: "colorbar_0_image";
34225             type: IMAGE;
34226             mouse_events: 1;
34227             description { state: "default" 0.0;
34228                rel2.offset: -1 -1;
34229                image.normal: "color_picker_color.png";
34230             }
34231          }
34232       }
34233    }
34234
34235    group { name: "elm/colorselector/image/colorbar_1";
34236       images {
34237          image: "color_picker_opacity.png" COMP;
34238       }
34239       parts {
34240          part { name: "colorbar_1_image";
34241             type: IMAGE;
34242             mouse_events: 1;
34243             description { state: "default" 0.0;
34244                rel2.offset: -1 -1;
34245                image.normal: "color_picker_opacity.png";
34246             }
34247          }
34248       }
34249    }
34250
34251    group { name: "elm/colorselector/image/colorbar_2";
34252       images {
34253          image: "color_picker_brightness.png" COMP;
34254       }
34255       parts {
34256          part { name: "colorbar_2_image";
34257             type: IMAGE;
34258             mouse_events: 1;
34259             description { state: "default" 0.0;
34260                rel2.offset: -1 -1;
34261                image.normal: "color_picker_brightness.png";
34262             }
34263          }
34264       }
34265    }
34266
34267    group { name: "elm/colorselector/image/colorbar_3";
34268       images {
34269          image: "color_picker_alpha.png" COMP;
34270       }
34271       parts {
34272          part { name: "colorbar_3_image";
34273             type: IMAGE;
34274             mouse_events: 1;
34275             description { state: "default" 0.0;
34276                rel2.offset: -1 -1;
34277                image.normal: "color_picker_alpha.png";
34278             }
34279          }
34280       }
34281    }
34282
34283    group { name: "elm/colorselector/bg_image/colorbar_3";
34284       images {
34285          image: "color_picker_alpha_bg.png" COMP;
34286       }
34287       parts {
34288          part { name: "colorbar_3_image";
34289             type: IMAGE;
34290             mouse_events: 1;
34291             description { state: "default" 0.0;
34292                rel2.offset: -1 -1;
34293                image.normal: "color_picker_alpha_bg.png";
34294             }
34295          }
34296       }
34297    }
34298
34299    group { name: "elm/colorselector/image/updown";
34300       images {
34301          image: "icon_arrow_down.png" COMP;
34302       }
34303       parts {
34304          part { name: "bg";
34305             type: RECT;
34306             mouse_events: 1;
34307             description { state: "default" 0.0;
34308                color: 0 0 0 0;
34309             }
34310          }
34311          part { name: "arrow_image";
34312             type: IMAGE;
34313             mouse_events: 1;
34314             description { state: "default" 0.0;
34315                image.normal: "icon_arrow_down.png";
34316             }
34317          }
34318       }
34319    }
34320
34321    group { name: "elm/colorselector/button/left";
34322       images {
34323          image: "bt_base1.png" COMP;
34324          image: "bt_shine.png" COMP;
34325          image: "sp_bt_l.png" COMP;
34326       }
34327       parts {
34328          part { name: "button_image";
34329             mouse_events: 1;
34330             description { state: "default" 0.0;
34331                image.normal: "bt_base1.png";
34332                image.border: 6 6 6 6;
34333                image.middle: SOLID;
34334             }
34335
34336             description { state: "clicked" 0.0;
34337                inherit: "default" 0.0;
34338                image.normal: "bt_shine.png";
34339                image.border: 6 6 6 6;
34340                image.middle: SOLID;
34341             }
34342          }
34343          part { name: "btn_over";
34344             type: IMAGE;
34345             mouse_events: 0;
34346             description { state: "default" 0.0;
34347                rel1.to: "button_image";
34348                rel2 {
34349                   relative: 1.0 0.5;
34350                   to: "button_image";
34351                }
34352                image {
34353                   normal: "bt_hilight.png";
34354                   border: 7 7 7 0;
34355                }
34356             }
34357          }
34358          part { name: "btn_over2";
34359             type: IMAGE;
34360             mouse_events: 1;
34361             repeat_events: 1;
34362             ignore_flags: ON_HOLD;
34363             description { state: "default" 0.0;
34364                rel1.to: "button_image";
34365                rel2.to: "button_image";
34366                image {
34367                   normal: "bt_shine.png";
34368                   border: 7 7 7 7;
34369                }
34370             }
34371          }
34372          part { name: "focus_image";
34373             type: IMAGE;
34374             description { state: "default" 0.0;
34375                color: 255 255 255 0;
34376                rel1.to: "button_image";
34377                rel2.to: "button_image";
34378                image {
34379                   normal: "bt_glow.png";
34380                   border: 12 12 12 12;
34381                }
34382                fill.smooth: 0;
34383
34384             }
34385             description { state: "clicked" 0.0;
34386                inherit: "default" 0.0;
34387                visible: 1;
34388                color: 255 255 255 255;
34389             }
34390          }
34391          part { name: "left_arrow";
34392             mouse_events: 1;
34393             description { state: "default" 0.0;
34394                min: 16 16;
34395                max: 16 16;
34396                image.normal: "sp_bt_l.png";
34397             }
34398          }
34399       }
34400
34401       programs {
34402          program {
34403             name:   "button_down";
34404             signal: "elm,state,left,button,down";
34405             source: "left_button";
34406             action: STATE_SET "clicked" 0.0;
34407             target: "button_image";
34408             target: "focus_image";
34409          }
34410          program {
34411             name:   "button_up";
34412             signal: "elm,state,left,button,up";
34413             source: "left_button";
34414             action: STATE_SET "default" 0.0;
34415             target: "button_image";
34416             target: "focus_image";
34417          }
34418       }
34419    }
34420
34421    group { name: "elm/colorselector/button/right";
34422       images {
34423          image: "bt_base1.png" COMP;
34424          image: "bt_shine.png" COMP;
34425          image: "sp_bt_r.png" COMP;
34426       }
34427       parts {
34428          part { name: "button_image";
34429             mouse_events: 1;
34430             description { state: "default" 0.0;
34431                image.normal: "bt_base1.png";
34432                image.border: 6 6 6 6;
34433                image.middle: SOLID;
34434             }
34435
34436             description { state: "clicked" 0.0;
34437                inherit: "default" 0.0;
34438                image.normal: "bt_shine.png";
34439                image.border: 6 6 6 6;
34440                image.middle: SOLID;
34441             }
34442          }
34443          part { name: "btn_over";
34444             type: IMAGE;
34445             mouse_events: 0;
34446             description { state: "default" 0.0;
34447                rel1.to: "button_image";
34448                rel2 {
34449                   relative: 1.0 0.5;
34450                   to: "button_image";
34451                }
34452                image {
34453                   normal: "bt_hilight.png";
34454                   border: 7 7 7 0;
34455                }
34456             }
34457          }
34458          part { name: "btn_over2";
34459             type: IMAGE;
34460             mouse_events: 1;
34461             repeat_events: 1;
34462             ignore_flags: ON_HOLD;
34463             description { state: "default" 0.0;
34464                rel1.to: "button_image";
34465                rel2.to: "button_image";
34466                image {
34467                   normal: "bt_shine.png";
34468                   border: 7 7 7 7;
34469                }
34470             }
34471          }
34472          part { name: "focus_image";
34473             type: IMAGE;
34474             description { state: "default" 0.0;
34475                color: 255 255 255 0;
34476                rel1.to: "button_image";
34477                rel2.to: "button_image";
34478                image {
34479                   normal: "bt_glow.png";
34480                   border: 12 12 12 12;
34481                }
34482                fill.smooth: 0;
34483
34484             }
34485             description { state: "clicked" 0.0;
34486                inherit: "default" 0.0;
34487                visible: 1;
34488                color: 255 255 255 255;
34489             }
34490          }
34491          part { name: "right_arrow";
34492             mouse_events: 1;
34493             description { state: "default" 0.0;
34494                min: 16 16;
34495                max: 16 16;
34496                image.normal: "sp_bt_r.png";
34497             }
34498          }
34499       }
34500
34501       programs {
34502          program {
34503             name:   "button_down";
34504             signal: "elm,state,right,button,down";
34505             source: "right_button";
34506             action: STATE_SET "clicked" 0.0;
34507             target: "button_image";
34508             target: "focus_image";
34509          }
34510          program {
34511             name:   "button_up";
34512             signal: "elm,state,right,button,up";
34513             source: "right_button";
34514             action: STATE_SET "default" 0.0;
34515             target: "button_image";
34516             target: "focus_image";
34517          }
34518       }
34519    }
34520
34521 ///////////////////////////////////////////////////////////////////////////////
34522 #define FLIP_PICKER_MAX_LEN (50)
34523 #define FLIP_PICKER_MAX_LEN_STR "50"
34524
34525    group { name: "elm/flipselector/base/default";
34526       images {
34527          image: "flip_base.png" COMP;
34528          image: "flip_base_shad.png" COMP;
34529          image: "flip_shad.png" COMP;
34530          image: "arrow_up.png" COMP;
34531          image: "arrow_down.png" COMP;
34532          image: "flip_t.png" COMP;
34533          image: "flip_b.png" COMP;
34534       }
34535
34536       data {
34537          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34538       }
34539
34540       //FIXME: quick successive clicks on, say, up, lead to nastiness
34541       script {
34542          public cur, prev, next, lock;
34543
34544          public animator_bottom_down(val, Float:pos) {
34545             new tmp[FLIP_PICKER_MAX_LEN];
34546
34547             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34548             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34549                             0.0);
34550             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34551                             0.0);
34552
34553             if (pos >= 1.0) {
34554                set_state(PART:"shadow", "default", 0.0);
34555                set_int(lock, 0);
34556
34557                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34558                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34559                   replace_str(next, 0, "");
34560                   message(MSG_STRING, 1, tmp);
34561                }
34562             }
34563          }
34564
34565          public animator_top_down(val, Float:pos) {
34566             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34567             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34568                             0.0);
34569             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34570                             0.0);
34571
34572             if (pos >= 1.0)
34573                anim(0.2, "animator_bottom_down", val);
34574          }
34575
34576          public animator_bottom_up(val, Float:pos) {
34577             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34578             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34579                             0.0);
34580             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34581                             0.0);
34582
34583             if (pos >= 1.0)
34584                anim(0.2, "animator_top_up", val);
34585          }
34586
34587          public animator_top_up(val, Float:pos) {
34588             new tmp[FLIP_PICKER_MAX_LEN];
34589
34590             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34591             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34592                             0.0);
34593             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34594                             0.0);
34595
34596             if (pos >= 1.0) {
34597                set_state(PART:"shadow", "default", 0.0);
34598                set_int(lock, 0);
34599
34600                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34601                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34602                   replace_str(next, 0, "");
34603                   message(MSG_STRING, 2, tmp);
34604                }
34605             }
34606          }
34607
34608          public message(Msg_Type:type, id, ...) {
34609             /* flip down */
34610             if ((type == MSG_STRING) && (id == 1)) {
34611                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34612
34613                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34614
34615                if (get_int(lock) == 1) {
34616                   replace_str(next, 0, value);
34617                   return;
34618                }
34619
34620                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34621
34622                set_text(PART:"bottom_b", tmp);
34623
34624                set_state(PART:"top", "shrink", 0.0);
34625                set_text(PART:"top", tmp);
34626                set_state(PART:"top", "default", 0.0);
34627                set_text(PART:"top", tmp);
34628
34629                replace_str(prev, 0, tmp);
34630
34631                set_state(PART:"bottom", "default", 0.0);
34632                set_text(PART:"bottom", value);
34633                set_state(PART:"bottom", "shrink", 0.0);
34634                set_text(PART:"bottom", value);
34635
34636                set_text(PART:"top_b", value);
34637
34638                replace_str(cur, 0, value);
34639
34640                set_state(PART:"bottom_sheet", "shrink", 0.0);
34641                set_state(PART:"top_sheet", "default", 0.0);
34642
34643                set_int(lock, 1);
34644                set_state(PART:"shadow", "default", 0.0);
34645                anim(0.2, "animator_top_down", 1);
34646             }
34647
34648             /* flip up */
34649             if ((type == MSG_STRING) && (id == 2)) {
34650                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34651
34652                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34653
34654                if (get_int(lock) == 1) {
34655                   replace_str(next, 0, value);
34656                   return;
34657                }
34658
34659                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34660
34661                set_text(PART:"top_b", tmp);
34662
34663                set_state(PART:"bottom", "shrink", 0.0);
34664                set_text(PART:"bottom", tmp);
34665                set_state(PART:"bottom", "default", 0.0);
34666                set_text(PART:"bottom", tmp);
34667
34668                replace_str(prev, 0, tmp);
34669
34670                set_state(PART:"top", "default", 0.0);
34671                set_text(PART:"top", value);
34672                set_state(PART:"top", "shrink", 0.0);
34673                set_text(PART:"top", value);
34674
34675                set_text(PART:"bottom_b", value);
34676
34677                replace_str(cur, 0, value);
34678
34679                set_state(PART:"bottom_sheet", "default", 0.0);
34680                set_state(PART:"top_sheet", "shrink", 0.0);
34681
34682                set_int(lock, 1);
34683                set_state(PART:"shadow", "full", 0.0);
34684                anim(0.2, "animator_bottom_up", 1);
34685             }
34686          }
34687       }
34688
34689       parts {
34690          part { name: "shad";
34691             mouse_events: 0;
34692             description { state: "default" 0.0;
34693                rel1.offset: -4 -4;
34694                rel1.to: "base";
34695                rel2.offset: 3 3;
34696                rel2.to: "base";
34697                image {
34698                   normal: "flip_base_shad.png";
34699                   border: 8 8 8 8;
34700                }
34701             }
34702          }
34703
34704          part { name: "base";
34705             scale: 1;
34706             description { state: "default" 0.0;
34707                rel1.offset: 4 4;
34708                rel2.offset: -5 -5;
34709                min: 24 48;
34710                image.normal: "flip_base.png";
34711             }
34712          }
34713
34714          part { name: "b";
34715             type: RECT;
34716             mouse_events: 1;
34717             description { state: "default" 0.0;
34718                rel1.to: "base";
34719                rel1.relative: 0.0 0.5;
34720                rel2.to: "base";
34721                color: 0 0 0 0;
34722             }
34723             description { state: "hidden" 0.0;
34724                inherit: "default" 0.0;
34725                visible: 0;
34726             }
34727          }
34728
34729          part { name: "t";
34730             type: RECT;
34731             mouse_events: 1;
34732             description { state: "default" 0.0;
34733                rel1.to: "base";
34734                rel2.to: "base";
34735                rel2.relative: 1.0 0.5;
34736                color: 0 0 0 0;
34737             }
34738             description { state: "hidden" 0.0;
34739                inherit: "default" 0.0;
34740                visible: 0;
34741             }
34742          }
34743
34744          part { name: "bottom_sheet_static";
34745             mouse_events: 0;
34746             description { state: "default" 0.0;
34747                visible: 1;
34748                rel1.to: "b";
34749                rel2.to: "b";
34750                image.normal: "flip_b.png";
34751             }
34752          }
34753
34754          part { name: "bottom_b";
34755             mouse_events: 0;
34756             clip_to: "bottom_clipper";
34757             type: TEXT;
34758             scale: 1;
34759             description { state: "default" 0.0;
34760                rel1.to: "base";
34761                rel2.to: "base";
34762                color: 0 0 0 255;
34763                color2: 0 0 0 255;
34764                text {
34765                   font: "Sans:style=Bold,Edje-Vera-Bold";
34766                   size: 30;
34767                   min: 1 1;
34768                   align: 0.5 0.5;
34769                }
34770             }
34771          }
34772
34773          part { name: "shadow";
34774             mouse_events: 0;
34775             description { state: "default" 0.0;
34776                rel1.to: "b";
34777                rel2.to: "b";
34778                rel2.relative: 1.0 0.0;
34779                image.normal: "flip_shad.png";
34780             }
34781             description { state: "half" 0.0;
34782                inherit: "default" 0.0;
34783                rel2.relative: 1.0 0.5;
34784             }
34785             description { state: "full" 0.0;
34786                inherit: "default" 0.0;
34787                rel2.relative: 1.0 1.0;
34788             }
34789          }
34790
34791          part { name: "bottom_sheet";
34792             mouse_events: 0;
34793             description { state: "default" 0.0;
34794                visible: 1;
34795                rel1.to: "b";
34796                rel2.to: "b";
34797                image.normal: "flip_b.png";
34798             }
34799             description { state: "shrink" 0.0;
34800                inherit: "default" 0.0;
34801                visible: 0;
34802                rel2.relative: 1.0 0.0;
34803             }
34804          }
34805
34806          part { name: "bottom";
34807             mouse_events: 0;
34808             clip_to: "bottom_clipper";
34809             type: TEXT;
34810             scale: 1;
34811             description { state: "default" 0.0;
34812                rel1.to: "base";
34813                rel2.to: "base";
34814                color: 0 0 0 255;
34815                color2: 0 0 0 255;
34816                text {
34817                   font: "Sans:style=Bold,Edje-Vera-Bold";
34818                   size: 30;
34819                   min: 1 1;
34820                   align: 0.5 0.5;
34821                }
34822             }
34823             description { state: "shrink" 0.0;
34824                inherit: "default" 0.0;
34825                color: 128 128 128 255;
34826                visible: 0;
34827                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34828             }
34829          }
34830
34831          part { name: "top_sheet_static";
34832             mouse_events: 0;
34833             description { state: "default" 0.0;
34834                visible: 1;
34835                rel1.to: "t";
34836                rel2.to: "t";
34837                image.normal: "flip_t.png";
34838             }
34839          }
34840
34841          part { name: "top_b";
34842             mouse_events: 0;
34843             clip_to: "top_clipper";
34844             type: TEXT;
34845             scale: 1;
34846             description { state: "default" 0.0;
34847                rel1.to: "base";
34848                rel2.to: "base";
34849                color: 0 0 0 255;
34850                color2: 0 0 0 255;
34851                text {
34852                   font: "Sans:style=Bold,Edje-Vera-Bold";
34853                   size: 30;
34854                   min: 1 1;
34855                   align: 0.5 0.5;
34856                   source: "top";
34857                }
34858             }
34859          }
34860
34861          part { name: "top_sheet";
34862             mouse_events: 0;
34863             description { state: "default" 0.0;
34864                visible: 1;
34865                rel1.to: "t";
34866                rel2.to: "t";
34867                image.normal: "flip_t.png";
34868             }
34869             description { state: "shrink" 0.0;
34870                inherit: "default" 0.0;
34871                color: 128 128 128 255;
34872                visible: 0;
34873                rel1.relative: 0.0 1.0;
34874             }
34875          }
34876
34877          part { name: "top";
34878             mouse_events: 0;
34879             clip_to: "top_clipper";
34880             type: TEXT;
34881             scale: 1;
34882             description { state: "default" 0.0;
34883                rel1.to: "base";
34884                rel2.to: "base";
34885                color: 0 0 0 255;
34886                color2: 0 0 0 255;
34887                text {
34888                   font: "Sans:style=Bold,Edje-Vera-Bold";
34889                   size: 30;
34890                   min: 1 1;
34891                   align: 0.5 0.5;
34892                }
34893             }
34894             description { state: "shrink" 0.0;
34895                inherit: "default" 0.0;
34896                visible: 0;
34897                rel1.relative: 0.0 0.5;
34898             }
34899          }
34900
34901          part { name: "arrow_top";
34902             mouse_events: 0;
34903             scale: 1;
34904             description { state: "default" 0.0;
34905                min: 15 15;
34906                max: 15 15;
34907                align: 0.5 0.0;
34908                rel1.to: "t";
34909                rel2.to: "t";
34910                image.normal: "arrow_up.png";
34911             }
34912             description { state: "hidden" 0.0;
34913                inherit: "default" 0.0;
34914                visible: 0;
34915             }
34916          }
34917          part { name: "arrow_bottom";
34918             mouse_events: 0;
34919             scale: 1;
34920             description { state: "default" 0.0;
34921                min: 15 15;
34922                max: 15 15;
34923                align: 0.5 1.0;
34924                rel1.to: "b";
34925                rel2.to: "b";
34926                image.normal: "arrow_down.png";
34927             }
34928             description { state: "hidden" 0.0;
34929                inherit: "default" 0.0;
34930                visible: 0;
34931             }
34932          }
34933
34934          part {
34935             type: RECT;
34936             mouse_events: 0;
34937             name: "top_clipper";
34938             description {
34939                state: "default" 0.0;
34940                rel1.to: "t";
34941                rel2.to: "t";
34942                visible: 1;
34943             }
34944          }
34945
34946          part {
34947             type: RECT;
34948             mouse_events: 0;
34949             name: "bottom_clipper";
34950             description {
34951                state: "default" 0.0;
34952                rel1.to: "b";
34953                rel2.to: "b";
34954                visible: 1;
34955             }
34956          }
34957       }
34958
34959       programs {
34960          program { name: "load";
34961             signal: "load";
34962             source: "";
34963             script {
34964                append_str(cur, "");
34965                append_str(prev, "");
34966                append_str(next, "");
34967                set_int(lock, 0);
34968             }
34969          }
34970
34971          program { name: "hide_arrows";
34972             signal: "elm,state,button,hidden";
34973             source: "elm";
34974             action: STATE_SET "hidden" 0.0;
34975             target: "arrow_top";
34976             target: "arrow_bottom";
34977             target: "t";
34978             target: "b";
34979          }
34980
34981          program { name: "show_arrows";
34982             signal: "elm,state,button,visible";
34983             source: "elm";
34984             action: STATE_SET "default" 0.0;
34985             target: "arrow_top";
34986             target: "arrow_bottom";
34987             target: "t";
34988             target: "b";
34989          }
34990
34991          program { name: "up";
34992             signal: "mouse,down,1";
34993             source: "t";
34994             action: SIGNAL_EMIT "elm,action,up,start" "";
34995          }
34996          program { name: "up,stop";
34997             signal: "mouse,up,1";
34998             source: "t";
34999             action: SIGNAL_EMIT "elm,action,up,stop" "";
35000          }
35001          program { name: "down";
35002             signal: "mouse,down,1";
35003             source: "b";
35004             action: SIGNAL_EMIT "elm,action,down,start" "";
35005          }
35006          program { name: "down,stop";
35007             signal: "mouse,up,1";
35008             source: "b";
35009             action: SIGNAL_EMIT "elm,action,down,stop" "";
35010          }
35011       }
35012    }
35013
35014 ////////////////////////////////////////////////////////////////////////////////
35015 // diskselector
35016 ////////////////////////////////////////////////////////////////////////////////
35017    group { name: "elm/diskselector/base/default";
35018       images {
35019          image: "bar_shine.png" COMP;
35020       }
35021
35022       parts {
35023          part { name: "bg";
35024             type: RECT;
35025             mouse_events: 0;
35026             description { state: "default" 0.0;
35027                color: 0 0 0 255;
35028             }
35029          }
35030          part { name: "shine_left";
35031             mouse_events:  0;
35032             description { state: "default" 0.0;
35033                rel1.to: "bg";
35034                rel1.relative: -0.1 0;
35035                rel2.to: "bg";
35036                rel2.relative: 0.1 1;
35037                image.normal: "bar_shine.png";
35038                color: 255 255 255 120;
35039             }
35040          }
35041          part { name: "shine_center";
35042             mouse_events:  0;
35043             description { state: "default" 0.0;
35044                rel1.to: "bg";
35045                rel1.relative: 0.2 0;
35046                rel2.to: "bg";
35047                rel2.relative: 0.8 1;
35048                image.normal: "bar_shine.png";
35049                color: 255 255 255 180;
35050             }
35051          }
35052          part { name: "shine_right";
35053             mouse_events:  0;
35054             description { state: "default" 0.0;
35055                rel1.to: "bg";
35056                rel1.relative: 0.9 0;
35057                rel2.to: "bg";
35058                rel2.relative: 1.1 1;
35059                image.normal: "bar_shine.png";
35060                color: 255 255 255 120;
35061             }
35062          }
35063          part { name: "clipper";
35064             type: RECT;
35065             mouse_events: 0;
35066             description { state: "default" 0.0;
35067                rel1.to: "bg";
35068                rel2.to: "bg";
35069                rel1.offset: 2 2;
35070                rel2.offset: -3 -3;
35071             }
35072          }
35073          part { name: "elm.swallow.content";
35074             clip_to: "clipper";
35075             type: SWALLOW;
35076             description { state: "default" 0.0;
35077                rel1.to: "bg";
35078                rel2.to: "bg";
35079             }
35080          }
35081       }
35082    }
35083
35084    group { name: "elm/diskselector/item/default";
35085
35086       data {
35087          item: "len_threshold" "14";
35088       }
35089
35090       parts {
35091          part { name: "elm.swallow.icon";
35092             type: SWALLOW;
35093             description { state: "default" 0.0;
35094                fixed: 1 0;
35095                align: 0.0 0.5;
35096                rel1 {
35097                   relative: 0 0;
35098                   offset: 4 4;
35099                }
35100                rel2 {
35101                   relative: 0 1;
35102                   offset: 4 -5;
35103                }
35104             }
35105             description { state: "show" 0.0;
35106                inherit: "default" 0.0;
35107             }
35108             description { state: "default_small" 0.0;
35109                inherit: "default" 0.0;
35110                rel1.relative: 0 0.2;
35111                rel2.relative: 0 0.8;
35112             }
35113             description { state: "left_side" 0.0;
35114                inherit: "default" 0.0;
35115                rel1.relative: 0 0.2;
35116                rel2.relative: 0 0.8;
35117                color: 255 255 255 160;
35118             }
35119             description { state: "right_side" 0.0;
35120                inherit: "left_side" 0.0;
35121                rel1.relative: 0.4 0.2;
35122                rel2.relative: 0.4 0.8;
35123                color: 255 255 255 160;
35124             }
35125          }
35126          part { name: "elm.text";
35127             type: TEXT;
35128             mouse_events: 0;
35129             scale: 1;
35130             description { state: "default" 0.0;
35131                rel1.relative: 1 0.0;
35132                rel1.to_x: "elm.swallow.icon";
35133                rel2.relative: 1.0 1.0;
35134                color: 255 255 255 255;
35135                visible: 0;
35136                text {
35137                   font: "Sans,Edje-Vera";
35138                   size: 13;
35139                   align: 0.5 0.5;
35140                   min: 0 1;
35141                }
35142             }
35143             description { state: "show" 0.0;
35144                inherit: "default" 0.0;
35145                visible: 1;
35146             }
35147             description { state: "default_small" 0.0;
35148                inherit: "default" 0.0;
35149                visible: 1;
35150                text.size: 10;
35151             }
35152             description { state: "left_side" 0.0;
35153                inherit: "default" 0.0;
35154                color: 172 172 172 255;
35155                text.size: 10;
35156                visible: 1;
35157                text.align: 0.2 0.5;
35158             }
35159             description { state: "right_side" 0.0;
35160                inherit: "default" 0.0;
35161                color: 172 172 172 255;
35162                visible: 1;
35163                text.size: 10;
35164                text.align: 0.8 0.5;
35165             }
35166          }
35167       }
35168
35169       programs {
35170          program { name: "center_text";
35171             signal: "elm,state,center";
35172             source: "elm";
35173             action: STATE_SET "show" 0.0;
35174             target: "elm.text";
35175             target: "elm.swallow.icon";
35176          }
35177          program { name: "center_small_text";
35178             signal: "elm,state,center_small";
35179             source: "elm";
35180             action: STATE_SET "default_small" 0.0;
35181             target: "elm.text";
35182             target: "elm.swallow.icon";
35183          }
35184          program { name: "l_side_text";
35185             signal: "elm,state,left_side";
35186             source: "elm";
35187             action: STATE_SET "left_side" 0.0;
35188             target: "elm.text";
35189             target: "elm.swallow.icon";
35190          }
35191          program { name: "r_side_text";
35192             signal: "elm,state,right_side";
35193             source: "elm";
35194             action: STATE_SET "right_side" 0.0;
35195             target: "elm.text";
35196             target: "elm.swallow.icon";
35197          }
35198       }
35199    }
35200
35201    group { name: "elm/entry/path/separator/default";
35202       images.image: "arrow_right.png" COMP;
35203       parts {
35204          part { name: "icon";
35205             mouse_events: 0;
35206             description { state: "default" 0.0;
35207                image.normal: "arrow_right.png";
35208                max: 64 64;
35209                aspect: 1.0 1.0;
35210             }
35211          }
35212       }
35213    }
35214
35215    group { name: "elm/fileselector/base/default";
35216       data {
35217          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35218       }
35219       parts {
35220          part { name: "elm.swallow.up";
35221             type: SWALLOW;
35222             description { state: "default" 0.0;
35223                align: 0.0 0.0;
35224                min: 10 10;
35225                fixed: 1 1;
35226                rel2 {
35227                   relative: 0.0 0.0;
35228                   offset: 0 0;
35229                }
35230             }
35231          }
35232          part { name: "elm.swallow.home";
35233             type: SWALLOW;
35234             description { state: "default" 0.0;
35235                align: 0.0 0.0;
35236                min: 10 10;
35237                fixed: 1 1;
35238                rel1 {
35239                   to: "elm.swallow.up";
35240                   relative: 1.0 0.0;
35241                   offset: 5 0;
35242                }
35243                rel2 {
35244                   to: "elm.swallow.up";
35245                   relative: 1.0 1.0;
35246                   offset: 20 -1;
35247                }
35248             }
35249          }
35250          part { name: "elm.swallow.files";
35251             type: SWALLOW;
35252             description { state: "default" 0.0;
35253                align: 1.0 0.0;
35254                min: 10 10;
35255                fixed: 1 1;
35256                rel1 {
35257                   to_y: "elm.swallow.home";
35258                   relative: 0.0 1.0;
35259                   offset: 0 0;
35260                }
35261                rel2 {
35262                   to_y: "elm.swallow.path";
35263                   relative: 1.0 0.0;
35264                   offset: -1 -1;
35265                }
35266             }
35267          }
35268          part { name: "elm.swallow.path";
35269             type: SWALLOW;
35270             description { state: "default" 0.0;
35271                align: 0.5 1.0;
35272                fixed: 1 1;
35273                rel1 {
35274                   to_y: "elm.swallow.filename";
35275                   relative: 0.0 0.0;
35276                   offset: 0 -1;
35277                }
35278                rel2 {
35279                   to_y: "elm.swallow.filename";
35280                   relative: 1.0 0.0;
35281                   offset: -1 -1;
35282                }
35283             }
35284          }
35285          part { name: "elm.swallow.filename";
35286             type: SWALLOW;
35287             description { state: "default" 0.0;
35288                align: 0.5 1.0;
35289                fixed: 1 1;
35290                rel1 {
35291                   to_y: "elm.swallow.ok";
35292                   relative: 0.0 0.0;
35293                   offset: 0 -1;
35294                }
35295                rel2 {
35296                   to_y: "elm.swallow.ok";
35297                   relative: 1.0 0.0;
35298                   offset: -1 -1;
35299                }
35300             }
35301          }
35302          part { name: "elm.swallow.cancel";
35303             type: SWALLOW;
35304             description { state: "default" 0.0;
35305                align: 1.0 1.0;
35306                fixed: 1 1;
35307                rel1 {
35308                   to: "elm.swallow.ok";
35309                   relative: 0.0 0.0;
35310                   offset: -3 0;
35311                }
35312                rel2 {
35313                   to: "elm.swallow.ok";
35314                   relative: 0.0 1.0;
35315                   offset: -3 -1;
35316                }
35317             }
35318          }
35319          part { name: "elm.swallow.ok";
35320             type: SWALLOW;
35321             description { state: "default" 0.0;
35322                align: 1.0 1.0;
35323                fixed: 1 1;
35324                rel1 {
35325                   relative: 1.0 1.0;
35326                   offset: -1 -1;
35327                }
35328             }
35329          }
35330       }
35331    }
35332
35333    group { name: "elm/fileselector_entry/base/default";
35334       parts {
35335          part { name: "elm.swallow.entry";
35336             type: SWALLOW;
35337             description { state: "default" 0.0;
35338                align: 0.0 0.0;
35339                min: 50 10;
35340                rel2 { to_x: "elm.swallow.button";
35341                   relative: 0.0 1.0;
35342                   offset: -1 -1;
35343                }
35344             }
35345          }
35346          part { name: "elm.swallow.button";
35347             type: SWALLOW;
35348             description { state: "default" 0.0;
35349                align: 1.0 0.0;
35350                min: 10 10;
35351                fixed: 1 1;
35352                rel1 {
35353                   relative: 1.0 0.0;
35354                   offset: -21 0;
35355                }
35356             }
35357          }
35358       }
35359    }
35360
35361 ////////////////////////////////////////////////////////////////////////
35362 // Standard layouts to be used                                        //
35363 ////////////////////////////////////////////////////////////////////////
35364    /* application with toolbar and main content area */
35365    group { name: "elm/layout/application/toolbar-content";
35366       parts {
35367          part { name: "elm.swallow.content";
35368             type: SWALLOW;
35369             description { state: "default" 0.0;
35370                rel1 { to_y: "elm.external.toolbar";
35371                   relative: 0.0 1.0;
35372                   offset: -1 1;
35373                }
35374             }
35375          }
35376
35377          part { name: "elm.external.toolbar";
35378             type: EXTERNAL;
35379             source: "elm/toolbar";
35380             description { state: "default" 0.0;
35381                align: 0.5 0.0;
35382                fixed: 0 1;
35383                rel2 {
35384                   relative: 1.0 0.0;
35385                   offset: -1 47;
35386                }
35387             }
35388          }
35389       }
35390    }
35391
35392    /* application with toolbar and main content area with a back button and title area */
35393    group { name: "elm/layout/application/toolbar-content-back";
35394       parts {
35395          part { name: "elm.swallow.content";
35396             type: SWALLOW;
35397             description { state: "default" 0.0;
35398                rel1 { to_y: "title_clipper";
35399                   relative: 0.0 1.0;
35400                   offset: -1 1;
35401                }
35402             }
35403          }
35404
35405          part { name: "elm.external.toolbar";
35406             type: EXTERNAL;
35407             source: "elm/toolbar";
35408             description { state: "default" 0.0;
35409                fixed: 0 1;
35410                align: 0.5 0.0;
35411                rel2 {
35412                   relative: 1.0 0.0;
35413                   offset: -1 47;
35414                }
35415             }
35416          }
35417          part { name: "title_clipper";
35418             type: RECT;
35419             description { state: "default" 0.0;
35420                visible: 1;
35421                rel1 {
35422                   to_y: "back";
35423                }
35424                rel2 {
35425                   to_y: "back";
35426                }
35427             }
35428             description { state: "hidden" 0.0;
35429                inherit: "default" 0.0;
35430                visible: 0;
35431                rel2 {
35432                   relative: 1.0 0.0;
35433                }
35434             }
35435          }
35436          part { name: "back_clipper";
35437             type: RECT;
35438             clip_to: "title_clipper";
35439             description { state: "default" 0.0;
35440                visible: 1;
35441             }
35442             description { state: "hidden" 0.0;
35443                visible: 0;
35444             }
35445          }
35446          part { name: "back";
35447             type: EXTERNAL;
35448             source: "elm/button";
35449             clip_to: "back_clipper";
35450             description { state: "default" 0.0;
35451                align: 0.0 0.0;
35452                fixed: 1 1;
35453                rel1 { to_y: "elm.external.toolbar";
35454                   relative: 0.0 1.0;
35455                   offset: 0 1;
35456                }
35457                rel2 { to_y: "elm.external.toolbar";
35458                   relative: 0.0 1.0;
35459                   offset: 50 32;
35460                }
35461                params.string: "label" "Back";
35462             }
35463          }
35464          programs {
35465             program {
35466                signal: "clicked";
35467                source: "back";
35468                action: SIGNAL_EMIT "elm,action,back" "";
35469             }
35470             program {
35471                signal: "elm,back,hide";
35472                source: "elm";
35473                action: STATE_SET "hidden" 0.0;
35474                target: "back_clipper";
35475             }
35476             program {
35477                signal: "elm,back,show";
35478                source: "elm";
35479                action: STATE_SET "default" 0.0;
35480                target: "back_clipper";
35481             }
35482             program {
35483                signal: "elm,title,hide";
35484                source: "elm";
35485                action: STATE_SET "hidden" 0.0;
35486                transition: LINEAR 0.1;
35487                target: "title_clipper";
35488             }
35489             program {
35490                signal: "elm,title,show";
35491                source: "elm";
35492                action: STATE_SET "default" 0.0;
35493                target: "title_clipper";
35494             }
35495          }
35496
35497          part { name: "elm.swallow.end";
35498             type: SWALLOW;
35499             description { state: "default" 0.0;
35500                align: 1.0 0.0;
35501                fixed: 1 1;
35502                rel1 { to_y: "elm.external.toolbar";
35503                   relative: 1.0 1.0;
35504                   offset: -2 1;
35505                }
35506                rel2 { to_y: "elm.external.toolbar";
35507                   relative: 1.0 1.0;
35508                   offset: -1 32;
35509                }
35510             }
35511          }
35512
35513          part { name: "elm.text.title";
35514             type: TEXT;
35515             effect: SOFT_SHADOW;
35516             scale: 1;
35517             description { state: "default" 0.0;
35518                rel1 { to_y: "elm.external.toolbar";
35519                   to_x: "back";
35520                   relative: 1.0 1.0;
35521                   offset: 2 1;
35522                }
35523                rel2 { to_y: "back";
35524                   to_x: "elm.swallow.end";
35525                   relative: 0.0 1.0;
35526                   offset: -3 -1;
35527                }
35528                text {
35529                   font: "Sans:style=Bold";
35530                   size: 12;
35531                }
35532             }
35533          }
35534       }
35535    }
35536
35537    /* application with toolbar and main content area with a back and next buttons and title area */
35538    group { name: "elm/layout/application/toolbar-content-back-next";
35539       parts {
35540          part { name: "elm.swallow.content";
35541             type: SWALLOW;
35542             description { state: "default" 0.0;
35543                rel1 { to_y: "title_clipper";
35544                   relative: 0.0 1.0;
35545                   offset: -1 1;
35546                }
35547             }
35548          }
35549
35550          part { name: "elm.external.toolbar";
35551             type: EXTERNAL;
35552             source: "elm/toolbar";
35553             description { state: "default" 0.0;
35554                fixed: 0 1;
35555                align: 0.5 0.0;
35556                rel2 {
35557                   relative: 1.0 0.0;
35558                   offset: -1 47;
35559                }
35560             }
35561          }
35562          part { name: "title_clipper";
35563             type: RECT;
35564             description { state: "default" 0.0;
35565                visible: 1;
35566                rel1 {
35567                   to_y: "back";
35568                }
35569                rel2 {
35570                   to_y: "back";
35571                }
35572             }
35573             description { state: "hidden" 0.0;
35574                inherit: "default" 0.0;
35575                visible: 0;
35576                rel2 {
35577                   relative: 1.0 0.0;
35578                }
35579             }
35580          }
35581          part { name: "back";
35582             type: EXTERNAL;
35583             source: "elm/button";
35584             clip_to: "back_clipper";
35585             description { state: "default" 0.0;
35586                align: 0.0 0.0;
35587                fixed: 1 1;
35588                rel1 { to_y: "elm.external.toolbar";
35589                   relative: 0.0 1.0;
35590                   offset: 0 1;
35591                }
35592                rel2 { to_y: "elm.external.toolbar";
35593                   relative: 0.0 1.0;
35594                   offset: 50 32;
35595                }
35596                params.string: "label" "Back";
35597             }
35598          }
35599          part { name: "back_clipper";
35600             type: RECT;
35601             clip_to: "title_clipper";
35602             description { state: "default" 0.0;
35603                visible: 1;
35604             }
35605             description { state: "hidden" 0.0;
35606                visible: 0;
35607             }
35608          }
35609          part { name: "next";
35610             type: EXTERNAL;
35611             source: "elm/button";
35612             clip_to: "next_clipper";
35613             description { state: "default" 0.0;
35614                align: 1.0 0.0;
35615                fixed: 1 1;
35616                rel1 { to_y: "elm.external.toolbar";
35617                   relative: 1.0 1.0;
35618                   offset: -2 1;
35619                }
35620                rel2 { to_y: "elm.external.toolbar";
35621                   relative: 1.0 1.0;
35622                   offset: -1 32;
35623                }
35624                params.string: "label" "Next";
35625            }
35626          }
35627          part { name: "next_clipper";
35628             type: RECT;
35629             clip_to: "title_clipper";
35630             description { state: "default" 0.0;
35631                visible: 1;
35632             }
35633             description { state: "hidden" 0.0;
35634                visible: 0;
35635             }
35636          }
35637          programs {
35638             program {
35639                signal: "clicked";
35640                source: "back";
35641                action: SIGNAL_EMIT "elm,action,back" "";
35642             }
35643             program {
35644                signal: "elm,title,hide";
35645                source: "elm";
35646                action: STATE_SET "hidden" 0.0;
35647                transition: LINEAR 0.1;
35648                target: "title_clipper";
35649             }
35650             program {
35651                signal: "elm,title,show";
35652                source: "elm";
35653                action: STATE_SET "default" 0.0;
35654                target: "title_clipper";
35655             }
35656             program {
35657                signal: "elm,back,hide";
35658                source: "elm";
35659                action: STATE_SET "hidden" 0.0;
35660                target: "back_clipper";
35661             }
35662             program {
35663                signal: "elm,back,show";
35664                source: "elm";
35665                action: STATE_SET "default" 0.0;
35666                target: "back_clipper";
35667             }
35668             program {
35669                signal: "clicked";
35670                source: "next";
35671                action: SIGNAL_EMIT "elm,action,next" "";
35672             }
35673             program {
35674                signal: "elm,next,hide";
35675                source: "elm";
35676                action: STATE_SET "hidden" 0.0;
35677                target: "next_clipper";
35678             }
35679             program {
35680                signal: "elm,next,show";
35681                source: "elm";
35682                action: STATE_SET "default" 0.0;
35683                target: "next_clipper";
35684             }
35685          }
35686          part { name: "elm.text.title";
35687             type: TEXT;
35688             effect: SOFT_SHADOW;
35689             scale: 1;
35690             clip_to: "title_clipper";
35691             description { state: "default" 0.0;
35692                rel1 { to_y: "elm.external.toolbar";
35693                   to_x: "back";
35694                   relative: 1.0 1.0;
35695                   offset: 2 1;
35696                }
35697                rel2 { to_y: "back";
35698                   to_x: "next";
35699                   relative: 0.0 1.0;
35700                   offset: -3 -1;
35701                }
35702                text {
35703                   font: "Sans:style=Bold";
35704                   size: 12;
35705                }
35706             }
35707          }
35708       }
35709    }
35710    /* application with a main content area with a back button and title area */
35711    group { name: "elm/layout/application/content-back";
35712       parts {
35713          part { name: "elm.swallow.content";
35714             type: SWALLOW;
35715             description { state: "default" 0.0;
35716                rel1 { to_y: "title_clipper";
35717                   relative: 0.0 1.0;
35718                   offset: -1 1;
35719                }
35720             }
35721          }
35722          part { name: "title_clipper";
35723             type: RECT;
35724             description { state: "default" 0.0;
35725                visible: 1;
35726                rel1 {
35727                   to_y: "back";
35728                }
35729                rel2 {
35730                   to_y: "back";
35731                }
35732             }
35733             description { state: "hidden" 0.0;
35734                inherit: "default" 0.0;
35735                visible: 0;
35736                rel2 {
35737                   relative: 1.0 0.0;
35738                }
35739             }
35740          }
35741          part { name: "back_clipper";
35742             type: RECT;
35743             clip_to: "title_clipper";
35744             description { state: "default" 0.0;
35745                visible: 1;
35746             }
35747             description { state: "hidden" 0.0;
35748                visible: 0;
35749             }
35750          }
35751          part { name: "back";
35752             type: EXTERNAL;
35753             source: "elm/button";
35754             clip_to: "back_clipper";
35755             description { state: "default" 0.0;
35756                align: 0.0 0.0;
35757                fixed: 1 1;
35758                rel1 {
35759                   relative: 0.0 0.0;
35760                   offset: 0 1;
35761                }
35762                rel2 {
35763                   relative: 0.0 0.0;
35764                   offset: 50 32;
35765                }
35766                params.string: "label" "Back";
35767             }
35768          }
35769          programs {
35770             program {
35771                signal: "clicked";
35772                source: "back";
35773                action: SIGNAL_EMIT "elm,action,back" "";
35774             }
35775             program {
35776                signal: "elm,back,hide";
35777                source: "elm";
35778                action: STATE_SET "hidden" 0.0;
35779                target: "back_clipper";
35780             }
35781             program {
35782                signal: "elm,back,show";
35783                source: "elm";
35784                action: STATE_SET "default" 0.0;
35785                target: "back_clipper";
35786             }
35787             program {
35788                signal: "elm,title,hide";
35789                source: "elm";
35790                action: STATE_SET "hidden" 0.0;
35791                transition: LINEAR 0.1;
35792                target: "title_clipper";
35793             }
35794             program {
35795                signal: "elm,title,show";
35796                source: "elm";
35797                action: STATE_SET "default" 0.0;
35798                target: "title_clipper";
35799             }
35800          }
35801
35802          part { name: "elm.swallow.end";
35803             type: SWALLOW;
35804             description { state: "default" 0.0;
35805                align: 1.0 0.0;
35806                fixed: 1 1;
35807                rel1 {
35808                   relative: 1.0 0.0;
35809                   offset: -2 1;
35810                }
35811                rel2 {
35812                   relative: 1.0 1.0;
35813                   offset: -1 32;
35814                }
35815             }
35816          }
35817
35818          part { name: "elm.text.title";
35819             type: TEXT;
35820             effect: SOFT_SHADOW;
35821             scale: 1;
35822             description { state: "default" 0.0;
35823                rel1 {
35824                   to_x: "back";
35825                   relative: 1.0 0.0;
35826                   offset: 2 1;
35827                }
35828                rel2 { to_y: "back";
35829                   to_x: "elm.swallow.end";
35830                   relative: 0.0 1.0;
35831                   offset: -3 -1;
35832                }
35833                text {
35834                   font: "Sans:style=Bold";
35835                   size: 12;
35836                }
35837             }
35838          }
35839       }
35840    }
35841
35842    /* application with a main content area with a back and next buttons and title area */
35843    group { name: "elm/layout/application/content-back-next";
35844       parts {
35845          part { name: "elm.swallow.content";
35846             type: SWALLOW;
35847             description { state: "default" 0.0;
35848                rel1 { to_y: "title_clipper";
35849                   relative: 0.0 1.0;
35850                   offset: -1 1;
35851                }
35852             }
35853          }
35854
35855          part { name: "title_clipper";
35856             type: RECT;
35857             description { state: "default" 0.0;
35858                visible: 1;
35859                rel1 {
35860                   to_y: "back";
35861                }
35862                rel2 {
35863                   to_y: "back";
35864                }
35865             }
35866             description { state: "hidden" 0.0;
35867                inherit: "default" 0.0;
35868                visible: 0;
35869                rel2 {
35870                   relative: 1.0 0.0;
35871                }
35872             }
35873          }
35874          part { name: "back";
35875             type: EXTERNAL;
35876             source: "elm/button";
35877             clip_to: "back_clipper";
35878             description { state: "default" 0.0;
35879                align: 0.0 0.0;
35880                fixed: 1 1;
35881                rel1 {
35882                   relative: 0.0 0.0;
35883                   offset: 0 1;
35884                }
35885                rel2 {
35886                   relative: 0.0 0.0;
35887                   offset: 50 32;
35888                }
35889                params.string: "label" "Back";
35890             }
35891          }
35892          part { name: "back_clipper";
35893             type: RECT;
35894             clip_to: "title_clipper";
35895             description { state: "default" 0.0;
35896                visible: 1;
35897             }
35898             description { state: "hidden" 0.0;
35899                visible: 0;
35900             }
35901          }
35902          part { name: "next";
35903             type: EXTERNAL;
35904             source: "elm/button";
35905             clip_to: "next_clipper";
35906             description { state: "default" 0.0;
35907                align: 1.0 0.0;
35908                fixed: 1 1;
35909                rel1 {
35910                   relative: 1.0 0.0;
35911                   offset: -2 1;
35912                }
35913                rel2 {
35914                   relative: 1.0 0.0;
35915                   offset: -1 32;
35916                }
35917                params.string: "label" "Next";
35918            }
35919          }
35920          part { name: "next_clipper";
35921             type: RECT;
35922             clip_to: "title_clipper";
35923             description { state: "default" 0.0;
35924                visible: 1;
35925             }
35926             description { state: "hidden" 0.0;
35927                visible: 0;
35928             }
35929          }
35930          programs {
35931             program {
35932                signal: "clicked";
35933                source: "back";
35934                action: SIGNAL_EMIT "elm,action,back" "";
35935             }
35936             program {
35937                signal: "elm,title,hide";
35938                source: "elm";
35939                action: STATE_SET "hidden" 0.0;
35940                transition: LINEAR 0.1;
35941                target: "title_clipper";
35942             }
35943             program {
35944                signal: "elm,title,show";
35945                source: "elm";
35946                action: STATE_SET "default" 0.0;
35947                target: "title_clipper";
35948             }
35949             program {
35950                signal: "elm,back,hide";
35951                source: "elm";
35952                action: STATE_SET "hidden" 0.0;
35953                target: "back_clipper";
35954             }
35955             program {
35956                signal: "elm,back,show";
35957                source: "elm";
35958                action: STATE_SET "default" 0.0;
35959                target: "back_clipper";
35960             }
35961             program {
35962                signal: "clicked";
35963                source: "next";
35964                action: SIGNAL_EMIT "elm,action,next" "";
35965             }
35966             program {
35967                signal: "elm,next,hide";
35968                source: "elm";
35969                action: STATE_SET "hidden" 0.0;
35970                target: "next_clipper";
35971             }
35972             program {
35973                signal: "elm,next,show";
35974                source: "elm";
35975                action: STATE_SET "default" 0.0;
35976                target: "next_clipper";
35977             }
35978          }
35979          part { name: "elm.text.title";
35980             type: TEXT;
35981             effect: SOFT_SHADOW;
35982             scale: 1;
35983             clip_to: "title_clipper";
35984             description { state: "default" 0.0;
35985                rel1 {
35986                   to_x: "back";
35987                   relative: 1.0 0.0;
35988                   offset: 2 1;
35989                }
35990                rel2 { to_y: "back";
35991                   to_x: "next";
35992                   relative: 0.0 1.0;
35993                   offset: -3 -1;
35994                }
35995                text {
35996                   font: "Sans:style=Bold";
35997                   size: 12;
35998                }
35999             }
36000          }
36001       }
36002    }
36003
36004    /* application with toolbar and main content area as a vertical box */
36005    group { name: "elm/layout/application/toolbar-vbox";
36006       parts {
36007          part { name: "elm.box.content";
36008             type: BOX;
36009             description { state: "default" 0.0;
36010                rel1 { to_y: "elm.external.toolbar";
36011                   relative: 0.0 1.0;
36012                   offset: -1 1;
36013                }
36014                box.layout: "vertical";
36015             }
36016          }
36017
36018          part { name: "elm.external.toolbar";
36019             type: EXTERNAL;
36020             source: "elm/toolbar";
36021             description { state: "default" 0.0;
36022                align: 0.5 0.0;
36023                fixed: 0 1;
36024                rel2 {
36025                   relative: 1.0 0.0;
36026                   offset: -1 47;
36027                }
36028             }
36029          }
36030       }
36031    }
36032
36033    /* application with toolbar and main content area as a table */
36034    group { name: "elm/layout/application/toolbar-table";
36035       parts {
36036          part { name: "elm.table.content";
36037             type: TABLE;
36038             description { state: "default" 0.0;
36039                rel1 { to_y: "elm.external.toolbar";
36040                   relative: 0.0 1.0;
36041                   offset: -1 1;
36042                }
36043             }
36044          }
36045
36046          part { name: "elm.external.toolbar";
36047             type: EXTERNAL;
36048             source: "elm/toolbar";
36049             description { state: "default" 0.0;
36050                align: 0.5 0.0;
36051                fixed: 0 1;
36052                rel2 {
36053                   relative: 1.0 0.0;
36054                   offset: -1 47;
36055                }
36056             }
36057          }
36058       }
36059    }
36060
36061    /* a simple title layout, with a label and two icons */
36062    group { name: "elm/layout/application/titlebar";
36063       images {
36064          image: "toolbar_sel.png" COMP;
36065       }
36066       parts {
36067          part { name: "base";
36068             mouse_events: 0;
36069             scale: 1;
36070             description { state: "default" 0.0;
36071                min: 0 33;
36072                max: 99999 33;
36073                align: 0.5 0.0;
36074                rel1.offset: -1 0;
36075                rel2.offset: 1 0;
36076                image {
36077                   normal: "toolbar_sel.png";
36078                   border: 3 3 0 0;
36079                }
36080             }
36081          }
36082          part { name: "elm.swallow.content";
36083             type: SWALLOW;
36084             description { state: "default" 0.0;
36085                visible: 1;
36086                rel1 {
36087                   to: "base";
36088                   relative: 0.0 1.0;
36089                }
36090             }
36091          }
36092          part { name: "elm.swallow.icon";
36093             type: SWALLOW;
36094             scale: 1;
36095             description { state: "default" 0.0;
36096                visible: 0;
36097                fixed: 1 1;
36098                align: 0.0 0.0;
36099                rel1 {
36100                   to: "base";
36101                   relative: 0.0 0.0;
36102                   offset: 4 0;
36103                }
36104                rel2 {
36105                   to: "base";
36106                   relative: 0.0 1.0;
36107                }
36108             }
36109             description { state: "visible" 0.0;
36110                inherit: "default" 0.0;
36111                visible: 1;
36112             }
36113          }
36114          part { name: "elm.swallow.end";
36115             type: SWALLOW;
36116             scale: 1;
36117             description { state: "default" 0.0;
36118                visible: 0;
36119                fixed: 1 1;
36120                align: 1.0 0.0;
36121                rel1 {
36122                   to: "base";
36123                   relative: 1.0 0.0;
36124                   offset: 0 0;
36125                }
36126                rel2 {
36127                   to: "base";
36128                   relative: 1.0 1.0;
36129                   offset: -5 -1;
36130                }
36131             }
36132             description { state: "visible" 0.0;
36133                inherit: "default" 0.0;
36134                visible: 1;
36135             }
36136          }
36137          part { name: "elm.text";
36138             type: TEXT;
36139             effect: SOFT_SHADOW;
36140             mouse_events: 0;
36141             scale: 1;
36142             description { state: "default" 0.0;
36143                fixed: 1 1;
36144                rel1 {
36145                   to_x: "elm.swallow.icon";
36146                   to_y: "base";
36147                   relative: 1.0 0.0;
36148                }
36149                rel2 {
36150                   to_x: "elm.swallow.end";
36151                   to_y: "base";
36152                   relative: 0.0 1.0;
36153                }
36154                text {
36155                   font: "Sans";
36156                   size: 12;
36157                   min: 0 0;
36158                   align: 0.5 0.5;
36159                   text_class: "title_bar";
36160                }
36161             }
36162          }
36163       }
36164       programs {
36165          program { name: "show_icon";
36166             signal: "elm,state,icon,visible";
36167             source: "elm";
36168             action: STATE_SET "visible" 0.0;
36169             target: "elm.swallow.icon";
36170          }
36171          program { name: "hide_icon";
36172             signal: "elm,state,icon,hidden";
36173             source: "elm";
36174             action: STATE_SET "default" 0.0;
36175             target: "elm.swallow.icon";
36176          }
36177          program { name: "show_end";
36178             signal: "elm,state,end,visible";
36179             source: "elm";
36180             action: STATE_SET "visible" 0.0;
36181             target: "elm.swallow.end";
36182          }
36183          program { name: "hide_end";
36184             signal: "elm,state,end,hidden";
36185             source: "elm";
36186             action: STATE_SET "default" 0.0;
36187             target: "elm.swallow.end";
36188          }
36189       }
36190    }
36191 }
36192
36193
36194
36195