abd2c3fb59ebe4b3d3535dcc804f47293ecf9a5f
[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/access/base/default";
247       images {
248          image: "access_glow.png" LOSSY 85;
249       }
250       parts {
251          part { name: "block1"; type: RECT;
252             mouse_events:  0;
253             description { state: "default" 0.0;
254                color: 0 0 0 200;
255                rel1 { to: "base";
256                   relative: 0.0 0.0;
257                   offset: -100000 -100000;
258                }
259                rel2 { to: "base";
260                   relative: 1.0 0.0;
261                   offset: 100000 96;
262                }
263             }
264          }
265          part { name: "block2"; type: RECT;
266             mouse_events:  0;
267             description { state: "default" 0.0;
268                color: 0 0 0 200;
269                rel1 { to: "base";
270                   relative: 0.0 1.0;
271                   offset: -100000 -97;
272                }
273                rel2 { to: "base";
274                   relative: 1.0 1.0;
275                   offset: 100000 100000;
276                }
277             }
278          }
279          part { name: "block3"; type: RECT;
280             mouse_events:  0;
281             description { state: "default" 0.0;
282                color: 0 0 0 200;
283                rel1 { to: "block1";
284                   relative: 0.0 1.0;
285                   offset: 0 0;
286                }
287                rel2 { to_x: "base"; to_y: "block2";
288                   relative: 0.0 0.0;
289                   offset: 96 -1;
290                }
291             }
292          }
293          part { name: "block4"; type: RECT;
294             mouse_events:  0;
295             description { state: "default" 0.0;
296                color: 0 0 0 200;
297                rel1 { to_x: "base"; to_y: "block1";
298                   relative: 1.0 1.0;
299                   offset: -97 0;
300                }
301                rel2 { to: "block2";
302                   relative: 1.0 0.0;
303                   offset: -1 -1;
304                }
305             }
306          }
307          part { name: "base";
308             mouse_events:  0;
309             description { state: "default" 0.0;
310                image.normal: "access_glow.png";
311                image.border: 112 112 112 112;
312                rel1.offset: -102 -102;
313                rel2.offset:  101  101;
314                fill.smooth: 0;
315             }
316          }
317       }
318    }
319
320 ///////////////////////////////////////////////////////////////////////////////
321    group { name: "elm/bg/base/default";
322       images {
323          image: "dia_grad.png" COMP;
324          image: "dia_topshad.png" COMP;
325          image: "dia_botshad.png" COMP;
326       }
327       parts {
328          part { name: "base";
329             mouse_events:  0;
330             description { state: "default" 0.0;
331                image.normal: "dia_grad.png";
332                fill {
333                   smooth: 0;
334                   size {
335                      relative: 0.0 1.0;
336                      offset: 64 0;
337                   }
338                }
339             }
340          }
341          part { name: "elm.swallow.rectangle";
342             type: SWALLOW;
343             description { state: "default" 0.0;
344             }
345          }
346          part { name: "elm.swallow.background";
347             type: SWALLOW;
348             description { state: "default" 0.0;
349             }
350          }
351          part { name: "shadow";
352             mouse_events:  0;
353             description { state: "default" 0.0;
354                rel2.relative: 1.0 0.0;
355                rel2.offset: -1 31;
356                image.normal: "dia_topshad.png";
357                fill {
358                   smooth: 0;
359                   size {
360                      relative: 0.0 1.0;
361                      offset: 64 0;
362                   }
363                }
364             }
365          }
366          part { name: "shadow2";
367             mouse_events:  0;
368             description { state: "default" 0.0;
369                rel1.relative: 0.0 1.0;
370                rel1.offset: 0 -9;
371                image.normal: "dia_botshad.png";
372                fill {
373                   smooth: 0;
374                   size {
375                      relative: 0.0 1.0;
376                      offset: 64 0;
377                   }
378                }
379             }
380          }
381          part { name: "elm.swallow.content";
382             type: SWALLOW;
383             description { state: "default" 0.0;
384             }
385          }
386       }
387    }
388
389 ///////////////////////////////////////////////////////////////////////////////
390    group { name: "elm/scroller/base/default";
391
392       alias: "elm/list/base/default";
393       alias: "elm/genlist/base/default";
394       alias: "elm/carousel/base/default";
395       alias: "elm/gengrid/base/default";
396       alias: "elm/scroller/base/map_bubble";
397       alias: "elm/genscroller/base/default";
398
399       data {
400          item: "focus_highlight" "on";
401       }
402
403       script {
404          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
405          public timer0(val) {
406             new v;
407             v = get_int(sbvis_v);
408             if (v) {
409                v = get_int(sbalways_v);
410                if (!v) {
411                   emit("do-hide-vbar", "");
412                   set_int(sbvis_v, 0);
413                }
414             }
415             v = get_int(sbvis_h);
416             if (v) {
417                v = get_int(sbalways_h);
418                if (!v) {
419                   emit("do-hide-hbar", "");
420                   set_int(sbvis_h, 0);
421                }
422             }
423             set_int(sbvis_timer, 0);
424             return 0;
425          }
426       }
427       images {
428          image: "shelf_inset.png" COMP;
429          image: "bt_sm_base2.png" COMP;
430          image: "bt_sm_shine.png" COMP;
431          image: "bt_sm_hilight.png" COMP;
432          image: "sl_bt2_2.png" COMP;
433       }
434       parts {
435          part { name: "bg";
436             type: RECT;
437             description { state: "default" 0.0;
438                rel1.offset: 2 2;
439                rel2.offset: -3 -3;
440                color: 255 255 255 0;
441             }
442          }
443          part { name: "clipper";
444             type: RECT;
445             mouse_events: 0;
446             description { state: "default" 0.0;
447                rel1.to: "bg";
448                rel2.to: "bg";
449                rel1.offset: 2 2;
450                rel2.offset: -3 -3;
451             }
452          }
453          part { name: "elm.swallow.content";
454             clip_to: "clipper";
455             type: SWALLOW;
456             description { state: "default" 0.0;
457                rel1.to: "bg";
458                rel2.to: "bg";
459                rel1.offset: 2 2;
460                rel2.offset: -3 -3;
461             }
462          }
463          part { name: "conf_over";
464             mouse_events:  0;
465             description { state: "default" 0.0;
466                rel1.to: "bg";
467                rel2.to: "bg";
468                image {
469                   normal: "shelf_inset.png";
470                   border: 7 7 7 7;
471                   middle: 0;
472                }
473                fill.smooth : 0;
474             }
475             description { state: "enabled" 0.0;
476                inherit: "default" 0.0;
477                color: 200 155 0 255;
478             }
479          }
480          part { name: "focus_highlight";
481             mouse_events: 0;
482             description { state: "default" 0.0;
483                rel1.offset: -1 -1;
484                rel2.offset: 0 0;
485                image {
486                   normal: "sl_bt2_2.png";
487                   border: 7 7 7 7;
488                   middle: 0;
489                }
490                fill.smooth : 0;
491                color: 200 155 0 0;
492             }
493             description { state: "enabled" 0.0;
494                inherit: "default" 0.0;
495                color: 200 155 0 255;
496             }
497          }
498          part { name: "sb_vbar_clip_master";
499             type: RECT;
500             mouse_events: 0;
501             description { state: "default" 0.0;
502             }
503             description { state: "hidden" 0.0;
504                visible: 0;
505                color: 255 255 255 0;
506             }
507          }
508          part { name: "sb_vbar_clip";
509             clip_to: "sb_vbar_clip_master";
510             type: RECT;
511             mouse_events: 0;
512             description { state: "default" 0.0;
513             }
514             description { state: "hidden" 0.0;
515                visible: 0;
516                color: 255 255 255 0;
517             }
518          }
519          part { name: "sb_vbar";
520             type: RECT;
521             mouse_events: 0;
522             description { state: "default" 0.0;
523                fixed: 1 1;
524                visible: 0;
525                min: 10 17;
526                align: 1.0 0.0;
527                rel1 {
528                   relative: 1.0 0.0;
529                   offset:   0 2;
530                   to_y:     "elm.swallow.content";
531                   to_x:     "elm.swallow.content";
532                }
533                rel2 {
534                   relative: 1.0 0.0;
535                   offset:   -1 -1;
536                   to_y:     "sb_hbar";
537                   to_x:     "elm.swallow.content";
538                }
539             }
540          }
541          part { name: "elm.dragable.vbar";
542             clip_to: "sb_vbar_clip";
543             mouse_events: 0;
544             dragable {
545                x: 0 0 0;
546                y: 1 1 0;
547                confine: "sb_vbar";
548             }
549             description { state: "default" 0.0;
550                fixed: 1 1;
551                min: 10 17;
552                max: 10 99999;
553                rel1 {
554                   relative: 0.5  0.5;
555                   offset:   0    0;
556                   to: "sb_vbar";
557                }
558                rel2 {
559                   relative: 0.5  0.5;
560                   offset:   0    0;
561                   to: "sb_vbar";
562                }
563                image {
564                   normal: "bt_sm_base2.png";
565                   border: 6 6 6 6;
566                   middle: SOLID;
567                }
568             }
569          }
570          part { name: "sb_vbar_over1";
571             clip_to: "sb_vbar_clip";
572             mouse_events: 0;
573             description { state: "default" 0.0;
574                rel1.to: "elm.dragable.vbar";
575                rel2.relative: 1.0 0.5;
576                rel2.to: "elm.dragable.vbar";
577                image {
578                   normal: "bt_sm_hilight.png";
579                   border: 6 6 6 0;
580                }
581             }
582          }
583          part { name: "sb_vbar_over2";
584             clip_to: "sb_vbar_clip";
585             mouse_events: 0;
586             description { state: "default" 0.0;
587                rel1.to: "elm.dragable.vbar";
588                rel2.to: "elm.dragable.vbar";
589                image {
590                   normal: "bt_sm_shine.png";
591                   border: 6 6 6 0;
592                }
593             }
594          }
595
596          part { name: "sb_hbar_clip_master";
597             type: RECT;
598             mouse_events: 0;
599             description { state: "default" 0.0;
600             }
601             description { state: "hidden" 0.0;
602                visible: 0;
603                color: 255 255 255 0;
604             }
605          }
606          part { name: "sb_hbar_clip";
607             clip_to: "sb_hbar_clip_master";
608             type: RECT;
609             mouse_events: 0;
610             description { state: "default" 0.0;
611             }
612             description { state: "hidden" 0.0;
613                visible: 0;
614                color: 255 255 255 0;
615             }
616          }
617          part { name: "sb_hbar";
618             type: RECT;
619             mouse_events: 0;
620             description { state: "default" 0.0;
621                fixed: 1 1;
622                visible: 0;
623                min: 17 10;
624                align: 0.0 1.0;
625                rel1 {
626                   relative: 0.0 1.0;
627                   offset:   2 0;
628                   to_x:     "elm.swallow.content";
629                   to_y:     "elm.swallow.content";
630                }
631                rel2 {
632                   relative: 0.0 1.0;
633                   offset:   -1 -1;
634                   to_x:     "sb_vbar";
635                   to_y:     "elm.swallow.content";
636                }
637             }
638          }
639          part { name: "elm.dragable.hbar";
640             clip_to: "sb_hbar_clip";
641             mouse_events: 0;
642             dragable {
643                x: 1 1 0;
644                y: 0 0 0;
645                confine: "sb_hbar";
646             }
647             description { state: "default" 0.0;
648                fixed: 1 1;
649                min: 17 10;
650                max: 99999 10;
651                rel1 {
652                   relative: 0.5  0.5;
653                   offset:   0    0;
654                   to: "sb_hbar";
655                }
656                rel2 {
657                   relative: 0.5  0.5;
658                   offset:   0    0;
659                   to: "sb_hbar";
660                }
661                image {
662                   normal: "bt_sm_base2.png";
663                   border: 4 4 4 4;
664                   middle: SOLID;
665                }
666             }
667          }
668          part { name: "sb_hbar_over1";
669             clip_to: "sb_hbar_clip";
670             mouse_events: 0;
671             description { state: "default" 0.0;
672                rel1.to: "elm.dragable.hbar";
673                rel2.relative: 1.0 0.5;
674                rel2.to: "elm.dragable.hbar";
675                image {
676                   normal: "bt_sm_hilight.png";
677                   border: 4 4 4 0;
678                }
679             }
680          }
681          part { name: "sb_hbar_over2";
682             clip_to: "sb_hbar_clip";
683             mouse_events: 0;
684             description { state: "default" 0.0;
685                rel1.to: "elm.dragable.hbar";
686                rel2.to: "elm.dragable.hbar";
687                image {
688                   normal: "bt_sm_shine.png";
689                   border: 4 4 4 0;
690                }
691             }
692          }
693           part { name: "disabler";
694             type: RECT;
695             description { state: "default" 0.0;
696                rel1.to: "clipper";
697                rel2.to: "clipper";
698                color: 0 0 0 0;
699                visible: 0;
700             }
701             description { state: "disabled" 0.0;
702                inherit: "default" 0.0;
703                visible: 1;
704                color: 128 128 128 128;
705             }
706          }
707       }
708       programs {
709          program { name: "load";
710             signal: "load";
711             source: "";
712             script {
713                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
714                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
715                set_int(sbvis_h, 0);
716                set_int(sbvis_v, 0);
717                set_int(sbalways_v, 0);
718                set_int(sbalways_h, 0);
719                set_int(sbvis_timer, 0);
720             }
721          }
722
723          program { name: "vbar_show";
724             signal: "elm,action,show,vbar";
725             source: "elm";
726             action:  STATE_SET "default" 0.0;
727             target: "sb_vbar_clip_master";
728          }
729          program { name: "vbar_hide";
730             signal: "elm,action,hide,vbar";
731             source: "elm";
732             action:  STATE_SET "hidden" 0.0;
733             target: "sb_vbar_clip_master";
734          }
735          program { name: "vbar_show_always";
736             signal: "elm,action,show_always,vbar";
737             source: "elm";
738             script {
739                new v;
740                v = get_int(sbvis_v);
741                v |= get_int(sbalways_v);
742                if (!v) {
743                   set_int(sbalways_v, 1);
744                   emit("do-show-vbar", "");
745                   set_int(sbvis_v, 1);
746                }
747             }
748          }
749          program { name: "vbar_show_notalways";
750             signal: "elm,action,show_notalways,vbar";
751             source: "elm";
752             script {
753                new v;
754                v = get_int(sbalways_v);
755                if (v) {
756                   set_int(sbalways_v, 0);
757                   v = get_int(sbvis_v);
758                   if (!v) {
759                      emit("do-hide-vbar", "");
760                      set_int(sbvis_v, 0);
761                   }
762                }
763             }
764          }
765          program { name: "sb_vbar_show";
766             signal: "do-show-vbar";
767             source: "";
768             action:  STATE_SET "default" 0.0;
769             transition: LINEAR 0.5;
770             target: "sb_vbar_clip";
771          }
772          program { name: "sb_vbar_hide";
773             signal: "do-hide-vbar";
774             source: "";
775             action:  STATE_SET "hidden" 0.0;
776             transition: LINEAR 0.5;
777             target: "sb_vbar_clip";
778          }
779
780          program { name: "hbar_show";
781             signal: "elm,action,show,hbar";
782             source: "elm";
783             action:  STATE_SET "default" 0.0;
784             target: "sb_hbar_clip_master";
785          }
786          program { name: "hbar_hide";
787             signal: "elm,action,hide,hbar";
788             source: "elm";
789             action:  STATE_SET "hidden" 0.0;
790             target: "sb_hbar_clip_master";
791          }
792          program { name: "hbar_show_always";
793             signal: "elm,action,show_always,hbar";
794             source: "elm";
795             script {
796                new v;
797                v = get_int(sbvis_h);
798                v |= get_int(sbalways_h);
799                if (!v) {
800                   set_int(sbalways_h, 1);
801                   emit("do-show-hbar", "");
802                   set_int(sbvis_h, 1);
803                }
804             }
805          }
806          program { name: "hbar_show_notalways";
807             signal: "elm,action,show_notalways,hbar";
808             source: "elm";
809             script {
810                new v;
811                v = get_int(sbalways_h);
812                if (v) {
813                   set_int(sbalways_h, 0);
814                   v = get_int(sbvis_h);
815                   if (!v) {
816                      emit("do-hide-hbar", "");
817                      set_int(sbvis_h, 0);
818                   }
819                }
820             }
821          }
822          program { name: "sb_hbar_show";
823             signal: "do-show-hbar";
824             source: "";
825             action:  STATE_SET "default" 0.0;
826             transition: LINEAR 0.5;
827             target: "sb_hbar_clip";
828          }
829          program { name: "sb_hbar_hide";
830             signal: "do-hide-hbar";
831             source: "";
832             action:  STATE_SET "hidden" 0.0;
833             transition: LINEAR 0.5;
834             target: "sb_hbar_clip";
835          }
836
837          program { name: "scroll";
838             signal: "elm,action,scroll";
839             source: "elm";
840             script {
841                new v;
842                v = get_int(sbvis_v);
843                v |= get_int(sbalways_v);
844                if (!v) {
845                   emit("do-show-vbar", "");
846                   set_int(sbvis_v, 1);
847                }
848                v = get_int(sbvis_h);
849                v |= get_int(sbalways_h);
850                if (!v) {
851                   emit("do-show-hbar", "");
852                   set_int(sbvis_h, 1);
853                }
854                v = get_int(sbvis_timer);
855                if (v > 0) cancel_timer(v);
856                v = timer(1.0, "timer0", 0);
857                set_int(sbvis_timer, v);
858             }
859          }
860
861          program { name: "highlight_show";
862             signal: "elm,action,focus_highlight,show";
863             source: "elm";
864             action: STATE_SET "enabled" 0.0;
865             transition: ACCELERATE 0.3;
866             target: "focus_highlight";
867             target: "conf_over";
868          }
869          program { name: "highlight_hide";
870             signal: "elm,action,focus_highlight,hide";
871             source: "elm";
872             action: STATE_SET "default" 0.0;
873             transition: DECELERATE 0.3;
874             target: "focus_highlight";
875             target: "conf_over";
876          }
877          program { name: "disable";
878             signal: "elm,state,disabled";
879             source: "elm";
880             action: STATE_SET "disabled" 0.0;
881             target: "disabler";
882          }
883          program { name: "enable";
884             signal: "elm,state,enabled";
885             source: "elm";
886             action: STATE_SET "default" 0.0;
887             target: "disabler";
888          }
889       }
890    }
891
892 ///////////////////////////////////////////////////////////////////////////////
893    group { name: "elm/scroller/entry/default";
894
895       data {
896          item: "focus_highlight" "on";
897       }
898
899       script {
900          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
901          public timer0(val) {
902             new v;
903             v = get_int(sbvis_v);
904             if (v) {
905                v = get_int(sbalways_v);
906                if (!v) {
907                   emit("do-hide-vbar", "");
908                   set_int(sbvis_v, 0);
909                }
910             }
911             v = get_int(sbvis_h);
912             if (v) {
913                v = get_int(sbalways_h);
914                if (!v) {
915                   emit("do-hide-hbar", "");
916                   set_int(sbvis_h, 0);
917                }
918             }
919             set_int(sbvis_timer, 0);
920             return 0;
921          }
922       }
923       images {
924          image: "shelf_inset.png" COMP;
925          image: "bt_sm_base2.png" COMP;
926          image: "bt_sm_shine.png" COMP;
927          image: "bt_sm_hilight.png" COMP;
928          image: "sl_bt2_2.png" COMP;
929       }
930       parts {
931          part { name: "bg";
932             type: RECT;
933             description { state: "default" 0.0;
934                rel1.offset: 2 2;
935                rel2.offset: -3 -3;
936             }
937          }
938          part { name: "clipper";
939             type: RECT;
940             mouse_events: 0;
941             description { state: "default" 0.0;
942                rel1.to: "bg";
943                rel2.to: "bg";
944                rel1.offset: 2 2;
945                rel2.offset: -3 -3;
946             }
947          }
948          part { name: "contentclipper";
949             type: RECT;
950             mouse_events: 0;
951             clip_to: "clipper";
952             description { state: "default" 0.0;
953                rel1.to: "elm.swallow.icon";
954                rel1.relative: 1.0 0.0;
955                rel2.to: "elm.swallow.end";
956                rel2.relative: 0.0 1.0;
957             }
958          }
959          part { name: "elm.swallow.icon";
960             type: SWALLOW;
961             clip_to: "clipper";
962             description { state: "default" 0.0;
963                fixed: 1 1;
964                rel1 {
965                   to: "bg";
966                   relative: 0.0 0.0;
967                   offset: 0 0;
968                }
969                rel2 {
970                   to: "bg";
971                   relative: 0.0 1.0;
972                   offset: -1 -1;
973                }
974                visible: 0;
975             }
976             description { state: "visible" 0.0;
977                fixed: 1 1;
978                align: 0.0 1.0;
979                rel1 {
980                          to: "bg";
981                          relative: 0.0 0.0;
982                          offset: 0 0;
983                }
984                rel2 {
985                   to: "bg";
986                   relative: 0.0 1.0;
987                   offset: -1 -1;
988                }
989                visible: 1;
990             }
991          }
992          part { name: "elm.swallow.end";
993             type: SWALLOW;
994             clip_to: "clipper";
995             description { state: "default" 0.0;
996                fixed: 1 1;
997                rel1 {
998                   to: "bg";
999                   relative: 1.0 0.0;
1000                   offset: 0 0;
1001                }
1002                rel2 {
1003                   to: "bg";
1004                   relative: 1.0 1.0;
1005                   offset: -1 -1;
1006                }
1007                visible: 0;
1008             }
1009             description { state: "visible" 0.0;
1010                fixed: 1 1;
1011                align: 1.0 1.0;
1012                rel1 {
1013                   to: "bg";
1014                   relative: 1.0 0.0;
1015                   offset: 0 0;
1016                }
1017                rel2 {
1018                   to: "bg";
1019                   relative: 1.0 1.0;
1020                   offset: -1 -1;
1021                }
1022                visible: 1;
1023             }
1024          }
1025          part { name: "elm.swallow.content";
1026             clip_to: "contentclipper";
1027             type: SWALLOW;
1028             description { state: "default" 0.0;
1029                rel1 {
1030                        to: "elm.swallow.icon";
1031                        relative: 1.0 0.0;
1032                        offset: 4 4;
1033                }
1034                rel2 {
1035                 to: "elm.swallow.end";
1036                 relative: 0.0 1.0;
1037                 offset: -5 -5;
1038                }
1039             }
1040          }
1041          part { name: "conf_over";
1042             mouse_events:  0;
1043             description { state: "default" 0.0;
1044                rel1.to: "bg";
1045                rel2.to: "bg";
1046                image {
1047                   normal: "shelf_inset.png";
1048                   border: 7 7 7 7;
1049                   middle: 0;
1050                }
1051                fill.smooth : 0;
1052             }
1053             description { state: "enabled" 0.0;
1054                inherit: "default" 0.0;
1055                color: 200 155 0 255;
1056             }
1057          }
1058          part { name: "focus_highlight";
1059             mouse_events: 0;
1060             description { state: "default" 0.0;
1061                rel1.offset: -1 -1;
1062                rel2.offset: 0 0;
1063                image {
1064                   normal: "sl_bt2_2.png";
1065                   border: 7 7 7 7;
1066                   middle: 0;
1067                }
1068                fill.smooth : 0;
1069                color: 200 155 0 0;
1070             }
1071             description { state: "enabled" 0.0;
1072                inherit: "default" 0.0;
1073                color: 200 155 0 255;
1074             }
1075          }
1076          part { name: "sb_vbar_clip_master";
1077             type: RECT;
1078             mouse_events: 0;
1079             description { state: "default" 0.0;
1080             }
1081             description { state: "hidden" 0.0;
1082                visible: 0;
1083                color: 255 255 255 0;
1084             }
1085          }
1086          part { name: "sb_vbar_clip";
1087             clip_to: "sb_vbar_clip_master";
1088             type: RECT;
1089             mouse_events: 0;
1090             description { state: "default" 0.0;
1091             }
1092             description { state: "hidden" 0.0;
1093                visible: 0;
1094                color: 255 255 255 0;
1095             }
1096          }
1097          part { name: "sb_vbar";
1098             type: RECT;
1099             mouse_events: 0;
1100             description { state: "default" 0.0;
1101                fixed: 1 1;
1102                visible: 0;
1103                min: 10 17;
1104                align: 1.0 0.0;
1105                rel1 {
1106                   relative: 0.0 0.0;
1107                   offset:   -2 2;
1108                   to_y:     "elm.swallow.content";
1109                   to_x:     "elm.swallow.end";
1110                }
1111                rel2 {
1112                   relative: 0.0 0.0;
1113                   offset:   -2 -1;
1114                   to_y:     "sb_hbar";
1115                   to_x:     "elm.swallow.end";
1116                }
1117             }
1118          }
1119          part { name: "elm.dragable.vbar";
1120             clip_to: "sb_vbar_clip";
1121             mouse_events: 0;
1122             dragable {
1123                x: 0 0 0;
1124                y: 1 1 0;
1125                confine: "sb_vbar";
1126             }
1127             description { state: "default" 0.0;
1128                fixed: 1 1;
1129                min: 10 17;
1130                max: 10 99999;
1131                rel1 {
1132                   relative: 0.5  0.5;
1133                   offset:   0    0;
1134                   to: "sb_vbar";
1135                }
1136                rel2 {
1137                   relative: 0.5  0.5;
1138                   offset:   0    0;
1139                   to: "sb_vbar";
1140                }
1141                image {
1142                   normal: "bt_sm_base2.png";
1143                   border: 6 6 6 6;
1144                   middle: SOLID;
1145                }
1146             }
1147          }
1148          part { name: "sb_vbar_over1";
1149             clip_to: "sb_vbar_clip";
1150             mouse_events: 0;
1151             description { state: "default" 0.0;
1152                rel1.to: "elm.dragable.vbar";
1153                rel2.relative: 1.0 0.5;
1154                rel2.to: "elm.dragable.vbar";
1155                image {
1156                   normal: "bt_sm_hilight.png";
1157                   border: 6 6 6 0;
1158                }
1159             }
1160          }
1161          part { name: "sb_vbar_over2";
1162             clip_to: "sb_vbar_clip";
1163             mouse_events: 0;
1164             description { state: "default" 0.0;
1165                rel1.to: "elm.dragable.vbar";
1166                rel2.to: "elm.dragable.vbar";
1167                image {
1168                   normal: "bt_sm_shine.png";
1169                   border: 6 6 6 0;
1170                }
1171             }
1172          }
1173
1174          part { name: "sb_hbar_clip_master";
1175             type: RECT;
1176             mouse_events: 0;
1177             description { state: "default" 0.0;
1178             }
1179             description { state: "hidden" 0.0;
1180                visible: 0;
1181                color: 255 255 255 0;
1182             }
1183          }
1184          part { name: "sb_hbar_clip";
1185             clip_to: "sb_hbar_clip_master";
1186             type: RECT;
1187             mouse_events: 0;
1188             description { state: "default" 0.0;
1189             }
1190             description { state: "hidden" 0.0;
1191                visible: 0;
1192                color: 255 255 255 0;
1193             }
1194          }
1195          part { name: "sb_hbar";
1196             type: RECT;
1197             mouse_events: 0;
1198             description { state: "default" 0.0;
1199                fixed: 1 1;
1200                visible: 0;
1201                min: 17 10;
1202                align: 0.0 1.0;
1203                rel1 {
1204                   relative: 0.0 1.0;
1205                   offset:   2 0;
1206                   to_x:     "elm.swallow.content";
1207                   to_y:     "elm.swallow.content";
1208                }
1209                rel2 {
1210                   relative: 0.0 1.0;
1211                   offset:   -1 -1;
1212                   to_x:     "sb_vbar";
1213                   to_y:     "elm.swallow.content";
1214                }
1215             }
1216          }
1217          part { name: "elm.dragable.hbar";
1218             clip_to: "sb_hbar_clip";
1219             mouse_events: 0;
1220             dragable {
1221                x: 1 1 0;
1222                y: 0 0 0;
1223                confine: "sb_hbar";
1224             }
1225             description { state: "default" 0.0;
1226                fixed: 1 1;
1227                min: 17 10;
1228                max: 99999 10;
1229                rel1 {
1230                   relative: 0.5  0.5;
1231                   offset:   0    0;
1232                   to: "sb_hbar";
1233                }
1234                rel2 {
1235                   relative: 0.5  0.5;
1236                   offset:   0    0;
1237                   to: "sb_hbar";
1238                }
1239                image {
1240                   normal: "bt_sm_base2.png";
1241                   border: 4 4 4 4;
1242                   middle: SOLID;
1243                }
1244             }
1245          }
1246          part { name: "sb_hbar_over1";
1247             clip_to: "sb_hbar_clip";
1248             mouse_events: 0;
1249             description { state: "default" 0.0;
1250                rel1.to: "elm.dragable.hbar";
1251                rel2.relative: 1.0 0.5;
1252                rel2.to: "elm.dragable.hbar";
1253                image {
1254                   normal: "bt_sm_hilight.png";
1255                   border: 4 4 4 0;
1256                }
1257             }
1258          }
1259          part { name: "sb_hbar_over2";
1260             clip_to: "sb_hbar_clip";
1261             mouse_events: 0;
1262             description { state: "default" 0.0;
1263                rel1.to: "elm.dragable.hbar";
1264                rel2.to: "elm.dragable.hbar";
1265                image {
1266                   normal: "bt_sm_shine.png";
1267                   border: 4 4 4 0;
1268                }
1269             }
1270          }
1271       }
1272       programs {
1273          program { name: "load";
1274             signal: "load";
1275             source: "";
1276             script {
1277                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1278                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1279                set_int(sbvis_h, 0);
1280                set_int(sbvis_v, 0);
1281                set_int(sbalways_v, 0);
1282                set_int(sbalways_h, 0);
1283                set_int(sbvis_timer, 0);
1284             }
1285          }
1286          program { name: "icon_show";
1287             signal: "elm,action,show,icon";
1288             source: "elm";
1289             action: STATE_SET "visible" 0.0;
1290             target: "elm.swallow.icon";
1291          }
1292          program { name: "icon_hide";
1293             signal: "elm,action,hide,icon";
1294             source: "elm";
1295             action: STATE_SET "default" 0.0;
1296             target: "elm.swallow.icon";
1297          }
1298          program { name: "end_show";
1299             signal: "elm,action,show,end";
1300             source: "elm";
1301             action: STATE_SET "visible" 0.0;
1302             target: "elm.swallow.end";
1303          }
1304          program { name: "end_hide";
1305             signal: "elm,action,hide,end";
1306             source: "elm";
1307             action: STATE_SET "default" 0.0;
1308             target: "elm.swallow.end";
1309          }
1310          program { name: "vbar_show";
1311             signal: "elm,action,show,vbar";
1312             source: "elm";
1313             action:  STATE_SET "default" 0.0;
1314             target: "sb_vbar_clip_master";
1315          }
1316          program { name: "vbar_hide";
1317             signal: "elm,action,hide,vbar";
1318             source: "elm";
1319             action:  STATE_SET "hidden" 0.0;
1320             target: "sb_vbar_clip_master";
1321          }
1322          program { name: "vbar_show_always";
1323             signal: "elm,action,show_always,vbar";
1324             source: "elm";
1325             script {
1326                new v;
1327                v = get_int(sbvis_v);
1328                v |= get_int(sbalways_v);
1329                if (!v) {
1330                   set_int(sbalways_v, 1);
1331                   emit("do-show-vbar", "");
1332                   set_int(sbvis_v, 1);
1333                }
1334             }
1335          }
1336          program { name: "vbar_show_notalways";
1337             signal: "elm,action,show_notalways,vbar";
1338             source: "elm";
1339             script {
1340                new v;
1341                v = get_int(sbalways_v);
1342                if (v) {
1343                   set_int(sbalways_v, 0);
1344                   v = get_int(sbvis_v);
1345                   if (!v) {
1346                      emit("do-hide-vbar", "");
1347                      set_int(sbvis_v, 0);
1348                   }
1349                }
1350             }
1351          }
1352          program { name: "sb_vbar_show";
1353             signal: "do-show-vbar";
1354             source: "";
1355             action:  STATE_SET "default" 0.0;
1356             transition: LINEAR 0.5;
1357             target: "sb_vbar_clip";
1358          }
1359          program { name: "sb_vbar_hide";
1360             signal: "do-hide-vbar";
1361             source: "";
1362             action:  STATE_SET "hidden" 0.0;
1363             transition: LINEAR 0.5;
1364             target: "sb_vbar_clip";
1365          }
1366
1367          program { name: "hbar_show";
1368             signal: "elm,action,show,hbar";
1369             source: "elm";
1370             action:  STATE_SET "default" 0.0;
1371             target: "sb_hbar_clip_master";
1372          }
1373          program { name: "hbar_hide";
1374             signal: "elm,action,hide,hbar";
1375             source: "elm";
1376             action:  STATE_SET "hidden" 0.0;
1377             target: "sb_hbar_clip_master";
1378          }
1379          program { name: "hbar_show_always";
1380             signal: "elm,action,show_always,hbar";
1381             source: "elm";
1382             script {
1383                new v;
1384                v = get_int(sbvis_h);
1385                v |= get_int(sbalways_h);
1386                if (!v) {
1387                   set_int(sbalways_h, 1);
1388                   emit("do-show-hbar", "");
1389                   set_int(sbvis_h, 1);
1390                }
1391             }
1392          }
1393          program { name: "hbar_show_notalways";
1394             signal: "elm,action,show_notalways,hbar";
1395             source: "elm";
1396             script {
1397                new v;
1398                v = get_int(sbalways_h);
1399                if (v) {
1400                   set_int(sbalways_h, 0);
1401                   v = get_int(sbvis_h);
1402                   if (!v) {
1403                      emit("do-hide-hbar", "");
1404                      set_int(sbvis_h, 0);
1405                   }
1406                }
1407             }
1408          }
1409          program { name: "sb_hbar_show";
1410             signal: "do-show-hbar";
1411             source: "";
1412             action:  STATE_SET "default" 0.0;
1413             transition: LINEAR 0.5;
1414             target: "sb_hbar_clip";
1415          }
1416          program { name: "sb_hbar_hide";
1417             signal: "do-hide-hbar";
1418             source: "";
1419             action:  STATE_SET "hidden" 0.0;
1420             transition: LINEAR 0.5;
1421             target: "sb_hbar_clip";
1422          }
1423
1424          program { name: "scroll";
1425             signal: "elm,action,scroll";
1426             source: "elm";
1427             script {
1428                new v;
1429                v = get_int(sbvis_v);
1430                v |= get_int(sbalways_v);
1431                if (!v) {
1432                   emit("do-show-vbar", "");
1433                   set_int(sbvis_v, 1);
1434                }
1435                v = get_int(sbvis_h);
1436                v |= get_int(sbalways_h);
1437                if (!v) {
1438                   emit("do-show-hbar", "");
1439                   set_int(sbvis_h, 1);
1440                }
1441                v = get_int(sbvis_timer);
1442                if (v > 0) cancel_timer(v);
1443                v = timer(1.0, "timer0", 0);
1444                set_int(sbvis_timer, v);
1445             }
1446          }
1447
1448          program { name: "highlight_show";
1449             signal: "elm,action,focus_highlight,show";
1450             source: "elm";
1451             action: STATE_SET "enabled" 0.0;
1452             transition: ACCELERATE 0.3;
1453             target: "focus_highlight";
1454             target: "conf_over";
1455          }
1456          program { name: "highlight_hide";
1457             signal: "elm,action,focus_highlight,hide";
1458             source: "elm";
1459             action: STATE_SET "default" 0.0;
1460             transition: DECELERATE 0.3;
1461             target: "focus_highlight";
1462             target: "conf_over";
1463          }
1464       }
1465    }
1466
1467 ///////////////////////////////////////////////////////////////////////////////
1468 #define TEXT_SLIDE_DURATION     10
1469
1470    group { name: "elm/label/base/default";
1471       data.item: "default_font_size" "10";
1472       data.item: "min_font_size" "6";
1473       data.item: "max_font_size" "60";
1474       styles {
1475          style { name: "textblock_style";
1476             base: "font=Sans font_size=10 color=#000 text_class=label";
1477             tag:  "br" "\n";
1478             tag:  "ps" "ps";
1479             tag:  "hilight" "+ font=Sans:style=Bold";
1480             tag:  "b" "+ font=Sans:style=Bold";
1481             tag:  "tab" "\t";
1482            }
1483         }
1484       parts {
1485          part { name: "label.swallow.background";
1486             type: SWALLOW;
1487             description { state: "default" 0.0;
1488                visible: 1;
1489             }
1490          }
1491          part { name: "label.text.clip";
1492             type: RECT;
1493             description { state: "default" 0.0;
1494                rel1 { relative: 0 0; to: "label.swallow.background"; }
1495                rel2 { relative: 1 1; to: "label.swallow.background"; }
1496             }
1497          }
1498          part { name: "elm.text";
1499             type: TEXTBLOCK;
1500             mouse_events: 0;
1501             scale: 1;
1502             clip_to: "label.text.clip";
1503             description { state: "default" 0.0;
1504                rel1.relative: 0.0 0.0;
1505                rel2.relative: 1.0 1.0;
1506                text {
1507                   style: "textblock_style";
1508                   min: 0 1;
1509                }
1510             }
1511          }
1512       }
1513    }
1514
1515    group { name: "elm/label/base/marker";
1516       data.item: "default_font_size" "10";
1517       data.item: "min_font_size" "6";
1518       data.item: "max_font_size" "60";
1519       styles {
1520          style { name: "textblock_style2";
1521            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1522            tag:  "br" "\n";
1523            tag:  "ps" "ps";
1524            tag:  "hilight" "+ color=#ffff";
1525            tag:  "b" "+ color=#ffff";
1526            tag:  "tab" "\t";
1527          }
1528       }
1529       parts {
1530          part { name: "label.swallow.background";
1531             type: SWALLOW;
1532             description { state: "default" 0.0;
1533                visible: 1;
1534                rel1 { relative: 0 0; to: "elm.text"; }
1535                rel2 { relative: 1 1; to: "elm.text"; }
1536             }
1537          }
1538          part { name: "elm.text";
1539             type: TEXTBLOCK;
1540             mouse_events: 0;
1541             scale: 1;
1542             description { state: "default" 0.0;
1543                text {
1544                   style: "textblock_style2";
1545                   min: 1 1;
1546                }
1547             }
1548          }
1549       }
1550    }
1551
1552    group { name: "elm/label/base/slide_long";
1553       data.item: "default_font_size" "10";
1554       data.item: "min_font_size" "6";
1555       data.item: "max_font_size" "60";
1556
1557       script {
1558         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1559
1560         public message(Msg_Type:type, id, ...) {
1561            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1562               new Float:duration;
1563               duration = getfarg(2);
1564               set_float(g_duration, duration);
1565            }
1566         }
1567         public slide_to_end_anim(val, Float:pos) {
1568            new stopflag;
1569            new id;
1570            stopflag = get_int(g_stopslide);
1571            if (stopflag == 1) return;
1572            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1573            if (pos >= 1.0) {
1574               id = timer(0.5, "slide_to_begin", 1);
1575               set_int(g_timer_id, id);
1576            }
1577         }
1578         public slide_to_end() {
1579            new stopflag;
1580            new id;
1581            new Float:duration;
1582            stopflag = get_int(g_stopslide);
1583            if (stopflag == 1) return;
1584            duration = get_float(g_duration);
1585            id = anim(duration, "slide_to_end_anim", 1);
1586            set_int(g_anim_id, id);
1587         }
1588         public slide_to_begin() {
1589            new stopflag;
1590            new id;
1591            stopflag = get_int(g_stopslide);
1592            if (stopflag == 1) return;
1593            set_state(PART:"elm.text", "slide_begin", 0.0);
1594            id = timer(0.5, "slide_to_end", 1);
1595            set_int(g_timer_id, id);
1596         }
1597         public start_slide() {
1598            set_int(g_stopslide, 0);
1599            set_state(PART:"elm.text", "slide_begin", 0.0);
1600            slide_to_end();
1601         }
1602         public stop_slide() {
1603            new id;
1604            set_int(g_stopslide, 1);
1605            id = get_int(g_anim_id);
1606            cancel_anim(id);
1607            id = get_int(g_timer_id);
1608            cancel_timer(id);
1609            set_state(PART:"elm.text", "default", 0.0);
1610         }
1611       }
1612
1613       parts {
1614          part { name: "label.swallow.background";
1615             type: SWALLOW;
1616             description { state: "default" 0.0;
1617                visible: 1;
1618             }
1619          }
1620          part { name: "label.text.clip";
1621             type: RECT;
1622             description { state: "default" 0.0;
1623                visible: 1;
1624                color: 255 255 255 255;
1625                rel1 { relative: 0 0; to: "label.swallow.background"; }
1626                rel2 { relative: 1 1; to: "label.swallow.background"; }
1627             }
1628          }
1629          part { name: "elm.text";
1630             type: TEXTBLOCK;
1631             mouse_events: 0;
1632             scale: 1;
1633             clip_to: "label.text.clip";
1634             description { state: "default" 0.0;
1635                rel1.relative: 0.0 0.0;
1636                rel2.relative: 1.0 1.0;
1637                align: 0.0 0.0;
1638                text {
1639                   style: "textblock_style";
1640                   min: 1 1;
1641                }
1642             }
1643             description { state: "slide_end" 0.0;
1644                inherit: "default" 0.0;
1645                rel1.relative: 0.0 0.0;
1646                rel2.relative: 0.0 1.0;
1647                align: 1.0 0.0;
1648             }
1649             description { state: "slide_begin" 0.0;
1650                inherit: "default" 0.0;
1651                rel1.relative: 1.0 0.0;
1652                rel2.relative: 1.0 1.0;
1653                align: 0.0 0.0;
1654             }
1655          }
1656        }
1657        programs {
1658           program { name: "start_slide";
1659              source: "elm";
1660              signal: "elm,state,slide,start";
1661              script
1662                {
1663                   start_slide();
1664                }
1665           }
1666           program { name: "stop_slide";
1667              source: "elm";
1668              signal: "elm,state,slide,stop";
1669              script
1670                {
1671                   stop_slide();
1672                }
1673           }
1674        }
1675    }
1676
1677
1678    group { name: "elm/label/base/slide_short";
1679       data.item: "default_font_size" "10";
1680       data.item: "min_font_size" "6";
1681       data.item: "max_font_size" "60";
1682
1683       script {
1684          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1685
1686          public message(Msg_Type:type, id, ...) {
1687             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1688                new Float:duration;
1689                duration = getfarg(2);
1690                set_float(g_duration, duration);
1691             }
1692          }
1693          public slide_to_end_anim(val, Float:pos) {
1694             new stopflag;
1695             new id;
1696             stopflag = get_int(g_stopslide);
1697             if (stopflag == 1) return;
1698             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1699             if (pos >= 1.0) {
1700                id = timer(0.5, "slide_to_begin", 1);
1701                set_int(g_timer_id, id);
1702             }
1703          }
1704          public slide_to_end() {
1705             new stopflag;
1706             new id;
1707             new Float:duration;
1708             stopflag = get_int(g_stopslide);
1709             if (stopflag == 1) return;
1710             duration = get_float(g_duration);
1711             id = anim(duration, "slide_to_end_anim", 1);
1712             set_int(g_anim_id, id);
1713          }
1714          public slide_to_begin() {
1715             new stopflag;
1716             new id;
1717             stopflag = get_int(g_stopslide);
1718             if (stopflag == 1) return;
1719             set_state(PART:"elm.text", "slide_begin", 0.0);
1720             id = timer(0.5, "slide_to_end", 1);
1721             set_int(g_timer_id, id);
1722          }
1723          public start_slide() {
1724             set_int(g_stopslide, 0);
1725             set_state(PART:"elm.text", "slide_begin", 0.0);
1726             slide_to_end();
1727          }
1728          public stop_slide() {
1729             new id;
1730             set_int(g_stopslide, 1);
1731             id = get_int(g_anim_id);
1732             cancel_anim(id);
1733             id = get_int(g_timer_id);
1734             cancel_timer(id);
1735             set_state(PART:"elm.text", "default", 0.0);
1736          }
1737       }
1738
1739       parts {
1740          part { name: "label.swallow.background";
1741             type: SWALLOW;
1742             description { state: "default" 0.0;
1743                visible: 1;
1744             }
1745          }
1746          part { name: "label.text.clip";
1747             type: RECT;
1748             description { state: "default" 0.0;
1749                visible: 1;
1750                color: 255 255 255 255;
1751                rel1 { relative: 0 0; to: "label.swallow.background"; }
1752                rel2 { relative: 1 1; to: "label.swallow.background"; }
1753             }
1754          }
1755          part { name: "elm.text";
1756             type: TEXTBLOCK;
1757             mouse_events: 0;
1758             scale: 1;
1759             clip_to: "label.text.clip";
1760             description { state: "default" 0.0;
1761                rel1.relative: 0.0 0.0;
1762                rel2.relative: 1.0 1.0;
1763                align: 0.0 0.0;
1764                text {
1765                   style: "textblock_style";
1766                   min: 1 1;
1767                }
1768             }
1769             description { state: "slide_end" 0.0;
1770                inherit: "default" 0.0;
1771                rel1.relative: 1.0 0.0;
1772                rel2.relative: 1.0 1.0;
1773                align: 1.0 0.0;
1774             }
1775             description { state: "slide_begin" 0.0;
1776                inherit: "default" 0.0;
1777                rel1.relative: 0.0 0.0;
1778                rel2.relative: 0.0 1.0;
1779                align: 0.0 0.0;
1780             }
1781          }
1782       }
1783       programs {
1784          program { name: "start_slide";
1785             source: "elm";
1786             signal: "elm,state,slide,start";
1787             script
1788               {
1789                  start_slide();
1790               }
1791          }
1792          program { name: "stop_slide";
1793             source: "elm";
1794             signal: "elm,state,slide,stop";
1795             script
1796               {
1797                  stop_slide();
1798               }
1799          }
1800       }
1801    }
1802
1803    group { name: "elm/label/base/slide_bounce";
1804       data.item: "default_font_size" "10";
1805       data.item: "min_font_size" "6";
1806       data.item: "max_font_size" "60";
1807
1808       script {
1809          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1810
1811          public message(Msg_Type:type, id, ...) {
1812             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1813                new Float:duration;
1814                duration = getfarg(2);
1815                set_float(g_duration, duration);
1816             }
1817          }
1818          public slide_to_end_anim(val, Float:pos) {
1819             new stopflag;
1820             new id;
1821             stopflag = get_int(g_stopslide);
1822             if (stopflag == 1) return;
1823             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1824             if (pos >= 1.0) {
1825                id = timer(0.5, "slide_to_begin", 1);
1826                set_int(g_timer_id, id);
1827             }
1828          }
1829          public slide_to_end() {
1830             new stopflag;
1831             new id;
1832             new Float:duration;
1833             stopflag = get_int(g_stopslide);
1834             if (stopflag == 1) return;
1835             duration = get_float(g_duration);
1836             id = anim(duration, "slide_to_end_anim", 1);
1837             set_int(g_anim_id, id);
1838          }
1839          public slide_to_begin_anim(val, Float:pos) {
1840             new stopflag;
1841             new id;
1842             stopflag = get_int(g_stopslide);
1843             if (stopflag == 1) return;
1844             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1845             if (pos >= 1.0) {
1846                id = timer(0.5, "slide_to_end", 1);
1847                set_int(g_timer_id, id);
1848             }
1849          }
1850          public slide_to_begin() {
1851             new stopflag;
1852             new id;
1853             new Float:duration;
1854             stopflag = get_int(g_stopslide);
1855             if (stopflag == 1) return;
1856             duration = get_float(g_duration);
1857             id = anim(duration, "slide_to_begin_anim", 1);
1858             set_int(g_anim_id, id);
1859          }
1860          public start_slide() {
1861             set_int(g_stopslide, 0);
1862             set_state(PART:"elm.text", "slide_begin", 0.0);
1863             slide_to_end();
1864          }
1865          public stop_slide() {
1866             new id;
1867             set_int(g_stopslide, 1);
1868             id = get_int(g_anim_id);
1869             cancel_anim(id);
1870             id = get_int(g_timer_id);
1871             cancel_timer(id);
1872             set_state(PART:"elm.text", "default", 0.0);
1873          }
1874       }
1875
1876       parts {
1877          part { name: "label.swallow.background";
1878             type: SWALLOW;
1879             description { state: "default" 0.0;
1880                visible: 1;
1881             }
1882          }
1883          part { name: "label.text.clip";
1884             type: RECT;
1885             description { state: "default" 0.0;
1886                visible: 1;
1887                color: 255 255 255 255;
1888                rel1 { relative: 0 0; to: "label.swallow.background"; }
1889                rel2 { relative: 1 1; to: "label.swallow.background"; }
1890             }
1891          }
1892          part { name: "elm.text";
1893             type: TEXTBLOCK;
1894             mouse_events: 0;
1895             scale: 1;
1896             clip_to: "label.text.clip";
1897             description { state: "default" 0.0;
1898                rel1.relative: 0.0 0.0;
1899                rel2.relative: 1.0 1.0;
1900                align: 0.0 0.0;
1901                text {
1902                   style: "textblock_style";
1903                   min: 1 1;
1904                }
1905             }
1906             description { state: "slide_end" 0.0;
1907                inherit: "default" 0.0;
1908                rel1.relative: 1.0 0.0;
1909                rel2.relative: 1.0 1.0;
1910                align: 1.0 0.0;
1911             }
1912             description { state: "slide_begin" 0.0;
1913                inherit: "default" 0.0;
1914                rel1.relative: 0.0 0.0;
1915                rel2.relative: 0.0 1.0;
1916                align: 0.0 0.0;
1917             }
1918          }
1919       }
1920       programs {
1921          program { name: "start_slide";
1922             source: "elm";
1923             signal: "elm,state,slide,start";
1924             script
1925               {
1926                  start_slide();
1927               }
1928          }
1929          program { name: "stop_slide";
1930             source: "elm";
1931             signal: "elm,state,slide,stop";
1932             script
1933               {
1934                  stop_slide();
1935               }
1936          }
1937       }
1938    }
1939
1940
1941 ///////////////////////////////////////////////////////////////////////////////
1942
1943    group { name: "elm/button/base/default";
1944       images {
1945          image: "bt_base1.png" COMP;
1946          image: "bt_base2.png" COMP;
1947          image: "bt_hilight.png" COMP;
1948          image: "bt_shine.png" COMP;
1949          image: "bt_glow.png" COMP;
1950          image: "bt_dis_base.png" COMP;
1951          image: "bt_dis_hilight.png" COMP;
1952       }
1953       parts {
1954          part { name: "button_image";
1955             mouse_events: 1;
1956             description { state: "default" 0.0;
1957                min: 15 15;
1958                image {
1959                   normal: "bt_base2.png";
1960                   border: 7 7 7 7;
1961                }
1962                image.middle: SOLID;
1963             }
1964             description { state: "clicked" 0.0;
1965                inherit: "default" 0.0;
1966                image.normal: "bt_base1.png";
1967             }
1968             description { state: "disabled" 0.0;
1969                inherit:  "default" 0.0;
1970                image {
1971                   normal: "bt_dis_base.png";
1972                   border: 4 4 4 4;
1973                }
1974             }
1975          }
1976          part { name: "elm.swallow.content";
1977             type: SWALLOW;
1978             description { state: "default" 0.0;
1979                fixed: 1 0;
1980                visible: 0;
1981                align: 0.0 0.5;
1982                rel1.offset: 4 4;
1983                rel2.offset: 3 -5;
1984                rel2.relative: 0.0 1.0;
1985             }
1986             description { state: "visible" 0.0;
1987                inherit: "default" 0.0;
1988                fixed: 1 0;
1989                visible: 1;
1990                aspect: 1.0 1.0;
1991 //               aspect_preference: VERTICAL;
1992                rel2.offset: 4 -5;
1993             }
1994             description { state: "icononly" 0.0;
1995                inherit: "default" 0.0;
1996                fixed: 0 0;
1997                visible: 1;
1998                align: 0.5 0.5;
1999 //               aspect: 1.0 1.0;
2000                rel2.offset: -5 -5;
2001                rel2.relative: 1.0 1.0;
2002 //               aspect_preference: VERTICAL;
2003             }
2004          }
2005          part {
2006             name:          "elm.text";
2007             type:          TEXT;
2008             effect:        SOFT_SHADOW;
2009             mouse_events:  0;
2010             scale: 1;
2011             description { state: "default" 0.0;
2012                visible: 0;
2013                rel1.to_x: "elm.swallow.content";
2014                rel1.relative: 1.0 0.0;
2015                rel1.offset: 0 4;
2016                rel2.offset: -5 -5;
2017                color: 224 224 224 255;
2018                color3: 0 0 0 64;
2019                text {
2020                   font:     "Sans,Edje-Vera";
2021                   size:     10;
2022                   min:      0 0;
2023                   align:    0.5 0.5;
2024                   text_class: "button";
2025                }
2026             }
2027             description { state: "visible" 0.0;
2028                inherit: "default" 0.0;
2029                visible: 1;
2030                text.min: 1 1;
2031             }
2032             description { state: "disabled" 0.0;
2033                inherit: "default" 0.0;
2034                color: 0 0 0 128;
2035                color3: 0 0 0 0;
2036             }
2037             description { state: "disabled_visible" 0.0;
2038                inherit: "default" 0.0;
2039                color: 0 0 0 128;
2040                color3: 0 0 0 0;
2041                visible: 1;
2042                text.min: 1 1;
2043             }
2044          }
2045          part {          name: "over1";
2046             mouse_events: 0;
2047             description { state: "default" 0.0;
2048                rel2.relative: 1.0 0.5;
2049                image {
2050                   normal: "bt_hilight.png";
2051                   border: 7 7 7 0;
2052                }
2053             }
2054             description { state: "disabled" 0.0;
2055                inherit:  "default" 0.0;
2056                image {
2057                   normal: "bt_dis_hilight.png";
2058                   border: 4 4 4 0;
2059                }
2060             }
2061          }
2062          part { name: "over2";
2063             mouse_events: 1;
2064             repeat_events: 1;
2065             ignore_flags: ON_HOLD;
2066             description { state: "default" 0.0;
2067                image {
2068                   normal: "bt_shine.png";
2069                   border: 7 7 7 7;
2070                }
2071             }
2072             description { state: "disabled" 0.0;
2073                inherit:  "default" 0.0;
2074                visible: 0;
2075             }
2076          }
2077          part { name: "over3";
2078             mouse_events: 1;
2079             repeat_events: 1;
2080             description { state: "default" 0.0;
2081                color: 255 255 255 0;
2082                image {
2083                   normal: "bt_glow.png";
2084                   border: 12 12 12 12;
2085                }
2086                fill.smooth : 0;
2087             }
2088             description { state: "clicked" 0.0;
2089                inherit:  "default" 0.0;
2090                color: 255 255 255 255;
2091             }
2092          }
2093           part { name: "disabler";
2094             type: RECT;
2095             description { state: "default" 0.0;
2096                color: 0 0 0 0;
2097                visible: 0;
2098             }
2099             description { state: "disabled" 0.0;
2100                inherit: "default" 0.0;
2101                visible: 1;
2102             }
2103          }
2104       }
2105       programs {
2106          program {
2107             name:   "button_click";
2108             signal: "mouse,down,1";
2109             source: "over2";
2110             action: SIGNAL_EMIT "elm,action,press" "";
2111             after: "button_click_anim";
2112          }
2113          program {
2114             name:   "button_click_anim";
2115             action: STATE_SET "clicked" 0.0;
2116             target: "button_image";
2117          }
2118          program {
2119             name:   "button_unclick";
2120             signal: "mouse,up,1";
2121             source: "over3";
2122             action: SIGNAL_EMIT "elm,action,unpress" "";
2123             after: "button_unclick_anim";
2124          }
2125          program {
2126             name:   "button_pressed_anim";
2127             signal: "elm,anim,activate";
2128             source: "elm";
2129             action: STATE_SET "clicked" 0.0;
2130             target: "button_image";
2131             target: "over3";
2132             after: "button_unpressed_anim";
2133          }
2134          program {
2135             name:   "button_unpressed_anim";
2136             action: STATE_SET "default" 0.0;
2137             transition: DECELERATE 0.5;
2138             target: "button_image";
2139             target: "over3";
2140          }
2141          program {
2142             name:   "button_unclick_anim";
2143             action: STATE_SET "default" 0.0;
2144             target: "button_image";
2145          }
2146          program {
2147             name:   "button_click2";
2148             signal: "mouse,down,1";
2149             source: "over3";
2150             action: STATE_SET "clicked" 0.0;
2151             target: "over3";
2152          }
2153          program {
2154             name:   "button_unclick2";
2155             signal: "mouse,up,1";
2156             source: "over3";
2157             action: STATE_SET "default" 0.0;
2158             transition: DECELERATE 0.5;
2159             target: "over3";
2160          }
2161          program {
2162             name:   "button_unclick3";
2163             signal: "mouse,clicked,1";
2164             source: "over2";
2165             action: SIGNAL_EMIT "elm,action,click" "";
2166          }
2167          program { name: "text_show";
2168             signal: "elm,state,text,visible";
2169             source: "elm";
2170             script {
2171                new st[31];
2172                new Float:vl;
2173                get_state(PART:"elm.swallow.content", st, 30, vl);
2174                if (!strcmp(st, "icononly"))
2175                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2176                set_state(PART:"elm.text", "visible", 0.0);
2177             }
2178          }
2179          program { name: "text_hide";
2180             signal: "elm,state,text,hidden";
2181             source: "elm";
2182             script {
2183                new st[31];
2184                new Float:vl;
2185                get_state(PART:"elm.swallow.content", st, 30, vl);
2186                if (!strcmp(st, "visible"))
2187                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2188                set_state(PART:"elm.text", "default", 0.0);
2189             }
2190          }
2191          program { name: "icon_show";
2192             signal: "elm,state,icon,visible";
2193             source: "elm";
2194             script {
2195                new st[31];
2196                new Float:vl;
2197                get_state(PART:"elm.text", st, 30, vl);
2198                if (!strcmp(st, "visible"))
2199                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2200                else
2201                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2202             }
2203          }
2204          program { name: "icon_hide";
2205             signal: "elm,state,icon,hidden";
2206             source: "elm";
2207             action:  STATE_SET "default" 0.0;
2208             target: "elm.swallow.content";
2209          }
2210          program { name: "disable";
2211             signal: "elm,state,disabled";
2212             source: "elm";
2213             action: STATE_SET "disabled" 0.0;
2214             target: "button_image";
2215             target: "over1";
2216             target: "over2";
2217             target: "disabler";
2218             after: "disable_text";
2219          }
2220          program { name: "disable_text";
2221             script {
2222                new st[31];
2223                new Float:vl;
2224                get_state(PART:"elm.text", st, 30, vl);
2225                if (!strcmp(st, "visible"))
2226                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2227                else
2228                  set_state(PART:"elm.text", "disabled", 0.0);
2229             }
2230          }
2231          program { name: "enable";
2232             signal: "elm,state,enabled";
2233             source: "elm";
2234             action: STATE_SET "default" 0.0;
2235             target: "button_image";
2236             target: "over1";
2237             target: "over2";
2238             target: "disabler";
2239             after: "enable_text";
2240          }
2241          program { name: "enable_text";
2242             script {
2243                new st[31];
2244                new Float:vl;
2245                get_state(PART:"elm.text", st, 30, vl);
2246                if (!strcmp(st, "disabled_visible"))
2247                  set_state(PART:"elm.text", "visible", 0.0);
2248                else
2249                  set_state(PART:"elm.text", "default", 0.0);
2250             }
2251          }
2252       }
2253    }
2254
2255    group { name: "elm/button/base/hoversel_vertical/default";
2256       alias: "elm/button/base/hoversel_vertical/entry";
2257       alias: "elm/button/base/hoversel_horizontal/default";
2258       alias: "elm/button/base/hoversel_horizontal/entry";
2259       images {
2260          image: "bt_base1.png" COMP;
2261          image: "bt_base2.png" COMP;
2262          image: "bt_hilight.png" COMP;
2263          image: "bt_shine.png" COMP;
2264          image: "bt_glow.png" COMP;
2265          image: "updown.png" COMP;
2266          image: "bt_dis_base.png" COMP;
2267          image: "bt_dis_hilight.png" COMP;
2268       }
2269       parts {
2270          part { name: "button_image";
2271             mouse_events: 1;
2272             description { state: "default" 0.0;
2273                image {
2274                   normal: "bt_base2.png";
2275                   border: 7 7 7 7;
2276                }
2277                image.middle: SOLID;
2278             }
2279             description { state: "clicked" 0.0;
2280                inherit: "default" 0.0;
2281                image.normal: "bt_base1.png";
2282                image.middle: SOLID;
2283             }
2284             description { state: "disabled" 0.0;
2285                inherit:  "default" 0.0;
2286                image {
2287                   normal: "bt_dis_base.png";
2288                   border: 4 4 4 4;
2289                }
2290             }
2291          }
2292          part { name: "arrow";
2293             mouse_events: 0;
2294             description { state: "default" 0.0;
2295                image.normal: "updown.png";
2296                aspect: 0.6666666666 0.6666666666;
2297                aspect_preference: VERTICAL;
2298                rel1.offset: 6 7;
2299                rel2.offset: 6 -7;
2300                rel2.relative: 0.0 1.0;
2301                align: 0.0 0.5;
2302             }
2303          }
2304          part { name: "elm.swallow.content";
2305             type: SWALLOW;
2306             description { state: "default" 0.0;
2307                fixed: 1 0;
2308                visible: 0;
2309                align: 0.0 0.5;
2310                rel1 {
2311                   to_x: "arrow";
2312                   offset: 2 4;
2313                   relative: 1.0 0.0;
2314                }
2315                rel2 {
2316                   to_x: "arrow";
2317                   offset: 1 -5;
2318                   relative: 1.0 1.0;
2319                }
2320             }
2321             description { state: "visible" 0.0;
2322                inherit: "default" 0.0;
2323                fixed: 0 0;
2324                visible: 1;
2325                aspect: 1.0 1.0;
2326                aspect_preference: VERTICAL;
2327                rel2.offset: 2 -5;
2328             }
2329             description { state: "icononly" 0.0;
2330                inherit: "default" 0.0;
2331                fixed: 0 0;
2332                visible: 1;
2333                align: 0.5 0.5;
2334                aspect: 1.0 1.0;
2335                rel1 {
2336                   to_x: "button_image";
2337                   offset: -5 -5;
2338                   relative: 1.0 1.0;
2339                }
2340                aspect_preference: VERTICAL;
2341             }
2342          }
2343          part {
2344             name:          "elm.text";
2345             type:          TEXT;
2346             effect:        SOFT_SHADOW;
2347             mouse_events:  0;
2348             scale: 1;
2349             description { state: "default" 0.0;
2350                visible: 0;
2351                rel1.to_x: "elm.swallow.content";
2352                rel1.relative: 1.0 0.0;
2353                rel1.offset: 0 4;
2354                rel2.offset: -5 -5;
2355                color: 224 224 224 255;
2356                color3: 0 0 0 64;
2357                text {
2358                   font:     "Sans,Edje-Vera";
2359                   size:     10;
2360                   min:      0 0;
2361                   align:    0.5 0.5;
2362                   text_class: "button";
2363                }
2364             }
2365             description { state: "visible" 0.0;
2366                inherit: "default" 0.0;
2367                visible: 1;
2368                text.min: 1 1;
2369             }
2370             description { state: "disabled" 0.0;
2371                inherit: "default" 0.0;
2372                color: 0 0 0 128;
2373                color3: 0 0 0 0;
2374             }
2375             description { state: "disabled_visible" 0.0;
2376                inherit: "default" 0.0;
2377                color: 0 0 0 128;
2378                color3: 0 0 0 0;
2379                visible: 1;
2380                text.min: 1 1;
2381             }
2382          }
2383          part {          name: "over1";
2384             mouse_events: 0;
2385             description { state: "default" 0.0;
2386                rel2.relative: 1.0 0.5;
2387                image {
2388                   normal: "bt_hilight.png";
2389                   border: 7 7 7 0;
2390                }
2391             }
2392             description { state: "disabled" 0.0;
2393                inherit:  "default" 0.0;
2394                image {
2395                   normal: "bt_dis_hilight.png";
2396                   border: 4 4 4 0;
2397                }
2398             }
2399          }
2400          part { name: "over2";
2401             mouse_events: 1;
2402             repeat_events: 1;
2403             ignore_flags: ON_HOLD;
2404             description { state: "default" 0.0;
2405                image {
2406                   normal: "bt_shine.png";
2407                   border: 7 7 7 7;
2408                }
2409             }
2410             description { state: "disabled" 0.0;
2411                inherit:  "default" 0.0;
2412                visible: 0;
2413             }
2414          }
2415          part { name: "over3";
2416             mouse_events: 1;
2417             repeat_events: 1;
2418             description { state: "default" 0.0;
2419                color: 255 255 255 0;
2420                image {
2421                   normal: "bt_glow.png";
2422                   border: 12 12 12 12;
2423                }
2424                fill.smooth : 0;
2425             }
2426             description { state: "clicked" 0.0;
2427                inherit:  "default" 0.0;
2428                visible: 1;
2429                color: 255 255 255 255;
2430             }
2431          }
2432           part { name: "disabler";
2433             type: RECT;
2434             description { state: "default" 0.0;
2435                color: 0 0 0 0;
2436                visible: 0;
2437             }
2438             description { state: "disabled" 0.0;
2439                inherit: "default" 0.0;
2440                visible: 1;
2441             }
2442          }
2443       }
2444       programs {
2445          program {
2446             name:   "button_click";
2447             signal: "mouse,down,1";
2448             source: "over2";
2449             action: STATE_SET "clicked" 0.0;
2450             target: "button_image";
2451          }
2452          program {
2453             name:   "button_unclick";
2454             signal: "mouse,up,1";
2455             source: "over2";
2456             action: STATE_SET "default" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_click2";
2461             signal: "mouse,down,1";
2462             source: "over3";
2463             action: STATE_SET "clicked" 0.0;
2464             target: "over3";
2465          }
2466          program {
2467             name:   "button_unclick2";
2468             signal: "mouse,up,1";
2469             source: "over3";
2470             action: STATE_SET "default" 0.0;
2471             transition: DECELERATE 0.5;
2472             target: "over3";
2473          }
2474          program {
2475             name:   "button_unclick3";
2476             signal: "mouse,up,1";
2477             source: "over2";
2478             action: SIGNAL_EMIT "elm,action,click" "";
2479          }
2480          program { name: "text_show";
2481             signal: "elm,state,text,visible";
2482             source: "elm";
2483             script {
2484                new st[31];
2485                new Float:vl;
2486                get_state(PART:"elm.swallow.content", st, 30, vl);
2487                if (!strcmp(st, "icononly"))
2488                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2489                set_state(PART:"elm.text", "visible", 0.0);
2490             }
2491          }
2492          program { name: "text_hide";
2493             signal: "elm,state,text,hidden";
2494             source: "elm";
2495             script {
2496                new st[31];
2497                new Float:vl;
2498                get_state(PART:"elm.swallow.content", st, 30, vl);
2499                if (!strcmp(st, "visible"))
2500                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2501                set_state(PART:"elm.text", "default", 0.0);
2502             }
2503          }
2504          program { name: "icon_show";
2505             signal: "elm,state,icon,visible";
2506             source: "elm";
2507             script {
2508                new st[31];
2509                new Float:vl;
2510                get_state(PART:"elm.text", st, 30, vl);
2511                if (!strcmp(st, "visible"))
2512                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2513                else
2514                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2515             }
2516          }
2517          program { name: "icon_hide";
2518             signal: "elm,state,icon,hidden";
2519             source: "elm";
2520             action:  STATE_SET "default" 0.0;
2521             target: "elm.swallow.content";
2522          }
2523          program { name: "disable";
2524             signal: "elm,state,disabled";
2525             source: "elm";
2526             action: STATE_SET "disabled" 0.0;
2527             target: "button_image";
2528             target: "over1";
2529             target: "over2";
2530             target: "disabler";
2531             after: "disable_text";
2532          }
2533          program { name: "disable_text";
2534             script {
2535                new st[31];
2536                new Float:vl;
2537                get_state(PART:"elm.text", st, 30, vl);
2538                if (!strcmp(st, "visible"))
2539                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2540                else
2541                  set_state(PART:"elm.text", "disabled", 0.0);
2542             }
2543          }
2544          program { name: "enable";
2545             signal: "elm,state,enabled";
2546             source: "elm";
2547             action: STATE_SET "default" 0.0;
2548             target: "button_image";
2549             target: "over1";
2550             target: "over2";
2551             target: "disabler";
2552             after: "enable_text";
2553          }
2554          program { name: "enable_text";
2555             script {
2556                new st[31];
2557                new Float:vl;
2558                get_state(PART:"elm.text", st, 30, vl);
2559                if (!strcmp(st, "disabled_visible"))
2560                  set_state(PART:"elm.text", "visible", 0.0);
2561                else
2562                  set_state(PART:"elm.text", "default", 0.0);
2563             }
2564          }
2565       }
2566    }
2567
2568    group { name: "elm/button/base/hoversel_vertical_entry/default";
2569       alias: "elm/button/base/hoversel_vertical_entry/entry";
2570       alias: "elm/button/base/hoversel_horizontal_entry/default";
2571       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2572       images {
2573          image: "hoversel_entry_bg.png" COMP;
2574       }
2575       parts {
2576          part { name: "button_image";
2577             mouse_events: 1;
2578             description { state: "default" 0.0;
2579                color: 255 255 255 0;
2580                image.normal: "hoversel_entry_bg.png";
2581                image.border: 0 0 2 2;
2582                fill.smooth: 0;
2583             }
2584             description { state: "clicked" 0.0;
2585                inherit: "default" 0.0;
2586                color: 255 255 255 255;
2587             }
2588          }
2589          part { name: "elm.swallow.content";
2590             type: SWALLOW;
2591             description { state: "default" 0.0;
2592                visible: 0;
2593                align: 0.0 0.5;
2594                rel1.offset: 4 4;
2595                rel2.offset: 3 -5;
2596                rel2.relative: 0.0 1.0;
2597             }
2598             description { state: "visible" 0.0;
2599                inherit: "default" 0.0;
2600                visible: 1;
2601                aspect: 1.0 1.0;
2602                aspect_preference: VERTICAL;
2603                rel2.offset: 4 -5;
2604             }
2605             description { state: "icononly" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                align: 0.5 0.5;
2609                aspect: 1.0 1.0;
2610                rel2.offset: -5 -5;
2611                rel2.relative: 1.0 1.0;
2612                aspect_preference: VERTICAL;
2613             }
2614          }
2615          part { name: "textvis";
2616             type: RECT;
2617             mouse_events: 0;
2618             description { state: "default" 0.0;
2619                visible: 0;
2620             }
2621             description { state: "visible" 0.0;
2622                visible: 1;
2623             }
2624          }
2625          part {
2626             name:          "elm.text";
2627             type:          TEXT;
2628             effect:        SOFT_SHADOW;
2629             mouse_events:  0;
2630             scale: 1;
2631             clip_to:       "textvis";
2632             description { state: "default" 0.0;
2633                rel1.to_x: "elm.swallow.content";
2634                rel1.relative: 1.0 0.0;
2635                rel1.offset: 0 4;
2636                rel2.offset: -5 -5;
2637                color: 224 224 224 255;
2638                color3: 0 0 0 64;
2639                text {
2640                   font:     "Sans,Edje-Vera";
2641                   size:     10;
2642                   min:      0 0;
2643                   align:    0.5 0.5;
2644                   text_class: "button";
2645                }
2646             }
2647             description { state: "visible" 0.0;
2648                inherit: "default" 0.0;
2649                text.min: 1 1;
2650             }
2651             description { state: "clicked" 0.0;
2652                inherit: "default" 0.0;
2653                text.min: 1 1;
2654                color: 0 0 0 255;
2655                color3: 0 0 0 0;
2656             }
2657          }
2658          part { name: "over2";
2659             type: RECT;
2660             mouse_events: 1;
2661             description { state: "default" 0.0;
2662                color: 0 0 0 0;
2663             }
2664          }
2665       }
2666       programs {
2667          program {
2668             name:   "button_click";
2669             signal: "mouse,down,1";
2670             source: "over2";
2671             action: STATE_SET "clicked" 0.0;
2672             target: "button_image";
2673             target: "elm.text";
2674          }
2675          program {
2676             name:   "button_unclick";
2677             signal: "mouse,up,1";
2678             source: "over2";
2679             action: STATE_SET "default" 0.0;
2680             target: "button_image";
2681             target: "elm.text";
2682          }
2683          program {
2684             name:   "button_unclick3";
2685             signal: "mouse,up,1";
2686             source: "over2";
2687             action: SIGNAL_EMIT "elm,action,click" "";
2688          }
2689          program { name: "text_show";
2690             signal: "elm,state,text,visible";
2691             source: "elm";
2692             script {
2693                new st[31];
2694                new Float:vl;
2695                get_state(PART:"elm.swallow.content", st, 30, vl);
2696                if (!strcmp(st, "icononly"))
2697                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2698                set_state(PART:"textvis", "visible", 0.0);
2699                set_state(PART:"elm.text", "visible", 0.0);
2700             }
2701          }
2702          program { name: "text_hide";
2703             signal: "elm,state,text,hidden";
2704             source: "elm";
2705             script {
2706                new st[31];
2707                new Float:vl;
2708                get_state(PART:"elm.swallow.content", st, 30, vl);
2709                if (!strcmp(st, "visible"))
2710                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2711                set_state(PART:"textvis", "default", 0.0);
2712                set_state(PART:"elm.text", "default", 0.0);
2713             }
2714          }
2715          program { name: "icon_show";
2716             signal: "elm,state,icon,visible";
2717             source: "elm";
2718             script {
2719                new st[31];
2720                new Float:vl;
2721                get_state(PART:"textvis", st, 30, vl);
2722                if (!strcmp(st, "visible"))
2723                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2724                else
2725                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2726             }
2727          }
2728          program { name: "icon_hide";
2729             signal: "elm,state,icon,hidden";
2730             source: "elm";
2731             action:  STATE_SET "default" 0.0;
2732             target: "elm.swallow.content";
2733          }
2734       }
2735    }
2736
2737    group { name: "elm/button/base/anchor";
2738       images {
2739          image: "bt_base1.png" COMP;
2740          image: "bt_base2.png" COMP;
2741          image: "bt_hilight.png" COMP;
2742          image: "bt_shine.png" COMP;
2743          image: "bt_glow.png" COMP;
2744          image: "bt_dis_base.png" COMP;
2745          image: "bt_dis_hilight.png" COMP;
2746       }
2747       parts {
2748          part { name: "button_image";
2749             mouse_events: 1;
2750             description { state: "default" 0.0;
2751           min: 15 15;
2752            color: 255 255 255 0;
2753                image {
2754                   normal: "bt_base2.png";
2755                   border: 7 7 7 7;
2756                }
2757                image.middle: SOLID;
2758             }
2759        description { state: "visible" 0.0;
2760                inherit: "default" 0.0;
2761           color: 255 255 255 255;
2762             }
2763             description { state: "clicked" 0.0;
2764                inherit: "default" 0.0;
2765           inherit: "visible" 0.0;
2766                image.normal: "bt_base1.png";
2767                image.middle: SOLID;
2768             }
2769             description { state: "disabled" 0.0;
2770                inherit:  "default" 0.0;
2771           inherit: "visible" 0.0;
2772                image {
2773                   normal: "bt_dis_base.png";
2774                   border: 4 4 4 4;
2775                }
2776             }
2777          }
2778          part { name: "elm.swallow.content";
2779             type: SWALLOW;
2780             description { state: "default" 0.0;
2781                fixed: 1 0;
2782                visible: 0;
2783                align: 0.0 0.5;
2784                rel1.offset: 4 4;
2785                rel2.offset: 3 -5;
2786                rel2.relative: 0.0 1.0;
2787             }
2788             description { state: "visible" 0.0;
2789                inherit: "default" 0.0;
2790                fixed: 1 0;
2791                visible: 1;
2792                aspect: 1.0 1.0;
2793                aspect_preference: VERTICAL;
2794                rel2.offset: 4 -5;
2795             }
2796             description { state: "icononly" 0.0;
2797                inherit: "default" 0.0;
2798                fixed: 0 0;
2799                visible: 1;
2800                align: 0.5 0.5;
2801                aspect: 1.0 1.0;
2802                rel2.offset: -5 -5;
2803                rel2.relative: 1.0 1.0;
2804                aspect_preference: VERTICAL;
2805             }
2806          }
2807          part {
2808             name:          "elm.text";
2809             type:          TEXT;
2810             effect:        SOFT_SHADOW;
2811             mouse_events:  0;
2812             scale: 1;
2813             description { state: "default" 0.0;
2814                visible: 0;
2815                rel1.to_x: "elm.swallow.content";
2816                rel1.relative: 1.0 0.0;
2817                rel1.offset: 0 4;
2818                rel2.offset: -5 -5;
2819                color: 224 224 224 255;
2820                color3: 0 0 0 64;
2821                text {
2822                   font:     "Sans,Edje-Vera";
2823                   size:     10;
2824                   min:      0 0;
2825                   align:    0.5 0.5;
2826                   text_class: "button";
2827                }
2828             }
2829             description { state: "visible" 0.0;
2830                inherit: "default" 0.0;
2831                visible: 1;
2832                text.min: 1 1;
2833             }
2834             description { state: "disabled" 0.0;
2835                inherit: "default" 0.0;
2836                color: 0 0 0 128;
2837                color3: 0 0 0 0;
2838             }
2839             description { state: "disabled_visible" 0.0;
2840                inherit: "default" 0.0;
2841                color: 0 0 0 128;
2842                color3: 0 0 0 0;
2843                visible: 1;
2844                text.min: 1 1;
2845             }
2846          }
2847          part {          name: "over1";
2848             mouse_events: 0;
2849             description { state: "default" 0.0;
2850            color: 255 255 255 0;
2851                rel2.relative: 1.0 0.5;
2852                image {
2853                   normal: "bt_hilight.png";
2854                   border: 7 7 7 0;
2855                }
2856             }
2857        description { state: "visible" 0.0;
2858                inherit:  "default" 0.0;
2859           color: 255 255 255 255;
2860             }
2861             description { state: "disabled" 0.0;
2862                inherit:  "default" 0.0;
2863           inherit:  "visible" 0.0;
2864                image {
2865                   normal: "bt_dis_hilight.png";
2866                   border: 4 4 4 0;
2867                }
2868             }
2869          }
2870          part { name: "over2";
2871             mouse_events: 1;
2872             repeat_events: 1;
2873             ignore_flags: ON_HOLD;
2874             description { state: "default" 0.0;
2875                image {
2876                   normal: "bt_shine.png";
2877                   border: 7 7 7 7;
2878                }
2879             }
2880             description { state: "disabled" 0.0;
2881                inherit:  "default" 0.0;
2882                visible: 0;
2883             }
2884          }
2885          part { name: "over3";
2886             mouse_events: 1;
2887             repeat_events: 1;
2888             description { state: "default" 0.0;
2889                color: 255 255 255 0;
2890                image {
2891                   normal: "bt_glow.png";
2892                   border: 12 12 12 12;
2893                }
2894                fill.smooth : 0;
2895             }
2896             description { state: "clicked" 0.0;
2897                inherit:  "default" 0.0;
2898                visible: 1;
2899                color: 255 255 255 255;
2900             }
2901          }
2902           part { name: "disabler";
2903             type: RECT;
2904             description { state: "default" 0.0;
2905                color: 0 0 0 0;
2906                visible: 0;
2907             }
2908             description { state: "disabled" 0.0;
2909                inherit: "default" 0.0;
2910                visible: 1;
2911             }
2912          }
2913       }
2914       programs {
2915     program {
2916             name:   "button_mouse_in";
2917             signal: "mouse,in";
2918             source: "over2";
2919             action: STATE_SET "visible" 0.0;
2920             target: "button_image";
2921        target: "over1";
2922        transition: DECELERATE 0.5;
2923          }
2924          program {
2925             name:   "button_mouse_out";
2926             signal: "mouse,out";
2927             source: "over2";
2928             action: STATE_SET "default" 0.0;
2929             target: "button_image";
2930        target: "over1";
2931        transition: DECELERATE 0.5;
2932          }
2933          program {
2934             name:   "button_unclick";
2935             signal: "mouse,up,1";
2936             source: "over2";
2937             action: STATE_SET "visible" 0.0;
2938             target: "button_image";
2939          }
2940          program {
2941             name:   "button_click2";
2942             signal: "mouse,down,1";
2943             source: "over3";
2944             action: STATE_SET "clicked" 0.0;
2945             target: "over3";
2946          }
2947          program {
2948             name:   "button_unclick2";
2949             signal: "mouse,up,1";
2950             source: "over3";
2951             action: STATE_SET "default" 0.0;
2952             transition: DECELERATE 0.5;
2953             target: "over3";
2954          }
2955          program {
2956             name:   "button_unclick3";
2957             signal: "mouse,up,1";
2958             source: "over2";
2959             action: SIGNAL_EMIT "elm,action,click" "";
2960          }
2961          program { name: "text_show";
2962             signal: "elm,state,text,visible";
2963             source: "elm";
2964             script {
2965                new st[31];
2966                new Float:vl;
2967                get_state(PART:"elm.swallow.content", st, 30, vl);
2968                if (!strcmp(st, "icononly"))
2969                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2970                set_state(PART:"elm.text", "visible", 0.0);
2971             }
2972          }
2973          program { name: "text_hide";
2974             signal: "elm,state,text,hidden";
2975             source: "elm";
2976             script {
2977                new st[31];
2978                new Float:vl;
2979                get_state(PART:"elm.swallow.content", st, 30, vl);
2980                if (!strcmp(st, "visible"))
2981                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2982                set_state(PART:"elm.text", "default", 0.0);
2983             }
2984          }
2985          program { name: "icon_show";
2986             signal: "elm,state,icon,visible";
2987             source: "elm";
2988             script {
2989                new st[31];
2990                new Float:vl;
2991                get_state(PART:"elm.text", st, 30, vl);
2992                if (!strcmp(st, "visible"))
2993                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2994                else
2995                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2996             }
2997          }
2998          program { name: "icon_hide";
2999             signal: "elm,state,icon,hidden";
3000             source: "elm";
3001             action:  STATE_SET "default" 0.0;
3002             target: "elm.swallow.content";
3003          }
3004          program { name: "disable";
3005             signal: "elm,state,disabled";
3006             source: "elm";
3007             action: STATE_SET "disabled" 0.0;
3008             target: "button_image";
3009             target: "over1";
3010             target: "over2";
3011             target: "disabler";
3012             after: "disable_text";
3013          }
3014          program { name: "disable_text";
3015             script {
3016                new st[31];
3017                new Float:vl;
3018                get_state(PART:"elm.text", st, 30, vl);
3019                if (!strcmp(st, "visible"))
3020                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3021                else
3022                  set_state(PART:"elm.text", "disabled", 0.0);
3023             }
3024          }
3025          program { name: "enable";
3026             signal: "elm,state,enabled";
3027             source: "elm";
3028             action: STATE_SET "default" 0.0;
3029             target: "button_image";
3030             target: "over1";
3031             target: "over2";
3032             target: "disabler";
3033             after: "enable_text";
3034          }
3035          program { name: "enable_text";
3036             script {
3037                new st[31];
3038                new Float:vl;
3039                get_state(PART:"elm.text", st, 30, vl);
3040                if (!strcmp(st, "disabled_visible"))
3041                  set_state(PART:"elm.text", "visible", 0.0);
3042                else
3043                  set_state(PART:"elm.text", "default", 0.0);
3044             }
3045          }
3046       }
3047    }
3048    group { name: "elm/button/base/naviframe/back_btn/default";
3049       images {
3050          image: "bt_base1.png" COMP;
3051          image: "bt_base2.png" COMP;
3052          image: "bt_hilight.png" COMP;
3053          image: "bt_shine.png" COMP;
3054          image: "bt_glow.png" COMP;
3055          image: "bt_dis_base.png" COMP;
3056          image: "bt_dis_hilight.png" COMP;
3057          image: "icon_left_arrow.png" COMP;
3058       }
3059       parts {
3060          part { name: "button_image";
3061             mouse_events: 1;
3062             description { state: "default" 0.0;
3063                min: 15 15;
3064                image {
3065                   normal: "bt_base2.png";
3066                   border: 7 7 7 7;
3067                }
3068                image.middle: SOLID;
3069             }
3070             description { state: "clicked" 0.0;
3071                inherit: "default" 0.0;
3072                image.normal: "bt_base1.png";
3073             }
3074             description { state: "disabled" 0.0;
3075                inherit:  "default" 0.0;
3076                image {
3077                   normal: "bt_dis_base.png";
3078                   border: 4 4 4 4;
3079                }
3080             }
3081          }
3082          part { name: "prev_image";
3083             type: IMAGE;
3084             scale: 1;
3085             description { state: "default" 0.0;
3086                min: 30 30;
3087                max: 30 30;
3088                fixed: 1 1;
3089                align: 0.5 0.5;
3090                image.normal: "icon_left_arrow.png";
3091             }
3092          }
3093          part { name: "over1";
3094             mouse_events: 0;
3095             description { state: "default" 0.0;
3096                rel2.relative: 1.0 0.5;
3097                image {
3098                   normal: "bt_hilight.png";
3099                   border: 7 7 7 0;
3100                }
3101             }
3102             description { state: "disabled" 0.0;
3103                inherit:  "default" 0.0;
3104                image {
3105                   normal: "bt_dis_hilight.png";
3106                   border: 4 4 4 0;
3107                }
3108             }
3109          }
3110          part { name: "over2";
3111             mouse_events: 1;
3112             repeat_events: 1;
3113             ignore_flags: ON_HOLD;
3114             description { state: "default" 0.0;
3115                image {
3116                   normal: "bt_shine.png";
3117                   border: 7 7 7 7;
3118                }
3119             }
3120             description { state: "disabled" 0.0;
3121                inherit:  "default" 0.0;
3122                visible: 0;
3123             }
3124          }
3125          part { name: "over3";
3126             mouse_events: 1;
3127             repeat_events: 1;
3128             description { state: "default" 0.0;
3129                color: 255 255 255 0;
3130                image {
3131                   normal: "bt_glow.png";
3132                   border: 12 12 12 12;
3133                }
3134                fill.smooth : 0;
3135             }
3136             description { state: "clicked" 0.0;
3137                inherit:  "default" 0.0;
3138                color: 255 255 255 255;
3139             }
3140          }
3141           part { name: "disabler";
3142             type: RECT;
3143             description { state: "default" 0.0;
3144                color: 0 0 0 0;
3145                visible: 0;
3146             }
3147             description { state: "disabled" 0.0;
3148                inherit: "default" 0.0;
3149                visible: 1;
3150             }
3151          }
3152       }
3153       programs {
3154          program {
3155             name:   "button_click";
3156             signal: "mouse,down,1";
3157             source: "over2";
3158             action: SIGNAL_EMIT "elm,action,press" "";
3159             after: "button_click_anim";
3160          }
3161          program {
3162             name:   "button_click_anim";
3163             action: STATE_SET "clicked" 0.0;
3164             target: "button_image";
3165          }
3166          program {
3167             name:   "button_unclick";
3168             signal: "mouse,up,1";
3169             source: "over3";
3170             action: SIGNAL_EMIT "elm,action,unpress" "";
3171             after: "button_unclick_anim";
3172          }
3173          program {
3174             name:   "button_pressed_anim";
3175             signal: "elm,anim,activate";
3176             source: "elm";
3177             action: STATE_SET "clicked" 0.0;
3178             target: "button_image";
3179             target: "over3";
3180             after: "button_unpressed_anim";
3181          }
3182          program {
3183             name:   "button_unpressed_anim";
3184             action: STATE_SET "default" 0.0;
3185             transition: DECELERATE 0.5;
3186             target: "button_image";
3187             target: "over3";
3188          }
3189          program {
3190             name:   "button_unclick_anim";
3191             action: STATE_SET "default" 0.0;
3192             target: "button_image";
3193          }
3194          program {
3195             name:   "button_click2";
3196             signal: "mouse,down,1";
3197             source: "over3";
3198             action: STATE_SET "clicked" 0.0;
3199             target: "over3";
3200          }
3201          program {
3202             name:   "button_unclick2";
3203             signal: "mouse,up,1";
3204             source: "over3";
3205             action: STATE_SET "default" 0.0;
3206             transition: DECELERATE 0.5;
3207             target: "over3";
3208          }
3209          program {
3210             name:   "button_unclick3";
3211             signal: "mouse,clicked,1";
3212             source: "over2";
3213             action: SIGNAL_EMIT "elm,action,click" "";
3214          }
3215          program { name: "disable";
3216             signal: "elm,state,disabled";
3217             source: "elm";
3218             action: STATE_SET "disabled" 0.0;
3219             target: "button_image";
3220             target: "over1";
3221             target: "over2";
3222             target: "disabler";
3223          }
3224          program { name: "enable";
3225             signal: "elm,state,enabled";
3226             source: "elm";
3227             action: STATE_SET "default" 0.0;
3228             target: "button_image";
3229             target: "over1";
3230             target: "over2";
3231             target: "disabler";
3232          }
3233       }
3234    }
3235    group { name: "elm/button/base/colorselector/left/default";
3236       images {
3237          image: "bt_base1.png" COMP;
3238          image: "bt_base2.png" COMP;
3239          image: "bt_hilight.png" COMP;
3240          image: "bt_shine.png" COMP;
3241          image: "bt_glow.png" COMP;
3242          image: "bt_dis_base.png" COMP;
3243          image: "bt_dis_hilight.png" COMP;
3244          image: "sp_bt_l.png" COMP;
3245       }
3246       parts {
3247          part { name: "button_image";
3248             mouse_events: 1;
3249             description { state: "default" 0.0;
3250                min: 15 15;
3251                image {
3252                   normal: "bt_base2.png";
3253                   border: 7 7 7 7;
3254                }
3255                image.middle: SOLID;
3256             }
3257             description { state: "clicked" 0.0;
3258                inherit: "default" 0.0;
3259                image.normal: "bt_base1.png";
3260             }
3261             description { state: "disabled" 0.0;
3262                inherit:  "default" 0.0;
3263                image {
3264                   normal: "bt_dis_base.png";
3265                   border: 4 4 4 4;
3266                }
3267             }
3268          }
3269          part { name: "prev_image";
3270             type: IMAGE;
3271             scale: 1;
3272             description { state: "default" 0.0;
3273                min: 16 16;
3274                max: 16 16;
3275                fixed: 1 1;
3276                align: 0.5 0.5;
3277                image.normal: "sp_bt_l.png";
3278             }
3279          }
3280          part { name: "over1";
3281             mouse_events: 0;
3282             description { state: "default" 0.0;
3283                rel2.relative: 1.0 0.5;
3284                image {
3285                   normal: "bt_hilight.png";
3286                   border: 7 7 7 0;
3287                }
3288             }
3289             description { state: "disabled" 0.0;
3290                inherit:  "default" 0.0;
3291                image {
3292                   normal: "bt_dis_hilight.png";
3293                   border: 4 4 4 0;
3294                }
3295             }
3296          }
3297          part { name: "over2";
3298             mouse_events: 1;
3299             repeat_events: 1;
3300             ignore_flags: ON_HOLD;
3301             description { state: "default" 0.0;
3302                image {
3303                   normal: "bt_shine.png";
3304                   border: 7 7 7 7;
3305                }
3306             }
3307             description { state: "disabled" 0.0;
3308                inherit:  "default" 0.0;
3309                visible: 0;
3310             }
3311          }
3312          part { name: "over3";
3313             mouse_events: 1;
3314             repeat_events: 1;
3315             description { state: "default" 0.0;
3316                color: 255 255 255 0;
3317                image {
3318                   normal: "bt_glow.png";
3319                   border: 12 12 12 12;
3320                }
3321                fill.smooth : 0;
3322             }
3323             description { state: "clicked" 0.0;
3324                inherit:  "default" 0.0;
3325                color: 255 255 255 255;
3326             }
3327          }
3328          part { name: "disabler";
3329             type: RECT;
3330             description { state: "default" 0.0;
3331                color: 0 0 0 0;
3332                visible: 0;
3333             }
3334             description { state: "disabled" 0.0;
3335                inherit: "default" 0.0;
3336                visible: 1;
3337             }
3338          }
3339       }
3340       programs {
3341          program {
3342             name:   "button_click";
3343             signal: "mouse,down,1";
3344             source: "over2";
3345             action: SIGNAL_EMIT "elm,action,press" "";
3346             after: "button_click_anim";
3347          }
3348          program {
3349             name:   "button_click_anim";
3350             action: STATE_SET "clicked" 0.0;
3351             target: "button_image";
3352          }
3353          program {
3354             name:   "button_unclick";
3355             signal: "mouse,up,1";
3356             source: "over3";
3357             action: SIGNAL_EMIT "elm,action,unpress" "";
3358             after: "button_unclick_anim";
3359          }
3360          program {
3361             name:   "button_pressed_anim";
3362             signal: "elm,anim,activate";
3363             source: "elm";
3364             action: STATE_SET "clicked" 0.0;
3365             target: "button_image";
3366             target: "over3";
3367             after: "button_unpressed_anim";
3368          }
3369          program {
3370             name:   "button_unpressed_anim";
3371             action: STATE_SET "default" 0.0;
3372             transition: DECELERATE 0.5;
3373             target: "button_image";
3374             target: "over3";
3375          }
3376          program {
3377             name:   "button_unclick_anim";
3378             action: STATE_SET "default" 0.0;
3379             target: "button_image";
3380          }
3381          program {
3382             name:   "button_click2";
3383             signal: "mouse,down,1";
3384             source: "over3";
3385             action: STATE_SET "clicked" 0.0;
3386             target: "over3";
3387          }
3388          program {
3389             name:   "button_unclick2";
3390             signal: "mouse,up,1";
3391             source: "over3";
3392             action: STATE_SET "default" 0.0;
3393             transition: DECELERATE 0.5;
3394             target: "over3";
3395          }
3396          program {
3397             name:   "button_unclick3";
3398             signal: "mouse,clicked,1";
3399             source: "over2";
3400             action: SIGNAL_EMIT "elm,action,click" "";
3401          }
3402          program { name: "disable";
3403             signal: "elm,state,disabled";
3404             source: "elm";
3405             action: STATE_SET "disabled" 0.0;
3406             target: "button_image";
3407             target: "over1";
3408             target: "over2";
3409             target: "disabler";
3410          }
3411          program { name: "enable";
3412             signal: "elm,state,enabled";
3413             source: "elm";
3414             action: STATE_SET "default" 0.0;
3415             target: "button_image";
3416             target: "over1";
3417             target: "over2";
3418             target: "disabler";
3419          }
3420       }
3421    }
3422    group { name: "elm/button/base/colorselector/right/default";
3423       images {
3424          image: "bt_base1.png" COMP;
3425          image: "bt_base2.png" COMP;
3426          image: "bt_hilight.png" COMP;
3427          image: "bt_shine.png" COMP;
3428          image: "bt_glow.png" COMP;
3429          image: "bt_dis_base.png" COMP;
3430          image: "bt_dis_hilight.png" COMP;
3431          image: "sp_bt_r.png" COMP;
3432       }
3433       parts {
3434          part { name: "button_image";
3435             mouse_events: 1;
3436             description { state: "default" 0.0;
3437                min: 15 15;
3438                image {
3439                   normal: "bt_base2.png";
3440                   border: 7 7 7 7;
3441                }
3442                image.middle: SOLID;
3443             }
3444             description { state: "clicked" 0.0;
3445                inherit: "default" 0.0;
3446                image.normal: "bt_base1.png";
3447             }
3448             description { state: "disabled" 0.0;
3449                inherit:  "default" 0.0;
3450                image {
3451                   normal: "bt_dis_base.png";
3452                   border: 4 4 4 4;
3453                }
3454             }
3455          }
3456          part { name: "prev_image";
3457             type: IMAGE;
3458             scale: 1;
3459             description { state: "default" 0.0;
3460                min: 16 16;
3461                max: 16 16;
3462                fixed: 1 1;
3463                align: 0.5 0.5;
3464                image.normal: "sp_bt_r.png";
3465             }
3466          }
3467          part { name: "over1";
3468             mouse_events: 0;
3469             description { state: "default" 0.0;
3470                rel2.relative: 1.0 0.5;
3471                image {
3472                   normal: "bt_hilight.png";
3473                   border: 7 7 7 0;
3474                }
3475             }
3476             description { state: "disabled" 0.0;
3477                inherit:  "default" 0.0;
3478                image {
3479                   normal: "bt_dis_hilight.png";
3480                   border: 4 4 4 0;
3481                }
3482             }
3483          }
3484          part { name: "over2";
3485             mouse_events: 1;
3486             repeat_events: 1;
3487             ignore_flags: ON_HOLD;
3488             description { state: "default" 0.0;
3489                image {
3490                   normal: "bt_shine.png";
3491                   border: 7 7 7 7;
3492                }
3493             }
3494             description { state: "disabled" 0.0;
3495                inherit:  "default" 0.0;
3496                visible: 0;
3497             }
3498          }
3499          part { name: "over3";
3500             mouse_events: 1;
3501             repeat_events: 1;
3502             description { state: "default" 0.0;
3503                color: 255 255 255 0;
3504                image {
3505                   normal: "bt_glow.png";
3506                   border: 12 12 12 12;
3507                }
3508                fill.smooth : 0;
3509             }
3510             description { state: "clicked" 0.0;
3511                inherit:  "default" 0.0;
3512                color: 255 255 255 255;
3513             }
3514          }
3515          part { name: "disabler";
3516             type: RECT;
3517             description { state: "default" 0.0;
3518                color: 0 0 0 0;
3519                visible: 0;
3520             }
3521             description { state: "disabled" 0.0;
3522                inherit: "default" 0.0;
3523                visible: 1;
3524             }
3525          }
3526       }
3527       programs {
3528          program {
3529             name:   "button_click";
3530             signal: "mouse,down,1";
3531             source: "over2";
3532             action: SIGNAL_EMIT "elm,action,press" "";
3533             after: "button_click_anim";
3534          }
3535          program {
3536             name:   "button_click_anim";
3537             action: STATE_SET "clicked" 0.0;
3538             target: "button_image";
3539          }
3540          program {
3541             name:   "button_unclick";
3542             signal: "mouse,up,1";
3543             source: "over3";
3544             action: SIGNAL_EMIT "elm,action,unpress" "";
3545             after: "button_unclick_anim";
3546          }
3547          program {
3548             name:   "button_pressed_anim";
3549             signal: "elm,anim,activate";
3550             source: "elm";
3551             action: STATE_SET "clicked" 0.0;
3552             target: "button_image";
3553             target: "over3";
3554             after: "button_unpressed_anim";
3555          }
3556          program {
3557             name:   "button_unpressed_anim";
3558             action: STATE_SET "default" 0.0;
3559             transition: DECELERATE 0.5;
3560             target: "button_image";
3561             target: "over3";
3562          }
3563          program {
3564             name:   "button_unclick_anim";
3565             action: STATE_SET "default" 0.0;
3566             target: "button_image";
3567          }
3568          program {
3569             name:   "button_click2";
3570             signal: "mouse,down,1";
3571             source: "over3";
3572             action: STATE_SET "clicked" 0.0;
3573             target: "over3";
3574          }
3575          program {
3576             name:   "button_unclick2";
3577             signal: "mouse,up,1";
3578             source: "over3";
3579             action: STATE_SET "default" 0.0;
3580             transition: DECELERATE 0.5;
3581             target: "over3";
3582          }
3583          program {
3584             name:   "button_unclick3";
3585             signal: "mouse,clicked,1";
3586             source: "over2";
3587             action: SIGNAL_EMIT "elm,action,click" "";
3588          }
3589          program { name: "disable";
3590             signal: "elm,state,disabled";
3591             source: "elm";
3592             action: STATE_SET "disabled" 0.0;
3593             target: "button_image";
3594             target: "over1";
3595             target: "over2";
3596             target: "disabler";
3597          }
3598          program { name: "enable";
3599             signal: "elm,state,enabled";
3600             source: "elm";
3601             action: STATE_SET "default" 0.0;
3602             target: "button_image";
3603             target: "over1";
3604             target: "over2";
3605             target: "disabler";
3606          }
3607       }
3608    }
3609
3610 ///////////////////////////////////////////////////////////////////////////////
3611    group { name: "elm/toggle/base/default";
3612       images {
3613          image: "shelf_inset.png" COMP;
3614          image: "bt_basew.png" COMP;
3615          image: "bt_bases.png" COMP;
3616          image: "bt_hilightw.png" COMP;
3617          image: "tog_base_on.png" COMP;
3618          image: "tog_base_off.png" COMP;
3619          image: "tog_dis_base_on.png" COMP;
3620          image: "tog_dis_base_off.png" COMP;
3621       }
3622       script {
3623          public is_rtl;
3624       }
3625       parts {
3626          part { name: "bg";
3627             type: RECT;
3628             mouse_events: 0;
3629             scale: 1;
3630             description { state: "default" 0.0;
3631                rel1.relative: 1.0 0.0;
3632                rel1.offset: -4 3;
3633                rel2.offset: -4 -4;
3634                align: 1.0 0.5;
3635                min: 96 16;
3636                max: 96 16;
3637                aspect: 4.0 4.0;
3638                aspect_preference: VERTICAL;
3639                color: 255 255 255 255;
3640             }
3641          }
3642          part { name: "clipper";
3643             type: RECT;
3644             mouse_events: 0;
3645             description { state: "default" 0.0;
3646                rel1.to: "bg";
3647                rel2.to: "bg";
3648                color: 255 255 255 255;
3649             }
3650          }
3651          part { name: "button";
3652             type: RECT;
3653             scale: 1;
3654             clip_to: "clipper";
3655             mouse_events: 1;
3656              dragable {
3657                x: 1 1 0;
3658                y: 0 0 0;
3659                confine: "bg";
3660             }
3661             description { state: "default" 0.0;
3662                fixed: 1 1;
3663                rel1.to: "bg";
3664                rel2.to: "bg";
3665                min: 16 16;
3666                max: 16 16;
3667                aspect: 1.0 1.0;
3668                aspect_preference: VERTICAL;
3669                color: 0 0 0 0;
3670             }
3671          }
3672          part { name: "button_events";
3673             type: RECT;
3674              dragable {
3675                events: "button";
3676             }
3677             description { state: "default" 0.0;
3678                rel1.to_x: "bg";
3679                rel1.offset: 0 0;
3680                rel1.relative: 0.0 0.0;
3681                rel2.to_x: "bg";
3682                rel2.offset: -1 -1;
3683                rel2.relative: 1.0 1.0;
3684                color: 0 0 0 0;
3685             }
3686          }
3687          part { name: "onrect";
3688             type: IMAGE;
3689             scale: 1;
3690             clip_to: "clipper";
3691             mouse_events: 0;
3692             description { state: "default" 0.0;
3693                rel1.to: "button";
3694                rel1.relative: -5.0 0.0;
3695                rel2.to: "button";
3696                rel2.relative: 0.5 1.0;
3697                image.normal: "tog_base_on.png";
3698             }
3699             description { state: "disabled" 0.0;
3700                inherit: "default" 0.0;
3701                image.normal: "tog_dis_base_on.png";
3702             }
3703          }
3704          part { name: "offrect";
3705             type: IMAGE;
3706             scale: 1;
3707             clip_to: "clipper";
3708             mouse_events: 0;
3709             description { state: "default" 0.0;
3710                rel1.to: "button";
3711                rel1.relative: 0.5 0.0;
3712                rel2.to: "button";
3713                rel2.relative: 6.0 1.0;
3714                image.normal: "tog_base_off.png";
3715             }
3716             description { state: "disabled" 0.0;
3717                inherit: "default" 0.0;
3718                image.normal: "tog_dis_base_off.png";
3719             }
3720          }
3721          part { name: "elm.offtext";
3722             type: TEXT;
3723             mouse_events:  0;
3724             scale: 1;
3725             clip_to: "clipper";
3726             description { state: "default" 0.0;
3727                fixed: 1 1;
3728                rel1.to_x: "button";
3729                rel1.relative: 1.0 0.0;
3730                rel2.to_x: "offrect";
3731                color: 0 0 0 255;
3732                text {
3733                   font:     "Sans,Edje-Vera";
3734                   size:     10;
3735                   min:      0 1;
3736                   align:    0.5 0.5;
3737                   text:     "OFF";
3738                }
3739             }
3740             description { state: "disabled" 0.0;
3741                inherit: "default" 0.0;
3742                color: 128 128 128 128;
3743             }
3744          }
3745          part { name: "elm.ontext";
3746             type: TEXT;
3747             effect: SOFT_SHADOW;
3748             mouse_events:  0;
3749             scale: 1;
3750             clip_to: "clipper";
3751             description { state: "default" 0.0;
3752                fixed: 1 1;
3753                rel1.to_x: "onrect";
3754                rel1.offset: 1 1;
3755                rel2.to_x: "button";
3756                rel2.offset: 0 0;
3757                rel2.relative: 0.0 1.0;
3758                color: 224 224 224 255;
3759                color3: 0 0 0 64;
3760                text {
3761                   font:     "Sans,Edje-Vera";
3762                   size:     10;
3763                   min:      0 1;
3764                   align:    0.5 0.5;
3765                   text:     "ON";
3766                }
3767             }
3768             description { state: "disabled" 0.0;
3769                inherit: "default" 0.0;
3770                color: 128 128 128 128;
3771                color3: 0 0 0 24;
3772             }
3773          }
3774          part { name: "conf_over";
3775             mouse_events:  0;
3776             description { state: "default" 0.0;
3777                rel1.offset: -1 -1;
3778                rel1.to: "bg";
3779                rel2.offset: 0 0;
3780                rel2.to: "bg";
3781                image {
3782                   normal: "shelf_inset.png";
3783                   border: 7 7 7 7;
3784                   middle: 0;
3785                }
3786                fill.smooth : 0;
3787             }
3788          }
3789          part { name: "button0";
3790             mouse_events:  0;
3791             clip_to: "clipper";
3792             description { state: "default" 0.0;
3793                rel1.to: "button2";
3794                rel1.offset: -4 -4;
3795                rel2.to: "button2";
3796                rel2.offset: 3 3;
3797                image {
3798                   normal: "bt_bases.png";
3799                   border: 11 11 11 11;
3800                }
3801                image.middle: SOLID;
3802                color: 255 255 255 128;
3803             }
3804          }
3805          part { name: "button2";
3806             mouse_events:  0;
3807             clip_to: "clipper";
3808             description { state: "default" 0.0;
3809                rel1.to: "button";
3810                rel1.offset: -2 -2;
3811                rel2.to: "button";
3812                rel2.offset: 1 1;
3813                image {
3814                   normal: "bt_basew.png";
3815                   border: 7 7 7 7;
3816                }
3817                image.middle: SOLID;
3818             }
3819          }
3820          part { name: "button3";
3821             mouse_events:  0;
3822             clip_to: "clipper";
3823             description { state: "default" 0.0;
3824                rel1.to: "button2";
3825                rel2.to: "button2";
3826                rel2.relative: 1.0 0.5;
3827                image {
3828                   normal: "bt_hilightw.png";
3829                   border: 4 4 4 0;
3830                }
3831             }
3832          }
3833          part { name: "elm.swallow.content";
3834             type: SWALLOW;
3835             description { state: "default" 0.0;
3836                fixed: 1 0;
3837                visible: 0;
3838                align: 0.0 0.5;
3839                rel1.offset: 4 4;
3840                rel2.relative: 0.0 1.0;
3841                rel2.offset: 3 -5;
3842             }
3843             description { state: "visible" 0.0;
3844                inherit: "default" 0.0;
3845                visible: 1;
3846                aspect: 1.0 1.0;
3847                rel2.offset: 4 -5;
3848             }
3849             description { state: "disabled" 0.0;
3850                inherit: "default" 0.0;
3851                color: 128 128 128 128;
3852             }
3853             description { state: "disabled_visible" 0.0;
3854                inherit: "default" 0.0;
3855                color: 128 128 128 128;
3856                visible: 1;
3857                aspect: 1.0 1.0;
3858             }
3859          }
3860          part { name: "elm.text";
3861             type: TEXT;
3862             mouse_events: 0;
3863             scale: 1;
3864             description { state: "default" 0.0;
3865                visible: 0;
3866                rel1.to_x: "elm.swallow.content";
3867                rel1.relative: 1.0 0.0;
3868                rel1.offset: 0 4;
3869                rel2.to_x: "bg";
3870                rel2.relative: 0.0 1.0;
3871                rel2.offset: -5 -5;
3872                color: 0 0 0 255;
3873                text {
3874                   font: "Sans,Edje-Vera";
3875                   size: 10;
3876                   min: 0 0;
3877                   align: 0.0 0.5;
3878                }
3879             }
3880             description { state: "visible" 0.0;
3881                inherit: "default" 0.0;
3882                visible: 1;
3883                text.min: 1 1;
3884             }
3885             description { state: "disabled" 0.0;
3886                inherit: "default" 0.0;
3887                color: 128 128 128 128;
3888             }
3889             description { state: "disabled_visible" 0.0;
3890                inherit: "default" 0.0;
3891                color: 128 128 128 128;
3892                visible: 1;
3893                text.min: 1 1;
3894             }
3895          }
3896           part { name: "disabler";
3897             type: RECT;
3898             description { state: "default" 0.0;
3899                color: 0 0 0 0;
3900                visible: 0;
3901             }
3902             description { state: "disabled" 0.0;
3903                inherit: "default" 0.0;
3904                visible: 1;
3905             }
3906          }
3907       }
3908       programs {
3909          program { name:   "drag_end";
3910             signal: "mouse,up,1";
3911             source: "button";
3912             script {
3913                new Float:dx, Float:dy;
3914                get_drag(PART:"button", dx, dy);
3915                if (dx > 0.5)
3916                  {
3917                     set_drag(PART:"button", 1.0, 0.0);
3918                  }
3919                else
3920                  {
3921                     set_drag(PART:"button", 0.0, 0.0);
3922                  }
3923                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3924                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3925                   emit("elm,action,toggle,on", "");
3926                }
3927                else {
3928                   emit("elm,action,toggle,off", "");
3929                }
3930             }
3931          }
3932          program { name: "toggle_on";
3933             signal: "elm,state,toggle,on";
3934             source: "elm";
3935             script {
3936                new Float:drag;
3937                if (get_int(is_rtl) == 0) {
3938                   drag = 100.0;
3939                }
3940                else {
3941                   drag = 0.0;
3942                }
3943                set_drag(PART:"button", drag, 0.0);
3944             }
3945          }
3946          program { name: "toggle_off";
3947             signal: "elm,state,toggle,off";
3948             source: "elm";
3949             script {
3950                new Float:drag;
3951                if (get_int(is_rtl) == 0) {
3952                   drag = 0.0;
3953                }
3954                else {
3955                   drag = 100.0;
3956                }
3957                set_drag(PART:"button", drag, 0.0);
3958             }
3959          }
3960          program { name: "text_show";
3961             signal: "elm,state,text,visible";
3962             source: "elm";
3963             action:  STATE_SET "visible" 0.0;
3964             target: "elm.text";
3965          }
3966          program { name: "text_hide";
3967             signal: "elm,state,text,hidden";
3968             source: "elm";
3969             action:  STATE_SET "default" 0.0;
3970             target: "elm.text";
3971          }
3972          program { name: "icon_show";
3973             signal: "elm,state,icon,visible";
3974             source: "elm";
3975             action:  STATE_SET "visible" 0.0;
3976             target: "elm.swallow.content";
3977          }
3978          program { name: "icon_hide";
3979             signal: "elm,state,icon,hidden";
3980             source: "elm";
3981             action:  STATE_SET "default" 0.0;
3982             target: "elm.swallow.content";
3983          }
3984          program { name: "disable";
3985             signal: "elm,state,disabled";
3986             source: "elm";
3987             action: STATE_SET "disabled" 0.0;
3988             target: "elm.offtext";
3989             target: "elm.ontext";
3990             target: "onrect";
3991             target: "offrect";
3992             target: "disabler";
3993             after: "disable_text";
3994          }
3995          program { name: "disable_text";
3996             script {
3997                new st[31];
3998                new Float:vl;
3999                get_state(PART:"elm.text", st, 30, vl);
4000                if (!strcmp(st, "visible"))
4001                  set_state(PART:"elm.text", "disabled_visible", 0.0);
4002                else
4003                  set_state(PART:"elm.text", "disabled", 0.0);
4004
4005                get_state(PART:"elm.swallow.content", st, 30, vl);
4006                if (!strcmp(st, "visible"))
4007                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
4008                else
4009                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
4010             }
4011          }
4012          program { name: "enable";
4013             signal: "elm,state,enabled";
4014             source: "elm";
4015             action: STATE_SET "default" 0.0;
4016             target: "disabler";
4017             target: "onrect";
4018             target: "offrect";
4019             after: "enable_text";
4020          }
4021          program { name: "enable_text";
4022             script {
4023                new st[31];
4024                new Float:vl;
4025                get_state(PART:"elm.text", st, 30, vl);
4026                if (!strcmp(st, "disabled_visible"))
4027                  set_state(PART:"elm.text", "visible", 0.0);
4028                else
4029                  set_state(PART:"elm.text", "default", 0.0);
4030
4031                get_state(PART:"elm.swallow.content", st, 30, vl);
4032                if (!strcmp(st, "visible"))
4033                  set_state(PART:"elm.swallow.content", "visible", 0.0);
4034                else
4035                  set_state(PART:"elm.swallow.content", "default", 0.0);
4036             }
4037          }
4038          program { name: "to_rtl";
4039             signal: "edje,state,rtl";
4040             source: "edje";
4041             script {
4042                set_int(is_rtl, 1);
4043             }
4044          }
4045          program { name: "to_ltr";
4046             signal: "edje,state,ltr";
4047             source: "edje";
4048             script {
4049                set_int(is_rtl, 0);
4050             }
4051          }
4052       }
4053    }
4054
4055 ///////////////////////////////////////////////////////////////////////////////
4056    group { name: "elm/clock/flipdigit/default";
4057       images {
4058          image: "flip_base.png" COMP;
4059          image: "flip_base_shad.png" COMP;
4060          image: "flip_shad.png" COMP;
4061          image: "flip_0t.png" COMP;
4062          image: "flip_0b.png" COMP;
4063          image: "flip_1t.png" COMP;
4064          image: "flip_1b.png" COMP;
4065          image: "flip_2t.png" COMP;
4066          image: "flip_2b.png" COMP;
4067          image: "flip_3t.png" COMP;
4068          image: "flip_3b.png" COMP;
4069          image: "flip_4t.png" COMP;
4070          image: "flip_4b.png" COMP;
4071          image: "flip_5t.png" COMP;
4072          image: "flip_5b.png" COMP;
4073          image: "flip_6t.png" COMP;
4074          image: "flip_6b.png" COMP;
4075          image: "flip_7t.png" COMP;
4076          image: "flip_7b.png" COMP;
4077          image: "flip_8t.png" COMP;
4078          image: "flip_8b.png" COMP;
4079          image: "flip_9t.png" COMP;
4080          image: "flip_9b.png" COMP;
4081          image: "arrow_up.png" COMP;
4082          image: "arrow_down.png" COMP;
4083       }
4084       script {
4085          public v0_cur, v0_pre, v0_lock, v0_next;
4086
4087        public animator2(val, Float:pos) {
4088           new st1[11], st2[11], v;
4089
4090           v = get_int(v0_cur);
4091           snprintf(st1, 10, "%ih", v);
4092           snprintf(st2, 10, "%i", v);
4093           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4094           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4095           if (pos >= 1.0) {
4096              set_state(PART:"sh", "default", 0.0);
4097              set_int(v0_lock, 0);
4098              v = get_int(v0_next);
4099              if (v >= 0) {
4100                 set_int(v0_next, -1);
4101                 message(MSG_INT, 1, v);
4102              }
4103           }
4104        }
4105        public animator1(val, Float:pos) {
4106           new st1[11], st2[11], v;
4107
4108           v = get_int(v0_pre);
4109           snprintf(st1, 10, "%i", v);
4110           snprintf(st2, 10, "%ih", v);
4111           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4112           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4113           if (pos >= 1.0) anim(0.2, "animator2", val);
4114        }
4115        public message(Msg_Type:type, id, ...) {
4116           if ((type == MSG_INT) && (id == 1)) {
4117              new value, v, buf[11];
4118
4119              value = getarg(2);
4120              if (get_int(v0_lock) == 1) {
4121                 set_int(v0_next, value);
4122                 return;
4123              }
4124              v = get_int(v0_cur);
4125              set_int(v0_pre, v);
4126              set_int(v0_cur, value);
4127              set_int(v0_lock, 1);
4128              snprintf(buf, 10, "%i", get_int(v0_pre));
4129              set_state(PART:"bot0", buf, 0.0);
4130              snprintf(buf, 10, "%ih", get_int(v0_cur));
4131              set_state(PART:"bot", buf, 0.0);
4132              snprintf(buf, 10, "%i", get_int(v0_cur));
4133              set_state(PART:"top0", buf, 0.0);
4134              snprintf(buf, 10, "%i", get_int(v0_pre));
4135              set_state(PART:"top", buf, 0.0);
4136              set_state(PART:"sh", "default", 0.0);
4137              anim(0.2, "animator1", 1);
4138           }
4139        }
4140       }
4141       parts {
4142          part { name: "shad";
4143             mouse_events: 0;
4144             description { state: "default" 0.0;
4145                rel1.offset: -4 -4;
4146                rel1.to: "base";
4147                rel2.offset: 3 3;
4148                rel2.to: "base";
4149                image {
4150                   normal: "flip_base_shad.png";
4151                   border: 8 8 8 8;
4152                }
4153             }
4154          }
4155          part { name: "base";
4156             scale: 1;
4157             description { state: "default" 0.0;
4158                rel1.offset: 4 4;
4159                rel2.offset: -5 -5;
4160                // FIXME 48x96 should be the native pixel design, right now
4161                // its 80x160. fix int he artwork later
4162                min: 24 48;
4163                aspect: 0.5 0.5;
4164 //               max: 24 48;
4165                image.normal: "flip_base.png";
4166             }
4167          }
4168          part { name: "b";
4169             type: RECT;
4170             mouse_events: 1;
4171             description { state: "default" 0.0;
4172                visible: 0;
4173                rel1.to: "base";
4174                rel1.relative: 0.0 0.5;
4175                rel2.to: "base";
4176                color: 0 0 0 0;
4177             }
4178             description { state: "visible" 0.0;
4179                inherit: "default" 0.0;
4180                visible: 1;
4181             }
4182          }
4183          part { name: "t";
4184             type: RECT;
4185             mouse_events: 1;
4186             description { state: "default" 0.0;
4187                visible: 0;
4188                rel1.to: "base";
4189                rel2.to: "base";
4190                rel2.relative: 1.0 0.5;
4191                color: 0 0 0 0;
4192             }
4193             description { state: "visible" 0.0;
4194                inherit: "default" 0.0;
4195                visible: 1;
4196             }
4197          }
4198          part { name: "bot0";
4199             mouse_events: 0;
4200             description { state: "default" 0.0;
4201                rel1.to: "b";
4202                rel2.to: "b";
4203                image.normal: "flip_0b.png";
4204             }
4205             description { state: "0" 0.0;
4206                inherit: "default" 0.0;
4207                image.normal: "flip_0b.png";
4208             }
4209             description { state: "1" 0.0;
4210                inherit: "default" 0.0;
4211                image.normal: "flip_1b.png";
4212             }
4213             description { state: "2" 0.0;
4214                inherit: "default" 0.0;
4215                image.normal: "flip_2b.png";
4216             }
4217             description { state: "3" 0.0;
4218                inherit: "default" 0.0;
4219                image.normal: "flip_3b.png";
4220             }
4221             description { state: "4" 0.0;
4222                inherit: "default" 0.0;
4223                image.normal: "flip_4b.png";
4224             }
4225             description { state: "5" 0.0;
4226                inherit: "default" 0.0;
4227                image.normal: "flip_5b.png";
4228             }
4229             description { state: "6" 0.0;
4230                inherit: "default" 0.0;
4231                image.normal: "flip_6b.png";
4232             }
4233             description { state: "7" 0.0;
4234                inherit: "default" 0.0;
4235                image.normal: "flip_7b.png";
4236             }
4237             description { state: "8" 0.0;
4238                inherit: "default" 0.0;
4239                image.normal: "flip_8b.png";
4240             }
4241             description { state: "9" 0.0;
4242                inherit: "default" 0.0;
4243                image.normal: "flip_9b.png";
4244             }
4245          }
4246          part { name: "sh";
4247             mouse_events: 0;
4248             description { state: "default" 0.0;
4249                rel1.to: "b";
4250                rel2.to: "b";
4251                rel2.relative: 1.0 0.0;
4252                image.normal: "flip_shad.png";
4253             }
4254             description { state: "half" 0.0;
4255                inherit: "default" 0.0;
4256                rel2.relative: 1.0 0.5;
4257             }
4258             description { state: "full" 0.0;
4259                inherit: "default" 0.0;
4260                rel2.relative: 1.0 1.0;
4261             }
4262          }
4263          part { name: "bot";
4264             mouse_events: 0;
4265             description { state: "default" 0.0;
4266                visible: 1;
4267                rel1.to: "b";
4268                rel2.to: "b";
4269                image.normal: "flip_0b.png";
4270             }
4271             description { state: "0" 0.0;
4272                inherit: "default" 0.0;
4273                visible: 1;
4274                rel2.relative: 1.0 1.0;
4275                image.normal: "flip_0b.png";
4276             }
4277             description { state: "0h" 0.0;
4278                inherit: "default" 0.0;
4279                visible: 0;
4280                rel2.relative: 1.0 0.0;
4281                image.normal: "flip_0b.png";
4282             }
4283             description { state: "1" 0.0;
4284                inherit: "default" 0.0;
4285                visible: 1;
4286                rel2.relative: 1.0 1.0;
4287                image.normal: "flip_1b.png";
4288             }
4289             description { state: "1h" 0.0;
4290                inherit: "default" 0.0;
4291                visible: 0;
4292                rel2.relative: 1.0 0.0;
4293                image.normal: "flip_1b.png";
4294             }
4295             description { state: "2" 0.0;
4296                inherit: "default" 0.0;
4297                visible: 1;
4298                rel2.relative: 1.0 1.0;
4299                image.normal: "flip_2b.png";
4300             }
4301             description { state: "2h" 0.0;
4302                inherit: "default" 0.0;
4303                visible: 0;
4304                rel2.relative: 1.0 0.0;
4305                image.normal: "flip_2b.png";
4306             }
4307             description { state: "3" 0.0;
4308                inherit: "default" 0.0;
4309                visible: 1;
4310                rel2.relative: 1.0 1.0;
4311                image.normal: "flip_3b.png";
4312             }
4313             description { state: "3h" 0.0;
4314                inherit: "default" 0.0;
4315                visible: 0;
4316                rel2.relative: 1.0 0.0;
4317                image.normal: "flip_3b.png";
4318             }
4319             description { state: "4" 0.0;
4320                inherit: "default" 0.0;
4321                visible: 1;
4322                rel2.relative: 1.0 1.0;
4323                image.normal: "flip_4b.png";
4324             }
4325             description { state: "4h" 0.0;
4326                inherit: "default" 0.0;
4327                visible: 0;
4328                rel2.relative: 1.0 0.0;
4329                image.normal: "flip_4b.png";
4330             }
4331             description { state: "5" 0.0;
4332                inherit: "default" 0.0;
4333                visible: 1;
4334                rel2.relative: 1.0 1.0;
4335                image.normal: "flip_5b.png";
4336             }
4337             description { state: "5h" 0.0;
4338                inherit: "default" 0.0;
4339                visible: 0;
4340                rel2.relative: 1.0 0.0;
4341                image.normal: "flip_5b.png";
4342             }
4343             description { state: "6" 0.0;
4344                inherit: "default" 0.0;
4345                visible: 1;
4346                rel2.relative: 1.0 1.0;
4347                image.normal: "flip_6b.png";
4348             }
4349             description { state: "6h" 0.0;
4350                inherit: "default" 0.0;
4351                visible: 0;
4352                rel2.relative: 1.0 0.0;
4353                image.normal: "flip_6b.png";
4354             }
4355             description { state: "7" 0.0;
4356                inherit: "default" 0.0;
4357                visible: 1;
4358                rel2.relative: 1.0 1.0;
4359                image.normal: "flip_7b.png";
4360             }
4361             description { state: "7h" 0.0;
4362                inherit: "default" 0.0;
4363                visible: 0;
4364                rel2.relative: 1.0 0.0;
4365                image.normal: "flip_7b.png";
4366             }
4367             description { state: "8" 0.0;
4368                inherit: "default" 0.0;
4369                visible: 1;
4370                rel2.relative: 1.0 1.0;
4371                image.normal: "flip_8b.png";
4372             }
4373             description { state: "8h" 0.0;
4374                inherit: "default" 0.0;
4375                visible: 0;
4376                rel2.relative: 1.0 0.0;
4377                image.normal: "flip_8b.png";
4378             }
4379             description { state: "9" 0.0;
4380                inherit: "default" 0.0;
4381                visible: 1;
4382                rel2.relative: 1.0 1.0;
4383                image.normal: "flip_9b.png";
4384             }
4385             description { state: "9h" 0.0;
4386                inherit: "default" 0.0;
4387                visible: 0;
4388                rel2.relative: 1.0 0.0;
4389                image.normal: "flip_9b.png";
4390             }
4391          }
4392          part { name: "top0";
4393             mouse_events: 0;
4394             description { state: "default" 0.0;
4395                rel1.to: "t";
4396                rel2.to: "t";
4397                image.normal: "flip_0t.png";
4398             }
4399             description { state: "0" 0.0;
4400                inherit: "default" 0.0;
4401                image.normal: "flip_0t.png";
4402             }
4403             description { state: "1" 0.0;
4404                inherit: "default" 0.0;
4405                image.normal: "flip_1t.png";
4406             }
4407             description { state: "2" 0.0;
4408                inherit: "default" 0.0;
4409                image.normal: "flip_2t.png";
4410             }
4411             description { state: "3" 0.0;
4412                inherit: "default" 0.0;
4413                image.normal: "flip_3t.png";
4414             }
4415             description { state: "4" 0.0;
4416                inherit: "default" 0.0;
4417                image.normal: "flip_4t.png";
4418             }
4419             description { state: "5" 0.0;
4420                inherit: "default" 0.0;
4421                image.normal: "flip_5t.png";
4422             }
4423             description { state: "6" 0.0;
4424                inherit: "default" 0.0;
4425                image.normal: "flip_6t.png";
4426             }
4427             description { state: "7" 0.0;
4428                inherit: "default" 0.0;
4429                image.normal: "flip_7t.png";
4430             }
4431             description { state: "8" 0.0;
4432                inherit: "default" 0.0;
4433                image.normal: "flip_8t.png";
4434             }
4435             description { state: "9" 0.0;
4436                inherit: "default" 0.0;
4437                image.normal: "flip_9t.png";
4438             }
4439          }
4440          part { name: "top";
4441             mouse_events: 0;
4442             description { state: "default" 0.0;
4443                visible: 1;
4444                rel1.to: "t";
4445                rel2.to: "t";
4446                image.normal: "flip_0t.png";
4447             }
4448             description { state: "0" 0.0;
4449                inherit: "default" 0.0;
4450                visible: 1;
4451                rel1.relative: 0.0 0.0;
4452                image.normal: "flip_0t.png";
4453             }
4454             description { state: "0h" 0.0;
4455                inherit: "default" 0.0;
4456                color: 128 128 128 255;
4457                visible: 0;
4458                rel1.relative: 0.0 1.0;
4459                image.normal: "flip_0t.png";
4460             }
4461             description { state: "1" 0.0;
4462                inherit: "default" 0.0;
4463                visible: 1;
4464                rel1.relative: 0.0 0.0;
4465                image.normal: "flip_1t.png";
4466             }
4467             description { state: "1h" 0.0;
4468                inherit: "default" 0.0;
4469                color: 128 128 128 255;
4470                visible: 0;
4471                rel1.relative: 0.0 1.0;
4472                image.normal: "flip_1t.png";
4473             }
4474             description { state: "2" 0.0;
4475                inherit: "default" 0.0;
4476                visible: 1;
4477                rel1.relative: 0.0 0.0;
4478                image.normal: "flip_2t.png";
4479             }
4480             description { state: "2h" 0.0;
4481                inherit: "default" 0.0;
4482                color: 128 128 128 255;
4483                visible: 0;
4484                rel1.relative: 0.0 1.0;
4485                image.normal: "flip_2t.png";
4486             }
4487             description { state: "3" 0.0;
4488                inherit: "default" 0.0;
4489                visible: 1;
4490                rel1.relative: 0.0 0.0;
4491                image.normal: "flip_3t.png";
4492             }
4493             description { state: "3h" 0.0;
4494                inherit: "default" 0.0;
4495                color: 128 128 128 255;
4496                visible: 0;
4497                rel1.relative: 0.0 1.0;
4498                image.normal: "flip_3t.png";
4499             }
4500             description { state: "4" 0.0;
4501                inherit: "default" 0.0;
4502                visible: 1;
4503                rel1.relative: 0.0 0.0;
4504                image.normal: "flip_4t.png";
4505             }
4506             description { state: "4h" 0.0;
4507                inherit: "default" 0.0;
4508                color: 128 128 128 255;
4509                visible: 0;
4510                rel1.relative: 0.0 1.0;
4511                image.normal: "flip_4t.png";
4512             }
4513             description { state: "5" 0.0;
4514                inherit: "default" 0.0;
4515                visible: 1;
4516                rel1.relative: 0.0 0.0;
4517                image.normal: "flip_5t.png";
4518             }
4519             description { state: "5h" 0.0;
4520                inherit: "default" 0.0;
4521                color: 128 128 128 255;
4522                visible: 0;
4523                rel1.relative: 0.0 1.0;
4524                image.normal: "flip_5t.png";
4525             }
4526             description { state: "6" 0.0;
4527                inherit: "default" 0.0;
4528                visible: 1;
4529                rel1.relative: 0.0 0.0;
4530                image.normal: "flip_6t.png";
4531             }
4532             description { state: "6h" 0.0;
4533                inherit: "default" 0.0;
4534                color: 128 128 128 255;
4535                visible: 0;
4536                rel1.relative: 0.0 1.0;
4537                image.normal: "flip_6t.png";
4538             }
4539             description { state: "7" 0.0;
4540                inherit: "default" 0.0;
4541                visible: 1;
4542                rel1.relative: 0.0 0.0;
4543                image.normal: "flip_7t.png";
4544             }
4545             description { state: "7h" 0.0;
4546                inherit: "default" 0.0;
4547                color: 128 128 128 255;
4548                visible: 0;
4549                rel1.relative: 0.0 1.0;
4550                image.normal: "flip_7t.png";
4551             }
4552             description { state: "8" 0.0;
4553                inherit: "default" 0.0;
4554                visible: 1;
4555                rel1.relative: 0.0 0.0;
4556                image.normal: "flip_8t.png";
4557             }
4558             description { state: "8h" 0.0;
4559                inherit: "default" 0.0;
4560                color: 128 128 128 255;
4561                visible: 0;
4562                rel1.relative: 0.0 1.0;
4563                image.normal: "flip_8t.png";
4564             }
4565             description { state: "9" 0.0;
4566                inherit: "default" 0.0;
4567                visible: 1;
4568                rel1.relative: 0.0 0.0;
4569                image.normal: "flip_9t.png";
4570             }
4571             description { state: "9h" 0.0;
4572                inherit: "default" 0.0;
4573                color: 128 128 128 255;
4574                visible: 0;
4575                rel1.relative: 0.0 1.0;
4576                image.normal: "flip_9t.png";
4577             }
4578          }
4579          part { name: "atop";
4580             mouse_events: 0;
4581             scale: 1;
4582             description { state: "default" 0.0;
4583                visible: 0;
4584                min: 15 15;
4585                max: 15 15;
4586                align: 0.5 0.0;
4587                rel1.to: "t";
4588                rel2.to: "t";
4589                image.normal: "arrow_up.png";
4590             }
4591             description { state: "visible" 0.0;
4592                inherit: "default" 0.0;
4593                visible: 1;
4594             }
4595          }
4596          part { name: "abot";
4597             mouse_events: 0;
4598             scale: 1;
4599             description { state: "default" 0.0;
4600                visible: 0;
4601                min: 15 15;
4602                max: 15 15;
4603                align: 0.5 1.0;
4604                rel1.to: "b";
4605                rel2.to: "b";
4606                image.normal: "arrow_down.png";
4607             }
4608             description { state: "visible" 0.0;
4609                inherit: "default" 0.0;
4610                visible: 1;
4611             }
4612          }
4613       }
4614       programs {
4615          program { name: "load";
4616             signal: "load";
4617             source: "";
4618             script {
4619                set_int(v0_cur, 0);
4620                set_int(v0_pre, 0);
4621                set_int(v0_lock, 0);
4622                set_int(v0_next, -1);
4623             }
4624          }
4625          program { name: "edit_on";
4626             signal: "elm,state,edit,on";
4627             source: "elm";
4628             action: STATE_SET "visible" 0.0;
4629             target: "atop";
4630             target: "abot";
4631             target: "t";
4632             target: "b";
4633          }
4634          program { name: "edit_off";
4635             signal: "elm,state,edit,off";
4636             source: "elm";
4637             action: STATE_SET "default" 0.0;
4638             target: "atop";
4639             target: "abot";
4640             target: "t";
4641             target: "b";
4642          }
4643          program { name: "up";
4644             signal: "mouse,down,1";
4645             source: "t";
4646             action: SIGNAL_EMIT "elm,action,up,start" "";
4647          }
4648          program { name: "up,stop";
4649             signal: "mouse,up,1";
4650             source: "t";
4651             action: SIGNAL_EMIT "elm,action,up,stop" "";
4652          }
4653          program { name: "down";
4654             signal: "mouse,down,1";
4655             source: "b";
4656             action: SIGNAL_EMIT "elm,action,down,start" "";
4657          }
4658          program { name: "down,stop";
4659             signal: "mouse,up,1";
4660             source: "b";
4661             action: SIGNAL_EMIT "elm,action,down,stop" "";
4662          }
4663       }
4664    }
4665
4666 ///////////////////////////////////////////////////////////////////////////////
4667    group { name: "elm/clock/flipampm/default";
4668       images {
4669          image: "flip_base.png" COMP;
4670          image: "flip_base_shad.png" COMP;
4671          image: "flip_shad.png" COMP;
4672          image: "flip_amt.png" COMP;
4673          image: "flip_amb.png" COMP;
4674          image: "flip_pmt.png" COMP;
4675          image: "flip_pmb.png" COMP;
4676          image: "arrow_up.png" COMP;
4677          image: "arrow_down.png" COMP;
4678       }
4679       script {
4680          public v0_cur, v0_pre, v0_lock, v0_next;
4681
4682        public animator2(val, Float:pos) {
4683           new st1[11], st2[11], v;
4684
4685           v = get_int(v0_cur);
4686           snprintf(st1, 10, "%ih", v);
4687           snprintf(st2, 10, "%i", v);
4688           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4689           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4690           if (pos >= 1.0) {
4691              set_state(PART:"sh", "default", 0.0);
4692              set_int(v0_lock, 0);
4693              v = get_int(v0_next);
4694              if (v >= 0) {
4695                 set_int(v0_next, -1);
4696                 message(MSG_INT, 1, v);
4697              }
4698           }
4699        }
4700        public animator1(val, Float:pos) {
4701           new st1[11], st2[11], v;
4702
4703           v = get_int(v0_pre);
4704           snprintf(st1, 10, "%i", v);
4705           snprintf(st2, 10, "%ih", v);
4706           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4707           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4708           if (pos >= 1.0) anim(0.2, "animator2", val);
4709        }
4710        public message(Msg_Type:type, id, ...) {
4711           if ((type == MSG_INT) && (id == 1)) {
4712              new value, v, buf[11];
4713
4714              value = getarg(2);
4715              if (get_int(v0_lock) == 1) {
4716                 set_int(v0_next, value);
4717                 return;
4718              }
4719              v = get_int(v0_cur);
4720              set_int(v0_pre, v);
4721              set_int(v0_cur, value);
4722              set_int(v0_lock, 1);
4723              snprintf(buf, 10, "%i", get_int(v0_pre));
4724              set_state(PART:"bot0", buf, 0.0);
4725              snprintf(buf, 10, "%ih", get_int(v0_cur));
4726              set_state(PART:"bot", buf, 0.0);
4727              snprintf(buf, 10, "%i", get_int(v0_cur));
4728              set_state(PART:"top0", buf, 0.0);
4729              snprintf(buf, 10, "%i", get_int(v0_pre));
4730              set_state(PART:"top", buf, 0.0);
4731              set_state(PART:"sh", "default", 0.0);
4732              anim(0.2, "animator1", 1);
4733           }
4734        }
4735       }
4736       parts {
4737          part { name: "shad";
4738             mouse_events: 0;
4739             description { state: "default" 0.0;
4740                rel1.offset: -4 -4;
4741                rel1.to: "base";
4742                rel2.offset: 3 3;
4743                rel2.to: "base";
4744                image {
4745                   normal: "flip_base_shad.png";
4746                   border: 8 8 8 8;
4747                }
4748             }
4749          }
4750          part { name: "base";
4751             mouse_events: 0;
4752             scale: 1;
4753             description { state: "default" 0.0;
4754                rel1.offset: 4 4;
4755                rel2.offset: -5 -5;
4756                // FIXME 48x96 should be the native pixel design, right now
4757                // its 80x160. fix int he artwork later
4758                aspect: 0.5 0.5;
4759                min: 24 48;
4760 //               max: 24 48;
4761                image.normal: "flip_base.png";
4762             }
4763          }
4764          part { name: "b";
4765             type: RECT;
4766             mouse_events: 1;
4767             description { state: "default" 0.0;
4768                rel1.to: "base";
4769                rel1.relative: 0.0 0.5;
4770                rel2.to: "base";
4771                color: 0 0 0 0;
4772             }
4773          }
4774          part { name: "t";
4775             type: RECT;
4776             mouse_events: 1;
4777             description { state: "default" 0.0;
4778                rel1.to: "base";
4779                rel2.to: "base";
4780                rel2.relative: 1.0 0.5;
4781                color: 0 0 0 0;
4782             }
4783          }
4784          part { name: "bot0";
4785             mouse_events: 0;
4786             description { state: "default" 0.0;
4787                rel1.to: "b";
4788                rel2.to: "b";
4789                image.normal: "flip_amb.png";
4790             }
4791             description { state: "0" 0.0;
4792                inherit: "default" 0.0;
4793                image.normal: "flip_amb.png";
4794             }
4795             description { state: "1" 0.0;
4796                inherit: "default" 0.0;
4797                image.normal: "flip_pmb.png";
4798             }
4799          }
4800          part { name: "sh";
4801             mouse_events: 0;
4802             description { state: "default" 0.0;
4803                rel1.to: "b";
4804                rel2.to: "b";
4805                rel2.relative: 1.0 0.0;
4806                image.normal: "flip_shad.png";
4807             }
4808             description { state: "half" 0.0;
4809                inherit: "default" 0.0;
4810                rel2.relative: 1.0 0.5;
4811             }
4812             description { state: "full" 0.0;
4813                inherit: "default" 0.0;
4814                rel2.relative: 1.0 1.0;
4815             }
4816          }
4817          part { name: "bot";
4818             mouse_events: 0;
4819             description { state: "default" 0.0;
4820                visible: 1;
4821                rel1.to: "b";
4822                rel2.to: "b";
4823                image.normal: "flip_amb.png";
4824             }
4825             description { state: "0" 0.0;
4826                inherit: "default" 0.0;
4827                visible: 1;
4828                rel2.relative: 1.0 1.0;
4829                image.normal: "flip_amb.png";
4830             }
4831             description { state: "0h" 0.0;
4832                inherit: "default" 0.0;
4833                visible: 0;
4834                rel2.relative: 1.0 0.0;
4835                image.normal: "flip_amb.png";
4836             }
4837             description { state: "1" 0.0;
4838                inherit: "default" 0.0;
4839                visible: 1;
4840                rel2.relative: 1.0 1.0;
4841                image.normal: "flip_pmb.png";
4842             }
4843             description { state: "1h" 0.0;
4844                inherit: "default" 0.0;
4845                visible: 0;
4846                rel2.relative: 1.0 0.0;
4847                image.normal: "flip_pmb.png";
4848             }
4849          }
4850          part { name: "top0";
4851             mouse_events: 0;
4852             description { state: "default" 0.0;
4853                rel1.to: "t";
4854                rel2.to: "t";
4855                image.normal: "flip_amt.png";
4856             }
4857             description { state: "0" 0.0;
4858                inherit: "default" 0.0;
4859                image.normal: "flip_amt.png";
4860             }
4861             description { state: "1" 0.0;
4862                inherit: "default" 0.0;
4863                image.normal: "flip_pmt.png";
4864             }
4865          }
4866          part { name: "top";
4867             mouse_events: 0;
4868             description { state: "default" 0.0;
4869                visible: 1;
4870                rel1.to: "t";
4871                rel2.to: "t";
4872                image.normal: "flip_amt.png";
4873             }
4874             description { state: "0" 0.0;
4875                inherit: "default" 0.0;
4876                visible: 1;
4877                rel1.relative: 0.0 0.0;
4878                image.normal: "flip_amt.png";
4879             }
4880             description { state: "0h" 0.0;
4881                inherit: "default" 0.0;
4882                color: 128 128 128 255;
4883                visible: 0;
4884                rel1.relative: 0.0 1.0;
4885                image.normal: "flip_amt.png";
4886             }
4887             description { state: "1" 0.0;
4888                inherit: "default" 0.0;
4889                visible: 1;
4890                rel1.relative: 0.0 0.0;
4891                image.normal: "flip_pmt.png";
4892             }
4893             description { state: "1h" 0.0;
4894                inherit: "default" 0.0;
4895                color: 128 128 128 255;
4896                visible: 0;
4897                rel1.relative: 0.0 1.0;
4898                image.normal: "flip_pmt.png";
4899             }
4900          }
4901          part { name: "atop";
4902             mouse_events: 0;
4903             scale: 1;
4904             description { state: "default" 0.0;
4905                visible: 0;
4906                min: 15 15;
4907                max: 15 15;
4908                align: 0.5 0.0;
4909                rel1.to: "t";
4910                rel2.to: "t";
4911                image.normal: "arrow_up.png";
4912             }
4913             description { state: "visible" 0.0;
4914                inherit: "default" 0.0;
4915                visible: 1;
4916             }
4917          }
4918          part { name: "abot";
4919             mouse_events: 0;
4920             scale: 1;
4921             description { state: "default" 0.0;
4922                visible: 0;
4923                min: 15 15;
4924                max: 15 15;
4925                align: 0.5 1.0;
4926                rel1.to: "b";
4927                rel2.to: "b";
4928                image.normal: "arrow_down.png";
4929             }
4930             description { state: "visible" 0.0;
4931                inherit: "default" 0.0;
4932                visible: 1;
4933             }
4934          }
4935       }
4936       programs {
4937          program { name: "load";
4938             signal: "load";
4939             source: "";
4940             script {
4941                set_int(v0_cur, 0);
4942                set_int(v0_pre, 0);
4943                set_int(v0_lock, 0);
4944                set_int(v0_next, -1);
4945             }
4946          }
4947          program { name: "edit_on";
4948             signal: "elm,state,edit,on";
4949             source: "elm";
4950             action: STATE_SET "visible" 0.0;
4951             target: "atop";
4952             target: "abot";
4953          }
4954 /*
4955          program { name: "edit_off";
4956             signal: "elm,state,edit,off";
4957             source: "elm";
4958             action: STATE_SET "default" 0.0;
4959             target: "atop";
4960             target: "abot";
4961          }
4962  */
4963          program { name: "up";
4964             signal: "mouse,down,1";
4965             source: "t";
4966             action: SIGNAL_EMIT "elm,action,up,start" "";
4967          }
4968          program { name: "up,stop";
4969             signal: "mouse,up,1";
4970             source: "t";
4971             action: SIGNAL_EMIT "elm,action,up,stop" "";
4972          }
4973          program { name: "down";
4974             signal: "mouse,down,1";
4975             source: "b";
4976             action: SIGNAL_EMIT "elm,action,down,start" "";
4977          }
4978          program { name: "down,stop";
4979             signal: "mouse,up,1";
4980             source: "b";
4981             action: SIGNAL_EMIT "elm,action,down,stop" "";
4982          }
4983       }
4984    }
4985
4986    ///////////////////////////////////////////////////////////////////////////////
4987    group { name: "elm/menu/item/default";
4988        images {
4989            image: "bt_base1.png" COMP;
4990            image: "bt_base2.png" COMP;
4991            image: "bt_hilight.png" COMP;
4992            image: "bt_shine.png" COMP;
4993            image: "bt_glow.png" COMP;
4994            image: "bt_dis_base.png" COMP;
4995            image: "bt_dis_hilight.png" COMP;
4996        }
4997        script {
4998             public menu_text_visible; //0:hide (default), 1:visible
4999             public menu_disable; //0:enable, 1:disable
5000        }
5001        parts {
5002            part { name: "item_image";
5003                mouse_events: 1;
5004                description { state: "default" 0.0;
5005                    color: 255 255 255 0;
5006                    image {
5007                        normal: "bt_base2.png";
5008                        border: 7 7 7 7;
5009                    }
5010                    image.middle: SOLID;
5011                }
5012                description { state: "visible" 0.0;
5013                    inherit: "default" 0.0;
5014                    color: 255 255 255 255;
5015                }
5016                description { state: "clicked" 0.0;
5017                    inherit: "default" 0.0;
5018                    inherit: "visible" 0.0;
5019                    image.normal: "bt_base1.png";
5020                    image.middle: SOLID;
5021                }
5022                description { state: "disabled" 0.0;
5023                    inherit:  "default" 0.0;
5024                }
5025            }
5026            part { name: "item_image_disabled";
5027                mouse_events: 1;
5028                description { state: "default" 0.0;
5029                    color: 255 255 255 0;
5030                    image {
5031                        normal: "bt_dis_base.png";
5032                        border: 4 4 4 4;
5033                    }
5034                    image.middle: SOLID;
5035                }
5036                description { state: "disabled" 0.0;
5037                    inherit:  "default" 0.0;
5038                    color: 255 255 255 255;
5039                }
5040            }
5041            part { name: "elm.swallow.content";
5042                type: SWALLOW;
5043                description { state: "default" 0.0;
5044                    fixed: 1 0;
5045                    visible: 1;
5046                    align: 0.0 0.5;
5047                    rel1.offset: 4 4;
5048                    rel2.offset: 3 -5;
5049                    rel2.relative: 0.0 1.0;
5050                    aspect: 1.0 1.0;
5051                    aspect_preference: VERTICAL;
5052                    rel2.offset: 4 -5;
5053                }
5054            }
5055            part {
5056                name:          "elm.text";
5057                type:          TEXT;
5058                mouse_events:  0;
5059                scale: 1;
5060                description { state: "default" 0.0;
5061                    visible: 0;
5062                    rel1.to_x: "elm.swallow.content";
5063                    rel1.relative: 1.0 0.0;
5064                    rel1.offset: 5 7;
5065                    rel2.offset: -10 -8;
5066                    color: 0 0 0 255;
5067                    text {
5068                        font:     "Sans,Edje-Vera";
5069                        size:     10;
5070                        min:      1 1;
5071                        align:    0.0 0.5;
5072                        text_class: "menu_item";
5073                    }
5074                }
5075                description { state: "visible" 0.0;
5076                    inherit: "default" 0.0;
5077                    visible: 1;
5078                    text.min: 1 1;
5079                }
5080                description { state: "selected" 0.0;
5081                    inherit: "default" 0.0;
5082                    inherit: "visible" 0.0;
5083                    color: 254 254 254 255;
5084                }
5085                description { state: "disabled" 0.0;
5086                    inherit: "default" 0.0;
5087                    color: 0 0 0 128;
5088                }
5089                description { state: "disabled_visible" 0.0;
5090                    inherit: "default" 0.0;
5091                    inherit: "visible" 0.0;
5092                    color: 0 0 0 128;
5093                }
5094            }
5095            part {          name: "over1";
5096                mouse_events: 0;
5097                description { state: "default" 0.0;
5098                    color: 255 255 255 0;
5099                    rel2.relative: 1.0 0.5;
5100                    image {
5101                        normal: "bt_hilight.png";
5102                        border: 7 7 7 0;
5103                    }
5104                }
5105                description { state: "visible" 0.0;
5106                    inherit:  "default" 0.0;
5107                    color: 255 255 255 255;
5108                }
5109                description { state: "disabled" 0.0;
5110                    inherit:  "default" 0.0;
5111                }
5112            }
5113            part {          name: "over_disabled";
5114                mouse_events: 0;
5115                description { state: "default" 0.0;
5116                    color: 255 255 255 0;
5117                    rel2.relative: 1.0 0.5;
5118                    image {
5119                        normal: "bt_dis_hilight.png";
5120                        border: 4 4 4 0;
5121                    }
5122                }
5123                description { state: "disabled" 0.0;
5124                    inherit:  "default" 0.0;
5125                    color: 255 255 255 255;
5126                }
5127            }
5128            part { name: "over2";
5129                mouse_events: 1;
5130                repeat_events: 1;
5131                ignore_flags: ON_HOLD;
5132                description { state: "default" 0.0;
5133                    image {
5134                        normal: "bt_shine.png";
5135                        border: 7 7 7 7;
5136                    }
5137                }
5138                description { state: "disabled" 0.0;
5139                    inherit:  "default" 0.0;
5140                    visible: 0;
5141                }
5142            }
5143            part { name: "over3";
5144                mouse_events: 1;
5145                repeat_events: 1;
5146                description { state: "default" 0.0;
5147                    color: 255 255 255 0;
5148                    image {
5149                        normal: "bt_glow.png";
5150                        border: 12 12 12 12;
5151                    }
5152                    fill.smooth : 0;
5153                }
5154                description { state: "clicked" 0.0;
5155                    inherit:  "default" 0.0;
5156                    visible: 1;
5157                    color: 255 255 255 255;
5158                }
5159            }
5160            part { name: "disabler";
5161                type: RECT;
5162                description { state: "default" 0.0;
5163                    color: 0 0 0 0;
5164                    visible: 0;
5165                }
5166                description { state: "disabled" 0.0;
5167                    inherit: "default" 0.0;
5168                    visible: 1;
5169                }
5170            }
5171        }
5172        programs {
5173           //
5174            program {
5175                name:   "item_mouse_in";
5176                signal: "mouse,in";
5177                source: "over2";
5178                action: SIGNAL_EMIT "elm,action,activate" "";
5179                after: "item_mouse_in_2";
5180                after: "item_mouse_in_3";
5181            }
5182            program {
5183                name:   "item_mouse_in_2";
5184                transition: DECELERATE 0.5;
5185                script {
5186                    new v, d;
5187                    v = get_int(menu_text_visible);
5188                    d = get_int(menu_disable);
5189
5190                    if (v==1 && d==0)
5191                         run_program(PROGRAM:"selected_text");
5192                }
5193            }
5194            program {
5195                name:   "item_mouse_in_3";
5196                action : STATE_SET "visible" 0.0;
5197                target: "item_image";
5198                target: "over1";
5199                transition: DECELERATE 0.5;
5200            }
5201            program {
5202                name:   "selected_text";
5203                action: STATE_SET "selected" 0.0;
5204                target: "elm.text";
5205                transition: DECELERATE 0.5;
5206            }
5207            //
5208
5209            //
5210            program {
5211                name:   "item_mouse_out";
5212                signal: "mouse,out";
5213                source: "over2";
5214                action: SIGNAL_EMIT "elm,action,inactivate" "";
5215                after: "item_mouse_out_2";
5216                after: "item_mouse_out_3";
5217            }
5218            program {
5219                name:   "item_mouse_out_2";
5220                transition: DECELERATE 0.5;
5221                script {
5222                    new v, d;
5223                    v = get_int(menu_text_visible);
5224                    d = get_int(menu_disable);
5225
5226                    if (v==1 && d==0)
5227                         run_program(PROGRAM:"visible_text");
5228                }
5229            }
5230            program {
5231                name:   "item_mouse_out_3";
5232                action: STATE_SET "default" 0.0;
5233                target: "item_image";
5234                target: "over1";
5235                transition: DECELERATE 0.5;
5236            }
5237            program {
5238                name:   "visible_text";
5239                action: STATE_SET "visible" 0.0;
5240                target: "elm.text";
5241                transition: DECELERATE 0.5;
5242            }
5243            //
5244
5245            program {
5246                name:   "item_unclick";
5247                signal: "mouse,up,1";
5248                source: "over2";
5249                action: STATE_SET "visible" 0.0;
5250                target: "item_image";
5251            }
5252            program {
5253                name:   "item_click2";
5254                signal: "mouse,down,1";
5255                source: "over3";
5256                action: STATE_SET "clicked" 0.0;
5257                target: "over3";
5258            }
5259            program {
5260                name:   "item_unclick2";
5261                signal: "mouse,up,1";
5262                source: "over3";
5263                action: STATE_SET "default" 0.0;
5264                transition: DECELERATE 0.5;
5265                target: "over3";
5266            }
5267            program {
5268                name:   "item_unclick3";
5269                signal: "mouse,up,1";
5270                source: "over2";
5271                action: SIGNAL_EMIT "elm,action,click" "";
5272            }
5273            program { name: "text_show";
5274                signal: "elm,state,text,visible";
5275                source: "elm";
5276                script {
5277                    set_int(menu_text_visible, 1);
5278                    set_state(PART:"elm.text", "visible", 0.0);
5279                }
5280            }
5281            program { name: "text_hide";
5282                signal: "elm,state,text,hidden";
5283                source: "elm";
5284                script {
5285                    set_int(menu_text_visible, 0);
5286                    set_state(PART:"elm.text", "default", 0.0);
5287                }
5288            }
5289            program { name: "disable";
5290                signal: "elm,state,disabled";
5291                source: "elm";
5292                action: STATE_SET "disabled" 0.0;
5293                target: "item_image";
5294                target: "item_image_disabled";
5295                target: "over1";
5296                target: "over2";
5297                target: "over_disabled";
5298                target: "disabler";
5299                after: "disable_text";
5300            }
5301            program { name: "disable_text";
5302                script {
5303                    new v;
5304                    v = get_int(menu_text_visible);
5305                    if (v==1)
5306                     set_state(PART:"elm.text", "disabled_visible", 0.0);
5307                    else if (v==0)
5308                     set_state(PART:"elm.text", "disabled", 0.0);
5309                    set_int(menu_disable, 1);
5310                }
5311            }
5312            program { name: "item_select";
5313                signal: "elm,state,selected";
5314                source: "elm";
5315                after: "item_mouse_in_2";
5316                after: "item_mouse_in_3";
5317            }
5318            program { name: "item_unselect";
5319                signal: "elm,state,unselected";
5320                source: "elm";
5321                after: "item_mouse_out_2";
5322                after: "item_mouse_out_3";
5323            }
5324            program { name: "enable";
5325                signal: "elm,state,enabled";
5326                source: "elm";
5327                action: STATE_SET "default" 0.0;
5328                target: "item_image";
5329                target: "item_image_disabled";
5330                target: "over1";
5331                target: "over2";
5332                target: "over_disabled";
5333                target: "disabler";
5334                after: "enable_text";
5335            }
5336            program { name: "enable_text";
5337                script {
5338                    new v;
5339                    v = get_int(menu_text_visible);
5340                    if (v==1)
5341                     set_state(PART:"elm.text", "visible", 0.0);
5342                    else  if (v==0)
5343                     set_state(PART:"elm.text", "default", 0.0);
5344                    set_int(menu_disable, 0);
5345                }
5346            }
5347        }
5348    }
5349
5350    group { name: "elm/menu/item_with_submenu/default";
5351        images {
5352            image: "bt_base1.png" COMP;
5353            image: "bt_base2.png" COMP;
5354            image: "bt_hilight.png" COMP;
5355            image: "bt_shine.png" COMP;
5356            image: "bt_glow.png" COMP;
5357            image: "bt_dis_base.png" COMP;
5358            image: "bt_dis_hilight.png" COMP;
5359            image: "arrow_right.png" COMP;
5360            image: "arrow_left.png" COMP;
5361        }
5362        script {
5363             public menu_text_visible; //0:hide (default), 1:visible
5364             public menu_disable; //0:enable, 1:disable
5365        }
5366        parts {
5367            part { name: "item_image";
5368                mouse_events: 1;
5369                description { state: "default" 0.0;
5370                    color: 255 255 255 0;
5371                    image {
5372                        normal: "bt_base2.png";
5373                        border: 7 7 7 7;
5374                    }
5375                    image.middle: SOLID;
5376                }
5377                description { state: "visible" 0.0;
5378                    inherit: "default" 0.0;
5379                    color: 255 255 255 255;
5380                }
5381                description { state: "clicked" 0.0;
5382                    inherit: "default" 0.0;
5383                    inherit: "visible" 0.0;
5384                    image.normal: "bt_base1.png";
5385                    image.middle: SOLID;
5386                }
5387                description { state: "disabled" 0.0;
5388                    inherit:  "default" 0.0;
5389                }
5390            }
5391            part { name: "item_image_disabled";
5392                mouse_events: 1;
5393                description { state: "default" 0.0;
5394                    color: 255 255 255 0;
5395                    image {
5396                        normal: "bt_dis_base.png";
5397                        border: 4 4 4 4;
5398                    }
5399                    image.middle: SOLID;
5400                }
5401                description { state: "disabled" 0.0;
5402                    inherit:  "default" 0.0;
5403                    color: 255 255 255 255;
5404                }
5405            }
5406            part { name: "arrow";
5407                mouse_events: 1;
5408                description { state: "default" 0.0;
5409                    color: 255 255 255 255;
5410                    align: 1.0 0.5;
5411                    aspect: 1 1;
5412                    aspect_preference: BOTH;
5413                    image {
5414                        normal: "arrow_right.png";
5415                    }
5416                }
5417                description { state: "rtl" 0.0;
5418                   inherit: "default" 0.0;
5419                   image.normal: "arrow_left.png";
5420                }
5421            }
5422            part { name: "elm.swallow.content";
5423                type: SWALLOW;
5424                description { state: "default" 0.0;
5425                    fixed: 1 0;
5426                    visible: 1;
5427                    align: 0.0 0.5;
5428                    rel1.offset: 4 4;
5429                    rel2.offset: 3 -5;
5430                    rel2.relative: 0.0 1.0;
5431                    aspect: 1.0 1.0;
5432                    aspect_preference: VERTICAL;
5433                    rel2.offset: 4 -5;
5434                }
5435            }
5436            part {
5437                name:          "elm.text";
5438                type:          TEXT;
5439                mouse_events:  0;
5440                scale: 1;
5441                description { state: "default" 0.0;
5442                    visible: 0;
5443                    rel1.to_x: "elm.swallow.content";
5444                    rel1.relative: 1.0 0.0;
5445                    rel1.offset: 5 7;
5446                    rel2.offset: -10 -8;
5447                    color: 0 0 0 255;
5448                    text {
5449                        font:     "Sans,Edje-Vera";
5450                        size:     10;
5451                        min:      1 1;
5452                        align:    0.0 0.5;
5453                        text_class: "menu_item";
5454                    }
5455                }
5456                description { state: "visible" 0.0;
5457                    inherit: "default" 0.0;
5458                    visible: 1;
5459                    text.min: 1 1;
5460                }
5461                description { state: "selected" 0.0;
5462                    inherit: "default" 0.0;
5463                    inherit: "visible" 0.0;
5464                    color: 254 254 254 255;
5465                }
5466                description { state: "disabled" 0.0;
5467                    inherit: "default" 0.0;
5468                    color: 0 0 0 128;
5469                }
5470                description { state: "disabled_visible" 0.0;
5471                    inherit: "default" 0.0;
5472                    inherit: "visible" 0.0;
5473                    color: 0 0 0 128;
5474                }
5475            }
5476            part {          name: "over1";
5477                mouse_events: 0;
5478                description { state: "default" 0.0;
5479                    color: 255 255 255 0;
5480                    rel2.relative: 1.0 0.5;
5481                    image {
5482                        normal: "bt_hilight.png";
5483                        border: 7 7 7 0;
5484                    }
5485                }
5486                description { state: "visible" 0.0;
5487                    inherit:  "default" 0.0;
5488                    color: 255 255 255 255;
5489                }
5490                description { state: "disabled" 0.0;
5491                    inherit:  "default" 0.0;
5492                }
5493            }
5494            part { name: "over_disabled";
5495                mouse_events: 0;
5496                description { state: "default" 0.0;
5497                    color: 255 255 255 0;
5498                    rel2.relative: 1.0 0.5;
5499                    image {
5500                        normal: "bt_dis_hilight.png";
5501                        border: 4 4 4 0;
5502                    }
5503                }
5504                description { state: "disabled" 0.0;
5505                    inherit:  "default" 0.0;
5506                    color: 255 255 255 255;
5507                }
5508            }
5509            part { name: "over2";
5510                mouse_events: 1;
5511                repeat_events: 1;
5512                ignore_flags: ON_HOLD;
5513                description { state: "default" 0.0;
5514                    image {
5515                        normal: "bt_shine.png";
5516                        border: 7 7 7 7;
5517                    }
5518                }
5519                description { state: "disabled" 0.0;
5520                    inherit:  "default" 0.0;
5521                    visible: 0;
5522                }
5523            }
5524            part { name: "over3";
5525                mouse_events: 1;
5526                repeat_events: 1;
5527                description { state: "default" 0.0;
5528                    color: 255 255 255 0;
5529                    image {
5530                        normal: "bt_glow.png";
5531                        border: 12 12 12 12;
5532                    }
5533                    fill.smooth : 0;
5534                }
5535                description { state: "clicked" 0.0;
5536                    inherit:  "default" 0.0;
5537                    visible: 1;
5538                    color: 255 255 255 255;
5539                }
5540            }
5541            part { name: "disabler";
5542                type: RECT;
5543                description { state: "default" 0.0;
5544                    color: 0 0 0 0;
5545                    visible: 0;
5546                }
5547                description { state: "disabled" 0.0;
5548                    inherit: "default" 0.0;
5549                    visible: 1;
5550                }
5551            }
5552        }
5553        programs {
5554            //
5555            program {
5556                name:   "item_mouse_in";
5557                signal: "mouse,in";
5558                source: "over2";
5559                action: SIGNAL_EMIT "elm,action,activate" "";
5560                after: "item_mouse_in_2";
5561                after: "item_mouse_in_3";
5562            }
5563            program {
5564                name:   "item_mouse_in_2";
5565                transition: DECELERATE 0.5;
5566                script {
5567                    new v, d;
5568                    v = get_int(menu_text_visible);
5569                    d = get_int(menu_disable);
5570
5571                    if (v==1 && d==0)
5572                         run_program(PROGRAM:"selected_text");
5573                }
5574            }
5575            program {
5576                name:   "item_mouse_in_3";
5577                action : STATE_SET "visible" 0.0;
5578                target: "item_image";
5579                target: "over1";
5580                transition: DECELERATE 0.5;
5581            }
5582            program {
5583                name:   "selected_text";
5584                action: STATE_SET "selected" 0.0;
5585                target: "elm.text";
5586                transition: DECELERATE 0.5;
5587            }
5588            //
5589
5590            //
5591            program {
5592                name:   "item_mouse_out";
5593                signal: "mouse,out";
5594                source: "over2";
5595                after: "item_mouse_out_2";
5596                after: "item_mouse_out_3";
5597            }
5598            program {
5599                name:   "item_mouse_out_2";
5600                transition: DECELERATE 0.5;
5601                script {
5602                    new v, d;
5603                    v = get_int(menu_text_visible);
5604                    d = get_int(menu_disable);
5605
5606                    if (v==1 && d==0)
5607                         run_program(PROGRAM:"visible_text");
5608                }
5609            }
5610            program {
5611                name:   "item_mouse_out_3";
5612                action: STATE_SET "default" 0.0;
5613                target: "item_image";
5614                target: "over1";
5615                transition: DECELERATE 0.5;
5616            }
5617            program {
5618                name:   "visible_text";
5619                action: STATE_SET "visible" 0.0;
5620                target: "elm.text";
5621                transition: DECELERATE 0.5;
5622            }
5623            //
5624
5625            program {
5626                name:   "item_unclick";
5627                signal: "mouse,up,1";
5628                source: "over2";
5629                action: STATE_SET "visible" 0.0;
5630                target: "item_image";
5631            }
5632            program {
5633                name:   "item_click2";
5634                signal: "mouse,down,1";
5635                source: "over3";
5636                action: STATE_SET "clicked" 0.0;
5637                target: "over3";
5638            }
5639            program {
5640                name:   "item_unclick2";
5641                signal: "mouse,up,1";
5642                source: "over3";
5643                action: STATE_SET "default" 0.0;
5644                transition: DECELERATE 0.5;
5645                target: "over3";
5646            }
5647            program {
5648                name:   "item_unclick3";
5649                signal: "mouse,up,1";
5650                source: "over2";
5651                action: SIGNAL_EMIT "elm,action,click" "";
5652            }
5653            program {
5654                name:   "menu_open";
5655                signal: "mouse,in";
5656                source: "over2";
5657                action: SIGNAL_EMIT "elm,action,open" "";
5658            }
5659             program { name: "text_show";
5660                signal: "elm,state,text,visible";
5661                source: "elm";
5662                script {
5663                    set_int(menu_text_visible, 1);
5664                    set_state(PART:"elm.text", "visible", 0.0);
5665                }
5666            }
5667            program { name: "text_hide";
5668                signal: "elm,state,text,hidden";
5669                source: "elm";
5670                script {
5671                    set_int(menu_text_visible, 0);
5672                    set_state(PART:"elm.text", "default", 0.0);
5673                }
5674            }
5675            program { name: "disable";
5676                signal: "elm,state,disabled";
5677                source: "elm";
5678                action: STATE_SET "disabled" 0.0;
5679                target: "item_image";
5680                target: "item_image_disabled";
5681                target: "over1";
5682                target: "over2";
5683                target: "over_disabled";
5684                target: "disabler";
5685                after: "disable_text";
5686            }
5687            program { name: "disable_text";
5688                script {
5689                    new st[31];
5690                    new Float:vl;
5691                    get_state(PART:"elm.text", st, 30, vl);
5692                    if (!strcmp(st, "visible"))
5693                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5694                    else if (!strcmp(st, "default"))
5695                    set_state(PART:"elm.text", "disabled", 0.0);
5696                }
5697            }
5698            program { name: "enable";
5699                signal: "elm,state,enabled";
5700                source: "elm";
5701                action: STATE_SET "default" 0.0;
5702                target: "item_image";
5703                target: "item_image_disabled";
5704                target: "over1";
5705                target: "over2";
5706                target: "over_disabled";
5707                target: "disabler";
5708                after: "enable_text";
5709            }
5710            program { name: "enable_text";
5711                script {
5712                    new v;
5713                    v = get_int(menu_text_visible);
5714                    if (v==1)
5715                     set_state(PART:"elm.text", "visible", 0.0);
5716                    else  if (v==0)
5717                     set_state(PART:"elm.text", "default", 0.0);
5718                    set_int(menu_disable, 0);
5719                }
5720            }
5721            program { name: "to_rtl";
5722                signal: "edje,state,rtl";
5723                source: "edje";
5724                action: STATE_SET "rtl" 0.0;
5725                target: "arrow";
5726            }
5727            program { name: "to_ltr";
5728                signal: "edje,state,ltr";
5729                source: "edje";
5730                action: STATE_SET "default" 0.0;
5731                target: "arrow";
5732            }
5733        }
5734    }
5735
5736    group { name: "elm/menu/separator/default";
5737        images {
5738            image: "separator_h.png" COMP;
5739        }
5740        parts {
5741            part { name: "separator"; // separator group
5742                description { state: "default" 0.0;
5743                    min: 2 2;
5744                    rel1.offset: 4 4;
5745                    rel2.offset: -5 -5;
5746                    image {
5747                        normal: "separator_h.png";
5748                    }
5749                    fill {
5750                        smooth: 0;
5751                    }
5752                }
5753            }
5754        }
5755    }
5756 ///////////////////////////////////////////////////////////////////////////////
5757    group { name: "elm/clock/base-all/default";
5758       parts {
5759          part { name: "d0";
5760             type: SWALLOW;
5761             description { state: "default" 0.0;
5762                rel1.relative: 0.0000000 0.0;
5763                rel2.relative: 0.1250000 1.0;
5764             }
5765          }
5766          part { name: "d1";
5767             type: SWALLOW;
5768             description { state: "default" 0.0;
5769                rel1.relative: 0.1250000 0.0;
5770                rel2.relative: 0.2500000 1.0;
5771             }
5772          }
5773          part { name: "c0";
5774             type: SWALLOW;
5775             type: TEXT;
5776             mouse_events:  0;
5777             scale: 1;
5778             description { state: "default" 0.0;
5779                rel1.relative: 0.2500000 0.0;
5780                rel2.relative: 0.3125000 1.0;
5781                color: 0 0 0 255;
5782                text {
5783                   font:     "Sans,Edje-Vera";
5784                   text:     ":";
5785                   size:     10;
5786                   min:      1 1;
5787                   align:    0.5 0.5;
5788                }
5789             }
5790          }
5791          part { name: "d2";
5792             type: SWALLOW;
5793             description { state: "default" 0.0;
5794                rel1.relative: 0.3125000 0.0;
5795                rel2.relative: 0.4375000 1.0;
5796             }
5797          }
5798          part { name: "d3";
5799             type: SWALLOW;
5800             description { state: "default" 0.0;
5801                rel1.relative: 0.4375000 0.0;
5802                rel2.relative: 0.5625000 1.0;
5803             }
5804          }
5805          // (if seconds)
5806          part { name: "c1";
5807             type: SWALLOW;
5808             type: TEXT;
5809             mouse_events:  0;
5810             scale: 1;
5811             description { state: "default" 0.0;
5812                rel1.relative: 0.5625000 0.0;
5813                rel2.relative: 0.6250000 1.0;
5814                color: 0 0 0 255;
5815                text {
5816                   font:     "Sans,Edje-Vera";
5817                   text:     ":";
5818                   size:     10;
5819                   min:      1 1;
5820                   align:    0.5 0.5;
5821                }
5822             }
5823          }
5824          // (if seconds)
5825          part { name: "d4";
5826             type: SWALLOW;
5827             description { state: "default" 0.0;
5828                rel1.relative: 0.6250000 0.0;
5829                rel2.relative: 0.7500000 1.0;
5830             }
5831          }
5832          // (if seconds)
5833          part { name: "d5";
5834             type: SWALLOW;
5835             description { state: "default" 0.0;
5836                rel1.relative: 0.7500000 0.0;
5837                rel2.relative: 0.8750000 1.0;
5838             }
5839          }
5840          // (if am_pm)
5841          part { name: "ampm";
5842             type: SWALLOW;
5843             description { state: "default" 0.0;
5844                rel1.relative: 0.8750000 0.0;
5845                rel2.relative: 1.0 1.0;
5846             }
5847          }
5848       }
5849    }
5850
5851 ///////////////////////////////////////////////////////////////////////////////
5852    group { name: "elm/clock/base-seconds/default";
5853       parts {
5854          part { name: "d0";
5855             type: SWALLOW;
5856             description { state: "default" 0.0;
5857                rel1.relative: 0.000000000 0.0;
5858                rel2.relative: 0.142857143 1.0;
5859             }
5860          }
5861          part { name: "d1";
5862             type: SWALLOW;
5863             description { state: "default" 0.0;
5864                rel1.relative: 0.142857143 0.0;
5865                rel2.relative: 0.285714286 1.0;
5866             }
5867          }
5868          part { name: "c0";
5869             type: SWALLOW;
5870             type: TEXT;
5871             mouse_events:  0;
5872             scale: 1;
5873             description { state: "default" 0.0;
5874                rel1.relative: 0.285714286 0.0;
5875                rel2.relative: 0.357142857 1.0;
5876                color: 0 0 0 255;
5877                text {
5878                   font:     "Sans,Edje-Vera";
5879                   text:     ":";
5880                   size:     10;
5881                   min:      1 1;
5882                   align:    0.5 0.5;
5883                }
5884             }
5885          }
5886          part { name: "d2";
5887             type: SWALLOW;
5888             description { state: "default" 0.0;
5889                rel1.relative: 0.357142857 0.0;
5890                rel2.relative: 0.500000000 1.0;
5891             }
5892          }
5893          part { name: "d3";
5894             type: SWALLOW;
5895             description { state: "default" 0.0;
5896                rel1.relative: 0.500000000 0.0;
5897                rel2.relative: 0.642857143 1.0;
5898             }
5899          }
5900          // (if seconds)
5901          part { name: "c1";
5902             type: SWALLOW;
5903             type: TEXT;
5904             mouse_events:  0;
5905             scale: 1;
5906             description { state: "default" 0.0;
5907                rel1.relative: 0.642857143 0.0;
5908                rel2.relative: 0.714285714 1.0;
5909                color: 0 0 0 255;
5910                text {
5911                   font:     "Sans,Edje-Vera";
5912                   text:     ":";
5913                   size:     10;
5914                   min:      1 1;
5915                   align:    0.5 0.5;
5916                }
5917             }
5918          }
5919          // (if seconds)
5920          part { name: "d4";
5921             type: SWALLOW;
5922             description { state: "default" 0.0;
5923                rel1.relative: 0.714285714 0.0;
5924                rel2.relative: 0.857142857 1.0;
5925             }
5926          }
5927          // (if seconds)
5928          part { name: "d5";
5929             type: SWALLOW;
5930             description { state: "default" 0.0;
5931                rel1.relative: 0.857142857 0.0;
5932                rel2.relative: 1.000000000 1.0;
5933             }
5934          }
5935       }
5936    }
5937
5938 ///////////////////////////////////////////////////////////////////////////////
5939    group { name: "elm/clock/base-am_pm/default";
5940       parts {
5941          part { name: "d0";
5942             type: SWALLOW;
5943             description { state: "default" 0.0;
5944                rel1.relative: 0.000000000 0.0;
5945                rel2.relative: 0.181818182 1.0;
5946             }
5947          }
5948          part { name: "d1";
5949             type: SWALLOW;
5950             description { state: "default" 0.0;
5951                rel1.relative: 0.181818182 0.0;
5952                rel2.relative: 0.363636364 1.0;
5953             }
5954          }
5955          part { name: "c0";
5956             type: SWALLOW;
5957             type: TEXT;
5958             mouse_events:  0;
5959             scale: 1;
5960             description { state: "default" 0.0;
5961                rel1.relative: 0.363636364 0.0;
5962                rel2.relative: 0.454545455 1.0;
5963                color: 0 0 0 255;
5964                text {
5965                   font:     "Sans,Edje-Vera";
5966                   text:     ":";
5967                   size:     10;
5968                   min:      1 1;
5969                   align:    0.5 0.5;
5970                }
5971             }
5972          }
5973          part { name: "d2";
5974             type: SWALLOW;
5975             description { state: "default" 0.0;
5976                rel1.relative: 0.454545455 0.0;
5977                rel2.relative: 0.636363636 1.0;
5978             }
5979          }
5980          part { name: "d3";
5981             type: SWALLOW;
5982             description { state: "default" 0.0;
5983                rel1.relative: 0.636363636 0.0;
5984                rel2.relative: 0.818181818 1.0;
5985             }
5986          }
5987          // (if am_pm)
5988          part { name: "ampm";
5989             type: SWALLOW;
5990             description { state: "default" 0.0;
5991                rel1.relative: 0.818181818 0.0;
5992                rel2.relative: 1.0 1.0;
5993             }
5994          }
5995       }
5996    }
5997
5998 ///////////////////////////////////////////////////////////////////////////////
5999    group { name: "elm/clock/base/default";
6000       parts {
6001          part { name: "d0";
6002             type: SWALLOW;
6003             description { state: "default" 0.0;
6004                rel1.relative: 0.000000000 0.0;
6005                rel2.relative: 0.222222222 1.0;
6006             }
6007          }
6008          part { name: "d1";
6009             type: SWALLOW;
6010             description { state: "default" 0.0;
6011                rel1.relative: 0.222222222 0.0;
6012                rel2.relative: 0.444444444 1.0;
6013             }
6014          }
6015          part { name: "c0";
6016             type: SWALLOW;
6017             type: TEXT;
6018             mouse_events:  0;
6019             scale: 1;
6020             description { state: "default" 0.0;
6021                rel1.relative: 0.444444444 0.0;
6022                rel2.relative: 0.555555556 1.0;
6023                color: 0 0 0 255;
6024                text {
6025                   font:     "Sans,Edje-Vera";
6026                   text:     ":";
6027                   size:     10;
6028                   min:      1 1;
6029                   align:    0.5 0.5;
6030                }
6031             }
6032          }
6033          part { name: "d2";
6034             type: SWALLOW;
6035             description { state: "default" 0.0;
6036                rel1.relative: 0.555555556 0.0;
6037                rel2.relative: 0.777777778 1.0;
6038             }
6039          }
6040          part { name: "d3";
6041             type: SWALLOW;
6042             description { state: "default" 0.0;
6043                rel1.relative: 0.777777778 0.0;
6044                rel2.relative: 1.000000000 1.0;
6045             }
6046          }
6047       }
6048    }
6049
6050 ///////////////////////////////////////////////////////////////////////////////
6051    group { name: "elm/frame/base/default";
6052        images {
6053            image: "frame_1.png" COMP;
6054            image: "frame_2.png" COMP;
6055            image: "dia_grad.png" COMP;
6056        }
6057        parts {
6058            part { name: "base0";
6059                mouse_events:  0;
6060                description { state: "default" 0.0;
6061                    image.normal: "dia_grad.png";
6062                    rel1.to: "over";
6063                    rel2.to: "over";
6064                    fill {
6065                        smooth: 0;
6066                        size {
6067                            relative: 0.0 1.0;
6068                            offset: 64 0;
6069                        }
6070                    }
6071                }
6072            }
6073            part { name: "base";
6074                mouse_events:  0;
6075                description { state:    "default" 0.0;
6076                    rel2.to: "elm.swallow.content";
6077                    rel2.offset: 9 9;
6078                    image {
6079                        normal: "frame_2.png";
6080                        border: 5 5 32 26;
6081                        middle: 0;
6082                    }
6083                    fill.smooth : 0;
6084                }
6085            }
6086            part { name: "elm.text";
6087                type: TEXT;
6088                mouse_events:   0;
6089                scale: 1;
6090                description { state: "default" 0.0;
6091                    align: 0.0 0.0;
6092                    fixed: 0 1;
6093                    rel1 {
6094                        relative: 0.0 0.0;
6095                        offset: 6 6;
6096                    }
6097                    rel2 {
6098                        relative: 1.0 0.0;
6099                        offset: -7 6;
6100                    }
6101                    color: 0 0 0 64;
6102                    text {
6103                        font: "Sans:style=Bold,Edje-Vera-Bold";
6104                        size: 10;
6105                        min: 1 1;
6106                        max: 1 1;
6107                        align: 0.0 0.0;
6108                    }
6109                }
6110            }
6111            part { name: "over";
6112                mouse_events:  0;
6113                description { state:    "default" 0.0;
6114                    rel1.offset: 4 4;
6115                    rel2.to: "elm.swallow.content";
6116                    rel2.offset: 5 5;
6117                    image {
6118                        normal: "frame_1.png";
6119                        border: 2 2 28 22;
6120                        middle: 0;
6121                    }
6122                    fill.smooth : 0;
6123                }
6124            }
6125            part { name: "elm.swallow.content";
6126                type: SWALLOW;
6127                description { state: "default" 0.0;
6128                    align: 0.0 0.0;
6129                    rel1 {
6130                        to_y: "elm.text";
6131                        relative: 0.0 1.0;
6132                        offset: 8 2;
6133                    }
6134                    rel2.offset: -9 -9;
6135                }
6136            }
6137        }
6138    }
6139
6140    group { name: "elm/frame/base/pad_small";
6141        parts {
6142            part { name: "b0";
6143                mouse_events:  0;
6144                type: RECT;
6145                scale: 1;
6146                description { state: "default" 0.0;
6147                    visible: 0;
6148                    min: 4 4;
6149                    max: 4 4;
6150                    align: 0.0 0.0;
6151                }
6152            }
6153            part { name: "b1";
6154                mouse_events:  0;
6155                type: RECT;
6156                scale: 1;
6157                description { state: "default" 0.0;
6158                    visible: 0;
6159                    min: 4 4;
6160                    max: 4 4;
6161                    align: 1.0 1.0;
6162                }
6163            }
6164            part { name: "elm.swallow.content";
6165                type: SWALLOW;
6166                description { state: "default" 0.0;
6167                    rel1 {
6168                        to: "b0";
6169                        relative: 1.0 1.0;
6170                        offset: 0 0;
6171                    }
6172                    rel2 {
6173                        to: "b1";
6174                        relative: 0.0 0.0;
6175                        offset: -1 -1;
6176                    }
6177                }
6178            }
6179        }
6180    }
6181
6182    group { name: "elm/frame/base/pad_medium";
6183        parts {
6184            part { name: "b0";
6185                mouse_events:  0;
6186                type: RECT;
6187                scale: 1;
6188                description { state: "default" 0.0;
6189                    visible: 0;
6190                    min: 8 8;
6191                    max: 8 8;
6192                    align: 0.0 0.0;
6193                }
6194            }
6195            part { name: "b1";
6196                mouse_events:  0;
6197                type: RECT;
6198                scale: 1;
6199                description { state: "default" 0.0;
6200                    visible: 0;
6201                    min: 8 8;
6202                    max: 8 8;
6203                    align: 1.0 1.0;
6204                }
6205            }
6206            part { name: "elm.swallow.content";
6207                type: SWALLOW;
6208                description { state: "default" 0.0;
6209                    rel1 {
6210                        to: "b0";
6211                        relative: 1.0 1.0;
6212                        offset: 0 0;
6213                    }
6214                    rel2 {
6215                        to: "b1";
6216                        relative: 0.0 0.0;
6217                        offset: -1 -1;
6218                    }
6219                }
6220            }
6221        }
6222    }
6223
6224    group { name: "elm/frame/base/pad_large";
6225        parts {
6226            part { name: "b0";
6227                mouse_events:  0;
6228                type: RECT;
6229                scale: 1;
6230                description { state: "default" 0.0;
6231                    visible: 0;
6232                    min: 16 16;
6233                    max: 16 16;
6234                    align: 0.0 0.0;
6235                }
6236            }
6237            part { name: "b1";
6238                mouse_events:  0;
6239                type: RECT;
6240                scale: 1;
6241                description { state: "default" 0.0;
6242                    visible: 0;
6243                    min: 16 16;
6244                    max: 16 16;
6245                    align: 1.0 1.0;
6246                }
6247            }
6248            part { name: "elm.swallow.content";
6249                type: SWALLOW;
6250                description { state: "default" 0.0;
6251                    rel1 {
6252                        to: "b0";
6253                        relative: 1.0 1.0;
6254                        offset: 0 0;
6255                    }
6256                    rel2 {
6257                        to: "b1";
6258                        relative: 0.0 0.0;
6259                        offset: -1 -1;
6260                    }
6261                }
6262            }
6263        }
6264    }
6265
6266    group { name: "elm/frame/base/pad_huge";
6267        parts {
6268            part { name: "b0";
6269                mouse_events:  0;
6270                type: RECT;
6271                scale: 1;
6272                description { state: "default" 0.0;
6273                    visible: 0;
6274                    min: 32 32;
6275                    max: 32 32;
6276                    align: 0.0 0.0;
6277                }
6278            }
6279            part { name: "b1";
6280                mouse_events:  0;
6281                type: RECT;
6282                scale: 1;
6283                description { state: "default" 0.0;
6284                    visible: 0;
6285                    min: 32 32;
6286                    max: 32 32;
6287                    align: 1.0 1.0;
6288                }
6289            }
6290            part { name: "elm.swallow.content";
6291                type: SWALLOW;
6292                description { state: "default" 0.0;
6293                    rel1 {
6294                        to: "b0";
6295                        relative: 1.0 1.0;
6296                        offset: 0 0;
6297                    }
6298                    rel2 {
6299                        to: "b1";
6300                        relative: 0.0 0.0;
6301                        offset: -1 -1;
6302                    }
6303                }
6304            }
6305        }
6306    }
6307
6308    group { name: "elm/frame/base/outdent_top";
6309        images {
6310            image: "outdent-top.png" COMP;
6311        }
6312        parts {
6313            part { name: "base0";
6314                mouse_events:  0;
6315                description { state: "default" 0.0;
6316                    image.normal: "outdent-top.png";
6317                    image.border: 0 0 0 13;
6318                    fill.smooth: 0;
6319                }
6320            }
6321            part { name: "elm.swallow.content";
6322                type: SWALLOW;
6323                description { state: "default" 0.0;
6324                    rel1.offset: 2 2;
6325                    rel2.offset: -3 -13;
6326                }
6327            }
6328        }
6329    }
6330
6331    group { name: "elm/frame/base/outdent_bottom";
6332        images {
6333            image: "outdent-bottom.png" COMP;
6334        }
6335        parts {
6336            part { name: "base0";
6337                mouse_events:  0;
6338                description { state: "default" 0.0;
6339                    image.normal: "outdent-bottom.png";
6340                    image.border: 0 0 13 0;
6341                    fill.smooth: 0;
6342                }
6343            }
6344            part { name: "elm.swallow.content";
6345                type: SWALLOW;
6346                description { state: "default" 0.0;
6347                    rel1.offset: 2 12;
6348                    rel2.offset: -3 -3;
6349                }
6350            }
6351        }
6352    }
6353
6354 ///////////////////////////////////////////////////////////////////////////////
6355    group { name: "elm/label/base/tooltip";
6356       styles {
6357          style { name: "tooltip_style";
6358             base: "font=Sans font_size=8 color=#666 wrap=word";
6359             tag:  "br" "\n";
6360             tag:  "hilight" "+ font=Sans:style=Bold";
6361             tag:  "b" "+ font=Sans:style=Bold";
6362             tag:  "tab" "\t";
6363          }
6364       }
6365       parts {
6366          part { name: "elm.text";
6367             type: TEXTBLOCK;
6368             mouse_events: 0;
6369             scale: 1;
6370             description { state: "default" 0.0;
6371                text {
6372                   style: "tooltip_style";
6373                   min: 1 1;
6374                }
6375             }
6376          }
6377       }
6378    }
6379
6380    group { name: "elm/tooltip/base/default";
6381        min: 30 30;
6382        data {
6383            item: "pad_x" "20";
6384            item: "pad_y" "20";
6385            item: "pad_border_x" "10";
6386            item: "pad_border_y" "10";
6387            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
6388        }
6389        images {
6390            image: "tooltip-base.png" COMP;
6391            image: "tooltip-corner-top-left-tip.png" COMP;
6392            image: "tooltip-corner-top-right-tip.png" COMP;
6393            image: "tooltip-corner-bottom-left-tip.png" COMP;
6394            image: "tooltip-corner-bottom-right-tip.png" COMP;
6395            image: "tooltip-edge-left-tip.png" COMP;
6396            image: "tooltip-edge-right-tip.png" COMP;
6397            image: "tooltip-edge-bottom-tip.png" COMP;
6398            image: "tooltip-edge-top-tip.png" COMP;
6399        }
6400        script {
6401           hide_corners() {
6402              set_state(PART:"corner-top-left", "default", 0.0);
6403              set_state(PART:"corner-top-right", "default", 0.0);
6404              set_state(PART:"corner-bottom-left", "default", 0.0);
6405              set_state(PART:"corner-bottom-right", "default", 0.0);
6406           }
6407           hide_edges() {
6408              set_state(PART:"clipper-edge-left", "default", 0.0);
6409              set_state(PART:"clipper-edge-right", "default", 0.0);
6410              set_state(PART:"clipper-edge-top", "default", 0.0);
6411              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6412           }
6413
6414           show_corner_top_left() {
6415              set_state(PART:"corner-top-left", "visible", 0.0);
6416
6417              set_state(PART:"corner-top-right", "default", 0.0);
6418              set_state(PART:"corner-bottom-left", "default", 0.0);
6419              set_state(PART:"corner-bottom-right", "default", 0.0);
6420              hide_edges();
6421           }
6422           show_corner_top_right() {
6423              set_state(PART:"corner-top-right", "visible", 0.0);
6424
6425              set_state(PART:"corner-top-left", "default", 0.0);
6426              set_state(PART:"corner-bottom-left", "default", 0.0);
6427              set_state(PART:"corner-bottom-right", "default", 0.0);
6428              hide_edges();
6429           }
6430
6431           show_corner_bottom_left() {
6432              set_state(PART:"corner-bottom-left", "visible", 0.0);
6433
6434              set_state(PART:"corner-bottom-right", "default", 0.0);
6435              set_state(PART:"corner-top-left", "default", 0.0);
6436              set_state(PART:"corner-top-right", "default", 0.0);
6437              hide_edges();
6438           }
6439           show_corner_bottom_right() {
6440              set_state(PART:"corner-bottom-right", "visible", 0.0);
6441
6442              set_state(PART:"corner-bottom-left", "default", 0.0);
6443              set_state(PART:"corner-top-left", "default", 0.0);
6444              set_state(PART:"corner-top-right", "default", 0.0);
6445              hide_edges();
6446           }
6447
6448           show_edge_left(Float:val) {
6449              set_state(PART:"clipper-edge-left", "visible", 0.0);
6450              set_drag(PART:"edge-drag-left", 0.0, val);
6451
6452              set_state(PART:"clipper-edge-right", "default", 0.0);
6453              set_state(PART:"clipper-edge-top", "default", 0.0);
6454              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6455              hide_corners();
6456           }
6457           show_edge_right(Float:val) {
6458              set_state(PART:"clipper-edge-right", "visible", 0.0);
6459              set_drag(PART:"edge-drag-right", 0.0, val);
6460
6461              set_state(PART:"clipper-edge-left", "default", 0.0);
6462              set_state(PART:"clipper-edge-top", "default", 0.0);
6463              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6464              hide_corners();
6465           }
6466
6467           show_edge_top(Float:val) {
6468              set_state(PART:"clipper-edge-top", "visible", 0.0);
6469              set_drag(PART:"edge-drag-top", val, 0.0);
6470
6471              set_state(PART:"clipper-edge-bottom", "default", 0.0);
6472              set_state(PART:"clipper-edge-left", "default", 0.0);
6473              set_state(PART:"clipper-edge-right", "default", 0.0);
6474              hide_corners();
6475           }
6476           show_edge_bottom(Float:val) {
6477              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
6478              set_drag(PART:"edge-drag-bottom", val, 0.0);
6479
6480              set_state(PART:"clipper-edge-top", "default", 0.0);
6481              set_state(PART:"clipper-edge-left", "default", 0.0);
6482              set_state(PART:"clipper-edge-right", "default", 0.0);
6483              hide_corners();
6484           }
6485
6486           public message(Msg_Type:type, id, ...) {
6487              if ((type == MSG_FLOAT_SET) && (id == 1)) {
6488                 new Float:x, Float:y;
6489
6490                 x = getfarg(2);
6491                 y = getfarg(3);
6492
6493                 if (x < 0.0)
6494                   {
6495                      if (y < 0.0)      show_corner_top_left();
6496                      else if (y > 1.0) show_corner_bottom_left();
6497                      else              show_edge_left(y);
6498                   }
6499                 else if (x > 1.0)
6500                   {
6501                      if (y < 0.0)      show_corner_top_right();
6502                      else if (y > 1.0) show_corner_bottom_right();
6503                      else              show_edge_right(y);
6504                   }
6505                 else
6506                   {
6507                      if (y < 0.0)      show_edge_top(x);
6508                      else if (y > 1.0) show_edge_bottom(x);
6509                      else
6510                        {
6511                           hide_corners();
6512                           hide_edges();
6513                        }
6514                   }
6515              }
6516           }
6517        }
6518        parts {
6519            part { name: "clipper";
6520                type: RECT;
6521                description { state: "default" 0.0;
6522                    color: 255 255 255 0;
6523                    rel1.to: "elm.swallow.content";
6524                    rel1.offset: -64 -64;
6525                    rel2.to: "elm.swallow.content";
6526                    rel2.offset: 63 63;
6527                }
6528                description { state: "visible" 0.0;
6529                    inherit: "default" 0.0;
6530                    color: 255 255 255 255;
6531                }
6532            }
6533            part { name: "pop";
6534                mouse_events: 0;
6535                clip_to: "clipper";
6536                description { state: "default" 0.0;
6537                    min: 30 30;
6538                    rel1 {
6539                        to: "elm.swallow.content";
6540                        offset: -15 -15;
6541                    }
6542                    rel2 {
6543                        to: "elm.swallow.content";
6544                        offset: 14 14;
6545                    }
6546                    image {
6547                        normal: "tooltip-base.png";
6548                        border: 14 14 14 14;
6549                    }
6550                    image.middle: SOLID;
6551                }
6552            }
6553
6554 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6555            part { name: "corner-"name_;                                 \
6556               type: IMAGE;                                              \
6557               mouse_events: 0;                                          \
6558               clip_to: "clipper";                                       \
6559               description { state: "default" 0.0;                       \
6560                  color: 255 255 255 0;                                  \
6561                  visible: 0;                                            \
6562                  min: 14 14;                                            \
6563                  max: 14 14;                                            \
6564                  align: ax ay;                                          \
6565                  fixed: 1 1;                                            \
6566                  rel1 {                                                 \
6567                     relative: rx ry;                                    \
6568                     offset: ox oy;                                      \
6569                     to: "elm.swallow.content";                          \
6570                  }                                                      \
6571                  rel2 {                                                 \
6572                     relative: rx ry;                                    \
6573                     offset: ox oy;                                      \
6574                     to: "elm.swallow.content";                          \
6575                  }                                                      \
6576                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6577               }                                                         \
6578               description { state: "visible" 0.0;                       \
6579                  inherit: "default" 0.0;                                \
6580                  color: 255 255 255 255;                                \
6581                  visible: 1;                                            \
6582               }                                                         \
6583            }
6584            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6585            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6586            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6587            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6588 #undef TT_CORNER
6589
6590 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6591            part { name: "clipper-edge-"name_;                           \
6592               type: RECT;                                               \
6593               clip_to: "clipper";                                       \
6594               description { state: "default" 0.0;                       \
6595                  color: 255 255 255 0;                                  \
6596                  visible: 0;                                            \
6597                  min: 14 14;                                            \
6598                  align: ax 0.5;                                         \
6599                  fixed: 1 1;                                            \
6600                  rel1 {                                                 \
6601                     relative: rx 0.0;                                   \
6602                     offset: ox 0;                                       \
6603                     to: "elm.swallow.content";                          \
6604                  }                                                      \
6605                  rel2 {                                                 \
6606                     relative: rx 1.0;                                   \
6607                     offset: ox 0;                                       \
6608                     to: "elm.swallow.content";                          \
6609                  }                                                      \
6610               }                                                         \
6611               description { state: "visible" 0.0;                       \
6612                  inherit: "default" 0.0;                                \
6613                  color: 255 255 255 255;                                \
6614                  visible: 1;                                            \
6615               }                                                         \
6616            }                                                            \
6617            part { name: "edge-area-"name_;                              \
6618               type: RECT;                                               \
6619               mouse_events: 0;                                          \
6620               clip_to: "clipper-edge-"name_;                            \
6621               description { state: "default" 0.0;                       \
6622                  color: 0 0 0 0;                                        \
6623                  min: 14 14;                                            \
6624                  align: ax 0.5;                                         \
6625                  fixed: 1 1;                                            \
6626                  rel1 {                                                 \
6627                     relative: rx 0.0;                                   \
6628                     offset: ox 0;                                       \
6629                     to: "elm.swallow.content";                          \
6630                  }                                                      \
6631                  rel2 {                                                 \
6632                     relative: rx 1.0;                                   \
6633                     offset: ox 0;                                       \
6634                     to: "elm.swallow.content";                          \
6635                  }                                                      \
6636               }                                                         \
6637            }                                                            \
6638            part { name: "edge-drag-"name_;                              \
6639               type: RECT;                                               \
6640               mouse_events: 0;                                          \
6641               clip_to: "clipper-edge-"name_;                            \
6642               dragable {                                                \
6643                   x: 0 0 0;                                             \
6644                   y: 1 1 0;                                             \
6645                   confine: "edge-area-"name_;                           \
6646               }                                                         \
6647               description { state: "default" 0.0;                       \
6648                  color: 0 0 0 0;                                        \
6649                  min: 14 14;                                            \
6650                  rel1.to: "edge-area-"name_;                            \
6651                  rel2.to: "edge-area-"name_;                            \
6652               }                                                         \
6653            }                                                            \
6654            part { name: "edge-img-"name_;                               \
6655               type: IMAGE;                                              \
6656               mouse_events: 0;                                          \
6657               clip_to: "clipper-edge-"name_;                            \
6658               description { state: "default" 0.0;                       \
6659                  min: 14 14;                                            \
6660                  max: 14 14;                                            \
6661                  align: ax 0.5;                                         \
6662                  fixed: 1 1;                                            \
6663                  rel1.to: "edge-drag-"name_;                            \
6664                  rel2.to: "edge-drag-"name_;                            \
6665                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6666               }                                                         \
6667            }
6668            TT_EDGE_VERT("left", 0, 1, -2);
6669            TT_EDGE_VERT("right", 1, 0, 1);
6670 #undef TT_EDGE_VERT
6671
6672 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6673            part { name: "clipper-edge-"name_;                           \
6674               type: RECT;                                               \
6675               clip_to: "clipper";                                       \
6676               description { state: "default" 0.0;                       \
6677                  color: 255 255 255 0;                                  \
6678                  visible: 0;                                            \
6679                  min: 14 14;                                            \
6680                  align: 0.5 ay;                                         \
6681                  fixed: 1 1;                                            \
6682                  rel1 {                                                 \
6683                     relative: 0.0 ry;                                   \
6684                     offset: 0 oy;                                       \
6685                     to: "elm.swallow.content";                          \
6686                  }                                                      \
6687                  rel2 {                                                 \
6688                     relative: 1.0 ry;                                   \
6689                     offset: 0 oy;                                       \
6690                     to: "elm.swallow.content";                          \
6691                  }                                                      \
6692               }                                                         \
6693               description { state: "visible" 0.0;                       \
6694                  inherit: "default" 0.0;                                \
6695                  color: 255 255 255 255;                                \
6696                  visible: 1;                                            \
6697               }                                                         \
6698            }                                                            \
6699            part { name: "edge-area-"name_;                              \
6700               type: RECT;                                               \
6701               mouse_events: 0;                                          \
6702               clip_to: "clipper-edge-"name_;                            \
6703               description { state: "default" 0.0;                       \
6704                  color: 0 0 0 0;                                        \
6705                  min: 14 14;                                            \
6706                  align: 0.5 ay;                                         \
6707                  fixed: 1 1;                                            \
6708                  rel1 {                                                 \
6709                     relative: 0.0 ry;                                   \
6710                     offset: 0 oy;                                       \
6711                     to: "elm.swallow.content";                          \
6712                  }                                                      \
6713                  rel2 {                                                 \
6714                     relative: 1.0 ry;                                   \
6715                     offset: 0 oy;                                       \
6716                     to: "elm.swallow.content";                          \
6717                  }                                                      \
6718               }                                                         \
6719            }                                                            \
6720            part { name: "edge-drag-"name_;                              \
6721               type: RECT;                                               \
6722               mouse_events: 0;                                          \
6723               clip_to: "clipper-edge-"name_;                            \
6724               dragable {                                                \
6725                   x: 1 1 0;                                             \
6726                   y: 0 0 0;                                             \
6727                   confine: "edge-area-"name_;                           \
6728               }                                                         \
6729               description { state: "default" 0.0;                       \
6730                  color: 0 0 0 0;                                        \
6731                  min: 14 14;                                            \
6732                  rel1.to: "edge-area-"name_;                            \
6733                  rel2.to: "edge-area-"name_;                            \
6734               }                                                         \
6735            }                                                            \
6736            part { name: "edge-img-"name_;                               \
6737               type: IMAGE;                                              \
6738               mouse_events: 0;                                          \
6739               clip_to: "clipper-edge-"name_;                            \
6740               description { state: "default" 0.0;                       \
6741                  min: 14 14;                                            \
6742                  max: 14 14;                                            \
6743                  align: 0.5 ay;                                         \
6744                  fixed: 1 1;                                            \
6745                  rel1.to: "edge-drag-"name_;                            \
6746                  rel2.to: "edge-drag-"name_;                            \
6747                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6748               }                                                         \
6749            }
6750            TT_EDGE_HORIZ("top", 0, 1, -2);
6751            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6752 #undef TT_EDGE_HORIZ
6753
6754            part { name: "clipper_content";
6755                type: RECT;
6756                description { state: "default" 0.0;
6757                    color: 255 255 255 0;
6758                    rel1.to: "elm.swallow.content";
6759                    rel1.offset: -64 -64;
6760                    rel2.to: "elm.swallow.content";
6761                    rel2.offset: 63 63;
6762                }
6763                description { state: "visible" 0.0;
6764                    inherit: "default" 0.0;
6765                    color: 255 255 255 255;
6766                }
6767            }
6768            part { name: "elm.swallow.content";
6769                type: SWALLOW;
6770                clip_to: "clipper_content";
6771                description { state: "default" 0.0; }
6772            }
6773            programs {
6774                program {
6775                    name: "show0";
6776                    signal: "elm,action,show";
6777                    source: "elm";
6778                    action: ACTION_STOP;
6779                    target: "hide0";
6780                    target: "hide1";
6781                    target: "hide2";
6782                    target: "hide3";
6783                    after: "show1";
6784                    after: "show2";
6785                }
6786                program {
6787                    name: "show1";
6788                    action: STATE_SET "visible" 0.0;
6789                    transition: LINEAR 0.15;
6790                    target: "clipper";
6791                }
6792                program {
6793                    name: "show2";
6794                    in: 0.1 0.0;
6795                    action: STATE_SET "visible" 0.0;
6796                    transition: LINEAR 0.15;
6797                    target: "clipper_content";
6798                }
6799
6800                program {
6801                    name: "hide0";
6802                    signal: "elm,action,hide";
6803                    source: "elm";
6804                    action: ACTION_STOP;
6805                    target: "show0";
6806                    target: "show1";
6807                    target: "show2";
6808                    after: "hide1";
6809                    after: "hide2";
6810                    after: "hide3";
6811                }
6812                program {
6813                    name: "hide1";
6814                    script {
6815                       hide_corners();
6816                       hide_edges();
6817                    }
6818                }
6819                program {
6820                    name: "hide2";
6821                    action: STATE_SET "default" 0.0;
6822                    transition: LINEAR 0.1;
6823                    target: "clipper_content";
6824                }
6825                program {
6826                    name: "hide3";
6827                    in: 0.1 0.0;
6828                    action: STATE_SET "default" 0.0;
6829                    transition: LINEAR 0.1;
6830                    target: "clipper";
6831                }
6832            }
6833        }
6834    }
6835    group { name: "elm/tooltip/base/transparent";
6836       parts {
6837          part { name: "elm.swallow.content";
6838             type: SWALLOW;
6839             mouse_events:   0;
6840             scale: 1;
6841             description { state: "default" 0.0; }
6842          }
6843       }
6844    }
6845
6846 ///////////////////////////////////////////////////////////////////////////////
6847
6848    /* TODO: replicate diagonal swallow slots to the other hover styles */
6849    group { name: "elm/hover/base/default";
6850       images {
6851          image: "shad_circ.png" COMP;
6852       }
6853       parts {
6854          part { name: "elm.swallow.offset";
6855             type: SWALLOW;
6856             description { state: "default" 0.0;
6857                align: 0.0 0.0;
6858                rel1.relative: 0.0 0.0;
6859                rel2.relative: 0.0 0.0;
6860             }
6861          }
6862          part { name: "elm.swallow.size";
6863             type: SWALLOW;
6864             description { state: "default" 0.0;
6865                align: 0.0 0.0;
6866                rel1.to: "elm.swallow.offset";
6867                rel1.relative: 1.0 1.0;
6868                rel2.to: "elm.swallow.offset";
6869                rel2.relative: 1.0 1.0;
6870             }
6871          }
6872          part { name: "base";
6873             type: RECT;
6874             mouse_events: 1;
6875             description { state: "default" 0.0;
6876                color: 0 0 0 64;
6877             }
6878          }
6879          part { name: "shad";
6880             mouse_events:  0;
6881             description { state: "default" 0.0;
6882                image.normal: "shad_circ.png";
6883                rel1.to: "elm.swallow.size";
6884                rel1.offset: -32 -32;
6885                rel2.to: "elm.swallow.size";
6886                rel2.offset: 31 31;
6887                fill.smooth: 0;
6888             }
6889          }
6890          part { name: "box";
6891             type: RECT;
6892             mouse_events: 0;
6893             description { state: "default" 0.0;
6894                color: 0 0 0 0;
6895                rel1.to: "elm.swallow.size";
6896                rel1.offset: -2 -2;
6897                rel2.to: "elm.swallow.size";
6898                rel2.offset: 1 1;
6899             }
6900          }
6901          part { name: "elm.swallow.slot.left";
6902             type: SWALLOW;
6903             description { state: "default" 0.0;
6904                align: 1.0 0.5;
6905                rel1.to: "elm.swallow.slot.middle";
6906                rel1.relative: 0.0 0.0;
6907                rel1.offset: -1 0;
6908                rel2.to: "elm.swallow.slot.middle";
6909                rel2.relative: 0.0 1.0;
6910                rel2.offset: -1 -1;
6911             }
6912          }
6913          part { name: "elm.swallow.slot.top-left";
6914             type: SWALLOW;
6915             description { state: "default" 0.0;
6916                align: 1.0 1.0;
6917                rel1.to: "elm.swallow.slot.middle";
6918                rel1.relative: 0.0 0.0;
6919                rel1.offset: 0 0;
6920                rel2.to: "elm.swallow.slot.middle";
6921                rel2.relative: 0.0 0.0;
6922                rel2.offset: -1 -1;
6923             }
6924          }
6925          part { name: "elm.swallow.slot.top";
6926             type: SWALLOW;
6927             description { state: "default" 0.0;
6928                align: 0.5 1.0;
6929                rel1.to: "elm.swallow.slot.middle";
6930                rel1.relative: 0.0 0.0;
6931                rel1.offset: 0 -1;
6932                rel2.to: "elm.swallow.slot.middle";
6933                rel2.relative: 1.0 0.0;
6934                rel2.offset: -1 -1;
6935             }
6936          }
6937          part { name: "elm.swallow.slot.top-right";
6938             type: SWALLOW;
6939             description { state: "default" 0.0;
6940                align: 0.0 1.0;
6941                rel1.to: "elm.swallow.slot.middle";
6942                rel1.relative: 1.0 0.0;
6943                rel1.offset: 0 0;
6944                rel2.to: "elm.swallow.slot.middle";
6945                rel2.relative: 1.0 0.0;
6946                rel2.offset: -1 -1;
6947             }
6948          }
6949          part { name: "elm.swallow.slot.right";
6950             type: SWALLOW;
6951             description { state: "default" 0.0;
6952                align: 0.0 0.5;
6953                rel1.to: "elm.swallow.slot.middle";
6954                rel1.relative: 1.0 0.0;
6955                rel1.offset: 0 0;
6956                rel2.to: "elm.swallow.slot.middle";
6957                rel2.relative: 1.0 1.0;
6958                rel2.offset: 0 -1;
6959             }
6960          }
6961          part { name: "elm.swallow.slot.bottom-right";
6962             type: SWALLOW;
6963             description { state: "default" 0.0;
6964                align: 0.0 0.0;
6965                rel1.to: "elm.swallow.slot.middle";
6966                rel1.relative: 1.0 1.0;
6967                rel1.offset: 0 0;
6968                rel2.to: "elm.swallow.slot.middle";
6969                rel2.relative: 1.0 1.0;
6970                rel2.offset: -1 -1;
6971             }
6972          }
6973          part { name: "elm.swallow.slot.bottom";
6974             type: SWALLOW;
6975             description { state: "default" 0.0;
6976                align: 0.5 0.0;
6977                rel1.to: "elm.swallow.slot.middle";
6978                rel1.relative: 0.0 1.0;
6979                rel1.offset: 0 0;
6980                rel2.to: "elm.swallow.slot.middle";
6981                rel2.relative: 1.0 1.0;
6982                rel2.offset: -1 0;
6983             }
6984          }
6985          part { name: "elm.swallow.slot.bottom-left";
6986             type: SWALLOW;
6987             description { state: "default" 0.0;
6988                align: 1.0 0.0;
6989                rel1.to: "elm.swallow.slot.middle";
6990                rel1.relative: 0.0 1.0;
6991                rel1.offset: 0 0;
6992                rel2.to: "elm.swallow.slot.middle";
6993                rel2.relative: 0.0 1.0;
6994                rel2.offset: -1 0;
6995             }
6996          }
6997          part { name: "elm.swallow.slot.middle";
6998             type: SWALLOW;
6999             description { state: "default" 0.0;
7000                rel1.to: "elm.swallow.size";
7001                rel2.to: "elm.swallow.size";
7002             }
7003          }
7004       }
7005       programs {
7006          program { name: "end";
7007             signal: "mouse,up,1";
7008             source: "base";
7009             action: SIGNAL_EMIT "elm,action,dismiss" "";
7010          }
7011       }
7012    }
7013
7014    group { name: "elm/hover/base/popout";
7015       images {
7016          image: "shad_circ.png" COMP;
7017          image: "bt_dis_base.png" COMP;
7018          image: "bt_dis_hilight.png" COMP;
7019       }
7020       parts {
7021          part { name: "elm.swallow.offset";
7022             type: SWALLOW;
7023             description { state: "default" 0.0;
7024                align: 0.0 0.0;
7025                rel1.relative: 0.0 0.0;
7026                rel2.relative: 0.0 0.0;
7027             }
7028          }
7029          part { name: "elm.swallow.size";
7030             type: SWALLOW;
7031             description { state: "default" 0.0;
7032                align: 0.0 0.0;
7033                rel1.to: "elm.swallow.offset";
7034                rel1.relative: 1.0 1.0;
7035                rel2.to: "elm.swallow.offset";
7036                rel2.relative: 1.0 1.0;
7037             }
7038          }
7039          part { name: "base";
7040             type: RECT;
7041             mouse_events: 1;
7042             description { state: "default" 0.0;
7043                color: 0 0 0 0;
7044             }
7045             description { state: "visible" 0.0;
7046                inherit: "default" 1.0;
7047                color: 0 0 0 64;
7048             }
7049          }
7050          part { name: "leftclip";
7051             type: RECT;
7052             description { state: "default" 0.0;
7053                rel2.to_x: "pop";
7054                rel2.relative: 0.0 1.0;
7055                rel2.offset: 1 -1;
7056             }
7057          }
7058          part { name: "left";
7059             clip_to: "leftclip";
7060             description { state: "default" 0.0;
7061                visible: 0;
7062                rel1.to: "elm.swallow.slot.left";
7063                rel1.offset: -5 -5;
7064                rel2.to: "elm.swallow.slot.left";
7065                rel2.offset: 4 4;
7066                image {
7067                   normal: "bt_dis_base.png";
7068                   border: 4 4 4 4;
7069                }
7070                image.middle: SOLID;
7071             }
7072             description { state: "visible" 0.0;
7073                inherit: "default" 0.0;
7074                visible: 1;
7075             }
7076          }
7077          part { name: "elm.swallow.slot.left";
7078             type: SWALLOW;
7079             clip_to: "leftclip";
7080             description { state: "default" 0.0;
7081                align: 0.0 0.5;
7082                rel1.to: "elm.swallow.slot.middle";
7083                rel1.relative: 0.0 0.0;
7084                rel1.offset: -1 0;
7085                rel2.to: "elm.swallow.slot.middle";
7086                rel2.relative: 0.0 1.0;
7087                rel2.offset: -1 -1;
7088             }
7089             description { state: "visible" 0.0;
7090                inherit: "default" 0.0;
7091                rel1.offset: -7 0;
7092                rel2.offset: -7 -1;
7093                align: 1.0 0.5;
7094             }
7095          }
7096          part { name: "leftover";
7097             clip_to: "leftclip";
7098             mouse_events: 0;
7099             description { state: "default" 0.0;
7100                rel1.to: "left";
7101                rel2.to: "left";
7102                rel2.relative: 1.0 0.5;
7103                image {
7104                   normal: "bt_dis_hilight.png";
7105                   border: 4 4 4 0;
7106                }
7107             }
7108          }
7109          part { name: "rightclip";
7110             type: RECT;
7111             description { state: "default" 0.0;
7112                rel1.to_x: "pop";
7113                rel1.relative: 1.0 0.0;
7114                rel1.offset: -2 0;
7115             }
7116          }
7117          part { name: "right";
7118             clip_to: "rightclip";
7119             description { state: "default" 0.0;
7120                visible: 0;
7121                rel1.to: "elm.swallow.slot.right";
7122                rel1.offset: -5 -5;
7123                rel2.to: "elm.swallow.slot.right";
7124                rel2.offset: 4 4;
7125                image {
7126                   normal: "bt_dis_base.png";
7127                   border: 4 4 4 4;
7128                }
7129                image.middle: SOLID;
7130             }
7131             description { state: "visible" 0.0;
7132                inherit: "default" 0.0;
7133                visible: 1;
7134             }
7135          }
7136          part { name: "elm.swallow.slot.right";
7137             type: SWALLOW;
7138             clip_to: "rightclip";
7139             description { state: "default" 0.0;
7140                align: 1.0 0.5;
7141                rel1.to: "elm.swallow.slot.middle";
7142                rel1.relative: 1.0 0.0;
7143                rel1.offset: 0 0;
7144                rel2.to: "elm.swallow.slot.middle";
7145                rel2.relative: 1.0 1.0;
7146                rel2.offset: 0 -1;
7147             }
7148             description { state: "visible" 0.0;
7149                inherit: "default" 0.0;
7150                rel1.offset: 6 0;
7151                rel2.offset: 6 -1;
7152                align: 0.0 0.5;
7153             }
7154          }
7155          part { name: "rightover";
7156             clip_to: "rightclip";
7157             mouse_events: 0;
7158             description { state: "default" 0.0;
7159                rel1.to: "right";
7160                rel2.to: "right";
7161                rel2.relative: 1.0 0.5;
7162                image {
7163                   normal: "bt_dis_hilight.png";
7164                   border: 4 4 4 0;
7165                }
7166             }
7167          }
7168          part { name: "topclip";
7169             type: RECT;
7170             description { state: "default" 0.0;
7171                rel2.to_y: "pop";
7172                rel2.relative: 1.0 0.0;
7173                rel2.offset: -1 1;
7174             }
7175          }
7176          part { name: "top";
7177             clip_to: "topclip";
7178             description { state: "default" 0.0;
7179                visible: 0;
7180                rel1.to: "elm.swallow.slot.top";
7181                rel1.offset: -5 -5;
7182                rel2.to: "elm.swallow.slot.top";
7183                rel2.offset: 4 4;
7184                image {
7185                   normal: "bt_dis_base.png";
7186                   border: 4 4 4 4;
7187                }
7188                image.middle: SOLID;
7189             }
7190             description { state: "visible" 0.0;
7191                inherit: "default" 0.0;
7192                visible: 1;
7193             }
7194          }
7195          part { name: "elm.swallow.slot.top";
7196             type: SWALLOW;
7197             clip_to: "topclip";
7198             description { state: "default" 0.0;
7199                visible: 1;
7200                align: 0.5 0.0;
7201                rel1.to: "elm.swallow.slot.middle";
7202                rel1.relative: 0.0 0.0;
7203                rel1.offset: 0 -1;
7204                rel2.to: "elm.swallow.slot.middle";
7205                rel2.relative: 1.0 0.0;
7206                rel2.offset: -1 -1;
7207             }
7208             description { state: "visible" 0.0;
7209                inherit: "default" 0.0;
7210                rel1.offset: 0 -7;
7211                rel2.offset: -1 -7;
7212                align: 0.5 1.0;
7213             }
7214          }
7215          part { name: "topover";
7216             clip_to: "topclip";
7217             mouse_events: 0;
7218             description { state: "default" 0.0;
7219                rel1.to: "top";
7220                rel2.to: "top";
7221                rel2.relative: 1.0 0.5;
7222                image {
7223                   normal: "bt_dis_hilight.png";
7224                   border: 4 4 4 0;
7225                }
7226             }
7227          }
7228          part { name: "bottomclip";
7229             type: RECT;
7230             description { state: "default" 0.0;
7231                rel1.to_y: "pop";
7232                rel1.relative: 0.0 1.0;
7233                rel1.offset: -1 -2;
7234             }
7235          }
7236          part { name: "bottom";
7237             clip_to: "bottomclip";
7238             description { state: "default" 0.0;
7239                visible: 0;
7240                rel1.to: "elm.swallow.slot.bottom";
7241                rel1.offset: -5 -5;
7242                rel2.to: "elm.swallow.slot.bottom";
7243                rel2.offset: 4 4;
7244                image {
7245                   normal: "bt_dis_base.png";
7246                   border: 4 4 4 4;
7247                }
7248                image.middle: SOLID;
7249             }
7250             description { state: "visible" 0.0;
7251                inherit: "default" 0.0;
7252                visible: 1;
7253             }
7254          }
7255          part { name: "elm.swallow.slot.bottom";
7256             type: SWALLOW;
7257             clip_to: "bottomclip";
7258             description { state: "default" 0.0;
7259                align: 0.5 1.0;
7260                rel1.to: "elm.swallow.slot.middle";
7261                rel1.relative: 0.0 1.0;
7262                rel1.offset: 0 0;
7263                rel2.to: "elm.swallow.slot.middle";
7264                rel2.relative: 1.0 1.0;
7265                rel2.offset: -1 0;
7266             }
7267             description { state: "visible" 0.0;
7268                inherit: "default" 0.0;
7269                rel1.offset: 0 6;
7270                rel2.offset: -1 6;
7271                align: 0.5 0.0;
7272             }
7273          }
7274          part { name: "bottomover";
7275             clip_to: "bottomclip";
7276             mouse_events: 0;
7277             description { state: "default" 0.0;
7278                rel1.to: "bottom";
7279                rel2.to: "bottom";
7280                rel2.relative: 1.0 0.5;
7281                image {
7282                   normal: "bt_dis_hilight.png";
7283                   border: 4 4 4 0;
7284                }
7285             }
7286          }
7287          part { name: "shad";
7288             mouse_events:  0;
7289             description { state: "default" 0.0;
7290                image.normal: "shad_circ.png";
7291                rel1.to: "elm.swallow.size";
7292                rel1.offset: -64 -64;
7293                rel2.to: "elm.swallow.size";
7294                rel2.offset: 63 63;
7295                fill.smooth: 0;
7296             }
7297          }
7298          part { name: "pop";
7299             mouse_events: 1;
7300             description { state: "default" 0.0;
7301                rel1.to: "elm.swallow.slot.middle";
7302                rel1.offset: -5 -5;
7303                rel2.to: "elm.swallow.slot.middle";
7304                rel2.offset: 4 4;
7305                image {
7306                   normal: "bt_dis_base.png";
7307                   border: 4 4 4 4;
7308                }
7309                image.middle: SOLID;
7310             }
7311          }
7312          part { name: "elm.swallow.slot.middle";
7313             type: SWALLOW;
7314             description { state: "default" 0.0;
7315                rel1.to: "elm.swallow.size";
7316                rel2.to: "elm.swallow.size";
7317             }
7318          }
7319          part { name: "popover";
7320             mouse_events: 0;
7321             description { state: "default" 0.0;
7322                rel1.to: "pop";
7323                rel2.to: "pop";
7324                rel2.relative: 1.0 0.5;
7325                image {
7326                   normal: "bt_dis_hilight.png";
7327                   border: 4 4 4 0;
7328                }
7329             }
7330          }
7331       }
7332       programs {
7333          program { name: "end";
7334             signal: "mouse,up,1";
7335             source: "base";
7336             action: SIGNAL_EMIT "elm,action,dismiss" "";
7337          }
7338
7339          program { name: "show";
7340             signal: "elm,action,show";
7341             source: "elm";
7342             action: STATE_SET "visible" 0.0;
7343 //            transition: DECELERATE 0.5;
7344             target: "base";
7345          }
7346          program { name: "hide";
7347             signal: "elm,action,hide";
7348             source: "elm";
7349             action: STATE_SET "default" 0.0;
7350 //            transition: DECELERATE 0.5;
7351             target: "base";
7352          }
7353
7354          program { name: "leftshow";
7355             signal: "elm,action,slot,left,show";
7356             source: "elm";
7357             action: STATE_SET "visible" 0.0;
7358             transition: DECELERATE 0.5;
7359             target: "left";
7360             target: "elm.swallow.slot.left";
7361          }
7362          program { name: "lefthide";
7363             signal: "elm,action,slot,left,hide";
7364             source: "elm";
7365             action: STATE_SET "default" 0.0;
7366             transition: DECELERATE 0.5;
7367             target: "left";
7368             target: "elm.swallow.slot.left";
7369          }
7370          program { name: "rightshow";
7371             signal: "elm,action,slot,right,show";
7372             source: "elm";
7373             action: STATE_SET "visible" 0.0;
7374             transition: DECELERATE 0.5;
7375             target: "right";
7376             target: "elm.swallow.slot.right";
7377          }
7378          program { name: "righthide";
7379             signal: "elm,action,slot,right,hide";
7380             source: "elm";
7381             action: STATE_SET "default" 0.0;
7382             transition: DECELERATE 0.5;
7383             target: "right";
7384             target: "elm.swallow.slot.right";
7385          }
7386          program { name: "topshow";
7387             signal: "elm,action,slot,top,show";
7388             source: "elm";
7389             action: STATE_SET "visible" 0.0;
7390             transition: DECELERATE 0.5;
7391             target: "top";
7392             target: "elm.swallow.slot.top";
7393          }
7394          program { name: "tophide";
7395             signal: "elm,action,slot,top,hide";
7396             source: "elm";
7397             action: STATE_SET "default" 0.0;
7398             transition: DECELERATE 0.5;
7399             target: "top";
7400             target: "elm.swallow.slot.top";
7401          }
7402          program { name: "bottomshow";
7403             signal: "elm,action,slot,bottom,show";
7404             source: "elm";
7405             action: STATE_SET "visible" 0.0;
7406             transition: DECELERATE 0.5;
7407             target: "bottom";
7408             target: "elm.swallow.slot.bottom";
7409          }
7410          program { name: "bottomhide";
7411             signal: "elm,action,slot,bottom,hide";
7412             source: "elm";
7413             action: STATE_SET "default" 0.0;
7414             transition: DECELERATE 0.5;
7415             target: "bottom";
7416             target: "elm.swallow.slot.bottom";
7417          }
7418       }
7419    }
7420
7421    //In the hover used by the menu only the bottom part is used.
7422    group { name: "elm/hover/base/menu";
7423        images {
7424            image: "shad_circ.png" COMP;
7425            image: "bt_dis_base.png" COMP;
7426        }
7427        parts {
7428            part { name: "elm.swallow.offset";
7429                type: SWALLOW;
7430                description { state: "default" 0.0;
7431                    align: 0.0 0.0;
7432                    rel1.relative: 0.0 0.0;
7433                    rel2.relative: 0.0 0.0;
7434                }
7435            }
7436            part { name: "elm.swallow.size";
7437                type: SWALLOW;
7438                description { state: "default" 0.0;
7439                    align: 0.0 0.0;
7440                    rel1.to: "elm.swallow.offset";
7441                    rel1.relative: 1.0 1.0;
7442                    rel2.to: "elm.swallow.offset";
7443                    rel2.relative: 1.0 1.0;
7444                }
7445            }
7446            part { name: "base";
7447                type: RECT;
7448                mouse_events: 1;
7449                description { state: "default" 0.0;
7450                    color: 0 0 0 0;
7451                }
7452                description { state: "visible" 0.0;
7453                    inherit: "default" 1.0;
7454                    color: 0 0 0 64;
7455                }
7456            }
7457            part { name: "elm.swallow.slot.left";
7458                type: SWALLOW;
7459                description { state: "default" 0.0;
7460                }
7461            }
7462            part { name: "elm.swallow.slot.right";
7463                type: SWALLOW;
7464                description { state: "default" 0.0;
7465                }
7466            }
7467            part { name: "elm.swallow.slot.top";
7468                type: SWALLOW;
7469                description { state: "default" 0.0;
7470                }
7471                description { state: "visible" 0.0;
7472                    inherit: "default" 0.0;
7473                }
7474            }
7475            part { name: "bottomclip";
7476                type: RECT;
7477                description { state: "default" 0.0;
7478                    rel1.to_y: "pop";
7479                    rel1.relative: 0.0 1.0;
7480                    rel1.offset: -1 -2;
7481                }
7482            }
7483            part { name: "bottom";
7484                clip_to: "bottomclip";
7485                description { state: "default" 0.0;
7486                    visible: 0;
7487                    rel1.to: "elm.swallow.slot.bottom";
7488                    rel1.offset: -5 -5;
7489                    rel2.to: "elm.swallow.slot.bottom";
7490                    rel2.offset: 4 4;
7491                    image {
7492                        normal: "bt_dis_base.png";
7493                        border: 4 4 4 4;
7494                    }
7495                    image.middle: SOLID;
7496                }
7497                description { state: "visible" 0.0;
7498                    inherit: "default" 0.0;
7499                    visible: 1;
7500                }
7501            }
7502            part { name: "elm.swallow.slot.bottom";
7503                type: SWALLOW;
7504                clip_to: "bottomclip";
7505                description { state: "default" 0.0;
7506                    align: 0.5 1.0;
7507                    rel1.to: "elm.swallow.slot.middle";
7508                    rel1.relative: 0.0 1.0;
7509                    rel1.offset: 0 0;
7510                    rel2.to: "elm.swallow.slot.middle";
7511                    rel2.relative: 1.0 1.0;
7512                    rel2.offset: -1 0;
7513                }
7514                description { state: "visible" 0.0;
7515                    inherit: "default" 0.0;
7516                    rel1.offset: 0 6;
7517                    rel2.offset: -1 6;
7518                    align: 0.5 0.0;
7519                }
7520            }
7521            part { name: "pop";
7522                mouse_events: 1;
7523                repeat_events:1;
7524                description { state: "default" 0.0;
7525                    rel1.to: "elm.swallow.slot.middle";
7526                    rel1.offset: -5 -5;
7527                    rel2.to: "elm.swallow.slot.middle";
7528                    rel2.offset: 4 4;
7529                }
7530            }
7531            part { name: "elm.swallow.slot.middle";
7532                type: SWALLOW;
7533                repeat_events:1;
7534                description { state: "default" 0.0;
7535                    rel1.to: "elm.swallow.size";
7536                    rel2.to: "elm.swallow.size";
7537                }
7538            }
7539        }
7540        programs {
7541            program { name: "end";
7542                signal: "mouse,up,1";
7543                source: "base";
7544                action: SIGNAL_EMIT "elm,action,dismiss" "";
7545            }
7546            program { name: "show";
7547                signal: "elm,action,show";
7548                source: "elm";
7549                action: STATE_SET "visible" 0.0;
7550                        //            transition: DECELERATE 0.5;
7551                target: "base";
7552            }
7553            program { name: "hide";
7554                signal: "elm,action,hide";
7555                source: "elm";
7556                action: STATE_SET "default" 0.0;
7557                        //            transition: DECELERATE 0.5;
7558                target: "base";
7559            }
7560            program { name: "bottomshow";
7561                signal: "elm,action,slot,bottom,show";
7562                source: "elm";
7563                action: STATE_SET "visible" 0.0;
7564                transition: DECELERATE 0.3;
7565                target: "bottom";
7566                target: "elm.swallow.slot.bottom";
7567            }
7568            program { name: "bottomhide";
7569                signal: "elm,action,slot,bottom,hide";
7570                source: "elm";
7571                action: STATE_SET "default" 0.0;
7572                transition: DECELERATE 0.5;
7573                target: "bottom";
7574                target: "elm.swallow.slot.bottom";
7575            }
7576        }
7577    }
7578
7579    //In the hover used by the submenu only the bottom part is used
7580    //and no part should interact except the bottom area
7581    group { name: "elm/hover/base/submenu";
7582        images {
7583            image: "shad_circ.png" COMP;
7584            image: "bt_dis_base.png" COMP;
7585        }
7586        parts {
7587            part { name: "elm.swallow.offset";
7588                type: SWALLOW;
7589                repeat_events:1;
7590                description { state: "default" 0.0;
7591                    align: 0.0 0.0;
7592                    rel1.relative: 0.0 0.0;
7593                    rel2.relative: 0.0 0.0;
7594                }
7595            }
7596            part { name: "elm.swallow.size";
7597                type: SWALLOW;
7598                description { state: "default" 0.0;
7599                    align: 0.0 0.0;
7600                    rel1.to: "elm.swallow.offset";
7601                    rel1.relative: 1.0 1.0;
7602                    rel2.to: "elm.swallow.offset";
7603                    rel2.relative: 1.0 1.0;
7604                }
7605            }
7606            //here we do non catch events like the hover hover does
7607            part { name: "base";
7608                type: RECT;
7609                mouse_events: 1;
7610                description { state: "default" 0.0;
7611                    color: 0 0 0 0;
7612                    visible: 0;
7613                }
7614            }
7615            part { name: "elm.swallow.slot.left";
7616                type: SWALLOW;
7617                description { state: "default" 0.0;
7618                }
7619            }
7620            part { name: "elm.swallow.slot.right";
7621                type: SWALLOW;
7622                description { state: "default" 0.0;
7623                }
7624            }
7625            part { name: "elm.swallow.slot.top";
7626                type: SWALLOW;
7627                description { state: "default" 0.0;
7628                }
7629            }
7630            part { name: "bottomclip";
7631                type: RECT;
7632                description { state: "default" 0.0;
7633                    rel1.to_y: "pop";
7634                    rel1.relative: 0.0 1.0;
7635                    rel1.offset: -1 -2;
7636                }
7637            }
7638            part { name: "bottom";
7639                clip_to: "bottomclip";
7640                description { state: "default" 0.0;
7641                    visible: 0;
7642                    rel1.to: "elm.swallow.slot.bottom";
7643                    rel1.offset: -5 -5;
7644                    rel2.to: "elm.swallow.slot.bottom";
7645                    rel2.offset: 4 4;
7646                    image {
7647                        normal: "bt_dis_base.png";
7648                        border: 4 4 4 4;
7649                    }
7650                    image.middle: SOLID;
7651                }
7652                description { state: "visible" 0.0;
7653                    inherit: "default" 0.0;
7654                    visible: 1;
7655                }
7656            }
7657            part { name: "elm.swallow.slot.bottom";
7658                type: SWALLOW;
7659                clip_to: "bottomclip";
7660                description { state: "default" 0.0;
7661                    align: 0.5 1.0;
7662                    rel1.to: "elm.swallow.slot.middle";
7663                    rel1.relative: 0.0 1.0;
7664                    rel1.offset: 0 0;
7665                    rel2.to: "elm.swallow.slot.middle";
7666                    rel2.relative: 1.0 1.0;
7667                    rel2.offset: -1 0;
7668                }
7669                description { state: "visible" 0.0;
7670                    inherit: "default" 0.0;
7671                    rel1.offset: 0 6;
7672                    rel2.offset: -1 6;
7673                    align: 0.5 0.0;
7674                }
7675            }
7676            part { name: "pop";
7677                mouse_events: 1;
7678                repeat_events:1;
7679                description { state: "default" 0.0;
7680                    rel1.to: "elm.swallow.slot.middle";
7681                    rel1.offset: -5 -5;
7682                    rel2.to: "elm.swallow.slot.middle";
7683                    rel2.offset: 4 4;
7684                }
7685            }
7686            part { name: "elm.swallow.slot.middle";
7687                type: SWALLOW;
7688                repeat_events:1;
7689                description { state: "default" 0.0;
7690                    rel1.to: "elm.swallow.size";
7691                    rel2.to: "elm.swallow.size";
7692                }
7693            }
7694        }
7695        programs {
7696            program { name: "end";
7697                signal: "mouse,up,1";
7698                source: "base";
7699                action: SIGNAL_EMIT "elm,action,dismiss" "";
7700            }
7701            program { name: "show";
7702                signal: "elm,action,show";
7703                source: "elm";
7704                action: STATE_SET "visible" 0.0;
7705                        //            transition: DECELERATE 0.5;
7706                target: "base";
7707            }
7708            program { name: "hide";
7709                signal: "elm,action,hide";
7710                source: "elm";
7711                action: STATE_SET "default" 0.0;
7712                        //            transition: DECELERATE 0.5;
7713                target: "base";
7714            }
7715            program { name: "bottomshow";
7716                signal: "elm,action,slot,bottom,show";
7717                source: "elm";
7718                action: STATE_SET "visible" 0.0;
7719                transition: DECELERATE 0.3;
7720                target: "bottom";
7721                target: "elm.swallow.slot.bottom";
7722            }
7723            program { name: "bottomhide";
7724                signal: "elm,action,slot,bottom,hide";
7725                source: "elm";
7726                action: STATE_SET "default" 0.0;
7727                transition: DECELERATE 0.5;
7728                target: "bottom";
7729                target: "elm.swallow.slot.bottom";
7730            }
7731        }
7732    }
7733
7734    group { name: "elm/hover/base/hoversel_vertical/default";
7735       alias: "elm/hover/base/hoversel_vertical/entry";
7736       images {
7737 //         image: "shad_circ.png" COMP;
7738          image: "bt_base2.png" COMP;
7739          image: "bt_hilight.png" COMP;
7740          image: "bt_shine.png" COMP;
7741          image: "outdent-top.png" COMP;
7742          image: "outdent-bottom.png" COMP;
7743       }
7744       parts {
7745          part { name: "elm.swallow.offset";
7746             type: SWALLOW;
7747             description { state: "default" 0.0;
7748                align: 0.0 0.0;
7749                rel1.relative: 0.0 0.0;
7750                rel2.relative: 0.0 0.0;
7751             }
7752          }
7753          part { name: "elm.swallow.size";
7754             type: SWALLOW;
7755             description { state: "default" 0.0;
7756                align: 0.0 0.0;
7757                rel1.to: "elm.swallow.offset";
7758                rel1.relative: 1.0 1.0;
7759                rel2.to: "elm.swallow.offset";
7760                rel2.relative: 1.0 1.0;
7761             }
7762          }
7763 /*
7764         part { name: "shad";
7765             mouse_events:  0;
7766             description { state: "default" 0.0;
7767                image.normal: "shad_circ.png";
7768                rel1.to: "button_image";
7769                rel1.offset: -64 -64;
7770                rel2.to: "button_image";
7771                rel2.offset: 63 63;
7772                fill.smooth: 0;
7773             }
7774          }
7775  */
7776          part { name: "button_image";
7777             mouse_events: 1;
7778             description { state: "default" 0.0;
7779                rel1.to_x: "elm.swallow.slot.top";
7780                rel1.to_y: "elm.swallow.slot.top";
7781                rel1.offset: -2 -6;
7782                rel2.to_x: "elm.swallow.slot.top";
7783                rel2.to_y: "elm.swallow.slot.bottom";
7784                rel2.offset: 1 5;
7785                image {
7786                   normal: "bt_base2.png";
7787                   border: 7 7 7 7;
7788                }
7789                image.middle: SOLID;
7790             }
7791             description { state: "bottom" 0.0;
7792                rel1.to_x: "elm.swallow.slot.bottom";
7793                rel1.to_y: "elm.swallow.slot.top";
7794                rel1.offset: -2 -6;
7795                rel2.to_x: "elm.swallow.slot.bottom";
7796                rel2.to_y: "elm.swallow.slot.bottom";
7797                rel2.offset: 1 5;
7798                image {
7799                   normal: "bt_base2.png";
7800                   border: 7 7 7 7;
7801                }
7802                image.middle: SOLID;
7803             }
7804          }
7805
7806          part { name: "base";
7807             type: RECT;
7808             mouse_events: 1;
7809             description { state: "default" 0.0;
7810                color: 0 0 0 0;
7811             }
7812             description { state: "visible" 0.0;
7813                inherit: "default" 1.0;
7814                color: 0 0 0 64;
7815             }
7816          }
7817
7818          part { name: "topclip";
7819             type: RECT;
7820             description { state: "default" 0.0;
7821                rel2.to_y: "edge_top";
7822                rel2.relative: 1.0 0.0;
7823                rel2.offset: -1 7;
7824             }
7825          }
7826          part { name: "elm.swallow.slot.top";
7827             type: SWALLOW;
7828             clip_to: "topclip";
7829             description { state: "default" 0.0;
7830                visible: 1;
7831                align: 0.5 0.0;
7832                rel1.to: "elm.swallow.slot.middle";
7833                rel1.relative: 0.0 0.0;
7834                rel1.offset: 0 -1;
7835                rel2.to: "elm.swallow.slot.middle";
7836                rel2.relative: 1.0 0.0;
7837                rel2.offset: -1 -1;
7838             }
7839             description { state: "visible" 0.0;
7840                inherit: "default" 0.0;
7841                rel1.offset: 0 -7;
7842                rel2.offset: -1 -7;
7843                align: 0.5 1.0;
7844             }
7845          }
7846
7847          part { name: "bottomclip";
7848             type: RECT;
7849             description { state: "default" 0.0;
7850                rel1.to_y: "edge_bottom";
7851                rel1.relative: 0.0 1.0;
7852                rel1.offset: -1 -8;
7853             }
7854          }
7855          part { name: "elm.swallow.slot.bottom";
7856             type: SWALLOW;
7857             clip_to: "bottomclip";
7858             description { state: "default" 0.0;
7859                align: 0.5 1.0;
7860                rel1.to: "elm.swallow.slot.middle";
7861                rel1.relative: 0.0 1.0;
7862                rel1.offset: 0 0;
7863                rel2.to: "elm.swallow.slot.middle";
7864                rel2.relative: 1.0 1.0;
7865                rel2.offset: -1 0;
7866             }
7867             description { state: "visible" 0.0;
7868                inherit: "default" 0.0;
7869                rel1.offset: 0 6;
7870                rel2.offset: -1 6;
7871                align: 0.5 0.0;
7872             }
7873          }
7874
7875          part {          name: "over1";
7876             mouse_events: 0;
7877             description { state: "default" 0.0;
7878                rel1.to: "button_image";
7879                rel2.to: "button_image";
7880                rel2.relative: 1.0 0.5;
7881                image {
7882                   normal: "bt_hilight.png";
7883                   border: 7 7 7 0;
7884                }
7885             }
7886          }
7887          part { name: "over2";
7888             mouse_events: 1;
7889             repeat_events: 1;
7890             ignore_flags: ON_HOLD;
7891             description { state: "default" 0.0;
7892                rel1.to: "button_image";
7893                rel2.to: "button_image";
7894                image {
7895                   normal: "bt_shine.png";
7896                   border: 7 7 7 7;
7897                }
7898             }
7899          }
7900          part { name: "edge_top";
7901             mouse_events:  0;
7902             description { state: "default" 0.0;
7903                visible: 0;
7904                rel1 {
7905                   to: "elm.swallow.size";
7906                   offset: 0 -10;
7907                }
7908                rel2 {
7909                   to: "elm.swallow.size";
7910                }
7911                image.normal: "outdent-bottom.png";
7912                image.border: 0 0 13 0;
7913                fill.smooth: 0;
7914             }
7915             description { state: "visible" 0.0;
7916                inherit: "default" 0.0;
7917                visible: 1;
7918             }
7919          }
7920          part { name: "edge_bottom";
7921             mouse_events:  0;
7922             description { state: "default" 0.0;
7923                visible: 0;
7924                rel1 {
7925                   to: "elm.swallow.size";
7926                }
7927                rel2 {
7928                   to: "elm.swallow.size";
7929                   offset: -1 9;
7930                }
7931                image.normal: "outdent-top.png";
7932                image.border: 0 0 0 13;
7933                fill.smooth: 0;
7934             }
7935             description { state: "visible" 0.0;
7936                inherit: "default" 0.0;
7937                visible: 1;
7938             }
7939          }
7940          part { name: "elm.swallow.slot.middle";
7941             type: SWALLOW;
7942             description { state: "default" 0.0;
7943                rel1.to: "elm.swallow.size";
7944                rel2.to: "elm.swallow.size";
7945             }
7946          }
7947       }
7948       programs {
7949          program { name: "end";
7950             signal: "mouse,up,1";
7951             source: "base";
7952             action: SIGNAL_EMIT "elm,action,dismiss" "";
7953          }
7954
7955          program { name: "show";
7956             signal: "elm,action,show";
7957             source: "elm";
7958             action: STATE_SET "visible" 0.0;
7959 //            transition: DECELERATE 0.5;
7960             target: "base";
7961          }
7962          program { name: "hide";
7963             signal: "elm,action,hide";
7964             source: "elm";
7965             action: STATE_SET "default" 0.0;
7966 //            transition: DECELERATE 0.5;
7967             target: "base";
7968          }
7969          program { name: "topshow";
7970             signal: "elm,action,slot,top,show";
7971             source: "elm";
7972             action: STATE_SET "visible" 0.0;
7973             target: "edge_top";
7974             after: "topshow2";
7975          }
7976          program { name: "topshow2";
7977             action: STATE_SET "visible" 0.0;
7978             transition: DECELERATE 0.5;
7979             target: "elm.swallow.slot.top";
7980          }
7981          program { name: "topshow3";
7982             signal: "elm,action,slot,top,show";
7983             source: "elm";
7984             action: STATE_SET "default" 0.0;
7985             target: "button_image";
7986          }
7987          program { name: "tophide";
7988             signal: "elm,action,slot,top,hide";
7989             source: "elm";
7990             action: STATE_SET "default" 0.0;
7991             transition: DECELERATE 0.5;
7992             target: "elm.swallow.slot.top";
7993             after: "tophide2";
7994          }
7995          program { name: "tophide2";
7996             action: STATE_SET "default" 0.0;
7997             target: "edge_top";
7998          }
7999          program { name: "bottomshow";
8000             signal: "elm,action,slot,bottom,show";
8001             source: "elm";
8002             action: STATE_SET "visible" 0.0;
8003             target: "edge_bottom";
8004             after: "bottomshow2";
8005          }
8006          program { name: "bottomshow2";
8007             action: STATE_SET "visible" 0.0;
8008             transition: DECELERATE 0.5;
8009             target: "elm.swallow.slot.bottom";
8010          }
8011          program { name: "bottomshow3";
8012             signal: "elm,action,slot,bottom,show";
8013             source: "elm";
8014             action: STATE_SET "bottom" 0.0;
8015             target: "button_image";
8016          }
8017          program { name: "bottomhide";
8018             signal: "elm,action,slot,bottom,hide";
8019             source: "elm";
8020             action: STATE_SET "default" 0.0;
8021             transition: DECELERATE 0.5;
8022             target: "elm.swallow.slot.bottom";
8023             after: "bottomhide2";
8024          }
8025          program { name: "bottomhide2";
8026             action: STATE_SET "default" 0.0;
8027             target: "edge_bottom";
8028          }
8029       }
8030    }
8031 ///////////////////////////////////////////////////////////////////////////////
8032    group { name: "elm/scroller/base/ctxpopup";
8033       data {
8034          item: "focus_highlight" "on";
8035       }
8036       script {
8037          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
8038          public timer0(val) {
8039             new v;
8040             v = get_int(sbvis_v);
8041             if (v) {
8042                v = get_int(sbalways_v);
8043                if(!v) {
8044                   emit("do-hide-vbar", "");
8045                   set_int(sbvis_v, 0);
8046                }
8047             }
8048             v = get_int(sbvis_h);
8049             if (v) {
8050                v = get_int(sbalways_h);
8051                if(!v) {
8052                   emit("do-hide-hbar", "");
8053                   set_int(sbvis_h, 0);
8054                }
8055             }
8056             set_int(sbvis_timer, 0);
8057             return 0;
8058          }
8059       }
8060       images {
8061          image: "bt_sm_base2.png" COMP;
8062          image: "bt_sm_shine.png" COMP;
8063          image: "bt_sm_hilight.png" COMP;
8064          image: "sl_bt2_2.png" COMP;
8065       }
8066       parts {
8067          part { name: "clipper";
8068             type: RECT;
8069             mouse_events: 0;
8070             scale: 1;
8071             description { state: "default" 0.0;
8072             }
8073          }
8074          part { name: "elm.swallow.content";
8075             clip_to: "clipper";
8076             type: SWALLOW;
8077             scale: 1;
8078             description { state: "default" 0.0;
8079                align: 0.5 0.5;
8080             }
8081          }
8082          part { name: "focus_highlight";
8083             mouse_events: 0;
8084             description { state: "default" 0.0;
8085                rel1.offset: -1 -1;
8086                rel2.offset: 0 0;
8087                image { normal: "sl_bt2_2.png";
8088                   border: 7 7 7 7;
8089                   middle: 0;
8090                }
8091                fill.smooth : 0;
8092                color: 200 155 0 0;
8093             }
8094             description { state: "enabled" 0.0;
8095                inherit: "default" 0.0;
8096                color: 200 155 0 255;
8097             }
8098          }
8099          part { name: "sb_vbar_clip_master";
8100             type: RECT;
8101             mouse_events: 0;
8102             description { state: "default" 0.0;
8103             }
8104             description { state: "hidden" 0.0;
8105                visible: 0;
8106                color: 255 255 255 0;
8107             }
8108          }
8109          part { name: "sb_vbar_clip";
8110             clip_to:"sb_vbar_clip_master";
8111             type: RECT;
8112             mouse_events: 0;
8113             scale: 1;
8114             description { state: "default" 0.0;
8115                align: 0.0 0.0;
8116                rel2{ to:"clipper"; relative: 1.0 1.0; }
8117             }
8118             description { state: "hidden" 0.0;
8119                visible: 0;
8120                color: 255 255 255 0;
8121             }
8122          }
8123          part { name: "sb_vbar";
8124             type: RECT;
8125             mouse_events: 0;
8126             scale: 1;
8127             description { state: "default" 0.0;
8128                fixed: 1 1;
8129                visible: 0;
8130                align: 1.0 0.0;
8131                rel1{ to:"clipper"; relative: 1.0 0.0; }
8132                rel2{ to:"clipper"; relative: 1.0 1.0; }
8133             }
8134          }
8135          part { name: "elm.dragable.vbar";
8136             clip_to: "sb_vbar_clip";
8137             mouse_events: 0;
8138             scale: 1;
8139             dragable {
8140                x: 0 0 0;
8141                y: 1 1 0;
8142                confine: "sb_vbar";
8143             }
8144             description { state: "default" 0.0;
8145                fixed: 1 1;
8146                min: 10 17;
8147                max: 10 99999;
8148                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
8149                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
8150                image { normal: "bt_sm_base2.png";
8151                   border: 6 6 6 6;
8152                   middle: SOLID;
8153                }
8154             }
8155          }
8156          part { name: "sb_vbar_over1";
8157             clip_to: "sb_vbar_clip";
8158             mouse_events: 0;
8159             description { state: "default" 0.0;
8160                rel1.to: "elm.dragable.vbar";
8161                rel2.relative: 1.0 0.5;
8162                rel2.to: "elm.dragable.vbar";
8163                image { normal: "bt_sm_hilight.png";
8164                   border: 6 6 6 0;
8165                }
8166             }
8167          }
8168          part { name: "sb_vbar_over2";
8169             clip_to: "sb_vbar_clip";
8170             mouse_events: 0;
8171             description { state: "default" 0.0;
8172                rel1.to: "elm.dragable.vbar";
8173                rel2.to: "elm.dragable.vbar";
8174                image { normal: "bt_sm_shine.png";
8175                   border: 6 6 6 0;
8176                }
8177             }
8178          }
8179          part { name: "sb_hbar_clip_master";
8180             type: RECT;
8181             mouse_events: 0;
8182             description { state: "default" 0.0;
8183             }
8184             description { state: "hidden" 0.0;
8185                visible: 0;
8186                color: 255 255 255 0;
8187             }
8188          }
8189          part { name: "sb_hbar_clip";
8190             clip_to: "sb_hbar_clip_master";
8191             type: RECT;
8192             mouse_events: 0;
8193             scale: 1;
8194             description { state: "default" 0.0;
8195                align: 0.0 0.0;
8196                rel2{ to:"clipper"; relative: 1.0 1.0; }
8197             }
8198             description { state: "hidden" 0.0;
8199                visible: 0;
8200                color: 255 255 255 0;
8201             }
8202          }
8203          part { name: "sb_hbar";
8204             type: RECT;
8205             mouse_events: 0;
8206             scale: 1;
8207             description { state: "default" 0.0;
8208                fixed: 1 1;
8209                visible: 0;
8210                align: 0.0 1.0;
8211                rel1 { to:"clipper"; relative: 0.0 1.0; }
8212                rel2 { to:"clipper"; relative: 1.0 1.0; }
8213             }
8214          }
8215          part { name: "elm.dragable.hbar";
8216             clip_to: "sb_hbar_clip";
8217             mouse_events: 0;
8218             scale: 1;
8219             dragable {
8220                x: 1 1 0;
8221                y: 0 0 0;
8222                confine: "sb_hbar";
8223             }
8224             description { state: "default" 0.0;
8225                min: 17 10;
8226                max: 99999 10;
8227                fixed: 1 1;
8228                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
8229                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
8230                image { normal: "bt_sm_base2.png";
8231                   border: 4 4 4 4;
8232                   middle: SOLID;
8233                }
8234             }
8235          }
8236          part { name: "sb_hbar_over1";
8237             clip_to: "sb_hbar_clip";
8238             mouse_events: 0;
8239             description { state: "default" 0.0;
8240                rel1.to: "elm.dragable.hbar";
8241                rel2.relative: 1.0 0.5;
8242                rel2.to: "elm.dragable.hbar";
8243                image { normal: "bt_sm_hilight.png";
8244                   border: 6 6 6 0;
8245                }
8246             }
8247          }
8248          part { name: "sb_hbar_over2";
8249             clip_to: "sb_hbar_clip";
8250             mouse_events: 0;
8251             description { state: "default" 0.0;
8252                rel1.to: "elm.dragable.hbar";
8253                rel2.to: "elm.dragable.hbar";
8254                image { normal: "bt_sm_shine.png";
8255                   border: 6 6 6 0;
8256                }
8257             }
8258          }
8259       }
8260       programs {
8261          program { name: "load";
8262             signal: "load";
8263             source: "";
8264             script {
8265                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
8266                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
8267                set_int(sbvis_v, 0);
8268                set_int(sbvis_h, 0);
8269                set_int(sbalways_v, 0);
8270                set_int(sbalways_h, 0);
8271                set_int(sbvis_timer, 0);
8272             }
8273          }
8274          program { name: "vbar_show";
8275             signal: "elm,action,show,vbar";
8276             source: "elm";
8277             action: STATE_SET "default" 0.0;
8278             target: "sb_vbar_clip_master";
8279          }
8280          program { name: "vbar_hide";
8281             signal: "elm,action,hide,vbar";
8282             source: "elm";
8283             action:  STATE_SET "hidden" 0.0;
8284             target: "sb_vbar_clip_master";
8285          }
8286          program { name: "vbar_show_always";
8287             signal: "elm,action,show_always,vbar";
8288             source: "elm";
8289             script {
8290                new v;
8291                v = get_int(sbvis_v);
8292                v |= get_int(sbalways_v);
8293                if (!v) {
8294                   set_int(sbalways_v, 1);
8295                   emit("do-show-vbar", "");
8296                   set_int(sbvis_v, 1);
8297                }
8298             }
8299          }
8300          program { name: "vbar_show_notalways";
8301             signal: "elm,action,show_notalways,vbar";
8302             source: "elm";
8303             script {
8304                new v;
8305                v = get_int(sbalways_v);
8306                if (v) {
8307                   set_int(sbalways_v, 0);
8308                   v = get_int(sbvis_v);
8309                   if (!v) {
8310                      emit("do-hide-vbar", "");
8311                      set_int(sbvis_v, 0);
8312                   }
8313                }
8314             }
8315          }
8316          program { name: "sb_vbar_show";
8317             signal: "do-show-vbar";
8318             source: "";
8319             action: STATE_SET "default" 0.0;
8320             transition: LINEAR 1.0;
8321             target: "sb_vbar_clip";
8322          }
8323          program { name: "sb_vbar_hide";
8324             signal: "do-hide-vbar";
8325             source: "";
8326             action: STATE_SET "hidden" 0.0;
8327             transition: LINEAR 1.0;
8328             target: "sb_vbar_clip";
8329          }
8330          program { name: "hbar_show";
8331             signal: "elm,action,show,hbar";
8332             source: "elm";
8333             action: STATE_SET "default" 0.0;
8334             target: "sb_hbar_clip_master";
8335          }
8336          program { name: "hbar_hide";
8337             signal: "elm,action,hide,hbar";
8338             source: "elm";
8339             action:  STATE_SET "hidden" 0.0;
8340             target: "sb_hbar_clip_master";
8341          }
8342          program { name: "hbar_show_always";
8343             signal: "elm,action,show_always,hbar";
8344             source: "elm";
8345             script {
8346                new v;
8347                v = get_int(sbvis_h);
8348                v |= get_int(sbalways_h);
8349                if (!v) {
8350                   set_int(sbalways_h, 1);
8351                   emit("do-show-hbar", "");
8352                   set_int(sbvis_h, 1);
8353                }
8354             }
8355          }
8356          program { name: "hbar_show_notalways";
8357             signal: "elm,action,show_notalways,hbar";
8358             source: "elm";
8359             script {
8360                new v;
8361                v = get_int(sbalways_h);
8362                if (v) {
8363                   set_int(sbalways_h, 0);
8364                   v = get_int(sbvis_h);
8365                   if (!v) {
8366                      emit("do-hide-hbar", "");
8367                      set_int(sbvis_h, 0);
8368                   }
8369                }
8370             }
8371          }
8372          program { name: "sb_hbar_show";
8373             signal: "do-show-hbar";
8374             source: "";
8375             action: STATE_SET "default" 0.0;
8376             transition: LINEAR 1.0;
8377             target: "sb_hbar_clip";
8378          }
8379          program { name: "sb_hbar_hide";
8380             signal: "do-hide-hbar";
8381             source: "";
8382             action: STATE_SET "hidden" 0.0;
8383             transition: LINEAR 1.0;
8384             target: "sb_hbar_clip";
8385          }
8386          program { name: "scroll";
8387             signal: "elm,action,scroll";
8388             source: "elm";
8389             script {
8390                new v;
8391                v = get_int(sbvis_v);
8392                v |= get_int(sbalways_v);
8393                if (!v) {
8394                   emit("do-show-vbar", "")
8395                   set_int(sbvis_v, 1);
8396                }
8397                v = get_int(sbvis_h);
8398                v |= get_int(sbalways_h);
8399                if (!v) {
8400                   emit("do-show-hbar", "");
8401                   set_int(sbvis_h, 1);
8402                }
8403                v = get_int(sbvis_timer);
8404                if (v > 0) cancel_timer(v);
8405                v = timer(1.0, "timer0", 0);
8406                set_int(sbvis_timer, v);
8407             }
8408          }
8409          program { name: "highlight_show";
8410             signal: "elm,action,focus_highlight,show";
8411             source: "elm";
8412             action: STATE_SET "enabled" 0.0;
8413             transition: ACCELERATE 0.3;
8414             target: "focus_highlight";
8415           }
8416          program { name: "highlight_hide";
8417             signal: "elm,action,focus_highlight,hide";
8418             source: "elm";
8419             action: STATE_SET "default" 0.0;
8420             transition: DECELERATE 0.3;
8421             target: "focus_highlight";
8422          }
8423       }
8424    }
8425 ///////////////////////////////////////////////////////////////////////////////
8426    group { name: "elm/ctxpopup/bg/default";
8427       parts {
8428          part { name: "ctxpopup_bg";
8429             type: RECT;
8430             mouse_events: 1;
8431             description { state: "default" 0.0;
8432                color: 0 0 0 0;
8433             }
8434             description { state: "visible" 0.0;
8435                inherit: "default" 0.0;
8436                color: 0 0 0 64;
8437             }
8438          }
8439       }
8440       programs {
8441          program { name: "clicked_event";
8442             signal: "mouse,clicked,1";
8443             source: "ctxpopup_bg";
8444             action: SIGNAL_EMIT "elm,action,click" "";
8445          }
8446          program { name: "show";
8447             signal: "elm,state,show";
8448             source: "elm";
8449             action: STATE_SET "visible" 0.0;
8450             target: "ctxpopup_bg";
8451          }
8452          program { name: "hide";
8453             signal: "elm,state,hide";
8454             source: "elm";
8455             action: STATE_SET "default" 0.0;
8456             target: "ctxpopup_bg";
8457          }
8458       }
8459    }
8460 ///////////////////////////////////////////////////////////////////////////////
8461    group { name: "elm/ctxpopup/base/default";
8462       images {
8463          image: "bt_base2.png" COMP;
8464          image: "bt_hilight.png" COMP;
8465          image: "bt_shine.png" COMP;
8466       }
8467       parts {
8468          part { name: "arrow_area_left";
8469             type: RECT;
8470             mouse_events: 0;
8471             description { state: "default" 0.0;
8472                visible: 0;
8473                min: 20 0;
8474                fixed: 1 1;
8475                align: 1 0.5;
8476                rel1 {
8477                   to_y: "base";
8478                }
8479                rel2 {
8480                   relative:0 1;
8481                   to:"base";
8482                }
8483             }
8484          }
8485          part { name: "arrow_area_right";
8486             type: RECT;
8487             mouse_events: 0;
8488             description { state: "default" 0.0;
8489                visible: 0;
8490                min: 20 0;
8491                fixed: 1 1;
8492                align: 0 0.5;
8493                rel1 {
8494                   relative: 1 0;
8495                   to:"base";
8496                }
8497                rel2 {
8498                   to_y: "base";
8499                }
8500             }
8501          }
8502          part { name: "arrow_area_up";
8503             type: RECT;
8504             mouse_events: 0;
8505             description { state: "default" 0.0;
8506                visible: 0;
8507                min: 0 20;
8508                fixed: 1 1;
8509                align: 0.5 1;
8510                rel1 {
8511                   to_x: "base";
8512                }
8513                rel2 {
8514                   relative: 1 0;
8515                   to:"base";
8516                }
8517             }
8518          }
8519          part { name: "arrow_area_down";
8520             type: RECT;
8521             mouse_events: 0;
8522             description { state: "default" 0.0;
8523                visible: 0;
8524                min: 0 20;
8525                fixed: 1 1;
8526                align: 0.5 0;
8527                rel1 {
8528                   relative: 0 1;
8529                   to:"base";
8530                }
8531                rel2 {
8532                   to_x: "base";
8533                }
8534             }
8535          }
8536          part { name: "elm.swallow.arrow_up";
8537             type: SWALLOW;
8538             mouse_events: 0;
8539             scale: 1;
8540             dragable {
8541                x: 1 1 0;
8542                y: 1 1 0;
8543                confine: "arrow_area_up";
8544             }
8545             description { state: "default" 0.0;
8546                min: 36 20;
8547                fixed: 1 1;
8548                visible: 1;
8549             }
8550          }
8551          part { name: "elm.swallow.arrow_down";
8552             type: SWALLOW;
8553             mouse_events: 0;
8554             scale: 1;
8555             dragable {
8556                x: 1 1 0;
8557                y: 1 1 0;
8558                confine: "arrow_area_down";
8559             }
8560             description { state: "default" 0.0;
8561                min: 36 20;
8562                fixed: 1 1;
8563                visible: 1;
8564             }
8565          }
8566          part { name: "elm.swallow.arrow_left";
8567             type: SWALLOW;
8568             mouse_events: 0;
8569             scale: 1;
8570             dragable {
8571                x: 1 1 0;
8572                y: 1 1 0;
8573                confine: "arrow_area_left";
8574             }
8575             description { state: "default" 0.0;
8576                min: 20 36;
8577                fixed: 1 1;
8578                visible: 1;
8579             }
8580          }
8581          part { name: "elm.swallow.arrow_right";
8582             type: SWALLOW;
8583             mouse_events: 0;
8584             scale: 1;
8585             dragable {
8586                x: 1 1 0;
8587                y: 1 1 0;
8588                confine: "arrow_area_right";
8589             }
8590             description { state: "default" 0.0;
8591                min: 20 36;
8592                fixed: 1 1;
8593                visible: 1;
8594             }
8595          }
8596          part { name: "base";
8597             scale: 1;
8598             description { state: "default" 0.0;
8599                rel1.offset: -3 -3;
8600                rel2.offset: 3 3;
8601                image { normal: "bt_base2.png";
8602                   border: 7 7 7 7;
8603                }
8604             }
8605          }
8606          part { name: "over1";
8607             scale: 1;
8608             description { state: "default" 0.0;
8609                rel1.to: "base";
8610                rel2.to: "base";
8611                rel2.relative: 1.0 0.5;
8612                image { normal: "bt_hilight.png";
8613                   border: 7 7 7 0;
8614                }
8615             }
8616          }
8617          part { name: "over2";
8618             scale: 1;
8619             description { state: "default" 0.0;
8620                rel1.to: "base";
8621                rel2.to: "base";
8622                image { normal: "bt_shine.png";
8623                   border: 7 7 7 7;
8624                }
8625             }
8626          }
8627          part { name: "elm.swallow.content";
8628             type: SWALLOW;
8629             description { state: "default" 0.0;
8630                rel1 { to:"base"; offset: 4 4; }
8631                rel2 { to:"base"; offset: -5 -5; }
8632             }
8633          }
8634       }
8635    }
8636 ///////////////////////////////////////////////////////////////////////////////
8637    group { name: "elm/ctxpopup/arrow/default";
8638       images {
8639          image: "ctxpopup_arrow_left.png" COMP;
8640          image: "ctxpopup_arrow_right.png" COMP;
8641          image: "ctxpopup_arrow_up.png" COMP;
8642          image: "ctxpopup_arrow_down.png" COMP;
8643       }
8644       parts {
8645          part { name: "ctxpopup_arrow";
8646             type: IMAGE;
8647             scale: 1;
8648             description {
8649                state: "default" 0.0;
8650                min: 36 36;
8651                fixed: 1 1;
8652                visible: 0;
8653                align: 0.5 0.5;
8654             }
8655             description {
8656                state: "left" 0.0;
8657                min: 20 36;
8658                fixed: 1 1;
8659                align: 0.0 0.5;
8660                rel1 { offset: 3 0; }
8661                rel2 { offset: 2 -1; }
8662                image { normal: "ctxpopup_arrow_left.png"; }
8663             }
8664             description { state: "right" 0.0;
8665                min: 20 36;
8666                fixed: 1 1;
8667                align: 1.0 0.5;
8668                rel1 { offset: -5 0; }
8669                rel2 { offset: -6 -1; }
8670                image { normal: "ctxpopup_arrow_right.png"; }
8671             }
8672             description { state: "top" 0.0;
8673                min: 36 20;
8674                fixed: 1 1;
8675                align: 0.5 0.0;
8676                rel1 { offset: 0 5; }
8677                rel2 { offset: -1 4; }
8678                image { normal: "ctxpopup_arrow_up.png"; }
8679             }
8680             description { state: "bottom" 0.0;
8681                min: 36 20;
8682                fixed: 1 1;
8683                align: 0.5 1.0;
8684                rel1 { offset: 0 -5; }
8685                rel2 { offset: -1 -6; }
8686                image { normal: "ctxpopup_arrow_down.png"; }
8687             }
8688          }
8689       }
8690       programs {
8691          program { name: "enable_left_arrow";
8692             signal: "elm,state,left";
8693             source: "elm";
8694             action: STATE_SET "left" 0.0;
8695             target: "ctxpopup_arrow";
8696          }
8697          program { name: "enable_right_arrow";
8698             signal: "elm,state,right";
8699             source: "elm";
8700             action: STATE_SET "right" 0.0;
8701             target: "ctxpopup_arrow";
8702          }
8703          program { name: "enable_top_arrow";
8704             signal: "elm,state,top";
8705             source: "elm";
8706             action: STATE_SET "top" 0.0;
8707             target: "ctxpopup_arrow";
8708          }
8709          program { name: "enable_bottom_arrow";
8710             signal: "elm,state,bottom";
8711             source: "elm";
8712             action: STATE_SET "bottom" 0.0;
8713             target: "ctxpopup_arrow";
8714          }
8715       }
8716    }
8717 ///////////////////////////////////////////////////////////////////////////////
8718    group {
8719       name: "elm/ctxpopup/icon_text_style_item/default";
8720         alias: "elm/ctxpopup/text_style_item/default";
8721         alias: "elm/ctxpopup/icon_style_item/default";
8722       images {
8723          image: "hoversel_entry_bg.png" COMP;
8724       }
8725       parts {
8726          part { name: "event";
8727             mouse_events: 1;
8728             description { state: "default" 0.0;
8729             }
8730          }
8731          part { name: "bg";
8732             mouse_events: 0;
8733             description { state: "default" 0.0;
8734                rel1.offset: 2 2;
8735                rel2.offset: -3 -3;
8736                image { normal:"hoversel_entry_bg.png";
8737                   border: 0 0 2 2;
8738                }
8739                fill.smooth: 0;
8740                color: 255 255 255 0;
8741             }
8742             description { state: "clicked" 0.0;
8743                inherit: "default" 0.0;
8744                color: 255 255 255 255;
8745             }
8746          }
8747          part { name: "elm.swallow.icon";
8748             type: SWALLOW;
8749             clip_to: "disclip";
8750             scale: 1;
8751             description { state: "default" 0.0;
8752                min: 25 25;
8753                max: 25 25;
8754                align: 0 0.5;
8755                aspect: 1.0 1.0;
8756                rel1 { offset: 10 10; }
8757                                         rel2 { offset: 0 -10; }
8758             }
8759          }
8760          part { name: "elm.text";
8761             type: TEXT;
8762             mouse_events: 0;
8763             clip_to: "disclip";
8764             scale: 1;
8765             description { state: "default" 0.0;
8766                min: 1 40;
8767                fixed: 0 1;
8768                align: 0.5 0.5;
8769                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8770                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8771                color: 255 255 255 255;
8772                text {
8773                   font: "Sans";
8774                   size: 10;
8775                   align: 0.0 0.5;
8776                   min: 1 1;
8777                }
8778             }
8779             description { state: "clicked" 0.0;
8780                inherit: "default" 0.0;
8781                color: 0 0 0 255;
8782             }
8783          }
8784          part { name: "over1";
8785             mouse_events: 1;
8786             repeat_events: 1;
8787             ignore_flags: ON_HOLD;
8788             description { state: "default" 0.0;
8789                color: 255 255 255 0;
8790             }
8791             description { state: "clicked" 0.0;
8792                inherit: "default" 0.0;
8793                color: 255 255 255 255;
8794             }
8795          }
8796          part { name: "over2";
8797             mouse_events: 1;
8798             repeat_events: 1;
8799             description { state: "default" 0.0;
8800                color: 255 255 255 0;
8801             }
8802             description { state: "clicked" 0.0;
8803                inherit: "default" 0.0;
8804                color: 255 255 255 255;
8805             }
8806          }
8807          part { name: "disclip";
8808             type: RECT;
8809             description { state: "default" 0.0;
8810                color: 255 255 255 255;
8811             }
8812             description { state: "enabled" 0.0;
8813                color: 127 127 127 127;
8814             }
8815          }
8816          part { name: "blocker";
8817             description { state: "default" 0.0;
8818                visible: 0;
8819             }
8820             description { state: "enabled" 0.0;
8821                visible: 1;
8822                color: 0 0 0 0;
8823             }
8824          }
8825       }
8826       programs {
8827          program {
8828             name: "item_unclick";
8829             signal: "mouse,up,1";
8830             source: "over1";
8831             action: SIGNAL_EMIT "elm,action,click" "";
8832          }
8833          program { name: "disable";
8834             signal: "elm,state,disabled";
8835             source: "elm";
8836             action: STATE_SET "enabled" 0.0;
8837             target: "disclip";
8838             target: "blocker";
8839          }
8840          program { name: "enable";
8841             signal: "elm,state,enabled";
8842             source: "elm";
8843             action: STATE_SET "default" 0.0;
8844             target: "disclip";
8845             target: "blocker";
8846          }
8847          program { name: "item_click2";
8848             signal: "mouse,down,1";
8849             source: "over2";
8850             script {
8851                set_state(PART:"elm.text", "clicked", 0.0);
8852                set_state(PART:"bg", "clicked", 0.0);
8853             }
8854          }
8855          program { name: "item_unclick2";
8856             signal: "mouse,up,1";
8857             source: "over2";
8858             script {
8859                set_state(PART:"elm.text", "default", 0.0);
8860                set_state(PART:"bg", "default", 0.0);
8861             }
8862          }
8863       }
8864    }
8865 ///////////////////////////////////////////////////////////////////////////////
8866 // emoticon images from:
8867 // Tanya - Latvia
8868 // http://lazycrazy.deviantart.com/
8869 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8870   group { name: "elm/entry/emoticon/angry/default"; images.image:
8871      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8872         "emo-angry.png"; } } } }
8873   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8874      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8875         "emo-angry-shout.png"; } } } }
8876   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8877      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8878         "emo-crazy-laugh.png"; } } } }
8879   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8880      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8881         "emo-evil-laugh.png"; } } } }
8882   group { name: "elm/entry/emoticon/evil/default"; images.image:
8883      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8884         "emo-evil.png"; } } } }
8885   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8886      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8887         "emo-goggle-smile.png"; } } } }
8888   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8889      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8890         "emo-grumpy.png"; } } } }
8891   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8892      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8893         "emo-grumpy-smile.png"; } } } }
8894   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8895      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8896         "emo-guilty.png"; } } } }
8897   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8898      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8899         "emo-guilty-smile.png"; } } } }
8900   group { name: "elm/entry/emoticon/haha/default"; images.image:
8901      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8902         "emo-haha.png"; } } } }
8903   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8904      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8905         "emo-half-smile.png"; } } } }
8906   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8907      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8908         "emo-happy-panting.png"; } } } }
8909   group { name: "elm/entry/emoticon/happy/default"; images.image:
8910      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8911         "emo-happy.png"; } } } }
8912   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8913      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8914         "emo-indifferent.png"; } } } }
8915   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8916      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8917         "emo-kiss.png"; } } } }
8918   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8919      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8920         "emo-knowing-grin.png"; } } } }
8921   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8922      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8923         "emo-laugh.png"; } } } }
8924   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8925      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8926         "emo-little-bit-sorry.png"; } } } }
8927   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8928      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8929         "emo-love-lots.png"; } } } }
8930   group { name: "elm/entry/emoticon/love/default"; images.image:
8931      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8932         "emo-love.png"; } } } }
8933   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8934      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8935         "emo-minimal-smile.png"; } } } }
8936   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8937      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8938         "emo-not-happy.png"; } } } }
8939   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8940      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8941         "emo-not-impressed.png"; } } } }
8942   group { name: "elm/entry/emoticon/omg/default"; images.image:
8943      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8944         "emo-omg.png"; } } } }
8945   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8946      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8947         "emo-opensmile.png"; } } } }
8948   group { name: "elm/entry/emoticon/smile/default"; images.image:
8949      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8950         "emo-smile.png"; } } } }
8951   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8952      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8953         "emo-sorry.png"; } } } }
8954   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8955      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8956         "emo-squint-laugh.png"; } } } }
8957   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8958      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8959         "emo-surprised.png"; } } } }
8960   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8961      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8962         "emo-suspicious.png"; } } } }
8963   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8964      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8965         "emo-tongue-dangling.png"; } } } }
8966   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8967      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8968         "emo-tongue-poke.png"; } } } }
8969   group { name: "elm/entry/emoticon/uh/default"; images.image:
8970      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8971         "emo-uh.png"; } } } }
8972   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8973      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8974         "emo-unhappy.png"; } } } }
8975   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8976      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8977         "emo-very-sorry.png"; } } } }
8978   group { name: "elm/entry/emoticon/what/default"; images.image:
8979      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8980         "emo-what.png"; } } } }
8981   group { name: "elm/entry/emoticon/wink/default"; images.image:
8982      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8983         "emo-wink.png"; } } } }
8984   group { name: "elm/entry/emoticon/worried/default"; images.image:
8985      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8986         "emo-worried.png"; } } } }
8987   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8988      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8989         "emo-wtf.png"; } } } }
8990 //------------------------------------------------------------
8991    group { name: "elm/entry/base/default";
8992       styles
8993       {
8994          style { name: "entry_textblock_style";
8995             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8996             tag:  "br" "\n";
8997             tag:  "ps" "ps";
8998             tag:  "tab" "\t";
8999             tag:  "em" "+ font=Sans:style=Oblique";
9000             tag:  "b" "+ font=Sans:style=Bold";
9001             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9002             tag:  "hilight" "+ font=Sans:style=Bold";
9003          }
9004          style { name: "entry_textblock_disabled_style";
9005             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
9006             tag:  "br" "\n";
9007             tag:  "ps" "ps";
9008             tag:  "tab" "\t";
9009             tag:  "em" "+ font=Sans:style=Oblique";
9010             tag:  "b" "+ font=Sans:style=Bold";
9011             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9012             tag:  "hilight" "+ font=Sans:style=Bold";
9013          }
9014       }
9015       data {
9016 //         item: context_menu_orientation "horizontal";
9017       }
9018       parts {
9019          part { name: "elm.text";
9020             type: TEXTBLOCK;
9021             mouse_events: 1;
9022             scale: 1;
9023             entry_mode: EDITABLE;
9024             select_mode: EXPLICIT;
9025             multiline: 1;
9026             source: "elm/entry/selection/default"; // selection under
9027    //       source2: "X"; // selection over
9028    //       source3: "X"; // cursor under
9029             source4: "elm/entry/cursor/default"; // cursorover
9030             source5: "elm/entry/anchor/default"; // anchor under
9031    //       source6: "X"; // anchor over
9032             description { state: "default" 0.0;
9033                /* we gotta use 0 0 here, because of scrolled entries */
9034                fixed: 0 0;
9035                text {
9036                   style: "entry_textblock_style";
9037                   min: 0 1;
9038                   align: 0.0 0.0;
9039                }
9040             }
9041             description { state: "disabled" 0.0;
9042                inherit: "default" 0.0;
9043                text {
9044                   style: "entry_textblock_disabled_style";
9045                   min: 0 1;
9046                }
9047             }
9048          }
9049       }
9050       programs {
9051          program { name: "focus";
9052             signal: "load";
9053             source: "";
9054             action: FOCUS_SET;
9055             target: "elm.text";
9056          }
9057          program { name: "disable";
9058             signal: "elm,state,disabled";
9059             source: "elm";
9060             action: STATE_SET "disabled" 0.0;
9061             target: "elm.text";
9062          }
9063          program { name: "enable";
9064             signal: "elm,state,enabled";
9065             source: "elm";
9066             action: STATE_SET "default" 0.0;
9067             target: "elm.text";
9068          }
9069       }
9070    }
9071
9072    group { name: "elm/entry/base-mixedwrap/default";
9073       styles
9074       {
9075          style { name: "entry_textblock_style_mixedwrap";
9076             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
9077             tag:  "br" "\n";
9078             tag:  "ps" "ps";
9079             tag:  "tab" "\t";
9080             tag:  "em" "+ font=Sans:style=Oblique";
9081             tag:  "b" "+ font=Sans:style=Bold";
9082             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9083             tag:  "hilight" "+ font=Sans:style=Bold";
9084          }
9085          style { name: "entry_textblock_disabled_style_mixedwrap";
9086             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
9087             tag:  "br" "\n";
9088             tag:  "ps" "ps";
9089             tag:  "tab" "\t";
9090             tag:  "em" "+ font=Sans:style=Oblique";
9091             tag:  "b" "+ font=Sans:style=Bold";
9092             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9093             tag:  "hilight" "+ font=Sans:style=Bold";
9094          }
9095       }
9096       parts {
9097          part { name: "elm.text";
9098             type: TEXTBLOCK;
9099             mouse_events: 1;
9100             scale: 1;
9101             entry_mode: EDITABLE;
9102             select_mode: EXPLICIT;
9103             multiline: 1;
9104             source: "elm/entry/selection/default"; // selection under
9105 //          source2: "X"; // selection over
9106 //          source3: "X"; // cursor under
9107             source4: "elm/entry/cursor/default"; // cursorover
9108             source5: "elm/entry/anchor/default"; // anchor under
9109 //          source6: "X"; // anchor over
9110             description { state: "default" 0.0;
9111                fixed: 1 0;
9112                text {
9113                   style: "entry_textblock_style_mixedwrap";
9114                   min: 0 1;
9115                   align: 0.0 0.0;
9116                }
9117             }
9118             description { state: "disabled" 0.0;
9119                inherit: "default" 0.0;
9120                text {
9121                   style: "entry_textblock_disabled_style_mixedwrap";
9122                   min: 0 1;
9123                }
9124             }
9125          }
9126       }
9127       programs {
9128          program { name: "focus";
9129             signal: "load";
9130             source: "";
9131             action: FOCUS_SET;
9132             target: "elm.text";
9133          }
9134          program { name: "disable";
9135             signal: "elm,state,disabled";
9136             source: "elm";
9137             action: STATE_SET "disabled" 0.0;
9138             target: "elm.text";
9139          }
9140          program { name: "enable";
9141             signal: "elm,state,enabled";
9142             source: "elm";
9143             action: STATE_SET "default" 0.0;
9144             target: "elm.text";
9145          }
9146       }
9147    }
9148
9149    group { name: "elm/entry/base-charwrap/default";
9150       styles
9151       {
9152          style { name: "entry_textblock_style_charwrap";
9153             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
9154             tag:  "br" "\n";
9155             tag:  "ps" "ps";
9156             tag:  "tab" "\t";
9157             tag:  "em" "+ font=Sans:style=Oblique";
9158             tag:  "b" "+ font=Sans:style=Bold";
9159             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9160             tag:  "hilight" "+ font=Sans:style=Bold";
9161          }
9162          style { name: "entry_textblock_disabled_style_charwrap";
9163             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
9164             tag:  "br" "\n";
9165             tag:  "ps" "ps";
9166             tag:  "tab" "\t";
9167             tag:  "em" "+ font=Sans:style=Oblique";
9168             tag:  "b" "+ font=Sans:style=Bold";
9169             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9170             tag:  "hilight" "+ font=Sans:style=Bold";
9171          }
9172       }
9173       parts {
9174          part { name: "elm.text";
9175             type: TEXTBLOCK;
9176             mouse_events: 1;
9177             scale: 1;
9178             entry_mode: EDITABLE;
9179             select_mode: EXPLICIT;
9180             multiline: 1;
9181             source: "elm/entry/selection/default"; // selection under
9182 //          source2: "X"; // selection over
9183 //          source3: "X"; // cursor under
9184             source4: "elm/entry/cursor/default"; // cursorover
9185             source5: "elm/entry/anchor/default"; // anchor under
9186 //          source6: "X"; // anchor over
9187             description { state: "default" 0.0;
9188                fixed: 1 0;
9189                text {
9190                   style: "entry_textblock_style_charwrap";
9191                   min: 0 1;
9192                   align: 0.0 0.0;
9193                }
9194             }
9195             description { state: "disabled" 0.0;
9196                inherit: "default" 0.0;
9197                text {
9198                   style: "entry_textblock_disabled_style_charwrap";
9199                   min: 0 1;
9200                }
9201             }
9202          }
9203       }
9204       programs {
9205          program { name: "focus";
9206             signal: "load";
9207             source: "";
9208             action: FOCUS_SET;
9209             target: "elm.text";
9210          }
9211          program { name: "disable";
9212             signal: "elm,state,disabled";
9213             source: "elm";
9214             action: STATE_SET "disabled" 0.0;
9215             target: "elm.text";
9216          }
9217          program { name: "enable";
9218             signal: "elm,state,enabled";
9219             source: "elm";
9220             action: STATE_SET "default" 0.0;
9221             target: "elm.text";
9222          }
9223       }
9224    }
9225
9226    group { name: "elm/entry/base-nowrap/default";
9227       parts {
9228          part { name: "elm.text";
9229             type: TEXTBLOCK;
9230             mouse_events: 1;
9231             scale: 1;
9232             entry_mode: EDITABLE;
9233             select_mode: EXPLICIT;
9234             multiline: 1;
9235             source: "elm/entry/selection/default"; // selection under
9236             source4: "elm/entry/cursor/default"; // cursorover
9237             source5: "elm/entry/anchor/default"; // anchor under
9238             description { state: "default" 0.0;
9239                text {
9240                   style: "entry_textblock_style";
9241                   min: 1 1;
9242                   align: 0.0 0.0;
9243                }
9244             }
9245             description { state: "disabled" 0.0;
9246                inherit: "default" 0.0;
9247                text {
9248                   style: "entry_textblock_disabled_style";
9249                   min: 0 1;
9250                }
9251             }
9252          }
9253 /*
9254          part { name: "sel";
9255             type: RECT;
9256             mouse_events: 0;
9257             description { state: "default" 0.0;
9258                align: 1.0 1.0;
9259                max: 16 16;
9260                aspect: 1.0 1.0;
9261                color: 255 0 0 0;
9262             }
9263             description { state: "visible" 0.0;
9264                inherit: "default" 0.0;
9265                color: 255 0 0 50;
9266             }
9267          }
9268  */
9269       }
9270       programs {
9271          program { name: "focus";
9272             signal: "load";
9273             source: "";
9274             action: FOCUS_SET;
9275             target: "elm.text";
9276          }
9277          program { name: "disable";
9278             signal: "elm,state,disabled";
9279             source: "elm";
9280             action: STATE_SET "disabled" 0.0;
9281             target: "elm.text";
9282          }
9283          program { name: "enable";
9284             signal: "elm,state,enabled";
9285             source: "elm";
9286             action: STATE_SET "default" 0.0;
9287             target: "elm.text";
9288          }
9289 /*
9290          program { name: "selmode0";
9291             signal: "elm,state,select,on";
9292             source: "elm";
9293             action: STATE_SET "visible" 0.0;
9294             target: "sel";
9295          }
9296          program { name: "selmode1";
9297             signal: "elm,state,select,off";
9298             source: "elm";
9299             action: STATE_SET "default" 0.0;
9300             target: "sel";
9301          }
9302  */
9303       }
9304    }
9305
9306    group { name: "elm/entry/base-single/default";
9307       styles
9308       {
9309          style { name: "entry_single_textblock_style";
9310             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
9311             tag:  "br" "\n";
9312             tag:  "ps" "ps";
9313             tag:  "tab" "\t";
9314             tag:  "em" "+ font=Sans:style=Oblique";
9315             tag:  "b" "+ font=Sans:style=Bold";
9316             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
9317             tag:  "hilight" "+ font=Sans:style=Bold";
9318          }
9319          style { name: "entry_single_textblock_disabled_style";
9320             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
9321             tag:  "br" "\n";
9322             tag:  "ps" "ps";
9323             tag:  "tab" "\t";
9324             tag:  "em" "+ font=Sans:style=Oblique";
9325             tag:  "b" "+ font=Sans:style=Bold";
9326             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
9327             tag:  "hilight" "+ font=Sans:style=Bold";
9328          }
9329       }
9330       parts {
9331          part { name: "elm.text";
9332             type: TEXTBLOCK;
9333             mouse_events: 1;
9334             scale: 1;
9335             entry_mode: EDITABLE;
9336             select_mode: EXPLICIT;
9337             multiline: 0;
9338             source: "elm/entry/selection/default"; // selection under
9339             source4: "elm/entry/cursor/default"; // cursorover
9340             source5: "elm/entry/anchor/default"; // anchor under
9341             description { state: "default" 0.0;
9342                text {
9343                   style: "entry_single_textblock_style";
9344                   min: 1 1;
9345                   max: 0 0;
9346                   align: 0.0 0.5;
9347                }
9348             }
9349             description { state: "disabled" 0.0;
9350                inherit: "default" 0.0;
9351                text {
9352                   style: "entry_single_textblock_disabled_style";
9353                }
9354             }
9355          }
9356       }
9357       programs {
9358          program { name: "focus";
9359             signal: "load";
9360             source: "";
9361             action: FOCUS_SET;
9362             target: "elm.text";
9363          }
9364          program { name: "disable";
9365             signal: "elm,state,disabled";
9366             source: "elm";
9367             action: STATE_SET "disabled" 0.0;
9368             target: "elm.text";
9369          }
9370          program { name: "enable";
9371             signal: "elm,state,enabled";
9372             source: "elm";
9373             action: STATE_SET "default" 0.0;
9374             target: "elm.text";
9375          }
9376       }
9377    }
9378
9379    group { name: "elm/entry/base-single-noedit/default";
9380       parts {
9381          part { name: "elm.text";
9382             type: TEXTBLOCK;
9383             mouse_events: 1;
9384             scale: 1;
9385             entry_mode: PLAIN;
9386             select_mode: EXPLICIT;
9387             multiline: 0;
9388             source: "elm/entry/selection/default"; // selection under
9389             source5: "elm/entry/anchor/default"; // anchor under
9390             description { state: "default" 0.0;
9391                text {
9392                   style: "entry_single_textblock_style";
9393                   min: 1 1;
9394                   max: 0 0;
9395                   align: 0.0 0.5;
9396                }
9397             }
9398             description { state: "disabled" 0.0;
9399                inherit: "default" 0.0;
9400                text {
9401                style: "entry_single_textblock_disabled_style";
9402                }
9403             }
9404          }
9405       }
9406       programs {
9407          program { name: "focus";
9408             signal: "load";
9409             source: "";
9410             action: FOCUS_SET;
9411             target: "elm.text";
9412          }
9413          program { name: "disable";
9414             signal: "elm,state,disabled";
9415             source: "elm";
9416             action: STATE_SET "disabled" 0.0;
9417             target: "elm.text";
9418          }
9419          program { name: "enable";
9420             signal: "elm,state,enabled";
9421             source: "elm";
9422             action: STATE_SET "default" 0.0;
9423             target: "elm.text";
9424          }
9425       }
9426    }
9427
9428    group { name: "elm/entry/base-noedit/default";
9429       parts {
9430          part { name: "elm.text";
9431             type: TEXTBLOCK;
9432             mouse_events: 1;
9433             scale: 1;
9434             entry_mode: PLAIN;
9435             select_mode: EXPLICIT;
9436             multiline: 1;
9437             source: "elm/entry/selection/default"; // selection under
9438             source5: "elm/entry/anchor/default"; // anchor under
9439             description { state: "default" 0.0;
9440                fixed: 1 0;
9441                text {
9442                   style: "entry_textblock_style";
9443                   min: 0 1;
9444                   align: 0.0 0.0;
9445                }
9446             }
9447             description { state: "disabled" 0.0;
9448                inherit: "default" 0.0;
9449                text {
9450                   style: "entry_textblock_disabled_style";
9451                }
9452             }
9453          }
9454       }
9455       programs {
9456          program { name: "focus";
9457             signal: "load";
9458             source: "";
9459             action: FOCUS_SET;
9460             target: "elm.text";
9461          }
9462          program { name: "disable";
9463             signal: "elm,state,disabled";
9464             source: "elm";
9465             action: STATE_SET "disabled" 0.0;
9466             target: "elm.text";
9467          }
9468          program { name: "enable";
9469             signal: "elm,state,enabled";
9470             source: "elm";
9471             action: STATE_SET "default" 0.0;
9472             target: "elm.text";
9473          }
9474       }
9475    }
9476
9477    group { name: "elm/entry/base-noedit-mixedwrap/default";
9478       parts {
9479          part { name: "elm.text";
9480             type: TEXTBLOCK;
9481             mouse_events: 1;
9482             scale: 1;
9483             entry_mode: PLAIN;
9484             select_mode: EXPLICIT;
9485             multiline: 1;
9486             source: "elm/entry/selection/default"; // selection under
9487             source5: "elm/entry/anchor/default"; // anchor under
9488             description { state: "default" 0.0;
9489                fixed: 1 0;
9490                text {
9491                   style: "entry_textblock_style_mixedwrap";
9492                   min: 0 1;
9493                   align: 0.0 0.0;
9494                }
9495             }
9496             description { state: "disabled" 0.0;
9497                inherit: "default" 0.0;
9498                text {
9499                   style: "entry_textblock_disabled_style_mixedwrap";
9500                }
9501             }
9502          }
9503       }
9504       programs {
9505          program { name: "focus";
9506             signal: "load";
9507             source: "";
9508             action: FOCUS_SET;
9509             target: "elm.text";
9510          }
9511          program { name: "disable";
9512             signal: "elm,state,disabled";
9513             source: "elm";
9514             action: STATE_SET "disabled" 0.0;
9515             target: "elm.text";
9516          }
9517          program { name: "enable";
9518             signal: "elm,state,enabled";
9519             source: "elm";
9520             action: STATE_SET "default" 0.0;
9521             target: "elm.text";
9522          }
9523       }
9524    }
9525
9526    group { name: "elm/entry/base-noedit-charwrap/default";
9527       parts {
9528          part { name: "elm.text";
9529             type: TEXTBLOCK;
9530             mouse_events: 1;
9531             scale: 1;
9532             entry_mode: PLAIN;
9533             select_mode: EXPLICIT;
9534             multiline: 1;
9535             source: "elm/entry/selection/default"; // selection under
9536             source5: "elm/entry/anchor/default"; // anchor under
9537             description { state: "default" 0.0;
9538                fixed: 1 0;
9539                text {
9540                   style: "entry_textblock_style_charwrap";
9541                   min: 0 1;
9542                   align: 0.0 0.0;
9543                }
9544             }
9545             description { state: "disabled" 0.0;
9546                inherit: "default" 0.0;
9547                text {
9548                   style: "entry_textblock_disabled_style_charwrap";
9549                }
9550             }
9551          }
9552       }
9553       programs {
9554          program { name: "focus";
9555             signal: "load";
9556             source: "";
9557             action: FOCUS_SET;
9558             target: "elm.text";
9559          }
9560          program { name: "disable";
9561             signal: "elm,state,disabled";
9562             source: "elm";
9563             action: STATE_SET "disabled" 0.0;
9564             target: "elm.text";
9565          }
9566          program { name: "enable";
9567             signal: "elm,state,enabled";
9568             source: "elm";
9569             action: STATE_SET "default" 0.0;
9570             target: "elm.text";
9571          }
9572       }
9573    }
9574
9575    group { name: "elm/entry/base-nowrap-noedit/default";
9576       parts {
9577          part { name: "elm.text";
9578             type: TEXTBLOCK;
9579             mouse_events: 1;
9580             scale: 1;
9581             entry_mode: PLAIN;
9582             select_mode: EXPLICIT;
9583             multiline: 1;
9584             source: "elm/entry/selection/default"; // selection under
9585             source5: "elm/entry/anchor/default"; // anchor under
9586             description { state: "default" 0.0;
9587                text {
9588                   style: "entry_textblock_style";
9589                   min: 1 1;
9590                   align: 0.0 0.0;
9591                }
9592             }
9593             description { state: "disabled" 0.0;
9594                inherit: "default" 0.0;
9595                text {
9596                   style: "entry_textblock_disabled_style";
9597                }
9598             }
9599          }
9600       }
9601       programs {
9602          program { name: "focus";
9603             signal: "load";
9604             source: "";
9605             action: FOCUS_SET;
9606             target: "elm.text";
9607          }
9608          program { name: "disable";
9609             signal: "elm,state,disabled";
9610             source: "elm";
9611             action: STATE_SET "disabled" 0.0;
9612             target: "elm.text";
9613          }
9614          program { name: "enable";
9615             signal: "elm,state,enabled";
9616             source: "elm";
9617             action: STATE_SET "default" 0.0;
9618             target: "elm.text";
9619          }
9620       }
9621    }
9622
9623    group { name: "elm/entry/cursor/default";
9624       images {
9625          image: "cur_box.png" COMP;
9626          image: "cur_hi.png" COMP;
9627          image: "cur_shad.png" COMP;
9628          image: "cur_shine.png" COMP;
9629          image: "cur_glow.png" COMP;
9630       }
9631       parts {
9632          part { name: "clip2";
9633             type: RECT;
9634             mouse_events: 0;
9635             description { state: "default" 0.0;
9636                rel1.to: "clip";
9637                rel2.to: "clip";
9638                visible: 0;
9639             }
9640             description { state: "focused" 0.0;
9641                inherit: "default" 0.0;
9642                visible: 1;
9643             }
9644          }
9645          part { name: "clip";
9646             type: RECT;
9647             mouse_events: 0;
9648             clip_to: "clip2";
9649             description { state: "default" 0.0;
9650                rel1.offset: -10 0;
9651                rel2.offset: 9 9;
9652             }
9653             description { state: "hidden" 0.0;
9654                inherit: "default" 0.0;
9655                visible: 0;
9656             }
9657          }
9658          part { name: "bg";
9659             mouse_events: 0;
9660             clip_to: "clip";
9661             description { state: "default" 0.0;
9662                rel1.to: "base";
9663                rel1.offset: -2 0;
9664                rel2.to: "base";
9665                rel2.offset: 1 1;
9666                image.border: 2 2 2 2;
9667                image.normal: "cur_shad.png";
9668             }
9669          }
9670          part { name: "base";
9671             mouse_events: 0;
9672             scale: 1;
9673             clip_to: "clip";
9674             description { state: "default" 0.0;
9675                min: 2 2;
9676                align: 0.5 1.0;
9677                rel1.relative: 0.0 1.0;
9678                rel1.offset: 0 -1;
9679                rel2.relative: 1.0 1.0;
9680                rel2.offset: -1 -1;
9681                image.normal: "cur_box.png";
9682             }
9683          }
9684          part { name: "hi";
9685             mouse_events: 0;
9686             clip_to: "clip";
9687             description { state: "default" 0.0;
9688                rel1.to: "base";
9689                rel2.to: "base";
9690                rel2.relative: 1.0 0.5;
9691                image.normal: "cur_hi.png";
9692             }
9693          }
9694          part { name: "shine";
9695             mouse_events: 0;
9696             clip_to: "clip";
9697             clip_to: "clip2";
9698             description { state: "default" 0.0;
9699                rel1.to: "base";
9700                rel2.to: "base";
9701                rel2.relative: 1.0 0.75;
9702                image.border: 2 2 1 0;
9703                image.normal: "cur_shine.png";
9704                fill.smooth: 0;
9705             }
9706          }
9707          part { name: "glow";
9708             mouse_events: 0;
9709             clip_to: "clip2";
9710             description { state: "default" 0.0;
9711                rel1.to: "base";
9712                rel1.relative: 0.0 -2.0;
9713                rel1.offset: -2 0;
9714                rel2.to: "base";
9715                rel2.relative: 1.0 0.0;
9716                rel2.offset: 1 1;
9717                image.border: 2 2 0 4;
9718                image.normal: "cur_glow.png";
9719                fill.smooth: 0;
9720             }
9721             description { state: "hidden" 0.0;
9722                inherit: "default" 0.0;
9723                color: 255 255 255 0;
9724             }
9725          }
9726       }
9727       programs {
9728          program { name: "show";
9729             signal: "show";
9730             source: "";
9731             action: STATE_SET "hidden" 0.0;
9732             in: 1.0 0.0;
9733             transition: DECELERATE 2.0;
9734             target: "glow";
9735             after: "show2";
9736          }
9737          program { name: "show2";
9738             action: STATE_SET "hidden" 0.0;
9739             in: 0.2 0.0;
9740             target: "clip";
9741             after: "show3";
9742          }
9743          program { name: "show3";
9744             action: STATE_SET "default" 0.0;
9745             in: 0.5 0.0;
9746             target: "clip";
9747             after: "show4";
9748          }
9749          program { name: "show4";
9750             action: STATE_SET "default" 0.0;
9751             in: 0.5 0.0;
9752             transition: DECELERATE 0.5;
9753             target: "glow";
9754             after: "show";
9755          }
9756          program { name: "focused";
9757             signal: "elm,action,focus";
9758             source: "elm";
9759             action: STATE_SET "focused" 0.0;
9760             target: "clip2";
9761          }
9762          program { name: "unfocused";
9763             signal: "elm,action,unfocus";
9764             source: "elm";
9765             action: STATE_SET "default" 0.0;
9766             target: "clip2";
9767          }
9768       }
9769    }
9770
9771    group { name: "elm/entry/selection/default";
9772       parts {
9773          part { name: "bg";
9774             type: RECT;
9775             mouse_events: 0;
9776             description { state: "default" 0.0;
9777                color: 128 128 128 128;
9778             }
9779          }
9780       }
9781    }
9782
9783    group { name: "elm/entry/anchor/default";
9784       parts {
9785          part { name: "bg";
9786             type: RECT;
9787             mouse_events: 0;
9788             description { state: "default" 0.0;
9789                color: 128 0 0 64;
9790             }
9791          }
9792       }
9793    }
9794
9795 ///////////////////////////////////////////////////////////////////////////////
9796   group { name: "elm/bubble/top_left/default";
9797     alias: "elm/bubble/base/default";
9798     images {
9799       image: "bubble_3.png" COMP;
9800       image: "bubble_4.png" COMP;
9801       image: "bubble_shine3.png" COMP;
9802       image: "bubble_shine4.png" COMP;
9803     }
9804     parts {
9805       part { name: "event";
9806          type: RECT;
9807          description {
9808             state: "default" 0.0;
9809             color: 0 0 0 0;
9810          }
9811       }
9812       part { name: "elm.swallow.icon";
9813         type: SWALLOW;
9814         description { state: "default" 0.0;
9815           fixed: 1 1;
9816           visible: 0;
9817           align: 0.0 0.0;
9818           aspect: 1.0 1.0;
9819           aspect_preference: VERTICAL;
9820           rel1 {
9821             relative: 0.0 0.0;
9822             offset: 4 4;
9823           }
9824           rel2 {
9825             to_y: "elm.text";
9826             relative: 0.0 1.0;
9827             offset: 4 -1;
9828           }
9829         }
9830         description { state: "visible" 0.0;
9831           inherit: "default" 0.0;
9832           visible: 1;
9833         }
9834       }
9835       part { name: "elm.text";
9836         type: TEXT;
9837         mouse_events:   0;
9838         scale: 1;
9839         description { state: "default" 0.0;
9840           align: 0.0 0.0;
9841           fixed: 0 1;
9842           rel1 {
9843             to_x: "elm.swallow.icon";
9844             relative: 1.0 0.0;
9845             offset: 4 4;
9846           }
9847           rel2 {
9848             to_x: "elm.info";
9849             relative: 0.0 0.0;
9850             offset: -5 4;
9851           }
9852           color: 0 0 0 255;
9853           text {
9854             font: "Sans:style=Bold,Edje-Vera-Bold";
9855             size: 10;
9856             min: 0 1;
9857             max: 0 1;
9858             align: 0.0 0.0;
9859           }
9860         }
9861       }
9862       part { name: "elm.info";
9863         type: TEXT;
9864         mouse_events:   0;
9865         scale: 1;
9866         description { state: "default" 0.0;
9867           align: 1.0 0.0;
9868           fixed: 1 1;
9869           rel1 {
9870             relative: 1.0 0.0;
9871             offset: -5 4;
9872           }
9873           rel2 {
9874             relative: 1.0 0.0;
9875             offset: -5 4;
9876           }
9877           color: 0 0 0 64;
9878           text {
9879             font: "Sans:style=Bold,Edje-Vera-Bold";
9880             size: 10;
9881             min: 1 1;
9882             max: 1 1;
9883             align: 1.0 0.0;
9884           }
9885         }
9886       }
9887       part { name: "base0";
9888         mouse_events:  0;
9889         description { state: "default" 0.0;
9890           rel1 {
9891             to_y: "elm.swallow.icon";
9892             relative: 0.0 1.0;
9893             offset: 0 0;
9894           }
9895           image {
9896             normal: "bubble_3.png";
9897             border: 36 11 18 9;
9898           }
9899           image.middle: SOLID;
9900           fill.smooth: 0;
9901         }
9902         description { state: "rtl" 0.0;
9903            inherit: "default" 0.0;
9904            image {
9905               normal: "bubble_4.png";
9906               border: 11 36 18 9;
9907            }
9908         }
9909       }
9910       part { name: "elm.swallow.content";
9911         type: SWALLOW;
9912         description { state: "default" 0.0;
9913           rel1 {
9914             to: "base0";
9915             offset: 9 16;
9916           }
9917           rel2 {
9918             to: "base0";
9919             offset: -10 -9;
9920           }
9921         }
9922       }
9923       part { name: "shine";
9924         mouse_events:  0;
9925         description { state:    "default" 0.0;
9926           rel1 {
9927             to: "base0";
9928             offset: 5 4;
9929           }
9930           rel2 {
9931             to: "base0";
9932             relative: 1.0 0.5;
9933             offset: -6 7;
9934           }
9935           image {
9936             normal: "bubble_shine3.png";
9937             border: 36 5 14 0;
9938           }
9939           fill.smooth: 0;
9940         }
9941         description { state: "rtl" 0.0;
9942            inherit: "default" 0.0;
9943            image {
9944               normal: "bubble_shine4.png";
9945               border: 5 36 14 0;
9946            }
9947         }
9948       }
9949     }
9950     programs {
9951       program {
9952         name: "icon_show";
9953         signal: "elm,state,icon,visible";
9954         source: "elm";
9955         action: STATE_SET "visible" 0.0;
9956         target: "elm.swallow.icon";
9957       }
9958       program {
9959         name: "icon_hide";
9960         signal: "elm,state,icon,hidden";
9961         source: "elm";
9962         action: STATE_SET "default" 0.0;
9963         target: "elm.swallow.icon";
9964       }
9965       program { name: "to_rtl";
9966          signal: "edje,state,rtl";
9967          source: "edje";
9968          action: STATE_SET "rtl" 0.0;
9969          target: "base0";
9970          target: "shine";
9971       }
9972       program { name: "to_ltr";
9973          signal: "edje,state,ltr";
9974          source: "edje";
9975          action: STATE_SET "default" 0.0;
9976          target: "base0";
9977          target: "shine";
9978       }
9979     }
9980   }
9981
9982   group { name: "elm/bubble/top_right/default";
9983     images {
9984       image: "bubble_3.png" COMP;
9985       image: "bubble_4.png" COMP;
9986       image: "bubble_shine3.png" COMP;
9987       image: "bubble_shine4.png" COMP;
9988     }
9989     parts {
9990       part { name: "event";
9991          type: RECT;
9992          description {
9993             state: "default" 0.0;
9994             color: 0 0 0 0;
9995          }
9996       }
9997       part { name: "elm.swallow.icon";
9998         type: SWALLOW;
9999         description { state: "default" 0.0;
10000           fixed: 1 1;
10001           visible: 0;
10002           align: 1.0 0.0;
10003           aspect: 1.0 1.0;
10004           aspect_preference: VERTICAL;
10005           rel1 {
10006             relative: 1.0 0.0;
10007             offset: -5 4;
10008           }
10009           rel2 {
10010             to_y: "elm.text";
10011             relative: 1.0 1.0;
10012             offset: -5 -1;
10013           }
10014         }
10015         description { state: "visible" 0.0;
10016           inherit: "default" 0.0;
10017           visible: 1;
10018         }
10019       }
10020       part { name: "elm.text";
10021         type: TEXT;
10022         mouse_events:   0;
10023         scale: 1;
10024         description { state: "default" 0.0;
10025           align: 0.0 0.0;
10026           fixed: 0 1;
10027           rel1 {
10028             relative: 0.0 0.0;
10029             offset: 4 4;
10030           }
10031           rel2 {
10032             to_x: "elm.info";
10033             relative: 0.0 0.0;
10034             offset: -5 4;
10035           }
10036           color: 0 0 0 255;
10037           text {
10038             font: "Sans:style=Bold,Edje-Vera-Bold";
10039             size: 10;
10040             min: 0 1;
10041             max: 0 1;
10042             align: 0.0 0.0;
10043           }
10044         }
10045       }
10046       part { name: "elm.info";
10047         type: TEXT;
10048         mouse_events:   0;
10049         scale: 1;
10050         description { state: "default" 0.0;
10051           align: 1.0 0.0;
10052           fixed: 1 1;
10053           rel1 {
10054             relative: 1.0 0.0;
10055             offset: -5 4;
10056           }
10057           rel2 {
10058             to_x: "elm.swallow.icon";
10059             relative: 0.0 0.0;
10060             offset: -5 4;
10061           }
10062           color: 0 0 0 64;
10063           text {
10064             font: "Sans:style=Bold,Edje-Vera-Bold";
10065             size: 10;
10066             min: 1 1;
10067             max: 1 1;
10068             align: 1.0 0.0;
10069           }
10070         }
10071       }
10072       part { name: "base0";
10073         mouse_events:  0;
10074         description { state: "default" 0.0;
10075           rel1 {
10076             to_y: "elm.swallow.icon";
10077             relative: 0.0 1.0;
10078             offset: 0 0;
10079           }
10080           image {
10081             normal: "bubble_4.png";
10082             border: 11 36 18 9;
10083           }
10084           image.middle: SOLID;
10085           fill.smooth: 0;
10086         }
10087         description { state: "rtl" 0.0;
10088            inherit: "default" 0.0;
10089            image {
10090               normal: "bubble_3.png";
10091               border: 36 11 18 9;
10092            }
10093         }
10094       }
10095       part { name: "elm.swallow.content";
10096         type: SWALLOW;
10097         description { state: "default" 0.0;
10098           rel1 {
10099             to: "base0";
10100             offset: 9 16;
10101           }
10102           rel2 {
10103             to: "base0";
10104             offset: -10 -9;
10105           }
10106         }
10107       }
10108       part { name: "shine";
10109         mouse_events:  0;
10110         description { state:    "default" 0.0;
10111           rel1 {
10112             to: "base0";
10113             offset: 5 4;
10114           }
10115           rel2 {
10116             to: "base0";
10117             relative: 1.0 0.5;
10118             offset: -6 7;
10119           }
10120           image {
10121             normal: "bubble_shine4.png";
10122             border: 5 36 14 0;
10123           }
10124           fill.smooth: 0;
10125         }
10126         description { state: "rtl" 0.0;
10127            inherit: "default" 0.0;
10128            image {
10129               normal: "bubble_shine3.png";
10130               border: 36 5 14 0;
10131            }
10132         }
10133       }
10134     }
10135     programs {
10136       program {
10137         name: "icon_show";
10138         signal: "elm,state,icon,visible";
10139         source: "elm";
10140         action: STATE_SET "visible" 0.0;
10141         target: "elm.swallow.icon";
10142       }
10143       program {
10144         name: "icon_hide";
10145         signal: "elm,state,icon,hidden";
10146         source: "elm";
10147         action: STATE_SET "default" 0.0;
10148         target: "elm.swallow.icon";
10149       }
10150       program { name: "to_rtl";
10151          signal: "edje,state,rtl";
10152          source: "edje";
10153          action: STATE_SET "rtl" 0.0;
10154          target: "base0";
10155          target: "shine";
10156       }
10157       program { name: "to_ltr";
10158          signal: "edje,state,ltr";
10159          source: "edje";
10160          action: STATE_SET "default" 0.0;
10161          target: "base0";
10162          target: "shine";
10163       }
10164     }
10165   }
10166
10167   group { name: "elm/bubble/bottom_left/default";
10168     images {
10169       image: "bubble_1.png" COMP;
10170       image: "bubble_2.png" COMP;
10171       image: "bubble_shine.png" COMP;
10172     }
10173     parts {
10174       part { name: "event";
10175          type: RECT;
10176          description {
10177             state: "default" 0.0;
10178             color: 0 0 0 0;
10179          }
10180       }
10181       part { name: "elm.swallow.icon";
10182         type: SWALLOW;
10183         description { state: "default" 0.0;
10184           fixed: 1 1;
10185           visible: 0;
10186           align: 0.0 1.0;
10187           aspect: 1.0 1.0;
10188           aspect_preference: VERTICAL;
10189           rel1 {
10190             to_y: "elm.text";
10191             relative: 0.0 0.0;
10192             offset: 4 0;
10193           }
10194           rel2 {
10195             relative: 0.0 1.0;
10196             offset: 4 -5;
10197           }
10198         }
10199         description { state: "visible" 0.0;
10200           inherit: "default" 0.0;
10201           visible: 1;
10202         }
10203       }
10204       part { name: "elm.text";
10205         type: TEXT;
10206         mouse_events:   0;
10207         scale: 1;
10208         description { state: "default" 0.0;
10209           align: 0.0 1.0;
10210           fixed: 0 1;
10211           rel1 {
10212             to_x: "elm.swallow.icon";
10213             relative: 1.0 1.0;
10214             offset: 4 -5;
10215           }
10216           rel2 {
10217             to_x: "elm.info";
10218             relative: 0.0 1.0;
10219             offset: -5 -5;
10220           }
10221           color: 0 0 0 255;
10222           text {
10223             font: "Sans:style=Bold,Edje-Vera-Bold";
10224             size: 10;
10225             min: 0 1;
10226             max: 0 1;
10227             align: 0.0 1.0;
10228           }
10229         }
10230       }
10231       part { name: "elm.info";
10232         type: TEXT;
10233         mouse_events:   0;
10234         scale: 1;
10235         description { state: "default" 0.0;
10236           align: 1.0 1.0;
10237           fixed: 1 1;
10238           rel1 {
10239             relative: 1.0 1.0;
10240             offset: -5 -5;
10241           }
10242           rel2 {
10243             relative: 1.0 1.0;
10244             offset: -5 -5;
10245           }
10246           color: 0 0 0 64;
10247           text {
10248             font: "Sans:style=Bold,Edje-Vera-Bold";
10249             size: 10;
10250             min: 1 1;
10251             max: 1 1;
10252             align: 1.0 1.0;
10253           }
10254         }
10255       }
10256       part { name: "base0";
10257         mouse_events:  0;
10258         description { state: "default" 0.0;
10259           rel2 {
10260             to_y: "elm.swallow.icon";
10261             relative: 1.0 0.0;
10262             offset: -1 -1;
10263           }
10264           image {
10265             normal: "bubble_1.png";
10266             border: 36 11 10 19;
10267           }
10268           image.middle: SOLID;
10269           fill.smooth: 0;
10270         }
10271         description { state: "rtl" 0.0;
10272            inherit: "default" 0.0;
10273            image {
10274               normal: "bubble_2.png";
10275               border: 11 36 10 19;
10276            }
10277         }
10278       }
10279       part { name: "elm.swallow.content";
10280         type: SWALLOW;
10281         description { state: "default" 0.0;
10282           rel1 {
10283             to: "base0";
10284             offset: 9 8;
10285           }
10286           rel2 {
10287             to: "base0";
10288             offset: -10 -17;
10289           }
10290         }
10291       }
10292       part { name: "shine";
10293         mouse_events:  0;
10294         description { state:    "default" 0.0;
10295           rel1 {
10296             to: "base0";
10297             offset: 5 4;
10298           }
10299           rel2 {
10300             to: "base0";
10301             relative: 1.0 0.5;
10302             offset: -6 -16;
10303           }
10304           image {
10305             normal: "bubble_shine.png";
10306             border: 5 5 5 0;
10307           }
10308           fill.smooth: 0;
10309         }
10310         description { state: "rtl" 0.0;
10311            inherit: "default" 0.0;
10312            image {
10313               normal: "bubble_shine4.png";
10314               border: 5 36 14 0;
10315            }
10316         }
10317       }
10318     }
10319     programs {
10320       program {
10321         name: "icon_show";
10322         signal: "elm,state,icon,visible";
10323         source: "elm";
10324         action: STATE_SET "visible" 0.0;
10325         target: "elm.swallow.icon";
10326       }
10327       program {
10328         name: "icon_hide";
10329         signal: "elm,state,icon,hidden";
10330         source: "elm";
10331         action: STATE_SET "default" 0.0;
10332         target: "elm.swallow.icon";
10333       }
10334       program { name: "to_rtl";
10335          signal: "edje,state,rtl";
10336          source: "edje";
10337          action: STATE_SET "rtl" 0.0;
10338          target: "base0";
10339       }
10340       program { name: "to_ltr";
10341          signal: "edje,state,ltr";
10342          source: "edje";
10343          action: STATE_SET "default" 0.0;
10344          target: "base0";
10345       }
10346     }
10347   }
10348
10349   group { name: "elm/bubble/bottom_right/default";
10350     images {
10351       image: "bubble_1.png" COMP;
10352       image: "bubble_2.png" COMP;
10353       image: "bubble_shine.png" COMP;
10354     }
10355     parts {
10356       part { name: "event";
10357          type: RECT;
10358          description {
10359             state: "default" 0.0;
10360             color: 0 0 0 0;
10361          }
10362       }
10363       part { name: "elm.swallow.icon";
10364         type: SWALLOW;
10365         description { state: "default" 0.0;
10366           fixed: 1 1;
10367           visible: 0.0;
10368           align: 1.0 1.0;
10369           aspect: 1.0 1.0;
10370           aspect_preference: VERTICAL;
10371           rel1 {
10372             to_y: "elm.text";
10373             relative: 1.0 0.0;
10374             offset: -5 0;
10375           }
10376           rel2 {
10377             relative: 1.0 1.0;
10378             offset: -5 -5;
10379           }
10380         }
10381         description { state: "visible" 0.0;
10382           inherit: "default" 0.0;
10383           visible: 1;
10384         }
10385       }
10386       part { name: "elm.text";
10387         type: TEXT;
10388         mouse_events:   0;
10389         scale: 1;
10390         description { state: "default" 0.0;
10391           align: 0.0 1.0;
10392           fixed: 0 1;
10393           rel1 {
10394             relative: 0.0 1.0;
10395             offset: 4 -5;
10396           }
10397           rel2 {
10398             to_x: "elm.info";
10399             relative: 0.0 1.0;
10400             offset: -5 -5;
10401           }
10402           color: 0 0 0 255;
10403           text {
10404             font: "Sans:style=Bold,Edje-Vera-Bold";
10405             size: 10;
10406             min: 0 1;
10407             max: 0 1;
10408             align: 0.0 1.0;
10409           }
10410         }
10411       }
10412       part { name: "elm.info";
10413         type: TEXT;
10414         mouse_events:   0;
10415         scale: 1;
10416         description { state: "default" 0.0;
10417           align: 1.0 1.0;
10418           fixed: 1 1;
10419           rel1 {
10420             relative: 1.0 1.0;
10421             offset: -5 -5;
10422           }
10423           rel2 {
10424             to_x: "elm.swallow.icon";
10425             relative: 0.0 1.0;
10426             offset: -5 -5;
10427           }
10428           color: 0 0 0 64;
10429           text {
10430             font: "Sans:style=Bold,Edje-Vera-Bold";
10431             size: 10;
10432             min: 1 1;
10433             max: 1 1;
10434             align: 1.0 1.0;
10435           }
10436         }
10437       }
10438       part { name: "base0";
10439         mouse_events:  0;
10440         description { state: "default" 0.0;
10441           rel2 {
10442             to_y: "elm.swallow.icon";
10443             relative: 1.0 0.0;
10444             offset: -1 -1;
10445           }
10446           image {
10447             normal: "bubble_2.png";
10448             border: 11 36 10 19;
10449           }
10450           image.middle: SOLID;
10451           fill.smooth: 0;
10452         }
10453         description { state: "rtl" 0.0;
10454            inherit: "default" 0.0;
10455            image {
10456               normal: "bubble_1.png";
10457               border: 36 11 10 19;
10458            }
10459         }
10460       }
10461       part { name: "elm.swallow.content";
10462         type: SWALLOW;
10463         description { state: "default" 0.0;
10464           rel1 {
10465             to: "base0";
10466             offset: 9 8;
10467           }
10468           rel2 {
10469             to: "base0";
10470             offset: -10 -17;
10471           }
10472         }
10473       }
10474       part { name: "shine";
10475         mouse_events:  0;
10476         description { state:    "default" 0.0;
10477           rel1 {
10478             to: "base0";
10479             offset: 5 4;
10480           }
10481           rel2 {
10482             to: "base0";
10483             relative: 1.0 0.5;
10484             offset: -6 -16;
10485           }
10486           image {
10487             normal: "bubble_shine.png";
10488             border: 5 5 5 0;
10489           }
10490           fill.smooth: 0;
10491         }
10492         description { state: "rtl" 0.0;
10493            inherit: "default" 0.0;
10494            image {
10495               normal: "bubble_shine3.png";
10496               border: 36 5 14 0;
10497            }
10498         }
10499       }
10500     }
10501     programs {
10502       program {
10503         name: "icon_show";
10504         signal: "elm,state,icon,visible";
10505         source: "elm";
10506         action: STATE_SET "visible" 0.0;
10507         target: "elm.swallow.icon";
10508       }
10509       program {
10510         name: "icon_hide";
10511         signal: "elm,state,icon,hidden";
10512         source: "elm";
10513         action: STATE_SET "default" 0.0;
10514         target: "elm.swallow.icon";
10515       }
10516       program { name: "to_rtl";
10517          signal: "edje,state,rtl";
10518          source: "edje";
10519          action: STATE_SET "rtl" 0.0;
10520          target: "base0";
10521       }
10522       program { name: "to_ltr";
10523          signal: "edje,state,ltr";
10524          source: "edje";
10525          action: STATE_SET "default" 0.0;
10526          target: "base0";
10527       }
10528     }
10529   }
10530
10531 ///////////////////////////////////////////////////////////////////////////////
10532    group { name: "elm/photo/base/default";
10533       images {
10534          image: "frame_1.png" COMP;
10535          image: "frame_2.png" COMP;
10536          image: "dia_grad.png" COMP;
10537          image: "head.png" COMP;
10538       }
10539       parts {
10540          part { name: "base0";
10541             mouse_events:  0;
10542             description { state: "default" 0.0;
10543                image.normal: "dia_grad.png";
10544                rel1.to: "over";
10545                rel2.to: "over";
10546                fill {
10547                   smooth: 0;
10548                   size {
10549                      relative: 0.0 1.0;
10550                      offset: 64 0;
10551                   }
10552                }
10553             }
10554          }
10555          part { name: "base";
10556             mouse_events:  0;
10557             description { state:    "default" 0.0;
10558                image {
10559                   normal: "frame_2.png";
10560                   border: 5 5 32 26;
10561                   middle: 0;
10562                }
10563                fill.smooth : 0;
10564             }
10565          }
10566          part { name: "head";
10567             mouse_events:  0;
10568             description { state:    "default" 0.0;
10569                rel1.offset: 4 4;
10570                rel2.offset: -5 -5;
10571                aspect: 1.0 1.0;
10572                aspect_preference: BOTH;
10573                image.normal: "head.png";
10574             }
10575          }
10576          part { name: "clip";
10577             mouse_events:  0;
10578             type: RECT;
10579             description { state:    "default" 0.0;
10580                rel1.offset: 4 4;
10581                rel2.offset: -5 -5;
10582                color: 255 255 255 255;
10583             }
10584          }
10585          part { name: "elm.swallow.content";
10586             type: SWALLOW;
10587             clip_to: "clip";
10588             description { state: "default" 0.0;
10589                rel1.offset: 4 4;
10590                rel2.offset: -5 -5;
10591             }
10592          }
10593          part { name: "over";
10594             mouse_events:  0;
10595             description { state:    "default" 0.0;
10596                rel1.offset: 4 4;
10597                rel2.offset: -5 -5;
10598                image {
10599                   normal: "frame_1.png";
10600                   border: 2 2 28 22;
10601                   middle: 0;
10602                }
10603                fill.smooth: 0;
10604             }
10605          }
10606      }
10607    }
10608
10609    group { name: "elm/photo/base/shadow";
10610               images {
10611                         image: "shadow.png" COMP;
10612                         image: "black.png" COMP;
10613               }
10614               script {
10615               public message(Msg_Type:type, id, ...) {
10616                 if( (type==MSG_INT_SET) && (id==0) )
10617                 {
10618                     new w;
10619                     new h;
10620
10621                     custom_state(PART:"size", "default", 0.0);
10622
10623                     w = getarg(2);
10624                     h = getarg(3);
10625                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10626                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10627                     set_state(PART:"size", "custom", 0.0);
10628                 }
10629             }
10630             }
10631               parts {
10632               part { name: "size";
10633                     type: SWALLOW;
10634                     description { state: "default" 0.0;
10635                             rel1.relative: 0.5 0.5;
10636                             rel2.relative: 0.5 0.5;
10637                     }
10638                  }
10639               part {
10640                 name: "shadow";
10641                 type: IMAGE;
10642                 repeat_events: 1;
10643                 description {
10644                     state: "default" 0.0;
10645                     rel1.to: "size";
10646                     rel2.to: "size";
10647                     rel1.relative: -0.06 -0.06;
10648                     rel2.relative: 1.07 1.07;
10649                     image.normal: "shadow.png";
10650                 }
10651             }
10652
10653
10654                  part { name: "elm.swallow.content";
10655                     type: SWALLOW;
10656                     description { state: "default" 0.0;
10657                     rel1.offset: 3 3;
10658                     rel2.offset: -3 -3;
10659                             fixed: 1 1;
10660                     }
10661                  }
10662
10663                  part {
10664                 name: "border";
10665                 type: IMAGE;
10666                 repeat_events: 1;
10667                 description {
10668                     state: "default" 0.0;
10669                     visible: 1;
10670                     color: 0 0 0 255;
10671                     rel1.to: "size";
10672                     rel2.to: "size";
10673                     image.normal: "black.png";
10674                     image.border: 1 1 1 1;
10675                     image.middle: 0;
10676                 }
10677             }
10678                  }
10679    }
10680
10681 ///////////////////////////////////////////////////////////////////////////////
10682    group { name: "elm/thumb/base/default";
10683       images {
10684          image: "frame_1.png" COMP;
10685          image: "frame_2.png" COMP;
10686          image: "dia_grad.png" COMP;
10687          image: "busy-1.png" COMP;
10688          image: "busy-2.png" COMP;
10689          image: "busy-3.png" COMP;
10690          image: "busy-4.png" COMP;
10691          image: "busy-5.png" COMP;
10692          image: "busy-6.png" COMP;
10693          image: "busy-7.png" COMP;
10694          image: "busy-8.png" COMP;
10695          image: "busy-9.png" COMP;
10696       }
10697       parts {
10698          part { name: "base0";
10699             mouse_events:  0;
10700             description { state:        "default" 0.0;
10701                image.normal: "dia_grad.png";
10702                rel1.to: "over";
10703                rel2.to: "over";
10704                fill {
10705                   smooth: 0;
10706                   size {
10707                      relative: 0.0 1.0;
10708                      offset: 64 0;
10709                   }
10710                }
10711             }
10712          }
10713          part { name: "base";
10714             mouse_events:  0;
10715             description { state:        "default" 0.0;
10716                image {
10717                   normal: "frame_2.png";
10718                   border: 5 5 32 26;
10719                   middle: 0;
10720                }
10721                fill.smooth : 0;
10722             }
10723          }
10724          part { name: "clip";
10725             mouse_events:  0;
10726             type: RECT;
10727             description { state:        "default" 0.0;
10728                rel1.offset: 4 4;
10729                rel2.offset: -5 -5;
10730                color: 255 255 255 255;
10731             }
10732          }
10733          part { name: "elm.swallow.content";
10734             type: SWALLOW;
10735             clip_to: "clip";
10736             description { state:        "default" 0.0;
10737                rel1.offset: 4 4;
10738                rel2.offset: -5 -5;
10739             }
10740          }
10741          part { name: "progress";
10742             mouse_events: 0;
10743
10744             clip_to: "clip";
10745             description { state:        "default" 0.0;
10746                min: 32 32;
10747                max: 32 32;
10748                visible: 0;
10749                aspect: 1.0 1.0;
10750                aspect_preference: BOTH;
10751             }
10752             description { state:        "pulse" 0.0;
10753                inherit: "default" 0.0;
10754                visible: 1;
10755                image {
10756                   normal: "busy-9.png";
10757                   tween:  "busy-1.png";
10758                   tween:  "busy-2.png";
10759                   tween:  "busy-3.png";
10760                   tween:  "busy-4.png";
10761                   tween:  "busy-5.png";
10762                   tween:  "busy-6.png";
10763                   tween:  "busy-7.png";
10764                   tween:  "busy-8.png";
10765                   border: 7 7 7 7;
10766                }
10767             }
10768          }
10769          part { name: "over";
10770             mouse_events:  0;
10771             description { state:        "default" 0.0;
10772                rel1.offset: 4 4;
10773                rel2.offset: -5 -5;
10774                image {
10775                   normal: "frame_1.png";
10776                   border: 2 2 28 22;
10777                   middle: 0;
10778                }
10779                fill.smooth: 0;
10780             }
10781          }
10782          programs {
10783             program { name: "start_pulse";
10784                signal: "elm,state,pulse,start";
10785                source: "elm";
10786                action: STATE_SET "pulse" 0.0;
10787                target: "progress";
10788                transition: LINEAR 0.5;
10789                after: "start_pulse";
10790             }
10791             program { name: "stop_pulse";
10792                signal: "elm,state,pulse,stop";
10793                source: "elm";
10794                action: STATE_SET "default" 0.0;
10795                target: "progress";
10796             }
10797          }
10798       }
10799    }
10800
10801    group { name: "elm/thumb/base/noframe";
10802       images {
10803          image: "busy-1.png" COMP;
10804          image: "busy-2.png" COMP;
10805          image: "busy-3.png" COMP;
10806          image: "busy-4.png" COMP;
10807          image: "busy-5.png" COMP;
10808          image: "busy-6.png" COMP;
10809          image: "busy-7.png" COMP;
10810          image: "busy-8.png" COMP;
10811          image: "busy-9.png" COMP;
10812       }
10813       parts {
10814          part { name: "elm.swallow.content";
10815             type: SWALLOW;
10816             description { state: "default" 0.0;
10817                rel1.offset: 4 4;
10818                rel2.offset: -5 -5;
10819             }
10820          }
10821          part { name: "progress";
10822             mouse_events: 0;
10823             description { state:        "default" 0.0;
10824                min: 32 32;
10825                max: 32 32;
10826                visible: 0;
10827                aspect: 1.0 1.0;
10828                aspect_preference: BOTH;
10829             }
10830             description { state:        "pulse" 0.0;
10831                inherit: "default" 0.0;
10832                visible: 1;
10833                image {
10834                   normal: "busy-9.png";
10835                   tween:  "busy-1.png";
10836                   tween:  "busy-2.png";
10837                   tween:  "busy-3.png";
10838                   tween:  "busy-4.png";
10839                   tween:  "busy-5.png";
10840                   tween:  "busy-6.png";
10841                   tween:  "busy-7.png";
10842                   tween:  "busy-8.png";
10843                   border: 7 7 7 7;
10844                }
10845             }
10846          }
10847          programs {
10848             program { name: "start_pulse";
10849                signal: "elm,state,pulse,start";
10850                source: "elm";
10851                action: STATE_SET "pulse" 0.0;
10852                target: "progress";
10853                transition: LINEAR 0.5;
10854                after: "start_pulse";
10855             }
10856             program { name: "stop_pulse";
10857                signal: "elm,state,pulse,stop";
10858                source: "elm";
10859                action: STATE_SET "default" 0.0;
10860                target: "progress";
10861             }
10862          }
10863       }
10864    }
10865
10866
10867 ///////////////////////////////////////////////////////////////////////////////
10868 #define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max)                   \
10869    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10870       alias: "elm/icon/"##Alias##"/default";                            \
10871       images.image: File COMP; parts { part { name: "base";             \
10872             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10873                image.normal: File; } } } }
10874
10875 #define GROUP_ICON(Name, File, Min, Max)                      \
10876    group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
10877       images.image: File COMP; parts { part { name: "base";             \
10878             description { aspect: 1.0 1.0; aspect_preference: BOTH;     \
10879                image.normal: File; } } } }
10880
10881    group { name: "elm/icon/arrow_down/default";
10882            alias: "elm/icon/toolbar/arrow_down/default";
10883            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10884       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10885          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10886             image.normal: "icon_arrow_down.png"; } } } }
10887
10888    GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
10889    GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
10890    GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
10891    GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
10892    GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
10893    GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
10894    GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
10895    GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
10896    GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
10897    GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
10898    GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
10899    GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
10900    GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
10901 ///////////////////////////////////////////////////////////////////////////////
10902    GROUP_ICON("menu/home", "icon_home.png", 24, 24);
10903    GROUP_ICON("menu/close", "icon_close.png", 24, 24);
10904    GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
10905    GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
10906    GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
10907    GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
10908    GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
10909    GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
10910    GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
10911    GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
10912    GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
10913    GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
10914    GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
10915    GROUP_ICON("menu/file", "icon_file.png", 24, 24);
10916
10917    GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
10918    GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
10919    GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
10920    GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
10921    GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
10922    GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
10923    GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
10924    GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
10925
10926 ///////////////////////////////////////////////////////////////////////////////
10927    group { name: "elm/toolbar/base/default";
10928       images {
10929          image: "bt_dis_base.png" COMP;
10930          image: "bt_dis_hilight.png" COMP;
10931          image: "bt_dis_shine.png" COMP;
10932          image: "icon_left_arrow.png" COMP;
10933          image: "icon_right_arrow.png" COMP;
10934       }
10935       parts {
10936          part { name: "base";
10937             mouse_events: 1;
10938             description { state: "default" 0.0;
10939                rel1 {
10940                   relative: 0.0 0.0;
10941                   offset: 2 2;
10942                }
10943                rel2.offset: -3 -3;
10944                image {
10945                   normal: "bt_dis_base.png";
10946                   border: 4 4 4 4;
10947                }
10948                image.middle: SOLID;
10949             }
10950          }
10951          part { name: "clipper";
10952             type: RECT;
10953             mouse_events: 0;
10954             description {
10955                state: "default" 0.0;
10956                rel1 {
10957                   to: "base";
10958                   offset: 2 2;
10959                }
10960                rel2 {
10961                   to: "base";
10962                   offset: -3 -3;
10963                }
10964             }
10965          }
10966          part { name: "elm.swallow.content";
10967             clip_to: "clipper";
10968             type: SWALLOW;
10969             description {
10970                state: "default" 0.0;
10971                rel1.to: "clipper";
10972                rel2.to: "clipper";
10973             }
10974          }
10975          part { name: "over2";
10976             mouse_events: 0;
10977             description { state: "default" 0.0;
10978                rel1.to: "base";
10979                rel2.to: "base";
10980                image {
10981                   normal: "bt_dis_shine.png";
10982                   border: 4 4 4 4;
10983                }
10984             }
10985          }
10986          part { name: "over1";
10987             mouse_events: 0;
10988             description { state: "default" 0.0;
10989                rel1.to: "base";
10990                rel2.to: "base";
10991                rel2.relative: 1.0 0.5;
10992                image {
10993                   normal: "bt_dis_hilight.png";
10994                   border: 4 4 4 0;
10995                }
10996                color: 255 255 255 128;
10997             }
10998          }
10999          part { name: "left_arrow";
11000             mouse_events: 0;
11001             description { state: "default" 0.0;
11002                image.normal: "icon_left_arrow.png";
11003                aspect: 1.0 1.0;
11004                aspect_preference: VERTICAL;
11005                align: 0.0 0.5;
11006                min: 32 32;
11007                max: 32 32;
11008             }
11009             description { state: "hidden" 0.0;
11010                inherit: "default" 0.0;
11011                visible: 0;
11012                color: 255 255 255 0;
11013             }
11014          }
11015          part { name: "right_arrow";
11016             mouse_events: 0;
11017             description { state: "default" 0.0;
11018                image.normal: "icon_right_arrow.png";
11019                aspect: 1.0 1.0;
11020                aspect_preference: VERTICAL;
11021                align: 1.0 0.5;
11022                min: 32 32;
11023                max: 32 32;
11024             }
11025             description { state: "hidden" 0.0;
11026                inherit: "default" 0.0;
11027                visible: 0;
11028                color: 255 255 255 0;
11029             }
11030          }
11031          part { name: "event";
11032             type: RECT;
11033             mouse_events: 1;
11034             repeat_events: 1;
11035             description { state: "default" 0.0;
11036                color: 0 0 0 0;
11037             }
11038          }
11039       }
11040       programs {
11041          program { name: "sb_hbar_show";
11042             signal: "elm,action,show,hbar";
11043             source: "elm";
11044             action:  STATE_SET "default" 0.0;
11045             transition: LINEAR 0.5;
11046             target: "left_arrow";
11047             target: "right_arrow";
11048          }
11049          program { name: "sb_hbar_hide";
11050             signal: "elm,action,hide,hbar";
11051             source: "elm";
11052             action:  STATE_SET "hidden" 0.0;
11053             target: "left_arrow";
11054             target: "right_arrow";
11055             transition: LINEAR 0.5;
11056          }
11057       }
11058    }
11059
11060    group { name: "elm/toolbar/item/default";
11061        images {
11062            image: "toolbar_sel.png" COMP;
11063        }
11064        data.item: "transition_animation_on" "1";
11065        parts {
11066            part { name: "label2";
11067                type: TEXT;
11068                mouse_events:  0;
11069                scale: 1;
11070                clip_to: "elm.text.clipper";
11071                description { state: "default" 0.0;
11072                    align: 0.5 1.0;
11073                    fixed: 0 1;
11074                    rel1.to: "elm.text";
11075                    rel2.to: "elm.text";
11076                    color: 0 0 0 255;
11077                    text {
11078                        font: "Sans";
11079                        text_source: "elm.text";
11080                        size: 10;
11081                        min: 1 1;
11082                        align: 0.5 0.5;
11083                        text_class: "toolbar_item";
11084                    }
11085                }
11086                description { state: "selected" 0.0;
11087                    inherit: "default" 0.0;
11088                    visible: 0;
11089                }
11090                description { state: "disabled" 0.0;
11091                    inherit: "default" 0.0;
11092                    color: 0 0 0 128;
11093                    color3: 0 0 0 0;
11094                }
11095                description { state: "disabled_visible" 0.0;
11096                    inherit: "default" 0.0;
11097                    color: 0 0 0 128;
11098                    color3: 0 0 0 0;
11099                    visible: 1;
11100                    text.min: 1 1;
11101                }
11102            }
11103            part { name: "label2_new";
11104                type: TEXT;
11105                mouse_events:  0;
11106                scale: 1;
11107                clip_to: "elm.text_new.clipper";
11108                description { state: "default" 0.0;
11109                    align: 0.5 1.0;
11110                    fixed: 0 1;
11111                    rel1.to: "elm.text_new";
11112                    rel2.to: "elm.text_new";
11113                    color: 0 0 0 255;
11114                    text {
11115                        font: "Sans";
11116                        text_source: "elm.text_new";
11117                        size: 10;
11118                        min: 1 1;
11119                        align: 0.5 0.5;
11120                        text_class: "toolbar_item";
11121                    }
11122                }
11123                description { state: "selected" 0.0;
11124                    inherit: "default" 0.0;
11125                    visible: 0;
11126                }
11127                description { state: "disabled" 0.0;
11128                    inherit: "default" 0.0;
11129                    color: 0 0 0 128;
11130                    color3: 0 0 0 0;
11131                }
11132                description { state: "disabled_visible" 0.0;
11133                    inherit: "default" 0.0;
11134                    color: 0 0 0 128;
11135                    color3: 0 0 0 0;
11136                    visible: 1;
11137                    text.min: 1 1;
11138                }
11139            }
11140            part { name: "bg";
11141                mouse_events: 0;
11142                description { state: "default" 0.0;
11143                    visible: 0;
11144                    color: 255 255 255 0;
11145                    image {
11146                        normal: "toolbar_sel.png";
11147                        border: 3 3 0 0;
11148                    }
11149                    image.middle: SOLID;
11150                    fill.smooth: 0;
11151                }
11152                description { state: "selected" 0.0;
11153                    inherit: "default" 0.0;
11154                    visible: 1;
11155                    color: 255 255 255 255;
11156                }
11157                description { state: "disabled" 0.0;
11158                    inherit: "default" 0.0;
11159                    visible: 0;
11160                    color: 255 255 255 0;
11161                }
11162            }
11163            part { name: "elm.swallow.icon";
11164                type: SWALLOW;
11165                clip_to: "elm.icon.clipper";
11166                description { state: "default" 0.0;
11167                    align: 0.5 0.5;
11168                    fixed: 0 0;
11169                    rel1 {
11170                        relative: 0.0 0.0;
11171                        offset: 2 2;
11172                    }
11173                    rel2 {
11174                        to_y: "elm.text";
11175                        relative: 1.0 0.0;
11176                        offset: -3 -1;
11177                    }
11178                    color: 0 0 0 0;
11179                }
11180            }
11181            part { name: "elm.swallow.icon_new";
11182                type: SWALLOW;
11183                clip_to: "elm.icon_new.clipper";
11184                description { state: "default" 0.0;
11185                    align: 0.5 0.5;
11186                    fixed: 0 0;
11187                    rel1 {
11188                        relative: 0.0 0.0;
11189                        offset: 2 2;
11190                    }
11191                    rel2 {
11192                        to_y: "elm.text_new";
11193                        relative: 1.0 0.0;
11194                        offset: -3 -1;
11195                    }
11196                    color: 0 0 0 0;
11197                }
11198            }
11199            part { name: "elm.text";
11200                type: TEXT;
11201                effect: SOFT_SHADOW;
11202                mouse_events:  0;
11203                scale: 1;
11204                clip_to: "elm.text.clipper";
11205                description { state: "default" 0.0;
11206                    align: 0.5 1.0;
11207                    fixed: 0 1;
11208                    rel1 {
11209                        relative: 0.0 1.0;
11210                        offset:   0 -1;
11211                    }
11212                    rel2 {
11213                        relative: 1.0 1.0;
11214                        offset:   -1 -1;
11215                    }
11216                    visible: 0;
11217                    color: 224 224 224 255;
11218                    color3: 0 0 0 32;
11219                    text {
11220                        font: "Sans:style=Bold";
11221                        size: 10;
11222                        min: 1 1;
11223                        align: 0.5 0.5;
11224                        text_class: "toolbar_item";
11225                    }
11226                }
11227                description { state: "selected" 0.0;
11228                    inherit: "default" 0.0;
11229                    visible: 1;
11230                }
11231                description { state: "visible" 0.0;
11232                    inherit: "default" 0.0;
11233                    visible: 1;
11234                    text.min: 1 1;
11235                }
11236                description { state: "disabled" 0.0;
11237                    inherit: "default" 0.0;
11238                    color: 0 0 0 128;
11239                    color3: 0 0 0 0;
11240                }
11241                description { state: "disabled_visible" 0.0;
11242                    inherit: "default" 0.0;
11243                    color: 0 0 0 128;
11244                    color3: 0 0 0 0;
11245                    visible: 1;
11246                    text.min: 1 1;
11247                }
11248            }
11249            part { name: "elm.text_new";
11250                type: TEXT;
11251                effect: SOFT_SHADOW;
11252                mouse_events:  0;
11253                clip_to: "elm.text_new.clipper";
11254                scale: 1;
11255                description { state: "default" 0.0;
11256                    align: 0.5 1.0;
11257                    fixed: 0 1;
11258                    rel1 {
11259                        relative: 0.0 1.0;
11260                        offset:   0 -1;
11261                    }
11262                    rel2 {
11263                        relative: 1.0 1.0;
11264                        offset:   -1 -1;
11265                    }
11266                    visible: 0;
11267                    color: 224 224 224 255;
11268                    color3: 0 0 0 32;
11269                    text {
11270                        font: "Sans:style=Bold";
11271                        size: 10;
11272                        min: 1 1;
11273                        align: 0.5 0.5;
11274                        text_class: "toolbar_item";
11275                    }
11276                }
11277                description { state: "selected" 0.0;
11278                    inherit: "default" 0.0;
11279                    visible: 1;
11280                }
11281                description { state: "visible" 0.0;
11282                    inherit: "default" 0.0;
11283                    visible: 1;
11284                    text.min: 1 1;
11285                }
11286                description { state: "disabled" 0.0;
11287                    inherit: "default" 0.0;
11288                    color: 0 0 0 128;
11289                    color3: 0 0 0 0;
11290                }
11291                description { state: "disabled_visible" 0.0;
11292                    inherit: "default" 0.0;
11293                    color: 0 0 0 128;
11294                    color3: 0 0 0 0;
11295                    visible: 1;
11296                    text.min: 1 1;
11297                }
11298            }
11299            part { name: "elm.text.clipper";
11300                type: RECT;
11301                description { state: "default" 0.0;
11302                    color: 255 255 255 255;
11303                }
11304                description { state: "animation" 0.0;
11305                    color: 255 255 255 0;
11306                }
11307            }
11308            part { name: "elm.text_new.clipper";
11309                type: RECT;
11310                description { state: "default" 0.0;
11311                    color: 255 255 255 0;
11312                }
11313                description { state: "animation" 0.0;
11314                    color: 255 255 255 255;
11315                }
11316            }
11317            part { name: "elm.icon.clipper";
11318                type: RECT;
11319                description { state: "default" 0.0;
11320                    color: 255 255 255 255;
11321                }
11322                description { state: "animation" 0.0;
11323                    color: 255 255 255 0;
11324                }
11325            }
11326            part { name: "elm.icon_new.clipper";
11327                type: RECT;
11328                description { state: "default" 0.0;
11329                    color: 255 255 255 0;
11330                }
11331                description { state: "animation" 0.0;
11332                    color: 255 255 255 255;
11333                }
11334            }
11335            part { name: "event";
11336                type: RECT;
11337                mouse_events: 1;
11338                ignore_flags: ON_HOLD;
11339                description { state: "default" 0.0;
11340                    color: 0 0 0 0;
11341                }
11342            }
11343        }
11344        programs {
11345            program { name: "go_active";
11346                signal:  "elm,state,selected";
11347                source:  "elm";
11348                action:  STATE_SET "selected" 0.0;
11349                target:  "bg";
11350                target:  "elm.text";
11351                target:  "label2";
11352                target:  "elm.text_new";
11353                target:  "label2_new";
11354                transition: LINEAR 0.2;
11355            }
11356            program { name: "go_passive";
11357                signal:  "elm,state,unselected";
11358                source:  "elm";
11359                action:  STATE_SET "default" 0.0;
11360                target:  "bg";
11361                target:  "elm.text";
11362                target:  "label2";
11363                target:  "elm.text_new";
11364                target:  "label2_new";
11365                transition: LINEAR 0.1;
11366            }
11367            program { name: "go";
11368                signal:  "mouse,up,1";
11369                source:  "event";
11370                action:  SIGNAL_EMIT "elm,action,click" "elm";
11371            }
11372            program { name: "mouse,in";
11373               signal:  "mouse,in";
11374               source:  "event";
11375               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
11376            }
11377            program { name: "mouse,out";
11378               signal:  "mouse,out";
11379               source:  "event";
11380               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
11381            }
11382            program { name: "disable";
11383                signal: "elm,state,disabled";
11384                source: "elm";
11385                action: STATE_SET "disabled" 0.0;
11386                target: "label2";
11387                target: "label2_new";
11388                target: "bg";
11389                after: "disable_text";
11390            }
11391            program { name: "disable_text";
11392                script {
11393                    new st[31];
11394                    new Float:vl;
11395                    get_state(PART:"elm.text", st, 30, vl);
11396                    if (!strcmp(st, "visible"))
11397                    {
11398                       set_state(PART:"elm.text", "disabled_visible", 0.0);
11399                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
11400                    }
11401                    else
11402                    {
11403                       set_state(PART:"elm.text", "disabled", 0.0);
11404                       set_state(PART:"elm.text_new", "disabled", 0.0);
11405                    }
11406                }
11407            }
11408            program { name: "enable";
11409                signal: "elm,state,enabled";
11410                source: "elm";
11411                action: STATE_SET "default" 0.0;
11412                target: "label2";
11413                target: "label2_new";
11414                target: "bg";
11415                after: "enable_text";
11416            }
11417            program { name: "enable_text";
11418                script {
11419                    new st[31];
11420                    new Float:vl;
11421                    get_state(PART:"elm.text", st, 30, vl);
11422                    if (!strcmp(st, "disabled_visible"))
11423                    {
11424                       set_state(PART:"elm.text", "visible", 0.0);
11425                       set_state(PART:"elm.text_new", "visible", 0.0);
11426                    }
11427                    else
11428                    {
11429                       set_state(PART:"elm.text", "default", 0.0);
11430                       set_state(PART:"elm.text_new", "default", 0.0);
11431                    }
11432                }
11433            }
11434            program { name: "label_set,animation,forward";
11435               signal: "elm,state,label_set,forward";
11436               source: "elm";
11437               after: "label_set,animation";
11438            }
11439            program { name: "label_set,animation,backward";
11440               signal: "elm,state,label_set,backward";
11441               source: "elm";
11442               after: "label_set,animation";
11443            }
11444            program { name: "label_set,animation";
11445               signal: "elm,state,label_set";
11446               source: "elm";
11447               action: STATE_SET "animation" 0.0;
11448               target: "elm.text.clipper";
11449               target: "elm.text_new.clipper";
11450               transition: LINEAR 0.2;
11451               after: "label_set,animation,done";
11452            }
11453            program { name: "label_set,animation,done";
11454               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11455            }
11456            program { name: "label,reset";
11457               signal: "elm,state,label,reset";
11458               source: "elm";
11459               action: STATE_SET "default" 0.0;
11460               target: "elm.text.clipper";
11461               target: "elm.text_new.clipper";
11462            }
11463            program { name: "icon_set,animation,forward";
11464               signal: "elm,state,icon_set,forward";
11465               source: "elm";
11466               after: "icon_set,animation";
11467            }
11468            program { name: "icon_set,animation,backward";
11469               signal: "elm,state,icon_set,backward";
11470               source: "elm";
11471               after: "icon_set,animation";
11472            }
11473            program { name: "icon_set,animation";
11474               signal: "elm,state,icon_set";
11475               source: "elm";
11476               action: STATE_SET "animation" 0.0;
11477               target: "elm.icon.clipper";
11478               target: "elm.icon_new.clipper";
11479               transition: LINEAR 0.2;
11480               after: "icon_set,animation,done";
11481            }
11482            program { name: "icon_set,animation,done";
11483               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11484            }
11485            program { name: "icon,reset";
11486               signal: "elm,state,icon,reset";
11487               source: "elm";
11488               action: STATE_SET "default" 0.0;
11489               target: "elm.icon.clipper";
11490               target: "elm.icon_new.clipper";
11491            }
11492        }
11493    }
11494
11495    group { name: "elm/toolbar/separator/default";
11496       images {
11497          image: "toolbar_separator_v.png" COMP;
11498       }
11499       parts {
11500          part { name: "separator"; // separator group
11501             description { state: "default" 0.0;
11502                min: 2 2;
11503                max: 2 9999;
11504                rel1.offset: 4 4;
11505                rel2.offset: -5 -5;
11506                image {
11507                   normal: "toolbar_separator_v.png";
11508                }
11509                fill {
11510                   smooth: 0;
11511                }
11512             }
11513          }
11514       }
11515    }
11516
11517    ///////////////////////////////////////////////////////////////////////////////
11518    group { name: "elm/notify/block_events/default";
11519        parts {
11520            part { name: "block_events";
11521                type: RECT;
11522                description { state: "default" 0.0;
11523                    color: 0 0 0 64;
11524                    visible: 1;
11525                }
11526            }
11527        }
11528            programs {
11529                    program {
11530                                 name: "block_clicked";
11531                                 signal: "mouse,clicked,1";
11532                                 source: "block_events";
11533                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11534                    }
11535            }
11536    }
11537    group { name: "elm/notify/top/default";
11538        //this group is a design similar to the inwin group
11539        images {
11540            image: "shad_circ.png" COMP;
11541            image: "bt_dis_base.png" COMP;
11542            image: "bt_dis_hilight.png" COMP;
11543        }
11544        parts {
11545            part { name: "base";
11546                type: RECT;
11547                mouse_events: 0;
11548                repeat_events: 1;
11549                description { state: "default" 0.0;
11550                    color: 0 0 0 0;
11551                    rel1.offset: 10 10;
11552                    rel2.offset: -10 -10;
11553                    rel1.relative: 0.0 -1.0;
11554                    rel2.relative: 1.0 0.0;
11555                }
11556                description { state: "visible" 0.0;
11557                    inherit: "default" 0.0;
11558                    color: 0 0 0 64;
11559                    rel1.relative: 0.0 0.0;
11560                    rel2.relative: 1.0 1.0;
11561                }
11562            }
11563            part { name: "shad";
11564                mouse_events:  0;
11565                description { state: "default" 0.0;
11566                    image.normal: "shad_circ.png";
11567                    rel1.to: "elm.swallow.content";
11568                    rel1.offset: -64 -64;
11569                    rel2.to: "elm.swallow.content";
11570                    rel2.offset: 63 63;
11571                    fill.smooth: 0;
11572                }
11573            }
11574            part { name: "pop";
11575                mouse_events: 1;
11576                description { state: "default" 0.0;
11577                    rel1.to: "elm.swallow.content";
11578                    rel1.offset: -5 -5;
11579                    rel2.to: "elm.swallow.content";
11580                    rel2.offset: 4 4;
11581                    image {
11582                        normal: "bt_dis_base.png";
11583                        border: 4 4 4 4;
11584                    }
11585                    image.middle: SOLID;
11586                }
11587            }
11588            part { name: "popover";
11589                mouse_events: 0;
11590                description { state: "default" 0.0;
11591                    rel1.to: "pop";
11592                    rel2.to: "pop";
11593                    rel2.relative: 1.0 0.5;
11594                    image {
11595                        normal: "bt_dis_hilight.png";
11596                        border: 4 4 4 0;
11597                    }
11598                }
11599            }
11600            part { name: "elm.swallow.content";
11601                type: SWALLOW;
11602                description { state: "default" 0.0;
11603                    rel1.to: "base";
11604                    rel2.to: "base";
11605                }
11606            }
11607        }
11608        programs {
11609            program { name: "show";
11610                signal: "elm,action,show";
11611                source: "elm";
11612                action: STATE_SET "visible" 0.0;
11613                target: "base";
11614            }
11615            program { name: "show_2";
11616                 signal: "show";
11617                 action: STATE_SET "default" 0.0;
11618                 target: "base";
11619                 after: "show_3";
11620            }
11621            program { name: "show_3";
11622                 signal: "show";
11623                 action: STATE_SET "visible" 0.0;
11624                 target: "base";
11625                 transition: LINEAR 0.5;
11626            }
11627            program { name: "hide";
11628                signal: "elm,action,hide";
11629                source: "elm";
11630                action: STATE_SET "default" 0.0;
11631                target: "base";
11632            }
11633        }
11634    }
11635    group { name: "elm/notify/center/default";
11636        //this group is a design similar to the inwin group
11637        images {
11638            image: "bt_dis_base.png" COMP;
11639        }
11640        parts {
11641            part { name: "base";
11642                type: RECT;
11643                mouse_events: 0;
11644                repeat_events: 1;
11645                description { state: "default" 0.0;
11646                    color: 0 0 0 0;
11647                    rel1.relative: 0.0 0.0;
11648                    rel2.relative: 1.0 1.0;
11649                }
11650            }
11651            part { name: "pop";
11652                mouse_events: 1;
11653                description { state: "default" 0.0;
11654                    rel1.to: "elm.swallow.content";
11655                    rel1.offset: -5 -5;
11656                    rel2.to: "elm.swallow.content";
11657                    rel2.offset: 4 4;
11658                    image {
11659                        normal: "bt_dis_base.png";
11660                        border: 4 4 4 4;
11661                    }
11662                }
11663            }
11664            part { name: "elm.swallow.content";
11665                type: SWALLOW;
11666                description { state: "default" 0.0;
11667                    rel1.to: "base";
11668                    rel2.to: "base";
11669                }
11670            }
11671        }
11672        programs {
11673            program { name: "show";
11674                signal: "elm,action,show";
11675                source: "elm";
11676                action: STATE_SET "default" 0.0;
11677                target: "base";
11678            }
11679            program { name: "show_2";
11680                 signal: "show";
11681                 action: STATE_SET "default" 0.0;
11682                 target: "base";
11683            }
11684            program { name: "hide";
11685                signal: "elm,action,hide";
11686                source: "elm";
11687                action: STATE_SET "default" 0.0;
11688                target: "base";
11689            }
11690        }
11691    }
11692    group { name: "elm/notify/bottom/default";
11693        //this group is a design similar to the inwin group
11694        images {
11695            image: "shad_circ.png" COMP;
11696            image: "bt_dis_base.png" COMP;
11697            image: "bt_dis_hilight.png" COMP;
11698        }
11699        parts {
11700            part { name: "base";
11701                type: RECT;
11702                mouse_events: 0;
11703                repeat_events: 1;
11704                description { state: "default" 0.0;
11705                    color: 0 0 0 0;
11706                    rel1.offset: 10 10;
11707                    rel2.offset: -10 -10;
11708                    rel1.relative: 0.0 1.0;
11709                    rel2.relative: 1.0 2.0;
11710                }
11711                description { state: "visible" 0.0;
11712                    inherit: "default" 0.0;
11713                    color: 0 0 0 64;
11714                    rel1.relative: 0.0 0.0;
11715                    rel2.relative: 1.0 1.0;
11716                }
11717            }
11718            part { name: "shad";
11719                mouse_events:  0;
11720                description { state: "default" 0.0;
11721                    image.normal: "shad_circ.png";
11722                    rel1.to: "elm.swallow.content";
11723                    rel1.offset: -64 -64;
11724                    rel2.to: "elm.swallow.content";
11725                    rel2.offset: 63 63;
11726                    fill.smooth: 0;
11727                }
11728            }
11729            part { name: "pop";
11730                mouse_events: 1;
11731                description { state: "default" 0.0;
11732                    rel1.to: "elm.swallow.content";
11733                    rel1.offset: -5 -5;
11734                    rel2.to: "elm.swallow.content";
11735                    rel2.offset: 4 4;
11736                    image {
11737                        normal: "bt_dis_base.png";
11738                        border: 4 4 4 4;
11739                    }
11740                    image.middle: SOLID;
11741                }
11742            }
11743            part { name: "popover";
11744                mouse_events: 0;
11745                description { state: "default" 0.0;
11746                    rel1.to: "pop";
11747                    rel2.to: "pop";
11748                    rel2.relative: 1.0 0.5;
11749                    image {
11750                        normal: "bt_dis_hilight.png";
11751                        border: 4 4 4 0;
11752                    }
11753                }
11754            }
11755            part { name: "elm.swallow.content";
11756                type: SWALLOW;
11757                description { state: "default" 0.0;
11758                    rel1.to: "base";
11759                    rel2.to: "base";
11760                }
11761            }
11762        }
11763        programs {
11764            program { name: "show";
11765                signal: "elm,action,show";
11766                source: "elm";
11767                action: STATE_SET "visible" 0.0;
11768                target: "base";
11769            }
11770            program { name: "show_2";
11771                 signal: "show";
11772                 action: STATE_SET "default" 0.0;
11773                 target: "base";
11774                 after: "show_3";
11775            }
11776            program { name: "show_3";
11777                 signal: "show";
11778                 action: STATE_SET "visible" 0.0;
11779                 target: "base";
11780                 transition: LINEAR 0.5;
11781            }
11782            program { name: "hide";
11783                signal: "elm,action,hide";
11784                source: "elm";
11785                action: STATE_SET "default" 0.0;
11786                target: "base";
11787            }
11788        }
11789    }
11790    group { name: "elm/notify/left/default";
11791        //this group is a design similar to the inwin group
11792        images {
11793            image: "shad_circ.png" COMP;
11794            image: "bt_dis_base.png" COMP;
11795            image: "bt_dis_hilight.png" COMP;
11796        }
11797        parts {
11798            part { name: "base";
11799                type: RECT;
11800                mouse_events: 0;
11801                repeat_events: 1;
11802                description { state: "default" 0.0;
11803                    color: 0 0 0 0;
11804                    rel1.offset: 10 10;
11805                    rel2.offset: -10 -10;
11806                    rel1.relative: -1.0 0.0;
11807                    rel2.relative: 0.0 1.0;
11808                }
11809                description { state: "visible" 0.0;
11810                    inherit: "default" 0.0;
11811                    color: 0 0 0 64;
11812                    rel1.relative: 0.0 0.0;
11813                    rel2.relative: 1.0 1.0;
11814                }
11815            }
11816            part { name: "shad";
11817                mouse_events:  0;
11818                description { state: "default" 0.0;
11819                    image.normal: "shad_circ.png";
11820                    rel1.to: "elm.swallow.content";
11821                    rel1.offset: -64 -64;
11822                    rel2.to: "elm.swallow.content";
11823                    rel2.offset: 63 63;
11824                    fill.smooth: 0;
11825                }
11826            }
11827            part { name: "pop";
11828                mouse_events: 1;
11829                description { state: "default" 0.0;
11830                    rel1.to: "elm.swallow.content";
11831                    rel1.offset: -5 -5;
11832                    rel2.to: "elm.swallow.content";
11833                    rel2.offset: 4 4;
11834                    image {
11835                        normal: "bt_dis_base.png";
11836                        border: 4 4 4 4;
11837                    }
11838                    image.middle: SOLID;
11839                }
11840            }
11841            part { name: "popover";
11842                mouse_events: 0;
11843                description { state: "default" 0.0;
11844                    rel1.to: "pop";
11845                    rel2.to: "pop";
11846                    rel2.relative: 1.0 0.5;
11847                    image {
11848                        normal: "bt_dis_hilight.png";
11849                        border: 4 4 4 0;
11850                    }
11851                }
11852            }
11853            part { name: "elm.swallow.content";
11854                type: SWALLOW;
11855                description { state: "default" 0.0;
11856                    rel1.to: "base";
11857                    rel2.to: "base";
11858                }
11859            }
11860        }
11861        programs {
11862            program { name: "show";
11863                signal: "elm,action,show";
11864                source: "elm";
11865                action: STATE_SET "visible" 0.0;
11866                target: "base";
11867            }
11868            program { name: "show_2";
11869                signal: "show";
11870                action: STATE_SET "default" 0.0;
11871                target: "base";
11872                after: "show_3";
11873            }
11874            program { name: "show_3";
11875                signal: "show";
11876                action: STATE_SET "visible" 0.0;
11877                target: "base";
11878                transition: LINEAR 0.5;
11879            }
11880            program { name: "hide";
11881                signal: "elm,action,hide";
11882                source: "elm";
11883                action: STATE_SET "default" 0.0;
11884                target: "base";
11885            }
11886        }
11887    }
11888    group { name: "elm/notify/right/default";
11889        //this group is a design similar to the inwin group
11890        images {
11891            image: "shad_circ.png" COMP;
11892            image: "bt_dis_base.png" COMP;
11893            image: "bt_dis_hilight.png" COMP;
11894        }
11895        parts {
11896            part { name: "base";
11897                type: RECT;
11898                mouse_events: 0;
11899                repeat_events: 1;
11900                 description { state: "default" 0.0;
11901                    color: 0 0 0 0;
11902                    rel1.offset: 10 10;
11903                    rel2.offset: -10 -10;
11904                    rel1.relative: 1.0 0.0;
11905                    rel2.relative: 2.0 1.0;
11906                }
11907                description { state: "visible" 0.0;
11908                    inherit: "default" 0.0;
11909                    color: 0 0 0 64;
11910                    rel1.relative: 0.0 0.0;
11911                    rel2.relative: 1.0 1.0;
11912                }
11913            }
11914            part { name: "shad";
11915                mouse_events:  0;
11916                description { state: "default" 0.0;
11917                    image.normal: "shad_circ.png";
11918                    rel1.to: "elm.swallow.content";
11919                    rel1.offset: -64 -64;
11920                    rel2.to: "elm.swallow.content";
11921                    rel2.offset: 63 63;
11922                    fill.smooth: 0;
11923                }
11924            }
11925            part { name: "pop";
11926                mouse_events: 1;
11927                description { state: "default" 0.0;
11928                    rel1.to: "elm.swallow.content";
11929                    rel1.offset: -5 -5;
11930                    rel2.to: "elm.swallow.content";
11931                    rel2.offset: 4 4;
11932                    image {
11933                        normal: "bt_dis_base.png";
11934                        border: 4 4 4 4;
11935                    }
11936                    image.middle: SOLID;
11937                }
11938            }
11939            part { name: "popover";
11940                mouse_events: 0;
11941                description { state: "default" 0.0;
11942                    rel1.to: "pop";
11943                    rel2.to: "pop";
11944                    rel2.relative: 1.0 0.5;
11945                    image {
11946                        normal: "bt_dis_hilight.png";
11947                        border: 4 4 4 0;
11948                    }
11949                }
11950            }
11951            part { name: "elm.swallow.content";
11952                type: SWALLOW;
11953                description { state: "default" 0.0;
11954                    rel1.to: "base";
11955                    rel2.to: "base";
11956                }
11957            }
11958        }
11959        programs {
11960            program { name: "show";
11961                signal: "elm,action,show";
11962                source: "elm";
11963                action: STATE_SET "visible" 0.0;
11964                target: "base";
11965            }
11966            program { name: "show_2";
11967                signal: "show";
11968                action: STATE_SET "default" 0.0;
11969                target: "base";
11970                after: "show_3";
11971            }
11972            program { name: "show_3";
11973                signal: "show";
11974                action: STATE_SET "visible" 0.0;
11975                target: "base";
11976                transition: LINEAR 0.5;
11977            }
11978            program { name: "hide";
11979                signal: "elm,action,hide";
11980                source: "elm";
11981                action: STATE_SET "default" 0.0;
11982                target: "base";
11983            }
11984        }
11985    }
11986    group { name: "elm/notify/top_left/default";
11987        //this group is a design similar to the inwin group
11988        images {
11989            image: "shad_circ.png" COMP;
11990            image: "bt_dis_base.png" COMP;
11991            image: "bt_dis_hilight.png" COMP;
11992        }
11993        parts {
11994            part { name: "base";
11995                type: RECT;
11996                mouse_events: 0;
11997                repeat_events: 1;
11998                 description { state: "default" 0.0;
11999                    color: 0 0 0 0;
12000                    rel1.offset: 10 10;
12001                    rel2.offset: -10 -10;
12002                    rel1.relative: 0.0 -1.0;
12003                    rel2.relative: 1.0 0.0;
12004                }
12005                description { state: "visible" 0.0;
12006                    inherit: "default" 0.0;
12007                    color: 0 0 0 64;
12008                    rel1.relative: 0.0 0.0;
12009                    rel2.relative: 1.0 1.0;
12010                }
12011            }
12012            part { name: "shad";
12013                mouse_events:  0;
12014                description { state: "default" 0.0;
12015                    image.normal: "shad_circ.png";
12016                    rel1.to: "elm.swallow.content";
12017                    rel1.offset: -64 -64;
12018                    rel2.to: "elm.swallow.content";
12019                    rel2.offset: 63 63;
12020                    fill.smooth: 0;
12021                }
12022            }
12023            part { name: "pop";
12024                mouse_events: 1;
12025                description { state: "default" 0.0;
12026                    rel1.to: "elm.swallow.content";
12027                    rel1.offset: -5 -5;
12028                    rel2.to: "elm.swallow.content";
12029                    rel2.offset: 4 4;
12030                    image {
12031                        normal: "bt_dis_base.png";
12032                        border: 4 4 4 4;
12033                    }
12034                    image.middle: SOLID;
12035                }
12036            }
12037            part { name: "popover";
12038                mouse_events: 0;
12039                description { state: "default" 0.0;
12040                    rel1.to: "pop";
12041                    rel2.to: "pop";
12042                    rel2.relative: 1.0 0.5;
12043                    image {
12044                        normal: "bt_dis_hilight.png";
12045                        border: 4 4 4 0;
12046                    }
12047                }
12048            }
12049            part { name: "elm.swallow.content";
12050                type: SWALLOW;
12051                description { state: "default" 0.0;
12052                    rel1.to: "base";
12053                    rel2.to: "base";
12054                }
12055            }
12056        }
12057        programs {
12058            program { name: "show";
12059                signal: "elm,action,show";
12060                source: "elm";
12061                action: STATE_SET "visible" 0.0;
12062                target: "base";
12063            }
12064            program { name: "show_2";
12065                signal: "show";
12066                action: STATE_SET "default" 0.0;
12067                target: "base";
12068                after: "show_3";
12069            }
12070            program { name: "show_3";
12071                signal: "show";
12072                action: STATE_SET "visible" 0.0;
12073                target: "base";
12074                transition: LINEAR 0.5;
12075            }
12076            program { name: "hide";
12077                signal: "elm,action,hide";
12078                source: "elm";
12079                action: STATE_SET "default" 0.0;
12080                target: "base";
12081            }
12082        }
12083    }
12084    group { name: "elm/notify/top_right/default";
12085        //this group is a design similar to the inwin group
12086        images {
12087            image: "shad_circ.png" COMP;
12088            image: "bt_dis_base.png" COMP;
12089            image: "bt_dis_hilight.png" COMP;
12090        }
12091        parts {
12092            part { name: "base";
12093                type: RECT;
12094                mouse_events: 0;
12095                repeat_events: 1;
12096                description { state: "default" 0.0;
12097                    color: 0 0 0 0;
12098                    rel1.offset: 10 10;
12099                    rel2.offset: -10 -10;
12100                    rel1.relative: 0.0 -1.0;
12101                    rel2.relative: 1.0 0.0;
12102                }
12103                description { state: "visible" 0.0;
12104                    inherit: "default" 0.0;
12105                    color: 0 0 0 64;
12106                    rel1.relative: 0.0 0.0;
12107                    rel2.relative: 1.0 1.0;
12108                }
12109            }
12110            part { name: "shad";
12111                mouse_events:  0;
12112                description { state: "default" 0.0;
12113                    image.normal: "shad_circ.png";
12114                    rel1.to: "elm.swallow.content";
12115                    rel1.offset: -64 -64;
12116                    rel2.to: "elm.swallow.content";
12117                    rel2.offset: 63 63;
12118                    fill.smooth: 0;
12119                }
12120            }
12121            part { name: "pop";
12122                mouse_events: 1;
12123                description { state: "default" 0.0;
12124                    rel1.to: "elm.swallow.content";
12125                    rel1.offset: -5 -5;
12126                    rel2.to: "elm.swallow.content";
12127                    rel2.offset: 4 4;
12128                    image {
12129                        normal: "bt_dis_base.png";
12130                        border: 4 4 4 4;
12131                    }
12132                    image.middle: SOLID;
12133                }
12134            }
12135            part { name: "popover";
12136                mouse_events: 0;
12137                description { state: "default" 0.0;
12138                    rel1.to: "pop";
12139                    rel2.to: "pop";
12140                    rel2.relative: 1.0 0.5;
12141                    image {
12142                        normal: "bt_dis_hilight.png";
12143                        border: 4 4 4 0;
12144                    }
12145                }
12146            }
12147            part { name: "elm.swallow.content";
12148                type: SWALLOW;
12149                description { state: "default" 0.0;
12150                    rel1.to: "base";
12151                    rel2.to: "base";
12152                }
12153            }
12154        }
12155        programs {
12156            program { name: "show";
12157                signal: "elm,action,show";
12158                source: "elm";
12159                action: STATE_SET "visible" 0.0;
12160                target: "base";
12161            }
12162            program { name: "show_2";
12163                signal: "show";
12164                action: STATE_SET "default" 0.0;
12165                target: "base";
12166                after: "show_3";
12167            }
12168            program { name: "show_3";
12169                signal: "show";
12170                action: STATE_SET "visible" 0.0;
12171                target: "base";
12172                transition: LINEAR 0.5;
12173            }
12174            program { name: "hide";
12175                signal: "elm,action,hide";
12176                source: "elm";
12177                action: STATE_SET "default" 0.0;
12178                target: "base";
12179            }
12180        }
12181    }
12182    group { name: "elm/notify/bottom_left/default";
12183        //this group is a design similar to the inwin group
12184        images {
12185            image: "shad_circ.png" COMP;
12186            image: "bt_dis_base.png" COMP;
12187            image: "bt_dis_hilight.png" COMP;
12188        }
12189        parts {
12190            part { name: "base";
12191                type: RECT;
12192                mouse_events: 0;
12193                repeat_events: 1;
12194                description { state: "default" 0.0;
12195                    color: 0 0 0 0;
12196                    rel1.offset: 10 10;
12197                    rel2.offset: -10 -10;
12198                    rel1.relative: 0.0 1.0;
12199                    rel2.relative: 1.0 2.0;
12200                }
12201                description { state: "visible" 0.0;
12202                    inherit: "default" 0.0;
12203                    color: 0 0 0 64;
12204                    rel1.relative: 0.0 0.0;
12205                    rel2.relative: 1.0 1.0;
12206                }
12207            }
12208            part { name: "shad";
12209                mouse_events:  0;
12210                description { state: "default" 0.0;
12211                    image.normal: "shad_circ.png";
12212                    rel1.to: "elm.swallow.content";
12213                    rel1.offset: -64 -64;
12214                    rel2.to: "elm.swallow.content";
12215                    rel2.offset: 63 63;
12216                    fill.smooth: 0;
12217                }
12218            }
12219            part { name: "pop";
12220                mouse_events: 1;
12221                description { state: "default" 0.0;
12222                    rel1.to: "elm.swallow.content";
12223                    rel1.offset: -5 -5;
12224                    rel2.to: "elm.swallow.content";
12225                    rel2.offset: 4 4;
12226                    image {
12227                        normal: "bt_dis_base.png";
12228                        border: 4 4 4 4;
12229                    }
12230                    image.middle: SOLID;
12231                }
12232            }
12233            part { name: "popover";
12234                mouse_events: 0;
12235                description { state: "default" 0.0;
12236                    rel1.to: "pop";
12237                    rel2.to: "pop";
12238                    rel2.relative: 1.0 0.5;
12239                    image {
12240                        normal: "bt_dis_hilight.png";
12241                        border: 4 4 4 0;
12242                    }
12243                }
12244            }
12245            part { name: "elm.swallow.content";
12246                type: SWALLOW;
12247                description { state: "default" 0.0;
12248                    rel1.to: "base";
12249                    rel2.to: "base";
12250                }
12251            }
12252        }
12253        programs {
12254            program { name: "show";
12255                signal: "elm,action,show";
12256                source: "elm";
12257                action: STATE_SET "visible" 0.0;
12258                target: "base";
12259            }
12260            program { name: "show_2";
12261                signal: "show";
12262                action: STATE_SET "default" 0.0;
12263                target: "base";
12264                after: "show_3";
12265            }
12266            program { name: "show_3";
12267                signal: "show";
12268                action: STATE_SET "visible" 0.0;
12269                target: "base";
12270                transition: LINEAR 0.5;
12271            }
12272            program { name: "hide";
12273                signal: "elm,action,hide";
12274                source: "elm";
12275                action: STATE_SET "default" 0.0;
12276                target: "base";
12277            }
12278        }
12279    }
12280    group { name: "elm/notify/bottom_right/default";
12281        //this group is a design similar to the inwin group
12282        images {
12283            image: "shad_circ.png" COMP;
12284            image: "bt_dis_base.png" COMP;
12285            image: "bt_dis_hilight.png" COMP;
12286        }
12287        parts {
12288            part { name: "base";
12289                type: RECT;
12290                mouse_events: 0;
12291                repeat_events: 1;
12292               description { state: "default" 0.0;
12293                    color: 0 0 0 0;
12294                    rel1.offset: 10 10;
12295                    rel2.offset: -10 -10;
12296                    rel1.relative: 0.0 1.0;
12297                    rel2.relative: 1.0 2.0;
12298                }
12299                description { state: "visible" 0.0;
12300                    inherit: "default" 0.0;
12301                    color: 0 0 0 64;
12302                    rel1.relative: 0.0 0.0;
12303                    rel2.relative: 1.0 1.0;
12304                }
12305            }
12306            part { name: "shad";
12307                mouse_events:  0;
12308                description { state: "default" 0.0;
12309                    image.normal: "shad_circ.png";
12310                    rel1.to: "elm.swallow.content";
12311                    rel1.offset: -64 -64;
12312                    rel2.to: "elm.swallow.content";
12313                    rel2.offset: 63 63;
12314                    fill.smooth: 0;
12315                }
12316            }
12317            part { name: "pop";
12318                mouse_events: 1;
12319                description { state: "default" 0.0;
12320                    rel1.to: "elm.swallow.content";
12321                    rel1.offset: -5 -5;
12322                    rel2.to: "elm.swallow.content";
12323                    rel2.offset: 4 4;
12324                    image {
12325                        normal: "bt_dis_base.png";
12326                        border: 4 4 4 4;
12327                    }
12328                    image.middle: SOLID;
12329                }
12330            }
12331            part { name: "popover";
12332                mouse_events: 0;
12333                description { state: "default" 0.0;
12334                    rel1.to: "pop";
12335                    rel2.to: "pop";
12336                    rel2.relative: 1.0 0.5;
12337                    image {
12338                        normal: "bt_dis_hilight.png";
12339                        border: 4 4 4 0;
12340                    }
12341                }
12342            }
12343            part { name: "elm.swallow.content";
12344                type: SWALLOW;
12345                description { state: "default" 0.0;
12346                    rel1.to: "base";
12347                    rel2.to: "base";
12348                }
12349            }
12350        }
12351        programs {
12352            program { name: "show";
12353                signal: "elm,action,show";
12354                source: "elm";
12355                action: STATE_SET "visible" 0.0;
12356                target: "base";
12357            }
12358            program { name: "show_2";
12359                signal: "show";
12360                action: STATE_SET "default" 0.0;
12361                target: "base";
12362                after: "show_3";
12363            }
12364            program { name: "show_3";
12365                signal: "show";
12366                action: STATE_SET "visible" 0.0;
12367                target: "base";
12368                transition: LINEAR 0.5;
12369            }
12370            program { name: "hide";
12371                signal: "elm,action,hide";
12372                source: "elm";
12373                action: STATE_SET "default" 0.0;
12374                target: "base";
12375            }
12376        }
12377    }
12378
12379 ///////////////////////////////////////////////////////////////////////////////
12380    group { name: "elm/slideshow/base/default";
12381       data {
12382          item: transitions "fade black_fade horizontal vertical square";
12383          item: layouts "fullscreen not_fullscreen";
12384       }
12385       parts {
12386          part { name: "whole";
12387                  type: RECT;
12388             description {
12389                state: "default" 0.0;
12390                visible: 1;
12391                color: 20 20 20 255;
12392             }
12393          }
12394          part { name: "image_1_whole";
12395             type: RECT;
12396             description {
12397                state: "default" 0.0;
12398                color: 255 255 255 255;
12399             }
12400             description {
12401                state: "fade_prev_next" 0.0;
12402                inherit: "default" 0.0;
12403                color: 255 255 255 0;
12404             }
12405             description {
12406                state: "black_fade_prev_next_init" 0.0;
12407                inherit: "default" 0.0;
12408                color: 255 255 255 255;
12409             }
12410             description {
12411                state: "black_fade_prev_next" 0.0;
12412                inherit: "default" 0.0;
12413                color: 0 0 0 255;
12414             }
12415             description {
12416                state: "horizontal_next_init" 0.0;
12417                inherit: "default" 0.0;
12418             }
12419             description {
12420                state: "horizontal_next" 0.0;
12421                inherit: "default" 0.0;
12422                rel1.relative: -1.0 0.0;
12423                rel2.relative: 0.0 1.0;
12424             }
12425             description {
12426                state: "horizontal_prev_init" 0.0;
12427                inherit: "default" 0.0;
12428             }
12429             description {
12430                state: "horizontal_prev" 0.0;
12431                inherit: "default" 0.0;
12432                rel1.relative: 1.0 0.0;
12433                rel2.relative: 2.0 1.0;
12434             }
12435             description {
12436                state: "vertical_next_init" 0.0;
12437                inherit: "default" 0.0;
12438             }
12439             description {
12440                state: "vertical_next" 0.0;
12441                inherit: "default" 0.0;
12442                rel1.relative: 0.0 -1.0;
12443                rel2.relative: 1.0 0.0;
12444             }
12445             description {
12446                state: "vertical_prev_init" 0.0;
12447                inherit: "default" 0.0;
12448             }
12449             description {
12450                state: "vertical_prev" 0.0;
12451                inherit: "default" 0.0;
12452                rel1.relative: 0.0 1.0;
12453                rel2.relative: 1.0 2.0;
12454             }
12455             description {
12456                state: "square_prev_next" 0.0;
12457                inherit: "default" 0.0;
12458                color: 255 255 255 0;
12459             }
12460          }
12461          part { name: "image_2_whole";
12462             type: RECT;
12463             description {
12464                state: "default" 0.0;
12465                visible: 1;
12466                color: 255 255 255 0;
12467             }
12468             description {
12469                state: "fade_prev_next" 0.0;
12470                inherit: "default" 0.0;
12471                color: 255 255 255 255;
12472             }
12473             description {
12474                state: "black_fade_prev_next_init" 0.0;
12475                inherit: "default" 0.0;
12476                color: 0 0 0 0;
12477             }
12478             description {
12479                state: "black_fade_prev_next" 0.0;
12480                inherit: "default" 0.0;
12481                color: 255 255 255 255;
12482             }
12483             description {
12484                state: "horizontal_next_init" 0.0;
12485                inherit: "default" 0.0;
12486                rel1.relative: 1.0 0.0;
12487                rel2.relative: 2.0 1.0;
12488                color: 255 255 255 255;
12489             }
12490             description {
12491                state: "horizontal_next" 0.0;
12492                inherit: "default" 0.0;
12493                color: 255 255 255 255;
12494             }
12495             description {
12496                state: "horizontal_prev_init" 0.0;
12497                inherit: "default" 0.0;
12498                rel1.relative: -1.0 0.0;
12499                rel2.relative: 0.0 1.0;
12500                color: 255 255 255 255;
12501             }
12502             description {
12503                state: "horizontal_prev" 0.0;
12504                inherit: "default" 0.0;
12505                color: 255 255 255 255;
12506             }
12507             description {
12508                state: "vertical_next_init" 0.0;
12509                inherit: "default" 0.0;
12510                rel1.relative: 0.0 1.0;
12511                rel2.relative: 1.0 2.0;
12512                color: 255 255 255 255;
12513             }
12514             description {
12515                state: "vertical_next" 0.0;
12516                inherit: "default" 0.0;
12517                color: 255 255 255 255;
12518             }
12519             description {
12520                state: "vertical_prev_init" 0.0;
12521                inherit: "default" 0.0;
12522                rel1.relative: 0.0 -1.0;
12523                rel2.relative: 1.0 0.0;
12524                color: 255 255 255 255;
12525             }
12526             description {
12527                state: "vertical_prev" 0.0;
12528                inherit: "default" 0.0;
12529                color: 255 255 255 255;
12530             }
12531             description {
12532                state: "square_prev_next_init" 0.0;
12533                inherit: "default" 0.0;
12534                rel1.relative: 0.5 0.5;
12535                rel2.relative: 0.5 0.5;
12536                color: 255 255 255 255;
12537             }
12538             description {
12539                state: "square_prev_next" 0.0;
12540                inherit: "default" 0.0;
12541                rel1.relative: 0.0 0.0;
12542                rel2.relative: 1.0 1.0;
12543                color: 255 255 255 255;
12544             }
12545          }
12546          part { name: "elm.swallow.1";
12547             type: SWALLOW;
12548             clip_to: "image_1_whole";
12549             description {
12550                state: "default" 0.0;
12551                rel1.to: "image_1_whole";
12552                rel2.to: "image_1_whole";
12553                color: 255 255 255 255;
12554             }
12555             description {
12556                state: "not_fullscreen" 0.0;
12557                rel1.relative: 0.1 0.1;
12558                rel1.to: "image_1_whole";
12559                rel2.relative: 0.9 0.9;
12560                rel2.to: "image_1_whole";
12561                color: 255 255 255 255;
12562             }
12563          }
12564          part { name: "elm.swallow.2";
12565             type: SWALLOW;
12566             clip_to: "image_2_whole";
12567             description {
12568                state: "default" 0.0;
12569                color: 255 255 255 255;
12570                rel1.to: "image_2_whole";
12571                rel2.to: "image_2_whole";
12572             }
12573             description {
12574                state: "not_fullscreen" 0.0;
12575                color: 255 255 255 255;
12576                rel1.relative: 0.1 0.1;
12577                rel1.to: "image_2_whole";
12578                rel2.relative: 0.9 0.9;
12579                rel2.to: "image_2_whole";
12580             }
12581          }
12582          part { name: "events_catcher";
12583             type: RECT;
12584             repeat_events: 1;
12585             description {
12586                state: "default" 0.0;
12587                visible: 1;
12588                color: 0 0 0 0;
12589             }
12590          }
12591       }
12592       programs {
12593               //Substyle
12594               program { name: "layout_fullscreen";
12595             signal: "layout,fullscreen";
12596             source: "slideshow";
12597             action: STATE_SET "default" 0.0;
12598             target: "elm.swallow.1";
12599             target: "elm.swallow.2";
12600             transition: SINUSOIDAL 1.0;
12601         }
12602         program { name: "layout_not_fullscreen";
12603             signal: "layout,not_fullscreen";
12604             source: "slideshow";
12605             action: STATE_SET "not_fullscreen" 0.0;
12606             target: "elm.swallow.1";
12607             target: "elm.swallow.2";
12608             transition: SINUSOIDAL 1.0;
12609          }
12610                //
12611          program { name: "fade_next";
12612             signal: "fade,next";
12613             source: "slideshow";
12614             action: STATE_SET "default" 0.0;
12615             target: "image_1_whole";
12616             target: "image_2_whole";
12617             after: "fade_next_2";
12618          }
12619          program { name: "fade_next_2";
12620             action: STATE_SET "fade_prev_next" 0.0;
12621             target: "image_1_whole";
12622             target: "image_2_whole";
12623             transition: SINUSOIDAL 1.5;
12624             after: "end";
12625          }
12626          program { name: "fade_previous";
12627             signal: "fade,previous";
12628             source: "slideshow";
12629             action: STATE_SET "default" 0.0;
12630             target: "image_1_whole";
12631             target: "image_2_whole";
12632             after: "fade_previous_2";
12633          }
12634          program { name: "fade_previous_2";
12635             action: STATE_SET "fade_prev_next" 0.0;
12636             target: "image_1_whole";
12637             target: "image_2_whole";
12638             transition: SINUSOIDAL 1.5;
12639             after: "end";
12640          }
12641          program { name: "black_fade_next";
12642             signal: "black_fade,next";
12643             source: "slideshow";
12644             action: STATE_SET "black_fade_prev_next_init" 0.0;
12645             target: "image_1_whole";
12646             target: "image_2_whole";
12647             after: "black_fade_next_2";
12648          }
12649          program { name: "black_fade_next_2";
12650             action: STATE_SET "black_fade_prev_next" 0.0;
12651             target: "image_1_whole";
12652             transition: SINUSOIDAL 0.75;
12653             after: "black_fade_next_3";
12654          }
12655          program { name: "black_fade_next_3";
12656             action: STATE_SET "black_fade_prev_next" 0.0;
12657             target: "image_2_whole";
12658             transition: SINUSOIDAL 0.75;
12659             after: "end";
12660          }
12661          program { name: "black_fade_previous";
12662             signal: "black_fade,previous";
12663             source: "slideshow";
12664             action: STATE_SET "black_fade_prev_next_init" 0.0;
12665             target: "image_1_whole";
12666             target: "image_2_whole";
12667             after: "black_fade_previous_2";
12668          }
12669          program { name: "black_fade_previous_2";
12670             action: STATE_SET "black_fade_prev_next" 0.0;
12671             target: "image_1_whole";
12672             transition: SINUSOIDAL 0.75;
12673             after: "black_fade_previous_3";
12674          }
12675          program { name: "black_fade_previous_3";
12676             action: STATE_SET "black_fade_prev_next" 0.0;
12677             target: "image_2_whole";
12678             transition: SINUSOIDAL 0.75;
12679             after: "end";
12680          }
12681          program { name: "horizontal_next";
12682             signal: "horizontal,next";
12683             source: "slideshow";
12684             action: STATE_SET "horizontal_next_init" 0.0;
12685             target: "image_1_whole";
12686             target: "image_2_whole";
12687             after: "horizontal_next_2";
12688          }
12689          program { name: "horizontal_next_2";
12690             action: STATE_SET "horizontal_next" 0.0;
12691             target: "image_1_whole";
12692             target: "image_2_whole";
12693             transition: SINUSOIDAL 1.5;
12694             after: "end";
12695          }
12696          program { name: "horizontal_previous";
12697             signal: "horizontal,previous";
12698             source: "slideshow";
12699             action: STATE_SET "horizontal_prev_init" 0.0;
12700             target: "image_1_whole";
12701             target: "image_2_whole";
12702             after: "horizontal_previous_2";
12703          }
12704          program { name: "horizontal_previous_2";
12705             action: STATE_SET "horizontal_prev" 0.0;
12706             target: "image_1_whole";
12707             target: "image_2_whole";
12708             transition: SINUSOIDAL 1.5;
12709             after: "end";
12710          }
12711          program { name: "vertical_next";
12712             signal: "vertical,next";
12713             source: "slideshow";
12714             action: STATE_SET "vertical_next_init" 0.0;
12715             target: "image_1_whole";
12716             target: "image_2_whole";
12717             after: "vertical_next_2";
12718          }
12719          program { name: "vertical_next_2";
12720             action: STATE_SET "vertical_next" 0.0;
12721             target: "image_1_whole";
12722             target: "image_2_whole";
12723             transition: SINUSOIDAL 1.5;
12724             after: "end";
12725          }
12726          program { name: "vertical_previous";
12727             signal: "vertical,previous";
12728             source: "slideshow";
12729             action: STATE_SET "vertical_prev_init" 0.0;
12730             target: "image_1_whole";
12731             target: "image_2_whole";
12732             after: "vertical_previous_2";
12733          }
12734          program { name: "vertical_previous_2";
12735             action: STATE_SET "vertical_prev" 0.0;
12736             target: "image_1_whole";
12737             target: "image_2_whole";
12738             transition: SINUSOIDAL 1.5;
12739             after: "end";
12740          }
12741          program { name: "square_next";
12742             signal: "square,next";
12743             source: "slideshow";
12744             action: STATE_SET "square_prev_next_init" 0.0;
12745             target: "image_2_whole";
12746             after: "square_next_2";
12747          }
12748          program { name: "square_next_2";
12749             action: STATE_SET "square_prev_next" 0.0;
12750             target: "image_2_whole";
12751             target: "image_1_whole";
12752             transition: SINUSOIDAL 1.5;
12753             after: "end";
12754          }
12755          program { name: "square_previous";
12756             signal: "square,previous";
12757             source: "slideshow";
12758             action: STATE_SET "square_prev_next_init" 0.0;
12759             target: "image_2_whole";
12760             after: "square_next_2";
12761          }
12762          program { name: "end";
12763             action: SIGNAL_EMIT "end" "slideshow";
12764          }
12765          program { name: "end_signal";
12766             signal: "anim,end";
12767             source: "slideshow";
12768             action: STATE_SET "default" 0.0;
12769             target: "image_1_whole";
12770             target: "image_2_whole";
12771          }
12772       }
12773    }
12774
12775 ///////////////////////////////////////////////////////////////////////////////
12776    group { name: "elm/win/inwin/default";
12777       images {
12778          image: "shad_circ.png" COMP;
12779          image: "bt_dis_base.png" COMP;
12780          image: "bt_dis_hilight.png" COMP;
12781       }
12782       parts {
12783          part { name: "base";
12784             type: RECT;
12785             mouse_events: 1;
12786             description { state: "default" 0.0;
12787                color: 0 0 0 0;
12788             }
12789             description { state: "visible" 0.0;
12790                inherit: "default" 1.0;
12791                color: 0 0 0 64;
12792             }
12793          }
12794          part { name: "shad";
12795             mouse_events:  0;
12796             description { state: "default" 0.0;
12797                image.normal: "shad_circ.png";
12798                rel1.to: "elm.swallow.content";
12799                rel1.offset: -64 -64;
12800                rel2.to: "elm.swallow.content";
12801                rel2.offset: 63 63;
12802                fill.smooth: 0;
12803             }
12804          }
12805          part { name: "pop";
12806             mouse_events: 1;
12807             description { state: "default" 0.0;
12808                rel1.to: "elm.swallow.content";
12809                rel1.offset: -5 -5;
12810                rel2.to: "elm.swallow.content";
12811                rel2.offset: 4 4;
12812                image {
12813                   normal: "bt_dis_base.png";
12814                   border: 4 4 4 4;
12815                }
12816                image.middle: SOLID;
12817             }
12818          }
12819          part { name: "popover";
12820             mouse_events: 0;
12821             description { state: "default" 0.0;
12822                rel1.to: "pop";
12823                rel2.to: "pop";
12824                rel2.relative: 1.0 0.5;
12825                image {
12826                   normal: "bt_dis_hilight.png";
12827                   border: 4 4 4 0;
12828                }
12829             }
12830          }
12831          part { name: "elm.swallow.content";
12832             type: SWALLOW;
12833             description { state: "default" 0.0;
12834                rel1.relative: 0.1 0.1;
12835                rel2.relative: 0.9 0.9;
12836             }
12837          }
12838       }
12839       programs {
12840          program { name: "show";
12841             signal: "elm,action,show";
12842             source: "elm";
12843             action: STATE_SET "visible" 0.0;
12844 //            transition: DECELERATE 0.5;
12845             target: "base";
12846          }
12847          program { name: "hide";
12848             signal: "elm,action,hide";
12849             source: "elm";
12850             action: STATE_SET "default" 0.0;
12851 //            transition: DECELERATE 0.5;
12852             target: "base";
12853          }
12854       }
12855    }
12856
12857    group { name: "elm/win/inwin/minimal";
12858       images {
12859          image: "shad_circ.png" COMP;
12860          image: "bt_dis_base.png" COMP;
12861          image: "bt_dis_hilight.png" COMP;
12862       }
12863       parts {
12864          part { name: "base";
12865             type: RECT;
12866             mouse_events: 1;
12867             description { state: "default" 0.0;
12868                color: 0 0 0 0;
12869             }
12870             description { state: "visible" 0.0;
12871                inherit: "default" 1.0;
12872                color: 0 0 0 64;
12873             }
12874          }
12875          part { name: "shad";
12876             mouse_events:  0;
12877             description { state: "default" 0.0;
12878                image.normal: "shad_circ.png";
12879                rel1.to: "elm.swallow.content";
12880                rel1.offset: -64 -64;
12881                rel2.to: "elm.swallow.content";
12882                rel2.offset: 63 63;
12883                fill.smooth: 0;
12884             }
12885          }
12886          part { name: "pop";
12887             mouse_events: 1;
12888             description { state: "default" 0.0;
12889                rel1.to: "elm.swallow.content";
12890                rel1.offset: -5 -5;
12891                rel2.to: "elm.swallow.content";
12892                rel2.offset: 4 4;
12893                image {
12894                   normal: "bt_dis_base.png";
12895                   border: 4 4 4 4;
12896                }
12897                image.middle: SOLID;
12898             }
12899          }
12900          part { name: "popover";
12901             mouse_events: 0;
12902             description { state: "default" 0.0;
12903                rel1.to: "pop";
12904                rel2.to: "pop";
12905                rel2.relative: 1.0 0.5;
12906                image {
12907                   normal: "bt_dis_hilight.png";
12908                   border: 4 4 4 0;
12909                }
12910             }
12911          }
12912          part { name: "elm.swallow.content";
12913             type: SWALLOW;
12914             description { state: "default" 0.0;
12915                fixed: 1 1;
12916                rel1.relative: 0.5 0.5;
12917                rel2.relative: 0.5 0.5;
12918             }
12919          }
12920       }
12921       programs {
12922          program { name: "show";
12923             signal: "elm,action,show";
12924             source: "elm";
12925             action: STATE_SET "visible" 0.0;
12926 //            transition: DECELERATE 0.5;
12927             target: "base";
12928          }
12929          program { name: "hide";
12930             signal: "elm,action,hide";
12931             source: "elm";
12932             action: STATE_SET "default" 0.0;
12933 //            transition: DECELERATE 0.5;
12934             target: "base";
12935          }
12936       }
12937    }
12938
12939    group { name: "elm/win/inwin/minimal_vertical";
12940       images {
12941          image: "shad_circ.png" COMP;
12942          image: "bt_dis_base.png" COMP;
12943          image: "bt_dis_hilight.png" COMP;
12944       }
12945       parts {
12946          part { name: "base";
12947             type: RECT;
12948             mouse_events: 1;
12949             description { state: "default" 0.0;
12950                color: 0 0 0 0;
12951             }
12952             description { state: "visible" 0.0;
12953                inherit: "default" 1.0;
12954                color: 0 0 0 64;
12955             }
12956          }
12957          part { name: "shad";
12958             mouse_events:  0;
12959             description { state: "default" 0.0;
12960                image.normal: "shad_circ.png";
12961                rel1.to: "elm.swallow.content";
12962                rel1.offset: -64 -64;
12963                rel2.to: "elm.swallow.content";
12964                rel2.offset: 63 63;
12965                fill.smooth: 0;
12966             }
12967          }
12968          part { name: "pop";
12969             mouse_events: 1;
12970             description { state: "default" 0.0;
12971                rel1.to: "elm.swallow.content";
12972                rel1.offset: -5 -5;
12973                rel2.to: "elm.swallow.content";
12974                rel2.offset: 4 4;
12975                image {
12976                   normal: "bt_dis_base.png";
12977                   border: 4 4 4 4;
12978                }
12979                image.middle: SOLID;
12980             }
12981          }
12982          part { name: "popover";
12983             mouse_events: 0;
12984             description { state: "default" 0.0;
12985                rel1.to: "pop";
12986                rel2.to: "pop";
12987                rel2.relative: 1.0 0.5;
12988                image {
12989                   normal: "bt_dis_hilight.png";
12990                   border: 4 4 4 0;
12991                }
12992             }
12993          }
12994          part { name: "elm.swallow.content";
12995             type: SWALLOW;
12996             description { state: "default" 0.0;
12997                fixed: 1 1;
12998                rel1.relative: 0.1 0.5;
12999                rel2.relative: 0.9 0.5;
13000             }
13001          }
13002       }
13003       programs {
13004          program { name: "show";
13005             signal: "elm,action,show";
13006             source: "elm";
13007             action: STATE_SET "visible" 0.0;
13008 //            transition: DECELERATE 0.5;
13009             target: "base";
13010          }
13011          program { name: "hide";
13012             signal: "elm,action,hide";
13013             source: "elm";
13014             action: STATE_SET "default" 0.0;
13015 //            transition: DECELERATE 0.5;
13016             target: "base";
13017          }
13018       }
13019    }
13020
13021 ///////////////////////////////////////////////////////////////////////////////
13022
13023 ///////////////////////////////////////////////////////////////////////////////
13024    group { name: "elm/list/item/default";
13025       data.item: "stacking" "above";
13026       images {
13027          image: "bt_sm_base1.png" COMP;
13028          image: "bt_sm_shine.png" COMP;
13029          image: "bt_sm_hilight.png" COMP;
13030          image: "ilist_1.png" COMP;
13031          image: "ilist_item_shadow.png" COMP;
13032       }
13033       parts {
13034          part {
13035             name:           "event";
13036             type:           RECT;
13037             repeat_events: 1;
13038             description {
13039                state: "default" 0.0;
13040                color: 0 0 0 0;
13041             }
13042          }
13043          part {
13044             name: "base_sh";
13045             mouse_events: 0;
13046             description {
13047                state: "default" 0.0;
13048                align: 0.0 0.0;
13049                min: 0 10;
13050                fixed: 1 1;
13051                rel1 {
13052                   to: "base";
13053                   relative: 0.0 1.0;
13054                   offset: 0 0;
13055                }
13056                rel2 {
13057                   to: "base";
13058                   relative: 1.0 1.0;
13059                   offset: -1 0;
13060                }
13061                image {
13062                   normal: "ilist_item_shadow.png";
13063                }
13064                fill.smooth: 0;
13065             }
13066          }
13067          part {
13068             name: "base";
13069             mouse_events: 0;
13070             description {
13071                state: "default" 0.0;
13072                image {
13073                   normal: "ilist_1.png";
13074                   border: 2 2 2 2;
13075                }
13076                fill.smooth: 0;
13077             }
13078          }
13079          part { name: "bg";
13080             mouse_events: 0;
13081             description { state: "default" 0.0;
13082                visible: 0;
13083                color: 255 255 255 0;
13084                rel1 {
13085                   relative: 0.0 0.0;
13086                   offset: -5 -5;
13087                }
13088                rel2 {
13089                   relative: 1.0 1.0;
13090                   offset: 4 4;
13091                }
13092                image {
13093                   normal: "bt_sm_base1.png";
13094                   border: 6 6 6 6;
13095                }
13096                image.middle: SOLID;
13097             }
13098             description { state: "selected" 0.0;
13099                inherit: "default" 0.0;
13100                visible: 1;
13101                color: 255 255 255 255;
13102                rel1 {
13103                   relative: 0.0 0.0;
13104                   offset: -2 -2;
13105                }
13106                rel2 {
13107                   relative: 1.0 1.0;
13108                   offset: 1 1;
13109                }
13110             }
13111          }
13112          part { name: "elm.swallow.icon";
13113             type: SWALLOW;
13114             description { state: "default" 0.0;
13115                fixed: 1 0;
13116                align: 0.0 0.5;
13117                rel1 {
13118                   relative: 0.0  0.0;
13119                   offset:   4    4;
13120                }
13121                rel2 {
13122                   relative: 0.0  1.0;
13123                   offset:   4   -5;
13124                }
13125             }
13126          }
13127          part { name: "elm.swallow.end";
13128             type: SWALLOW;
13129             description { state: "default" 0.0;
13130                fixed: 1 0;
13131                align: 1.0 0.5;
13132                rel1 {
13133                   relative: 1.0  0.0;
13134                   offset:   -5    4;
13135                }
13136                rel2 {
13137                   relative: 1.0  1.0;
13138                   offset:   -5   -5;
13139                }
13140             }
13141          }
13142          part { name: "elm.text";
13143             type:           TEXT;
13144             effect:         SOFT_SHADOW;
13145             mouse_events:   0;
13146             scale: 1;
13147             description {
13148                state: "default" 0.0;
13149 //               min: 16 16;
13150                rel1 {
13151                   to_x:     "elm.swallow.icon";
13152                   relative: 1.0  0.0;
13153                   offset:   4 4;
13154                }
13155                rel2 {
13156                   to_x:     "elm.swallow.end";
13157                   relative: 0.0  1.0;
13158                   offset:   -1 -5;
13159                }
13160                color: 0 0 0 255;
13161                color3: 0 0 0 0;
13162                text {
13163                   font: "Sans";
13164                   size: 10;
13165                   min: 1 1;
13166 //                  min: 0 1;
13167                   align: -1.0 0.5;
13168                   text_class: "list_item";
13169                }
13170             }
13171             description { state: "selected" 0.0;
13172                inherit: "default" 0.0;
13173                color: 224 224 224 255;
13174                color3: 0 0 0 64;
13175             }
13176          }
13177          part { name: "fg1";
13178             mouse_events: 0;
13179             description { state: "default" 0.0;
13180                visible: 0;
13181                color: 255 255 255 0;
13182                rel1.to: "bg";
13183                rel2.relative: 1.0 0.5;
13184                rel2.to: "bg";
13185                image {
13186                   normal: "bt_sm_hilight.png";
13187                   border: 6 6 6 0;
13188                }
13189             }
13190             description { state: "selected" 0.0;
13191                inherit: "default" 0.0;
13192                visible: 1;
13193                color: 255 255 255 255;
13194             }
13195          }
13196          part { name: "fg2";
13197             mouse_events: 0;
13198             description { state: "default" 0.0;
13199                visible: 0;
13200                color: 255 255 255 0;
13201                rel1.to: "bg";
13202                rel2.to: "bg";
13203                image {
13204                   normal: "bt_sm_shine.png";
13205                   border: 6 6 6 0;
13206                }
13207             }
13208             description { state: "selected" 0.0;
13209                inherit: "default" 0.0;
13210                visible: 1;
13211                color: 255 255 255 255;
13212             }
13213          }
13214       }
13215       programs {
13216          program {
13217             name:    "go_active";
13218             signal:  "elm,state,selected";
13219             source:  "elm";
13220             action:  STATE_SET "selected" 0.0;
13221             target:  "bg";
13222             target:  "fg1";
13223             target:  "fg2";
13224             target:  "elm.text";
13225          }
13226          program {
13227             name:    "go_passive";
13228             signal:  "elm,state,unselected";
13229             source:  "elm";
13230             action:  STATE_SET "default" 0.0;
13231             target:  "bg";
13232             target:  "fg1";
13233             target:  "fg2";
13234             target:  "elm.text";
13235             transition: LINEAR 0.1;
13236          }
13237       }
13238    }
13239    group { name: "elm/list/item_odd/default";
13240       data.item: "stacking" "below";
13241       data.item: "selectraise" "on";
13242       images {
13243          image: "bt_sm_base1.png" COMP;
13244          image: "bt_sm_shine.png" COMP;
13245          image: "bt_sm_hilight.png" COMP;
13246          image: "ilist_2.png" COMP;
13247       }
13248       parts {
13249          part {
13250             name:           "event";
13251             type:           RECT;
13252             repeat_events: 1;
13253             description {
13254                state: "default" 0.0;
13255                color: 0 0 0 0;
13256             }
13257          }
13258          part {
13259             name: "base";
13260             mouse_events: 0;
13261             description {
13262                state: "default" 0.0;
13263                image {
13264                   normal: "ilist_2.png";
13265                   border: 2 2 2 2;
13266                }
13267                fill.smooth: 0;
13268             }
13269          }
13270          part { name: "bg";
13271             mouse_events: 0;
13272             description { state: "default" 0.0;
13273                visible: 0;
13274                color: 255 255 255 0;
13275                rel1 {
13276                   relative: 0.0 0.0;
13277                   offset: -5 -5;
13278                }
13279                rel2 {
13280                   relative: 1.0 1.0;
13281                   offset: 4 4;
13282                }
13283                image {
13284                   normal: "bt_sm_base1.png";
13285                   border: 6 6 6 6;
13286                }
13287                image.middle: SOLID;
13288             }
13289             description { state: "selected" 0.0;
13290                inherit: "default" 0.0;
13291                visible: 1;
13292                color: 255 255 255 255;
13293                rel1 {
13294                   relative: 0.0 0.0;
13295                   offset: -2 -2;
13296                }
13297                rel2 {
13298                   relative: 1.0 1.0;
13299                   offset: 1 1;
13300                }
13301             }
13302          }
13303          part {
13304             name:          "elm.swallow.icon";
13305             type:          SWALLOW;
13306             description { state:    "default" 0.0;
13307                fixed: 1 0;
13308                align:    0.0 0.5;
13309                rel1 {
13310                   relative: 0.0  0.0;
13311                   offset:   4    4;
13312                }
13313                rel2 {
13314                   relative: 0.0  1.0;
13315                   offset:   4   -5;
13316                }
13317             }
13318          }
13319          part {
13320             name:          "elm.swallow.end";
13321             type:          SWALLOW;
13322             description { state:    "default" 0.0;
13323                fixed: 1 0;
13324                align: 1.0 0.5;
13325                rel1 {
13326                   relative: 1.0  0.0;
13327                   offset:   -5    4;
13328                }
13329                rel2 {
13330                   relative: 1.0  1.0;
13331                   offset:   -5   -5;
13332                }
13333             }
13334          }
13335          part {
13336             name:           "elm.text";
13337             type:           TEXT;
13338             effect:         SOFT_SHADOW;
13339             mouse_events:   0;
13340             scale: 1;
13341             description {
13342                state: "default" 0.0;
13343 //               min:      16 16;
13344                rel1 {
13345                   to_x:     "elm.swallow.icon";
13346                   relative: 1.0  0.0;
13347                   offset:   4 4;
13348                }
13349                rel2 {
13350                   to_x:     "elm.swallow.end";
13351                   relative: 0.0  1.0;
13352                   offset:   -1 -5;
13353                }
13354                color: 0 0 0 255;
13355                color3: 0 0 0 0;
13356                text {
13357                   font: "Sans";
13358                   size: 10;
13359                   min: 1 1;
13360 //                  min: 0 1;
13361                   align: -1.0 0.5;
13362                   text_class: "list_item";
13363                }
13364             }
13365             description { state: "selected" 0.0;
13366                inherit: "default" 0.0;
13367                color: 224 224 224 255;
13368                color3: 0 0 0 64;
13369             }
13370          }
13371          part { name: "fg1";
13372             mouse_events: 0;
13373             description { state: "default" 0.0;
13374                visible: 0;
13375                color: 255 255 255 0;
13376                rel1.to: "bg";
13377                rel2.relative: 1.0 0.5;
13378                rel2.to: "bg";
13379                image {
13380                   normal: "bt_sm_hilight.png";
13381                   border: 6 6 6 0;
13382                }
13383             }
13384             description { state: "selected" 0.0;
13385                inherit: "default" 0.0;
13386                visible: 1;
13387                color: 255 255 255 255;
13388             }
13389          }
13390          part { name: "fg2";
13391             mouse_events: 0;
13392             description { state: "default" 0.0;
13393                visible: 0;
13394                color: 255 255 255 0;
13395                rel1.to: "bg";
13396                rel2.to: "bg";
13397                image {
13398                   normal: "bt_sm_shine.png";
13399                   border: 6 6 6 0;
13400                }
13401             }
13402             description { state: "selected" 0.0;
13403                inherit: "default" 0.0;
13404                visible: 1;
13405                color: 255 255 255 255;
13406             }
13407          }
13408       }
13409       programs {
13410          program {
13411             name:    "go_active";
13412             signal:  "elm,state,selected";
13413             source:  "elm";
13414             action:  STATE_SET "selected" 0.0;
13415             target:  "bg";
13416             target:  "fg1";
13417             target:  "fg2";
13418             target:  "elm.text";
13419          }
13420          program {
13421             name:    "go_passive";
13422             signal:  "elm,state,unselected";
13423             source:  "elm";
13424             action:  STATE_SET "default" 0.0;
13425             target:  "bg";
13426             target:  "fg1";
13427             target:  "fg2";
13428             target:  "elm.text";
13429             transition: LINEAR 0.1;
13430          }
13431       }
13432    }
13433    group { name: "elm/list/item_compress/default";
13434       data.item: "stacking" "above";
13435       data.item: "selectraise" "on";
13436       images {
13437          image: "bt_sm_base1.png" COMP;
13438          image: "bt_sm_shine.png" COMP;
13439          image: "bt_sm_hilight.png" COMP;
13440          image: "ilist_1.png" COMP;
13441          image: "ilist_item_shadow.png" COMP;
13442       }
13443       parts {
13444          part {
13445             name:           "event";
13446             type:           RECT;
13447             repeat_events: 1;
13448             description {
13449                state: "default" 0.0;
13450                color: 0 0 0 0;
13451             }
13452          }
13453          part {
13454             name: "base_sh";
13455             mouse_events: 0;
13456             description { state: "default" 0.0;
13457                fixed: 1 1;
13458                align: 0.0 0.0;
13459                min: 0 10;
13460                rel1 {
13461                   to: "base";
13462                   relative: 0.0 1.0;
13463                   offset: 0 0;
13464                }
13465                rel2 {
13466                   to: "base";
13467                   relative: 1.0 1.0;
13468                   offset: -1 0;
13469                }
13470                image {
13471                   normal: "ilist_item_shadow.png";
13472                }
13473                fill.smooth: 0;
13474             }
13475          }
13476          part {
13477             name: "base";
13478             mouse_events: 0;
13479             description {
13480                state: "default" 0.0;
13481                image {
13482                   normal: "ilist_1.png";
13483                   border: 2 2 2 2;
13484                }
13485                fill.smooth: 0;
13486             }
13487          }
13488          part { name: "bg";
13489             mouse_events: 0;
13490             description { state: "default" 0.0;
13491                visible: 0;
13492                color: 255 255 255 0;
13493                rel1 {
13494                   relative: 0.0 0.0;
13495                   offset: -5 -5;
13496                }
13497                rel2 {
13498                   relative: 1.0 1.0;
13499                   offset: 4 4;
13500                }
13501                image {
13502                   normal: "bt_sm_base1.png";
13503                   border: 6 6 6 6;
13504                }
13505                image.middle: SOLID;
13506             }
13507             description { state: "selected" 0.0;
13508                inherit: "default" 0.0;
13509                visible: 1;
13510                color: 255 255 255 255;
13511                rel1 {
13512                   relative: 0.0 0.0;
13513                   offset: -2 -2;
13514                }
13515                rel2 {
13516                   relative: 1.0 1.0;
13517                   offset: 1 1;
13518                }
13519             }
13520          }
13521          part { name:          "elm.swallow.icon";
13522             type:          SWALLOW;
13523             description { state:    "default" 0.0;
13524                fixed: 1 0;
13525                align:    0.0 0.5;
13526                rel1 {
13527                   relative: 0.0  0.0;
13528                   offset:   4    4;
13529                }
13530                rel2 {
13531                   relative: 0.0  1.0;
13532                   offset:   4   -5;
13533                }
13534             }
13535          }
13536          part { name:          "elm.swallow.end";
13537             type:          SWALLOW;
13538             description { state:    "default" 0.0;
13539                fixed: 1 0;
13540                align:    1.0 0.5;
13541                rel1 {
13542                   relative: 1.0  0.0;
13543                   offset:   -5    4;
13544                }
13545                rel2 {
13546                   relative: 1.0  1.0;
13547                   offset:   -5   -5;
13548                }
13549             }
13550          }
13551          part {
13552             name:           "elm.text";
13553             type:           TEXT;
13554             effect:         SOFT_SHADOW;
13555             mouse_events:   0;
13556             scale: 1;
13557             description { state: "default" 0.0;
13558 //               min:      16 16;
13559                rel1 {
13560                   to_x:     "elm.swallow.icon";
13561                   relative: 1.0  0.0;
13562                   offset:   4 4;
13563                }
13564                rel2 {
13565                   to_x:     "elm.swallow.end";
13566                   relative: 0.0  1.0;
13567                   offset:   -1 -5;
13568                }
13569                color: 0 0 0 255;
13570                color3: 0 0 0 0;
13571                text {
13572                   font: "Sans";
13573                   size: 10;
13574 //                  min: 1 1;
13575                   min: 0 1;
13576                   align: 0.0 0.5;
13577                   text_class: "list_item";
13578                }
13579             }
13580             description { state: "selected" 0.0;
13581                inherit: "default" 0.0;
13582                color: 224 224 224 255;
13583                color3: 0 0 0 64;
13584             }
13585          }
13586          part { name: "fg1";
13587             mouse_events: 0;
13588             description { state: "default" 0.0;
13589                visible: 0;
13590                color: 255 255 255 0;
13591                rel1.to: "bg";
13592                rel2.relative: 1.0 0.5;
13593                rel2.to: "bg";
13594                image {
13595                   normal: "bt_sm_hilight.png";
13596                   border: 6 6 6 0;
13597                }
13598             }
13599             description { state: "selected" 0.0;
13600                inherit: "default" 0.0;
13601                visible: 1;
13602                color: 255 255 255 255;
13603             }
13604          }
13605          part { name: "fg2";
13606             mouse_events: 0;
13607             description { state: "default" 0.0;
13608                visible: 0;
13609                color: 255 255 255 0;
13610                rel1.to: "bg";
13611                rel2.to: "bg";
13612                image {
13613                   normal: "bt_sm_shine.png";
13614                   border: 6 6 6 0;
13615                }
13616             }
13617             description { state: "selected" 0.0;
13618                inherit: "default" 0.0;
13619                visible: 1;
13620                color: 255 255 255 255;
13621             }
13622          }
13623       }
13624       programs {
13625          program {
13626             name:    "go_active";
13627             signal:  "elm,state,selected";
13628             source:  "elm";
13629             action:  STATE_SET "selected" 0.0;
13630             target:  "bg";
13631             target:  "fg1";
13632             target:  "fg2";
13633             target:  "elm.text";
13634          }
13635          program {
13636             name:    "go_passive";
13637             signal:  "elm,state,unselected";
13638             source:  "elm";
13639             action:  STATE_SET "default" 0.0;
13640             target:  "bg";
13641             target:  "fg1";
13642             target:  "fg2";
13643             target:  "elm.text";
13644             transition: LINEAR 0.1;
13645          }
13646       }
13647    }
13648    group { name: "elm/list/item_compress_odd/default";
13649       data.item: "stacking" "below";
13650       data.item: "selectraise" "on";
13651       images {
13652          image: "bt_sm_base1.png" COMP;
13653          image: "bt_sm_shine.png" COMP;
13654          image: "bt_sm_hilight.png" COMP;
13655          image: "ilist_2.png" COMP;
13656       }
13657       parts {
13658          part {
13659             name:           "event";
13660             type:           RECT;
13661             repeat_events: 1;
13662             description {
13663                state: "default" 0.0;
13664                color: 0 0 0 0;
13665             }
13666          }
13667          part {
13668             name: "base";
13669             mouse_events: 0;
13670             description {
13671                state: "default" 0.0;
13672                image {
13673                   normal: "ilist_2.png";
13674                   border: 2 2 2 2;
13675                }
13676                fill.smooth: 0;
13677             }
13678          }
13679          part { name: "bg";
13680             mouse_events: 0;
13681             description { state: "default" 0.0;
13682                visible: 0;
13683                color: 255 255 255 0;
13684                rel1 {
13685                   relative: 0.0 0.0;
13686                   offset: -5 -5;
13687                }
13688                rel2 {
13689                   relative: 1.0 1.0;
13690                   offset: 4 4;
13691                }
13692                image {
13693                   normal: "bt_sm_base1.png";
13694                   border: 6 6 6 6;
13695                }
13696                image.middle: SOLID;
13697             }
13698             description { state: "selected" 0.0;
13699                inherit: "default" 0.0;
13700                visible: 1;
13701                color: 255 255 255 255;
13702                rel1 {
13703                   relative: 0.0 0.0;
13704                   offset: -2 -2;
13705                }
13706                rel2 {
13707                   relative: 1.0 1.0;
13708                   offset: 1 1;
13709                }
13710             }
13711          }
13712          part { name:          "elm.swallow.icon";
13713             type:          SWALLOW;
13714             description { state:    "default" 0.0;
13715                fixed: 1 0;
13716                align:    0.0 0.5;
13717                rel1 {
13718                   relative: 0.0  0.0;
13719                   offset:   4    4;
13720                }
13721                rel2 {
13722                   relative: 0.0  1.0;
13723                   offset:   4   -5;
13724                }
13725             }
13726          }
13727          part { name:          "elm.swallow.end";
13728             type:          SWALLOW;
13729             description { state:    "default" 0.0;
13730                fixed: 1 0;
13731                align:    1.0 0.5;
13732                rel1 {
13733                   relative: 1.0  0.0;
13734                   offset:   -5    4;
13735                }
13736                rel2 {
13737                   relative: 1.0  1.0;
13738                   offset:   -5   -5;
13739                }
13740             }
13741          }
13742          part {
13743             name:           "elm.text";
13744             type:           TEXT;
13745             effect:         SOFT_SHADOW;
13746             mouse_events:   0;
13747             scale: 1;
13748             description {
13749                state: "default" 0.0;
13750 //               min:      16 16;
13751                rel1 {
13752                   to_x:     "elm.swallow.icon";
13753                   relative: 1.0  0.0;
13754                   offset:   4 4;
13755                }
13756                rel2 {
13757                   to_x:     "elm.swallow.end";
13758                   relative: 0.0  1.0;
13759                   offset:   -1 -5;
13760                }
13761                color: 0 0 0 255;
13762                color3: 0 0 0 0;
13763                text {
13764                   font: "Sans";
13765                   size: 10;
13766 //                  min: 1 1;
13767                   min: 0 1;
13768                   align: 0.0 0.5;
13769                   text_class: "list_item";
13770                }
13771             }
13772             description { state: "selected" 0.0;
13773                inherit: "default" 0.0;
13774                color: 224 224 224 255;
13775                color3: 0 0 0 64;
13776             }
13777          }
13778          part { name: "fg1";
13779             mouse_events: 0;
13780             description { state: "default" 0.0;
13781                visible: 0;
13782                color: 255 255 255 0;
13783                rel1.to: "bg";
13784                rel2.relative: 1.0 0.5;
13785                rel2.to: "bg";
13786                image {
13787                   normal: "bt_sm_hilight.png";
13788                   border: 6 6 6 0;
13789                }
13790             }
13791             description { state: "selected" 0.0;
13792                inherit: "default" 0.0;
13793                visible: 1;
13794                color: 255 255 255 255;
13795             }
13796          }
13797          part { name: "fg2";
13798             mouse_events: 0;
13799             description { state: "default" 0.0;
13800                visible: 0;
13801                color: 255 255 255 0;
13802                rel1.to: "bg";
13803                rel2.to: "bg";
13804                image {
13805                   normal: "bt_sm_shine.png";
13806                   border: 6 6 6 0;
13807                }
13808             }
13809             description { state: "selected" 0.0;
13810                inherit: "default" 0.0;
13811                visible: 1;
13812                color: 255 255 255 255;
13813             }
13814          }
13815       }
13816       programs {
13817          program {
13818             name:    "go_active";
13819             signal:  "elm,state,selected";
13820             source:  "elm";
13821             action:  STATE_SET "selected" 0.0;
13822             target:  "bg";
13823             target:  "fg1";
13824             target:  "fg2";
13825             target:  "elm.text";
13826          }
13827          program {
13828             name:    "go_passive";
13829             signal:  "elm,state,unselected";
13830             source:  "elm";
13831             action:  STATE_SET "default" 0.0;
13832             target:  "bg";
13833             target:  "fg1";
13834             target:  "fg2";
13835             target:  "elm.text";
13836             transition: LINEAR 0.1;
13837          }
13838       }
13839    }
13840
13841 ///////////////////////////////////////////////////////////////////////////////
13842    group { name: "elm/list/h_item/default";
13843       data.item: "stacking" "above";
13844       images {
13845          image: "bt_sm_base1.png" COMP;
13846          image: "bt_sm_shine.png" COMP;
13847          image: "bt_sm_hilight.png" COMP;
13848          image: "ilist_1_h.png" COMP;
13849          image: "ilist_item_shadow_h.png" COMP;
13850       }
13851       parts {
13852          part {
13853             name: "event";
13854             type: RECT;
13855             repeat_events: 1;
13856             description {
13857                state: "default" 0.0;
13858                color: 0 0 0 0;
13859             }
13860          }
13861          part {
13862             name: "base_sh";
13863             mouse_events: 0;
13864             description {
13865                state: "default" 0.0;
13866                align: 0.0 0.0;
13867                min: 10 0;
13868                fixed: 1 1;
13869                rel1 {
13870                   to: "base";
13871                   relative: 1.0 0.0;
13872                   offset: 0 0;
13873                }
13874                rel2 {
13875                   to: "base";
13876                   relative: 1.0 1.0;
13877                   offset: 0 -1;
13878                }
13879                image {
13880                   normal: "ilist_item_shadow_h.png";
13881                }
13882                fill.smooth: 0;
13883             }
13884          }
13885          part {
13886             name: "base";
13887             mouse_events: 0;
13888             description {
13889                state: "default" 0.0;
13890                image {
13891                   normal: "ilist_1_h.png";
13892                   border: 2 2 2 2;
13893                }
13894                fill.smooth: 0;
13895             }
13896          }
13897          part { name: "bg";
13898             mouse_events: 0;
13899             description { state: "default" 0.0;
13900                visible: 0;
13901                color: 255 255 255 0;
13902                rel1 {
13903                   relative: 0.0 0.0;
13904                   offset: -5 -5;
13905                }
13906                rel2 {
13907                   relative: 1.0 1.0;
13908                   offset: 4 4;
13909                }
13910                image {
13911                   normal: "bt_sm_base1.png";
13912                   border: 6 6 6 6;
13913                }
13914                image.middle: SOLID;
13915             }
13916             description { state: "selected" 0.0;
13917                inherit: "default" 0.0;
13918                visible: 1;
13919                color: 255 255 255 255;
13920                rel1 {
13921                   relative: 0.0 0.0;
13922                   offset: -2 -2;
13923                }
13924                rel2 {
13925                   relative: 1.0 1.0;
13926                   offset: 1 1;
13927                }
13928             }
13929          }
13930          part { name: "elm.swallow.icon";
13931             type: SWALLOW;
13932             description { state: "default" 0.0;
13933                fixed: 0 1;
13934                align: 0.5 0.0;
13935                rel1 {
13936                   relative: 0.0 0.0;
13937                   offset: 4 4;
13938                }
13939                rel2 {
13940                   relative: 1.0 0.0;
13941                   offset: -5 4;
13942                }
13943             }
13944          }
13945          part { name: "elm.swallow.end";
13946             type: SWALLOW;
13947             description { state: "default" 0.0;
13948                fixed: 0 1;
13949                align: 0.5 1.0;
13950                rel1 {
13951                   relative: 0.0 1.0;
13952                   offset: 4 -5;
13953                }
13954                rel2 {
13955                   relative: 1.0 1.0;
13956                   offset: -5 -5;
13957                }
13958             }
13959          }
13960          part { name: "elm.text";
13961             type: TEXT;
13962             effect: SOFT_SHADOW;
13963             mouse_events: 0;
13964             scale: 1;
13965             description {
13966                state: "default" 0.0;
13967                fixed: 0 1;
13968                rel1 {
13969                   to_x: "elm.swallow.icon";
13970                   relative: 0.0 1.0;
13971                   offset: 4 4;
13972                }
13973                rel2 {
13974                   to_x: "elm.swallow.end";
13975                   relative: 1.0 0.0;
13976                   offset: -5 -1;
13977                }
13978                color: 0 0 0 255;
13979                color3: 0 0 0 0;
13980                text {
13981                   font: "Sans";
13982                   size: 10;
13983                   min: 1 1;
13984                   align: 0.5 0.5;
13985                   text_class: "list_item";
13986                }
13987             }
13988             description { state: "selected" 0.0;
13989                inherit: "default" 0.0;
13990                color: 224 224 224 255;
13991                color3: 0 0 0 64;
13992             }
13993          }
13994          part { name: "fg1";
13995             mouse_events: 0;
13996             description { state: "default" 0.0;
13997                visible: 0;
13998                color: 255 255 255 0;
13999                rel1.to: "bg";
14000                rel2.relative: 1.0 0.5;
14001                rel2.to: "bg";
14002                image {
14003                   normal: "bt_sm_hilight.png";
14004                   border: 6 6 6 0;
14005                }
14006             }
14007             description { state: "selected" 0.0;
14008                inherit: "default" 0.0;
14009                visible: 1;
14010                color: 255 255 255 255;
14011             }
14012          }
14013          part { name: "fg2";
14014             mouse_events: 0;
14015             description { state: "default" 0.0;
14016                visible: 0;
14017                color: 255 255 255 0;
14018                rel1.to: "bg";
14019                rel2.to: "bg";
14020                image {
14021                   normal: "bt_sm_shine.png";
14022                   border: 6 6 6 0;
14023                }
14024             }
14025             description { state: "selected" 0.0;
14026                inherit: "default" 0.0;
14027                visible: 1;
14028                color: 255 255 255 255;
14029             }
14030          }
14031       }
14032       programs {
14033          program {
14034             name: "go_active";
14035             signal: "elm,state,selected";
14036             source: "elm";
14037             action: STATE_SET "selected" 0.0;
14038             target: "bg";
14039             target: "fg1";
14040             target: "fg2";
14041             target: "elm.text";
14042          }
14043          program {
14044             name: "go_passive";
14045             signal: "elm,state,unselected";
14046             source: "elm";
14047             action: STATE_SET "default" 0.0;
14048             target: "bg";
14049             target: "fg1";
14050             target: "fg2";
14051             target: "elm.text";
14052             transition: LINEAR 0.1;
14053          }
14054       }
14055    }
14056    group { name: "elm/list/h_item_odd/default";
14057       data.item: "stacking" "below";
14058       data.item: "selectraise" "on";
14059       images {
14060          image: "bt_sm_base1.png" COMP;
14061          image: "bt_sm_shine.png" COMP;
14062          image: "bt_sm_hilight.png" COMP;
14063          image: "ilist_2_h.png" COMP;
14064       }
14065       parts {
14066          part {
14067             name: "event";
14068             type: RECT;
14069             repeat_events: 1;
14070             description {
14071                state: "default" 0.0;
14072                color: 0 0 0 0;
14073             }
14074          }
14075          part {
14076             name: "base";
14077             mouse_events: 0;
14078             description {
14079                state: "default" 0.0;
14080                image {
14081                   normal: "ilist_2_h.png";
14082                   border: 2 2 2 2;
14083                }
14084                fill.smooth: 0;
14085             }
14086          }
14087          part { name: "bg";
14088             mouse_events: 0;
14089             description { state: "default" 0.0;
14090                visible: 0;
14091                color: 255 255 255 0;
14092                rel1 {
14093                   relative: 0.0 0.0;
14094                   offset: -5 -5;
14095                }
14096                rel2 {
14097                   relative: 1.0 1.0;
14098                   offset: 4 4;
14099                }
14100                image {
14101                   normal: "bt_sm_base1.png";
14102                   border: 6 6 6 6;
14103                }
14104                image.middle: SOLID;
14105             }
14106             description { state: "selected" 0.0;
14107                inherit: "default" 0.0;
14108                visible: 1;
14109                color: 255 255 255 255;
14110                rel1 {
14111                   relative: 0.0 0.0;
14112                   offset: -2 -2;
14113                }
14114                rel2 {
14115                   relative: 1.0 1.0;
14116                   offset: 1 1;
14117                }
14118             }
14119          }
14120          part {
14121             name: "elm.swallow.icon";
14122             type: SWALLOW;
14123             description { state: "default" 0.0;
14124                fixed: 0 1;
14125                align: 0.5 0.0;
14126                rel1 {
14127                   relative: 0.0 0.0;
14128                   offset: 4 4;
14129                }
14130                rel2 {
14131                   relative: 1.0 0.0;
14132                   offset: -5 4;
14133                }
14134             }
14135          }
14136          part {
14137             name: "elm.swallow.end";
14138             type: SWALLOW;
14139             description { state: "default" 0.0;
14140                fixed: 0 1;
14141                align: 0.5 1.0;
14142                rel1 {
14143                   relative: 0.0 1.0;
14144                   offset: 4 -5;
14145                }
14146                rel2 {
14147                   relative: 1.0 1.0;
14148                   offset: -5 -5;
14149                }
14150             }
14151          }
14152          part { name: "elm.text";
14153             type: TEXT;
14154             effect: SOFT_SHADOW;
14155             mouse_events: 0;
14156             scale: 1;
14157             description {
14158                state: "default" 0.0;
14159                fixed: 1 1;
14160                rel1 {
14161                   to_x: "elm.swallow.icon";
14162                   relative: 0.0 1.0;
14163                   offset: 4 4;
14164                }
14165                rel2 {
14166                   to_x: "elm.swallow.end";
14167                   relative: 1.0 0.0;
14168                   offset: -5 -1;
14169                }
14170                color: 0 0 0 255;
14171                color3: 0 0 0 0;
14172                text {
14173                   font: "Sans";
14174                   size: 10;
14175                   min: 1 1;
14176                   align: 0.5 0.5;
14177                   text_class: "list_item";
14178                }
14179             }
14180             description { state: "selected" 0.0;
14181                inherit: "default" 0.0;
14182                color: 224 224 224 255;
14183                color3: 0 0 0 64;
14184             }
14185          }
14186          part { name: "fg1";
14187             mouse_events: 0;
14188             description { state: "default" 0.0;
14189                visible: 0;
14190                color: 255 255 255 0;
14191                rel1.to: "bg";
14192                rel2.relative: 1.0 0.5;
14193                rel2.to: "bg";
14194                image {
14195                   normal: "bt_sm_hilight.png";
14196                   border: 6 6 6 0;
14197                }
14198             }
14199             description { state: "selected" 0.0;
14200                inherit: "default" 0.0;
14201                visible: 1;
14202                color: 255 255 255 255;
14203             }
14204          }
14205          part { name: "fg2";
14206             mouse_events: 0;
14207             description { state: "default" 0.0;
14208                visible: 0;
14209                color: 255 255 255 0;
14210                rel1.to: "bg";
14211                rel2.to: "bg";
14212                image {
14213                   normal: "bt_sm_shine.png";
14214                   border: 6 6 6 0;
14215                }
14216             }
14217             description { state: "selected" 0.0;
14218                inherit: "default" 0.0;
14219                visible: 1;
14220                color: 255 255 255 255;
14221             }
14222          }
14223       }
14224       programs {
14225          program {
14226             name: "go_active";
14227             signal: "elm,state,selected";
14228             source: "elm";
14229             action: STATE_SET "selected" 0.0;
14230             target: "bg";
14231             target: "fg1";
14232             target: "fg2";
14233             target: "elm.text";
14234          }
14235          program {
14236             name: "go_passive";
14237             signal: "elm,state,unselected";
14238             source: "elm";
14239             action: STATE_SET "default" 0.0;
14240             target: "bg";
14241             target: "fg1";
14242             target: "fg2";
14243             target: "elm.text";
14244             transition: LINEAR 0.1;
14245          }
14246       }
14247    }
14248    group { name: "elm/list/h_item_compress/default";
14249       data.item: "stacking" "above";
14250       data.item: "selectraise" "on";
14251       images {
14252          image: "bt_sm_base1.png" COMP;
14253          image: "bt_sm_shine.png" COMP;
14254          image: "bt_sm_hilight.png" COMP;
14255          image: "ilist_1_h.png" COMP;
14256          image: "ilist_item_shadow_h.png" COMP;
14257       }
14258       parts {
14259          part {
14260             name: "event";
14261             type: RECT;
14262             repeat_events: 1;
14263             description {
14264                state: "default" 0.0;
14265                color: 0 0 0 0;
14266             }
14267          }
14268          part {
14269             name: "base_sh";
14270             mouse_events: 0;
14271             description { state: "default" 0.0;
14272                fixed: 1 1;
14273                align: 0.0 0.0;
14274                min: 10 0;
14275                rel1 {
14276                   to: "base";
14277                   relative: 1.0 0.0;
14278                   offset: 0 0;
14279                }
14280                rel2 {
14281                   to: "base";
14282                   relative: 1.0 1.0;
14283                   offset: 0 -1;
14284                }
14285                image {
14286                   normal: "ilist_item_shadow_h.png";
14287                }
14288                fill.smooth: 0;
14289             }
14290          }
14291          part {
14292             name: "base";
14293             mouse_events: 0;
14294             description {
14295                state: "default" 0.0;
14296                image {
14297                   normal: "ilist_1_h.png";
14298                   border: 2 2 2 2;
14299                }
14300                fill.smooth: 0;
14301             }
14302          }
14303          part { name: "bg";
14304             mouse_events: 0;
14305             description { state: "default" 0.0;
14306                visible: 0;
14307                color: 255 255 255 0;
14308                rel1 {
14309                   relative: 0.0 0.0;
14310                   offset: -5 -5;
14311                }
14312                rel2 {
14313                   relative: 1.0 1.0;
14314                   offset: 4 4;
14315                }
14316                image {
14317                   normal: "bt_sm_base1.png";
14318                   border: 6 6 6 6;
14319                }
14320                image.middle: SOLID;
14321             }
14322             description { state: "selected" 0.0;
14323                inherit: "default" 0.0;
14324                visible: 1;
14325                color: 255 255 255 255;
14326                rel1 {
14327                   relative: 0.0 0.0;
14328                   offset: -2 -2;
14329                }
14330                rel2 {
14331                   relative: 1.0 1.0;
14332                   offset: 1 1;
14333                }
14334             }
14335          }
14336          part { name: "elm.swallow.icon";
14337             type: SWALLOW;
14338             description { state: "default" 0.0;
14339                fixed: 0 1;
14340                align: 0.5 0.0;
14341                rel1 {
14342                   relative: 0.0 0.0;
14343                   offset: 4 4;
14344                }
14345                rel2 {
14346                   relative: 1.0 0.0;
14347                   offset: -5 4;
14348                }
14349             }
14350          }
14351          part { name: "elm.swallow.end";
14352             type: SWALLOW;
14353             description { state: "default" 0.0;
14354                fixed: 0 1;
14355                align: 0.5 1.0;
14356                rel1 {
14357                   relative: 0.0 1.0;
14358                   offset: 4 -5;
14359                }
14360                rel2 {
14361                   relative: 1.0 1.0;
14362                   offset: -5 -5;
14363                }
14364             }
14365          }
14366          part {
14367             name: "elm.text";
14368             type: TEXT;
14369             effect: SOFT_SHADOW;
14370             mouse_events: 0;
14371             scale: 1;
14372             description { state: "default" 0.0;
14373                fixed: 1 1;
14374                rel1 {
14375                   to_x: "elm.swallow.icon";
14376                   relative: 0.0 1.0;
14377                   offset: 4 4;
14378                }
14379                rel2 {
14380                   to_x: "elm.swallow.end";
14381                   relative: 1.0 0.0;
14382                   offset: -5 -1;
14383                }
14384                color: 0 0 0 255;
14385                color3: 0 0 0 0;
14386                text {
14387                   font: "Sans";
14388                   size: 10;
14389                   min: 1 1;
14390                   align: 0.5 0.5;
14391                   text_class: "list_item";
14392                }
14393             }
14394             description { state: "selected" 0.0;
14395                inherit: "default" 0.0;
14396                color: 224 224 224 255;
14397                color3: 0 0 0 64;
14398             }
14399          }
14400          part { name: "fg1";
14401             mouse_events: 0;
14402             description { state: "default" 0.0;
14403                visible: 0;
14404                color: 255 255 255 0;
14405                rel1.to: "bg";
14406                rel2.relative: 1.0 0.5;
14407                rel2.to: "bg";
14408                image {
14409                   normal: "bt_sm_hilight.png";
14410                   border: 6 6 6 0;
14411                }
14412             }
14413             description { state: "selected" 0.0;
14414                inherit: "default" 0.0;
14415                visible: 1;
14416                color: 255 255 255 255;
14417             }
14418          }
14419          part { name: "fg2";
14420             mouse_events: 0;
14421             description { state: "default" 0.0;
14422                visible: 0;
14423                color: 255 255 255 0;
14424                rel1.to: "bg";
14425                rel2.to: "bg";
14426                image {
14427                   normal: "bt_sm_shine.png";
14428                   border: 6 6 6 0;
14429                }
14430             }
14431             description { state: "selected" 0.0;
14432                inherit: "default" 0.0;
14433                visible: 1;
14434                color: 255 255 255 255;
14435             }
14436          }
14437       }
14438       programs {
14439          program {
14440             name: "go_active";
14441             signal: "elm,state,selected";
14442             source: "elm";
14443             action: STATE_SET "selected" 0.0;
14444             target: "bg";
14445             target: "fg1";
14446             target: "fg2";
14447             target: "elm.text";
14448          }
14449          program {
14450             name: "go_passive";
14451             signal: "elm,state,unselected";
14452             source: "elm";
14453             action: STATE_SET "default" 0.0;
14454             target: "bg";
14455             target: "fg1";
14456             target: "fg2";
14457             target: "elm.text";
14458             transition: LINEAR 0.1;
14459          }
14460       }
14461    }
14462    group { name: "elm/list/h_item_compress_odd/default";
14463       data.item: "stacking" "below";
14464       data.item: "selectraise" "on";
14465       images {
14466          image: "bt_sm_base1.png" COMP;
14467          image: "bt_sm_shine.png" COMP;
14468          image: "bt_sm_hilight.png" COMP;
14469          image: "ilist_2_h.png" COMP;
14470       }
14471       parts {
14472          part {
14473             name: "event";
14474             type: RECT;
14475             repeat_events: 1;
14476             description {
14477                state: "default" 0.0;
14478                color: 0 0 0 0;
14479             }
14480          }
14481          part {
14482             name: "base";
14483             mouse_events: 0;
14484             description {
14485                state: "default" 0.0;
14486                image {
14487                   normal: "ilist_2_h.png";
14488                   border: 2 2 2 2;
14489                }
14490                fill.smooth: 0;
14491             }
14492          }
14493          part { name: "bg";
14494             mouse_events: 0;
14495             description { state: "default" 0.0;
14496                visible: 0;
14497                color: 255 255 255 0;
14498                rel1 {
14499                   relative: 0.0 0.0;
14500                   offset: -5 -5;
14501                }
14502                rel2 {
14503                   relative: 1.0 1.0;
14504                   offset: 4 4;
14505                }
14506                image {
14507                   normal: "bt_sm_base1.png";
14508                   border: 6 6 6 6;
14509                }
14510                image.middle: SOLID;
14511             }
14512             description { state: "selected" 0.0;
14513                inherit: "default" 0.0;
14514                visible: 1;
14515                color: 255 255 255 255;
14516                rel1 {
14517                   relative: 0.0 0.0;
14518                   offset: -2 -2;
14519                }
14520                rel2 {
14521                   relative: 1.0 1.0;
14522                   offset: 1 1;
14523                }
14524             }
14525          }
14526          part { name: "elm.swallow.icon";
14527             type: SWALLOW;
14528             description { state: "default" 0.0;
14529                fixed: 0 1;
14530                align: 0.5 0.0;
14531                rel1 {
14532                   relative: 0.0 0.0;
14533                   offset: 4 4;
14534                }
14535                rel2 {
14536                   relative: 1.0 0.0;
14537                   offset: -5 4;
14538                }
14539             }
14540          }
14541          part { name: "elm.swallow.end";
14542             type: SWALLOW;
14543             description { state: "default" 0.0;
14544                fixed: 0 1;
14545                align: 0.5 1.0;
14546                rel1 {
14547                   relative: 0.0 1.0;
14548                   offset: 4 -5;
14549                }
14550                rel2 {
14551                   relative: 1.0 1.0;
14552                   offset: -5 -5;
14553                }
14554             }
14555          }
14556          part { name: "elm.text";
14557             type: TEXT;
14558             effect: SOFT_SHADOW;
14559             mouse_events: 0;
14560             scale: 1;
14561             description {
14562                state: "default" 0.0;
14563                fixed: 1 1;
14564                rel1 {
14565                   to_x: "elm.swallow.icon";
14566                   relative: 0.0 1.0;
14567                   offset: 4 4;
14568                }
14569                rel2 {
14570                   to_x: "elm.swallow.end";
14571                   relative: 1.0 0.0;
14572                   offset: -5 -1;
14573                }
14574                color: 0 0 0 255;
14575                color3: 0 0 0 0;
14576                text {
14577                   font: "Sans";
14578                   size: 10;
14579                   min: 1 1;
14580                   align: 0.5 0.5;
14581                   text_class: "list_item";
14582                }
14583             }
14584             description { state: "selected" 0.0;
14585                inherit: "default" 0.0;
14586                color: 224 224 224 255;
14587                color3: 0 0 0 64;
14588             }
14589          }
14590          part { name: "fg1";
14591             mouse_events: 0;
14592             description { state: "default" 0.0;
14593                visible: 0;
14594                color: 255 255 255 0;
14595                rel1.to: "bg";
14596                rel2.relative: 1.0 0.5;
14597                rel2.to: "bg";
14598                image {
14599                   normal: "bt_sm_hilight.png";
14600                   border: 6 6 6 0;
14601                }
14602             }
14603             description { state: "selected" 0.0;
14604                inherit: "default" 0.0;
14605                visible: 1;
14606                color: 255 255 255 255;
14607             }
14608          }
14609          part { name: "fg2";
14610             mouse_events: 0;
14611             description { state: "default" 0.0;
14612                visible: 0;
14613                color: 255 255 255 0;
14614                rel1.to: "bg";
14615                rel2.to: "bg";
14616                image {
14617                   normal: "bt_sm_shine.png";
14618                   border: 6 6 6 0;
14619                }
14620             }
14621             description { state: "selected" 0.0;
14622                inherit: "default" 0.0;
14623                visible: 1;
14624                color: 255 255 255 255;
14625             }
14626          }
14627       }
14628       programs {
14629          program {
14630             name: "go_active";
14631             signal: "elm,state,selected";
14632             source: "elm";
14633             action: STATE_SET "selected" 0.0;
14634             target: "bg";
14635             target: "fg1";
14636             target: "fg2";
14637             target: "elm.text";
14638          }
14639          program {
14640             name: "go_passive";
14641             signal: "elm,state,unselected";
14642             source: "elm";
14643             action: STATE_SET "default" 0.0;
14644             target: "bg";
14645             target: "fg1";
14646             target: "fg2";
14647             target: "elm.text";
14648             transition: LINEAR 0.1;
14649          }
14650       }
14651    }
14652
14653 ///////////////////////////////////////////////////////////////////////////////
14654    group { name: "elm/slider/horizontal/default";
14655            alias: "elm/slider/horizontal/disabled";
14656       images {
14657          image: "sl_bg.png" COMP;
14658          image: "sl_bg_over.png" COMP;
14659          image: "sl_units.png" COMP;
14660       }
14661       parts {
14662          part { name: "base";
14663             mouse_events: 0;
14664             description { state: "default" 0.0;
14665                max: 99999 6;
14666                min: 0 6;
14667                rel1 { to: "bg";
14668                   offset: 1 0;
14669                }
14670                rel2 { to: "bg";
14671                   offset: -2 -1;
14672                }
14673                image.normal: "sl_bg.png";
14674                fill.smooth: 0;
14675             }
14676          }
14677          part { name: "level";
14678             type: RECT;
14679             mouse_events: 0;
14680             description { state: "default" 0.0;
14681                fixed: 1 1;
14682                rel1.to: "base";
14683                rel2 {
14684                   to_y: "base";
14685                   to_x: "elm.dragable.slider";
14686                   relative: 0.5 1.0;
14687                }
14688                color: 255 0 0 200;
14689             }
14690             description { state: "inverted" 0.0;
14691                inherit: "default" 0.0;
14692                visible: 0;
14693             }
14694             description { state: "disabled" 0.0;
14695                inherit: "default" 0.0;
14696                color: 255 0 0 100;
14697             }
14698             description { state: "disabled_inverted" 0.0;
14699                inherit: "default" 0.0;
14700                visible: 0;
14701             }
14702          }
14703          part { name: "level2";
14704             type: RECT;
14705             mouse_events: 0;
14706             description { state: "default" 0.0;
14707                fixed: 1 1;
14708                visible: 0;
14709                rel1 {
14710                   to_y: "base";
14711                   to_x: "elm.dragable.slider";
14712                   relative: 0.5 0.0;
14713                }
14714                rel2.to: "base";
14715                color: 255 0 0 200;
14716             }
14717             description { state: "inverted" 0.0;
14718                inherit: "default" 0.0;
14719                visible: 1;
14720             }
14721             description { state: "disabled" 0.0;
14722                inherit: "default" 0.0;
14723             }
14724             description { state: "disabled_inverted" 0.0;
14725                inherit: "default" 0.0;
14726                color: 255 0 0 100;
14727                visible: 1;
14728             }
14729          }
14730          part {
14731             name: "base_over";
14732             mouse_events: 0;
14733             description { state: "default" 0.0;
14734                rel1.to: "base";
14735                rel1.offset: -1 -1;
14736                rel2.to: "base";
14737                rel2.offset: 0 0;
14738                image {
14739                   normal: "sl_bg_over.png";
14740                   border: 3 3 3 3;
14741                }
14742                fill.smooth: 0;
14743             }
14744          }
14745          part { name: "bg";
14746             type: RECT;
14747             mouse_events: 0;
14748             scale: 1;
14749             description { state: "default" 0.0;
14750                visible: 0;
14751                rel1.to: "elm.swallow.bar";
14752                rel2.to: "elm.swallow.bar";
14753                color: 0 0 0 0;
14754             }
14755          }
14756          part { name: "elm.swallow.bar";
14757             type: SWALLOW;
14758             scale: 1;
14759             description { state: "default" 0.0;
14760                min: 48 24;
14761                max: 99999 24;
14762                align: 1.0 0.5;
14763                rel1 {
14764                   to_x: "elm.text";
14765                   relative: 1.0 0.0;
14766                   offset: 8 0;
14767                }
14768                rel2 {
14769                   to_x: "elm.units";
14770                   relative: 0.0 1.0;
14771                   offset: -10 -1;
14772                }
14773             }
14774          }
14775          part { name: "elm.swallow.icon";
14776             type: SWALLOW;
14777             description { state: "default" 0.0;
14778                visible: 0;
14779                align: 0.0 0.5;
14780                rel1 {
14781                   offset: 4 0;
14782                   to_y: "elm.swallow.bar";
14783                }
14784                rel2 {
14785                   offset: 3 -1;
14786                   relative: 0.0 1.0;
14787                   to_y: "elm.swallow.bar";
14788                }
14789             }
14790             description { state: "visible" 0.0;
14791                inherit: "default" 0.0;
14792                visible: 1;
14793                aspect: 1.0 1.0;
14794                aspect_preference: VERTICAL;
14795                rel2.offset: 4 -1;
14796             }
14797          }
14798          part { name: "elm.text";
14799             type: TEXT;
14800             mouse_events: 0;
14801             scale: 1;
14802             description { state: "default" 0.0;
14803                visible: 0;
14804                fixed: 1 1;
14805                align: 0.0 0.5;
14806                rel1.to_x: "elm.swallow.icon";
14807                rel1.relative: 1.0 0.0;
14808                rel1.offset: -1 4;
14809                rel2.to_x: "elm.swallow.icon";
14810                rel2.relative: 1.0 1.0;
14811                rel2.offset: -1 -5;
14812                color: 0 0 0 255;
14813                text {
14814                   font: "Sans,Edje-Vera";
14815                   size: 10;
14816                   min: 0 0;
14817                   align: 0.0 0.5;
14818                }
14819             }
14820             description { state: "visible" 0.0;
14821                inherit: "default" 0.0;
14822                visible: 1;
14823                text.min: 1 1;
14824                rel1.offset: 0 4;
14825                rel2.offset: 0 -5;
14826             }
14827             description { state: "disabled" 0.0;
14828                inherit: "default" 0.0;
14829                color: 255 128 128 128;
14830                visible: 0;
14831             }
14832             description { state: "disabled_visible" 0.0;
14833                inherit: "default" 0.0;
14834                color: 0 0 0 128;
14835                color3: 0 0 0 0;
14836                visible: 1;
14837                text.min: 1 1;
14838             }
14839          }
14840          part {
14841             name: "elm.swallow.end";
14842             type: SWALLOW;
14843             description {
14844                state: "default" 0.0;
14845                visible: 0;
14846                align: 1.0 0.5;
14847                rel1 {
14848                   offset: -4 0;
14849                   relative: 1.0 0.0;
14850                   to_y: "elm.swallow.bar";
14851                }
14852                rel2 {
14853                   offset: -3 -1;
14854                   to_y: "elm.swallow.bar";
14855                }
14856             }
14857             description { state: "visible" 0.0;
14858                inherit: "default" 0.0;
14859                visible: 1;
14860                aspect: 1.0 1.0;
14861                aspect_preference: VERTICAL;
14862                rel2.offset: -4 -1;
14863             }
14864          }
14865          part { name: "units";
14866             mouse_events: 0;
14867             description { state: "default" 0.0;
14868                visible: 0;
14869                rel1 {
14870                   to_x: "elm.units";
14871                   offset: 0 5;
14872                }
14873                rel2 {
14874                   to_x: "elm.units";
14875                   offset: 5 -3;
14876                }
14877                image {
14878                   normal: "sl_units.png";
14879                   border: 0 5 3 8;
14880                }
14881                fill.smooth: 0;
14882             }
14883             description { state: "visible" 0.0;
14884                inherit: "default" 0.0;
14885                visible: 1;
14886             }
14887          }
14888          part { name: "elm.units";
14889             type: TEXT;
14890             mouse_events: 0;
14891             scale: 1;
14892             description { state: "default" 0.0;
14893                visible: 0;
14894                fixed: 1 1;
14895                align: 1.0 0.5;
14896                rel1.to_x: "elm.swallow.end";
14897                rel1.relative: 0.0 0.0;
14898                rel1.offset: 0 8;
14899                rel2.to_x: "elm.swallow.end";
14900                rel2.relative: 0.0 1.0;
14901                rel2.offset: 0 -9;
14902                color: 0 0 0 255;
14903                text {
14904                   font: "Sans,Edje-Vera";
14905                   size: 10;
14906                   min: 0 0;
14907                   align: 0.0 0.5;
14908                }
14909             }
14910             description { state: "visible" 0.0;
14911                inherit: "default" 0.0;
14912                fixed: 1 1;
14913                visible: 1;
14914                text.min: 1 1;
14915                rel1.offset: -5 0;
14916                rel2.offset: -5 -1;
14917             }
14918             description { state: "disabled" 0.0;
14919                inherit: "default" 0.0;
14920                color: 255 128 128 128;
14921                visible: 0;
14922             }
14923             description { state: "disabled_visible" 0.0;
14924                inherit: "default" 0.0;
14925                color: 0 0 0 128;
14926                color3: 0 0 0 0;
14927                visible: 1;
14928                text.min: 1 1;
14929             }
14930          }
14931          part { name: "elm.dragable.slider";
14932             type: GROUP;
14933             source: "elm/slider/horizontal/indicator/default";
14934             mouse_events: 1;
14935             repeat_events: 1;
14936             scale: 1;
14937             dragable {
14938                x: 1 1 0;
14939                y: 0 0 0;
14940                confine: "bg";
14941             }
14942             description { state: "default" 0.0;
14943                min: 0 24;
14944                max: 0 24;
14945                fixed: 1 1;
14946                rel1 {
14947                   relative: 0.5 0.0;
14948                   to_x: "bg";
14949                }
14950                rel2 {
14951                   relative: 0.5 1.0;
14952                   to_x: "bg";
14953                }
14954                color: 255 0 0 100;
14955             }
14956          }
14957           part { name: "disabler";
14958             type: RECT;
14959             description { state: "default" 0.0;
14960                color: 0 0 0 0;
14961                visible: 0;
14962             }
14963             description { state: "disabled" 0.0;
14964                inherit: "default" 0.0;
14965                visible: 1;
14966             }
14967          }
14968       }
14969       programs {
14970          program { name: "text_show";
14971             signal: "elm,state,text,visible";
14972             source: "elm";
14973             action:  STATE_SET "visible" 0.0;
14974             target: "elm.text";
14975          }
14976          program { name: "text_hide";
14977             signal: "elm,state,text,hidden";
14978             source: "elm";
14979             action:  STATE_SET "default" 0.0;
14980             target: "elm.text";
14981          }
14982          program { name: "icon_show";
14983             signal: "elm,state,icon,visible";
14984             source: "elm";
14985             action:  STATE_SET "visible" 0.0;
14986             target: "elm.swallow.icon";
14987          }
14988          program { name: "icon_hide";
14989             signal: "elm,state,icon,hidden";
14990             source: "elm";
14991             action:  STATE_SET "default" 0.0;
14992             target: "elm.swallow.icon";
14993          }
14994           program { name: "end_show";
14995             signal: "elm,state,end,visible";
14996             source: "elm";
14997             action:  STATE_SET "visible" 0.0;
14998             target: "elm.swallow.end";
14999          }
15000          program { name: "end_hide";
15001             signal: "elm,state,end,hidden";
15002             source: "elm";
15003             action:  STATE_SET "default" 0.0;
15004             target: "elm.swallow.end";
15005          }
15006          program { name: "units_show";
15007             signal: "elm,state,units,visible";
15008             source: "elm";
15009             action:  STATE_SET "visible" 0.0;
15010             target: "elm.units";
15011             target: "units";
15012          }
15013          program { name: "units_hide";
15014             signal: "elm,state,units,hidden";
15015             source: "elm";
15016             action:  STATE_SET "default" 0.0;
15017             target: "elm.units";
15018             target: "units";
15019          }
15020          program { name: "invert_on";
15021             signal: "elm,state,inverted,on";
15022             source: "elm";
15023             action:  STATE_SET "inverted" 0.0;
15024             target: "level";
15025             target: "level2";
15026          }
15027          program { name: "invert_off";
15028             signal: "elm,state,inverted,off";
15029             source: "elm";
15030             action:  STATE_SET "default" 0.0;
15031             target: "level";
15032             target: "level2";
15033          }
15034          program {
15035             name:    "go_disabled";
15036             signal:  "elm,state,disabled";
15037             source:  "elm";
15038             action:  STATE_SET "disabled" 0.0;
15039 //            target: "button0";
15040             target: "disabler";
15041             after: "disable_text";
15042             after: "disable_ind";
15043          }
15044
15045          program { name: "disable_ind";
15046             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15047          }
15048          program { name: "disable_text";
15049             script {
15050                new st[31];
15051                new Float:vl;
15052                get_state(PART:"elm.text", st, 30, vl);
15053                if (!strcmp(st, "visible"))
15054                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15055                else
15056                   set_state(PART:"elm.text", "disabled", 0.0);
15057
15058                get_state(PART:"elm.units", st, 30, vl);
15059                if (!strcmp(st, "visible"))
15060                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15061                else
15062                   set_state(PART:"elm.units", "disabled", 0.0);
15063
15064                get_state(PART:"level2", st, 30, vl);
15065                if (!strcmp(st, "inverted"))
15066                {
15067                   set_state(PART:"level", "disabled_inverted", 0.0);
15068                   set_state(PART:"level2", "disabled_inverted", 0.0);
15069                }
15070                else
15071                {
15072                   set_state(PART:"level", "disabled", 0.0);
15073                   set_state(PART:"level2", "disabled", 0.0);
15074                }
15075             }
15076          }
15077          program { name: "enable";
15078             signal: "elm,state,enabled";
15079             source: "elm";
15080             action: STATE_SET "default" 0.0;
15081 //            target: "button0";
15082             target: "disabler";
15083             after: "enable_text";
15084             after: "enable_ind";
15085          }
15086
15087          program { name: "enable_ind";
15088             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15089          }
15090
15091          program { name: "enable_text";
15092             script {
15093                new st[31];
15094                new Float:vl;
15095                get_state(PART:"elm.text", st, 30, vl);
15096                if (!strcmp(st, "disabled_visible"))
15097                   set_state(PART:"elm.text", "visible", 0.0);
15098                else
15099                   set_state(PART:"elm.text", "default", 0.0);
15100
15101                get_state(PART:"elm.units", st, 30, vl);
15102                if (!strcmp(st, "disabled_visible"))
15103                   set_state(PART:"elm.units", "visible", 0.0);
15104                else
15105                   set_state(PART:"elm.units", "default", 0.0);
15106
15107                get_state(PART:"level2", st, 30, vl);
15108                if (!strcmp(st, "disabled_inverted"))
15109                {
15110                   set_state(PART:"level", "inverted", 0.0);
15111                   set_state(PART:"level2", "inverted", 0.0);
15112                }
15113                else
15114                {
15115                   set_state(PART:"level", "default", 0.0);
15116                   set_state(PART:"level2", "default", 0.0);
15117                }
15118             }
15119          }
15120       }
15121    }
15122
15123    group { name: "elm/slider/vertical/default";
15124       images {
15125          image: "slv_bg.png" COMP;
15126          image: "slv_bg_over.png" COMP;
15127
15128          image: "slv_units.png" COMP;
15129       }
15130       parts {
15131          part { name: "base";
15132             mouse_events: 0;
15133             description { state: "default" 0.0;
15134                max: 6 99999;
15135                min: 6 0;
15136                rel1 { to: "bg";
15137                   offset: 1 0;
15138                }
15139                rel2 { to: "bg";
15140                   offset: -2 -1;
15141                }
15142                image.normal: "slv_bg.png";
15143                fill.smooth: 0;
15144             }
15145          }
15146          part { name: "level";
15147             type: RECT;
15148             mouse_events: 0;
15149             description { state: "default" 0.0;
15150                fixed: 1 1;
15151                rel1.to: "base";
15152                rel2 {
15153                   to_x: "base";
15154                   to_y: "elm.dragable.slider";
15155                   relative: 1.0 0.5;
15156                }
15157                color: 255 0 0 200;
15158             }
15159             description { state: "inverted" 0.0;
15160                inherit: "default" 0.0;
15161                visible: 0;
15162             }
15163             description { state: "disabled" 0.0;
15164                inherit: "default" 0.0;
15165                color: 255 0 0 100;
15166             }
15167             description { state: "disabled_inverted" 0.0;
15168                inherit: "default" 0.0;
15169                visible: 0;
15170             }
15171          }
15172          part { name: "level2";
15173             type: RECT;
15174             mouse_events: 0;
15175             description { state: "default" 0.0;
15176                fixed: 1 1;
15177                visible: 0;
15178                rel1 {
15179                   to_x: "base";
15180                   to_y: "elm.dragable.slider";
15181                   relative: 0.0 0.5;
15182                }
15183                rel2.to: "base";
15184                color: 255 0 0 200;
15185             }
15186             description { state: "inverted" 0.0;
15187                inherit: "default" 0.0;
15188                visible: 1;
15189             }
15190             description { state: "disabled" 0.0;
15191                inherit: "default" 0.0;
15192                color: 255 0 0 100;
15193             }
15194             description { state: "disabled_inverted" 0.0;
15195                inherit: "default" 0.0;
15196                color: 255 0 0 100;
15197                visible: 1;
15198             }
15199          }
15200          part {
15201             name: "base_over";
15202             mouse_events: 0;
15203             description { state: "default" 0.0;
15204                rel1.to: "base";
15205                rel1.offset: -1 -1;
15206                rel2.to: "base";
15207                rel2.offset: 0 0;
15208                image {
15209                   normal: "slv_bg_over.png";
15210                   border: 3 3 3 3;
15211                }
15212                fill.smooth: 0;
15213             }
15214          }
15215          part { name: "bg";
15216             type: RECT;
15217             mouse_events: 0;
15218             scale: 1;
15219             description { state: "default" 0.0;
15220                visible: 0;
15221                rel1.to: "elm.swallow.bar";
15222                rel2.to: "elm.swallow.bar";
15223                color: 0 0 0 0;
15224             }
15225          }
15226          part { name: "elm.swallow.bar";
15227             type: SWALLOW;
15228             scale: 1;
15229             description { state: "default" 0.0;
15230                min: 24 48;
15231                max: 24 9999;
15232                align: 0.5 1.0;
15233                rel1 {
15234                   to_y: "elm.text";
15235                   relative: 0.0 1.0;
15236                   offset: 0 10;
15237                }
15238                rel2 {
15239                   to_y: "elm.units";
15240                   relative: 1.0 0.0;
15241                   offset: -1 -8;
15242                }
15243             }
15244          }
15245          part { name: "elm.swallow.icon";
15246             type: SWALLOW;
15247             description { state: "default" 0.0;
15248                visible: 0;
15249                align: 0.5 0.0;
15250                rel1 {
15251                   offset: 0 4;
15252                   to_x: "elm.swallow.bar";
15253                }
15254                rel2 {
15255                   offset: -1 3;
15256                   relative: 1.0 0.0;
15257                   to_x: "elm.swallow.bar";
15258                }
15259             }
15260             description { state: "visible" 0.0;
15261                inherit: "default" 0.0;
15262                visible: 1;
15263                aspect: 1.0 1.0;
15264                aspect_preference: HORIZONTAL;
15265                rel2.offset: -1 4;
15266             }
15267          }
15268          part { name: "elm.text";
15269             type: TEXT;
15270             mouse_events: 0;
15271             scale: 1;
15272             description { state: "default" 0.0;
15273                visible: 0;
15274                fixed: 0 1;
15275                align: 0.5 0.0;
15276                rel1.to_y: "elm.swallow.icon";
15277                rel1.relative: 0.0 1.0;
15278                rel1.offset: 0 -1;
15279                rel2.to_y: "elm.swallow.icon";
15280                rel2.relative: 1.0 1.0;
15281                rel2.offset: -1 -1;
15282                color: 0 0 0 255;
15283                text {
15284                   font: "Sans,Edje-Vera";
15285                   size: 10;
15286                   min: 0 0;
15287                   align: 0.5 0.0;
15288                }
15289             }
15290             description { state: "visible" 0.0;
15291                inherit: "default" 0.0;
15292                visible: 1;
15293                text.min: 1 1;
15294                rel1.offset: 4 0;
15295                rel2.offset: -5 0;
15296             }
15297             description { state: "disabled" 0.0;
15298                inherit: "default" 0.0;
15299                color: 255 128 128 128;
15300                visible: 0;
15301             }
15302             description { state: "disabled_visible" 0.0;
15303                inherit: "default" 0.0;
15304                color: 0 0 0 128;
15305                color3: 0 0 0 0;
15306                visible: 1;
15307                text.min: 1 1;
15308             }
15309          }
15310          part {
15311             name: "elm.swallow.end";
15312             type: SWALLOW;
15313             description {
15314                state: "default" 0.0;
15315                visible: 0;
15316                align: 0.5 1.0;
15317                rel1 {
15318                   offset: 0 -4;
15319                   relative: 0.0 1.0;
15320                   to_x: "elm.swallow.bar";
15321                }
15322                rel2 {
15323                   offset: -1 -3;
15324                   to_x: "elm.swallow.bar";
15325                }
15326             }
15327             description { state: "visible" 0.0;
15328                inherit: "default" 0.0;
15329                visible: 1;
15330                aspect: 1.0 1.0;
15331                aspect_preference: HORIZONTAL;
15332                rel2.offset: -1 -4;
15333             }
15334          }
15335          part { name: "units";
15336             mouse_events: 0;
15337             description { state: "default" 0.0;
15338                visible: 0;
15339                rel1 {
15340                   to: "elm.units";
15341                   offset: -8 0;
15342                }
15343                rel2 {
15344                   to: "elm.units";
15345                   offset: 7 8;
15346                }
15347                image {
15348                   normal: "slv_units.png";
15349                   border: 8 8 0 9;
15350                }
15351                fill.smooth: 0;
15352             }
15353             description { state: "visible" 0.0;
15354                inherit: "default" 0.0;
15355                visible: 1;
15356             }
15357          }
15358          part { name: "elm.units";
15359             type: TEXT;
15360             mouse_events: 0;
15361             scale: 1;
15362             description { state: "default" 0.0;
15363                visible: 0;
15364                fixed: 1 1;
15365                align: 0.5 1.0;
15366                rel1.relative: 0.0 0.0;
15367                rel1.to_y: "elm.swallow.end";
15368                rel1.offset: 8 0;
15369                rel2.relative: 1.0 0.0;
15370                rel2.to_y: "elm.swallow.end";
15371                rel2.offset: -9 0;
15372                color: 0 0 0 255;
15373                text {
15374                   font: "Sans,Edje-Vera";
15375                   size: 10;
15376                   min: 0 0;
15377                   align: 0.5 0.0;
15378                }
15379             }
15380             description { state: "visible" 0.0;
15381                inherit: "default" 0.0;
15382                fixed: 1 1;
15383                visible: 1;
15384                text.min: 1 1;
15385                rel1.offset: 8 -9;
15386                rel2.offset: -9 -9;
15387             }
15388             description { state: "disabled" 0.0;
15389                inherit: "default" 0.0;
15390                color:  0 0 0 128;
15391                color3: 0 0 0 0;
15392                visible: 0;
15393             }
15394             description { state: "disabled_visible" 0.0;
15395                inherit: "default" 0.0;
15396                fixed: 1 1;
15397                visible: 1;
15398                text.min: 1 1;
15399                rel1.offset: 8 -9;
15400                rel2.offset: -9 -9;
15401                color: 0 0 0 128;
15402                color3: 0 0 0 0;
15403             }
15404          }
15405          part { name: "elm.dragable.slider";
15406             type: GROUP;
15407             source: "elm/slider/vertical/indicator/default";
15408             mouse_events: 1;
15409             repeat_events: 1;
15410             scale: 1;
15411             dragable {
15412                x: 0 0 0;
15413                y: 1 1 0;
15414                confine: "bg";
15415             }
15416             description { state: "default" 0.0;
15417                min: 24 0;
15418                max: 24 0;
15419                fixed: 1 1;
15420                rel1 {
15421                   relative: 0.5  0.0;
15422                   to_y: "bg";
15423                }
15424                rel2 {
15425                   relative: 0.5  1.0;
15426                   to_y: "bg";
15427                }
15428                color: 0 0 0 0;
15429             }
15430          }
15431               part { name: "disabler";
15432                 type: RECT;
15433                 description { state: "default" 0.0;
15434                    color: 0 0 0 0;
15435                    visible: 0;
15436                 }
15437                 description { state: "disabled" 0.0;
15438                    inherit: "default" 0.0;
15439                    visible: 1;
15440                 }
15441              }
15442           }
15443
15444       programs {
15445          program { name: "text_show";
15446             signal: "elm,state,text,visible";
15447             source: "elm";
15448             action:  STATE_SET "visible" 0.0;
15449             target: "elm.text";
15450          }
15451          program { name: "text_hide";
15452             signal: "elm,state,text,hidden";
15453             source: "elm";
15454             action:  STATE_SET "default" 0.0;
15455             target: "elm.text";
15456          }
15457          program { name: "icon_show";
15458             signal: "elm,state,icon,visible";
15459             source: "elm";
15460             action:  STATE_SET "visible" 0.0;
15461             target: "elm.swallow.icon";
15462          }
15463          program { name: "icon_hide";
15464             signal: "elm,state,icon,hidden";
15465             source: "elm";
15466             action:  STATE_SET "default" 0.0;
15467             target: "elm.swallow.icon";
15468          }
15469          program { name: "end_show";
15470             signal: "elm,state,end,visible";
15471             source: "elm";
15472             action:  STATE_SET "visible" 0.0;
15473             target: "elm.swallow.end";
15474          }
15475          program { name: "end_hide";
15476             signal: "elm,state,end,hidden";
15477             source: "elm";
15478             action:  STATE_SET "default" 0.0;
15479             target: "elm.swallow.end";
15480          }
15481          program { name: "units_show";
15482             signal: "elm,state,units,visible";
15483             source: "elm";
15484             action:  STATE_SET "visible" 0.0;
15485             target: "elm.units";
15486             target: "units";
15487          }
15488          program { name: "units_hide";
15489             signal: "elm,state,units,hidden";
15490             source: "elm";
15491             action:  STATE_SET "default" 0.0;
15492             target: "elm.units";
15493             target: "units";
15494          }
15495          program { name: "invert_on";
15496             signal: "elm,state,inverted,on";
15497             source: "elm";
15498             action:  STATE_SET "inverted" 0.0;
15499             target: "level";
15500             target: "level2";
15501          }
15502          program { name: "invert_off";
15503             signal: "elm,state,inverted,off";
15504             source: "elm";
15505             action:  STATE_SET "default" 0.0;
15506             target: "level";
15507             target: "level2";
15508          }
15509          program {
15510             name:   "go_disabled";
15511             signal: "elm,state,disabled";
15512             source: "elm";
15513             action: STATE_SET "disabled" 0.0;
15514 //            target: "button0";
15515             target: "disabler";
15516             after: "disable_text";
15517             after: "disable_ind";
15518          }
15519
15520          program { name: "disable_ind";
15521             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15522          }
15523
15524          program { name: "disable_text";
15525             script {
15526             new st[31];
15527             new Float:vl;
15528                get_state(PART:"elm.text", st, 30, vl);
15529                if (!strcmp(st, "visible"))
15530                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15531                else
15532                   set_state(PART:"elm.text", "disabled", 0.0);
15533
15534                get_state(PART:"elm.units", st, 30, vl);
15535                if (!strcmp(st, "visible"))
15536                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15537                else
15538                   set_state(PART:"elm.units", "disabled", 0.0);
15539
15540                get_state(PART:"level2", st, 30, vl);
15541                if (!strcmp(st, "inverted"))
15542                {
15543                   set_state(PART:"level", "disabled_inverted", 0.0);
15544                   set_state(PART:"level2", "disabled_inverted", 0.0);
15545                }
15546                else
15547                {
15548                   set_state(PART:"level", "disabled", 0.0);
15549                   set_state(PART:"level2", "disabled", 0.0);
15550                }
15551             }
15552          }
15553
15554          program { name: "enable";
15555             signal: "elm,state,enabled";
15556             source: "elm";
15557             action: STATE_SET "default" 0.0;
15558 //            target: "button0";
15559             target: "disabler";
15560             after: "enable_text";
15561             after: "enable_ind";
15562          }
15563
15564          program { name: "enable_ind";
15565             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15566          }
15567          program { name: "enable_text";
15568             script {
15569                new st[31];
15570                new Float:vl;
15571                get_state(PART:"elm.text", st, 30, vl);
15572                if (!strcmp(st, "disabled_visible"))
15573                   set_state(PART:"elm.text", "visible", 0.0);
15574                else
15575                   set_state(PART:"elm.text", "default", 0.0);
15576
15577                get_state(PART:"elm.units", st, 30, vl);
15578                if (!strcmp(st, "disabled_visible"))
15579                   set_state(PART:"elm.units", "visible", 0.0);
15580                else
15581                   set_state(PART:"elm.units", "default", 0.0);
15582
15583                get_state(PART:"level2", st, 30, vl);
15584                if (!strcmp(st, "disabled_inverted"))
15585                {
15586                   set_state(PART:"level", "inverted", 0.0);
15587                   set_state(PART:"level2", "inverted", 0.0);
15588                }
15589                else
15590                {
15591                   set_state(PART:"level", "default", 0.0);
15592                   set_state(PART:"level2", "default", 0.0);
15593                }
15594             }
15595          }
15596       }
15597    }
15598    group { name: "elm/slider/horizontal/indicator/default";
15599            alias: "elm/slider/horizontal/indicator/disabled";
15600            alias: "elm/slider/vertical/indicator/default";
15601            alias: "elm/slider/vertical/indicator/disabled";
15602       images {
15603          image: "sl_bt_0.png" COMP;
15604          image: "sl_bt_1.png" COMP;
15605          image: "sl_bt_2.png" COMP;
15606          image: "sl_bt_3.png" COMP;
15607          image: "sl_bt2_0_0.png" COMP;
15608          image: "sl_bt2_0_1.png" COMP;
15609          image: "sl_bt2_0_2.png" COMP;
15610          image: "sl_bt2_1.png" COMP;
15611          image: "sl_bt2_2.png" COMP;
15612       }
15613       script {
15614          public value_hide = 0;
15615          public set_value_show() {
15616             set_int(value_hide, 0);
15617          }
15618          public set_value_hide() {
15619             set_int(value_hide, 1);
15620          }
15621          public thumb_down() {
15622             if (get_int(value_hide) == 1) {
15623                set_state(PART:"elm.indicator", "default", 0.0);
15624                set_state(PART:"button3", "default", 0.0);
15625                set_state(PART:"button4", "default", 0.0);
15626                set_state(PART:"button5", "default", 0.0);
15627                set_state(PART:"button6", "default", 0.0);
15628                set_state(PART:"button7", "default", 0.0);
15629             } else {
15630                set_state(PART:"elm.indicator", "visible", 0.0);
15631                set_state(PART:"button3", "visible", 0.0);
15632                set_state(PART:"button4", "visible", 0.0);
15633                set_state(PART:"button5", "visible", 0.0);
15634                set_state(PART:"button6", "visible", 0.0);
15635                set_state(PART:"button7", "visible", 0.0);
15636             }
15637          }
15638          public thumb_up() {
15639             set_state(PART:"elm.indicator", "default", 0.0);
15640             set_state(PART:"button3", "default", 0.0);
15641             set_state(PART:"button4", "default", 0.0);
15642             set_state(PART:"button5", "default", 0.0);
15643             set_state(PART:"button6", "default", 0.0);
15644             set_state(PART:"button7", "default", 0.0);
15645          }
15646       }
15647       parts {
15648          part { name: "button_events";
15649             type: RECT;
15650             mouse_events: 1;
15651             description { state: "default" 0.0;
15652                fixed: 1 1;
15653                min: 16 16;
15654                aspect: 1.0 1.0;
15655                aspect_preference: VERTICAL;
15656                color: 0 0 0 0;
15657             }
15658          }
15659          part { name: "button0";
15660             mouse_events: 0;
15661             description { state: "default" 0.0;
15662                fixed: 1 1;
15663                max: 17 999;
15664                min: 17 24;
15665                image {
15666                   normal: "sl_bt_0.png";
15667                   border: 5 5 5 10;
15668                }
15669                fill.smooth: 0;
15670             }
15671             description { state: "disabled" 0.0;
15672                inherit: "default" 0.0;
15673                image {
15674                   normal: "sl_bt_3.png";
15675                   border: 5 5 5 10;
15676                }
15677             }
15678          }
15679          part { name: "button1";
15680             mouse_events: 0;
15681             description { state: "default" 0.0;
15682                rel1.to: "button0";
15683                rel2 {
15684                   to: "button0";
15685                   relative: 1.0 0.5;
15686                   offset: -1 -5;
15687                }
15688                image {
15689                   normal: "sl_bt_1.png";
15690                   border: 5 5 5 0;
15691                }
15692             }
15693          }
15694          part { name: "button2";
15695             mouse_events: 0;
15696             description { state: "default" 0.0;
15697                rel1.to: "button0";
15698                rel2.to: "button0";
15699                image {
15700                   normal: "sl_bt_2.png";
15701                   border: 5 5 5 10;
15702                }
15703                fill.smooth: 0;
15704             }
15705          }
15706          part { name: "button3";
15707             mouse_events: 0;
15708             description { state: "default" 0.0;
15709                fixed: 1 1;
15710                visible: 0;
15711                min: 8 32;
15712                align: 1.0 0.5;
15713                rel1 {
15714                   to_x: "elm.indicator";
15715                   to_y: "button4";
15716                   relative: 0.0 0.0;
15717                   offset: -7 0;
15718                }
15719                rel2 {
15720                   to: "button4";
15721                   relative: 0.0 1.0;
15722                   offset: -1 -1;
15723                }
15724                image {
15725                   normal: "sl_bt2_0_0.png";
15726                   border: 6 0 6 12;
15727                }
15728                fill.smooth: 0;
15729             }
15730             description { state: "visible" 0.0;
15731                inherit: "default" 0.0;
15732                visible: 1;
15733             }
15734          }
15735          part { name: "button4";
15736             mouse_events: 0;
15737             description { state: "default" 0.0;
15738                visible: 0;
15739                max: 15 999;
15740                min: 15 32;
15741                rel1 {
15742                   to_x: "button0";
15743                   to_y: "elm.indicator";
15744                   offset: 0 0;
15745                }
15746                rel2.to: "button0";
15747                image {
15748                   normal: "sl_bt2_0_1.png";
15749                   border: 0 0 6 12;
15750                }
15751                fill.smooth: 0;
15752             }
15753             description { state: "visible" 0.0;
15754                inherit: "default" 0.0;
15755                visible: 1;
15756             }
15757          }
15758          part { name: "button5";
15759             mouse_events: 0;
15760             description { state: "default" 0.0;
15761                fixed: 1 1;
15762                visible: 0;
15763                min: 8 32;
15764                align: 0.0 0.5;
15765                rel1 {
15766                   to: "button4";
15767                   relative: 1.0 0.0;
15768                   offset: 0 0;
15769                }
15770                rel2 {
15771                   to_x: "elm.indicator";
15772                   to_y: "button4";
15773                   relative: 1.0 1.0;
15774                   offset: 6 -1;
15775                }
15776                image {
15777                   normal: "sl_bt2_0_2.png";
15778                   border: 0 6 6 12;
15779                }
15780                fill.smooth: 0;
15781             }
15782             description { state: "visible" 0.0;
15783                inherit: "default" 0.0;
15784                visible: 1;
15785             }
15786          }
15787          part { name: "elm.indicator";
15788             type: TEXT;
15789             mouse_events: 0;
15790             effect: SOFT_SHADOW;
15791             scale: 1;
15792             description { state: "default" 0.0;
15793                visible: 0;
15794                fixed: 1 1;
15795                align: 0.5 1.0;
15796                rel1 {
15797                   to: "button0";
15798                   relative: 0.0 -0.25;
15799                   offset: 0 0;
15800                }
15801                rel2 {
15802                   to_x: "button0";
15803                   relative: 1.0 -0.25;
15804                   offset: -1 0;
15805                }
15806                color: 224 224 224 255;
15807                color3: 0 0 0 64;
15808                text {
15809                   font:     "Sans,Edje-Vera";
15810                   size:     10;
15811                   min:      0 0;
15812                   align:    0.5 0.5;
15813                }
15814             }
15815             description { state: "visible" 0.0;
15816                inherit: "default" 0.0;
15817                visible: 1;
15818                text.min: 1 1;
15819                rel1.offset: 0 -1;
15820                rel2.offset: -1 -1;
15821             }
15822          }
15823          part { name: "button6";
15824             mouse_events: 0;
15825             description { state: "default" 0.0;
15826                visible: 0;
15827                rel1.to: "button3";
15828                rel2 {
15829                   to: "button5";
15830                   relative: 1.0 0.3;
15831                   offset: -1 -1;
15832                }
15833                image {
15834                   normal: "sl_bt2_1.png";
15835                   border: 5 5 5 0;
15836                }
15837                fill.smooth: 0;
15838             }
15839             description { state: "visible" 0.0;
15840                inherit: "default" 0.0;
15841                visible: 1;
15842             }
15843          }
15844          part { name: "button7";
15845             mouse_events: 0;
15846             description { state: "default" 0.0;
15847                visible: 0;
15848                rel1.to: "button3";
15849                rel2.to: "button5";
15850                image {
15851                   normal: "sl_bt2_2.png";
15852                   border: 5 5 5 0;
15853                   middle: 0;
15854                }
15855                fill.smooth: 0;
15856             }
15857             description { state: "visible" 0.0;
15858                inherit: "default" 0.0;
15859                visible: 1;
15860             }
15861          }
15862       }
15863       programs {
15864          program { name: "set_val_show";
15865             signal: "elm,state,val,show";
15866             source: "elm";
15867             script {
15868                set_value_show();
15869             }
15870          }
15871          program { name: "set_val_hide";
15872             signal: "elm,state,val,hide";
15873             source: "elm";
15874             script {
15875                set_value_hide();
15876             }
15877          }
15878          program { name: "val_show";
15879             signal: "mouse,down,*";
15880             source: "button_events";
15881             script {
15882                thumb_down();
15883             }
15884
15885          }
15886          program { name: "val_hide";
15887             signal: "mouse,up,*";
15888             source: "button_events";
15889             script {
15890                thumb_up();
15891             }
15892          }
15893          program {
15894             name:    "go_disabled";
15895             signal:  "elm,state,disabled";
15896             source:  "elm";
15897             action:  STATE_SET "disabled" 0.0;
15898             target:  "button0";
15899          }
15900          program {
15901             name:    "go_enabled";
15902             signal:  "elm,state,enabled";
15903             source:  "elm";
15904             action:  STATE_SET "default" 0.0;
15905             target:  "button0";
15906          }
15907       }
15908    }
15909
15910 ////////////////////////////////////////////////////////////////////////////////
15911 // actionslider
15912 ////////////////////////////////////////////////////////////////////////////////
15913    group { name: "elm/actionslider/base/default";
15914
15915       images {
15916          image: "shelf_inset.png" COMP;
15917          image: "ilist_1.png" COMP;
15918       }
15919
15920       parts {
15921          part {
15922             name: "base";
15923             mouse_events: 0;
15924             description {
15925                state: "default" 0.0;
15926                min: 75 30;
15927                rel1.offset: 1 1;
15928                rel2.offset: -2 -2;
15929                image {
15930                   normal: "ilist_1.png";
15931                   border: 2 2 2 2;
15932                }
15933                fill.smooth: 0;
15934             }
15935          }
15936          part { name: "conf_over";
15937             mouse_events:  0;
15938             description { state: "default" 0.0;
15939                rel1.to: "base";
15940                rel2.to: "base";
15941                image {
15942                   normal: "shelf_inset.png";
15943                   border: 7 7 7 7;
15944                   middle: 0;
15945                }
15946                fill.smooth : 0;
15947             }
15948          }
15949          part { name: "icon.dragable.area";
15950            type: RECT;
15951             mouse_events: 0;
15952             description { state: "default" 0.0;
15953                visible: 0;
15954                rel1.to: "base";
15955                rel2.to: "base";
15956             }
15957          }
15958          part { name: "elm.text.left";
15959             type: TEXT;
15960             mouse_events: 0;
15961             scale: 1;
15962             description { state: "default" 0.0;
15963                color: 0 0 0 255;
15964                text {
15965                   font: "Sans,Edje-Vera";
15966                   size: 10;
15967                   align: 0.05 0.5;
15968                   min: 1 1;
15969                }
15970             }
15971          }
15972          part { name: "elm.text.center";
15973             type: TEXT;
15974             mouse_events: 0;
15975             scale: 1;
15976             description { state: "default" 0.0;
15977                color: 0 0 0 255;
15978                text {
15979                   font: "Sans,Edje-Vera";
15980                   size: 10;
15981                   align: 0.5 0.5;
15982                   min: 1 1;
15983                }
15984             }
15985          }
15986          part { name: "elm.text.right";
15987             type: TEXT;
15988             mouse_events: 0;
15989             scale: 1;
15990             description { state: "default" 0.0;
15991                color: 0 0 0 255;
15992                text {
15993                   font: "Sans,Edje-Vera";
15994                   size: 10;
15995                   align: 0.95 0.5;
15996                   min: 1 1;
15997                }
15998             }
15999          }
16000          part { name: "elm.swallow.icon";
16001             type: SWALLOW;
16002             mouse_events: 1;
16003             repeat_events: 1;
16004             scale: 1;
16005             description { state: "default" 0.0;
16006                fixed: 1 1;
16007                min: 50 25;
16008                align: 0.5 0.5;
16009                rel1.to: "icon.dragable.area";
16010                rel2 {
16011                   relative: 0.0 1.0;
16012                   to: "icon.dragable.area";
16013                }
16014             }
16015             dragable {
16016                confine: "icon.dragable.area";
16017                x: 1 1 0;
16018                y: 0 0 0;
16019             }
16020          }
16021          part {
16022             name: "elm.swallow.space";
16023             type: SWALLOW;
16024             mouse_events: 0;
16025             scale: 1;
16026             description {
16027                state: "default" 0.0;
16028                min: 50 25;
16029                fixed: 1 0;
16030                align: 0.5 0.5;
16031                rel1 {
16032                   relative: 0.5 0.0;
16033                   to: "icon.dragable.area";
16034                }
16035                rel2 {
16036                   relative: 0.5 1.0;
16037                   to: "icon.dragable.area";
16038                }
16039                visible: 0;
16040             }
16041          }
16042       }
16043    }
16044
16045    group { name: "elm/actionslider/base/bar";
16046
16047       images {
16048          image: "shelf_inset.png" COMP;
16049          image: "ilist_1.png" COMP;
16050       }
16051
16052       parts {
16053          part {
16054             name: "base";
16055             mouse_events: 0;
16056             description {
16057                state: "default" 0.0;
16058                min: 150 30;
16059                rel1.offset: 1 1;
16060                rel2.offset: -2 -2;
16061                image {
16062                   normal: "ilist_1.png";
16063                   border: 2 2 2 2;
16064                }
16065                fill.smooth: 0;
16066             }
16067          }
16068          part { name: "conf_over";
16069             mouse_events:  0;
16070             description { state: "default" 0.0;
16071                rel1.to: "base";
16072                rel2.to: "base";
16073                image {
16074                   normal: "shelf_inset.png";
16075                   border: 7 7 7 7;
16076                   middle: 0;
16077                }
16078                fill.smooth : 0;
16079             }
16080          }
16081          part { name: "icon.dragable.area";
16082            type: RECT;
16083             mouse_events: 0;
16084             description { state: "default" 0.0;
16085                visible: 0;
16086                rel1.to: "base";
16087                rel2.to: "base";
16088             }
16089          }
16090          part { name: "elm.text.left";
16091             type: TEXT;
16092             mouse_events: 0;
16093             scale: 1;
16094             description { state: "default" 0.0;
16095                color: 0 0 0 255;
16096                text {
16097                   font: "Sans,Edje-Vera";
16098                   size: 10;
16099                   align: 0.05 0.5;
16100                   min: 1 1;
16101                }
16102             }
16103          }
16104          part { name: "elm.text.center";
16105             type: TEXT;
16106             mouse_events: 0;
16107             scale: 1;
16108             description { state: "default" 0.0;
16109                color: 0 0 0 255;
16110                text {
16111                   font: "Sans,Edje-Vera";
16112                   size: 10;
16113                   align: 0.5 0.5;
16114                   min: 1 1;
16115                }
16116             }
16117          }
16118          part { name: "elm.text.right";
16119             type: TEXT;
16120             mouse_events: 0;
16121             scale: 1;
16122             description { state: "default" 0.0;
16123                color: 0 0 0 255;
16124                text {
16125                   font: "Sans,Edje-Vera";
16126                   size: 10;
16127                   align: 0.95 0.5;
16128                   min: 1 1;
16129                }
16130             }
16131          }
16132          part { name: "bar";
16133             type: RECT;
16134             mouse_events: 0;
16135             description { state: "default" 0.0;
16136                rel1.to: "base";
16137                rel1.offset: 0 2;
16138                rel2 {
16139                   relative: 0 1;
16140                   offset: 3 -3;
16141                   to_x: "elm.swallow.icon";
16142                   to_y: "base";
16143                }
16144                color: 0 0 0 180;
16145             }
16146          }
16147          part { name: "elm.swallow.icon";
16148             type: SWALLOW;
16149             mouse_events: 1;
16150             scale: 1;
16151             description { state: "default" 0.0;
16152                fixed: 1 1;
16153                min: 50 25;
16154                align: 0.5 0.5;
16155                rel1 {
16156                   relative: 0.0 0.5;
16157                   to: "icon.dragable.area";
16158                }
16159                rel2 {
16160                   relative: 0.0 0.5;
16161                   to: "icon.dragable.area";
16162                }
16163             }
16164             dragable {
16165                confine: "icon.dragable.area";
16166                x: 1 1 0;
16167                y: 0 0 0;
16168             }
16169          }
16170          part {
16171             name: "elm.swallow.space";
16172             type: SWALLOW;
16173             mouse_events: 0;
16174             scale: 1;
16175             description {
16176                state: "default" 0.0;
16177                min: 50 25;
16178                fixed: 1 0;
16179                align: 0.5 0.5;
16180                rel1 {
16181                   relative: 0.5 0.0;
16182                   to: "icon.dragable.area";
16183                }
16184                rel2 {
16185                   relative: 0.5 1.0;
16186                   to: "icon.dragable.area";
16187                }
16188                visible: 0;
16189             }
16190          }
16191       }
16192    }
16193
16194    group { name: "elm/actionslider/icon/default";
16195       alias:"elm/actionslider/icon/bar";
16196
16197       images {
16198          image: "bt_bases.png" COMP;
16199          image: "bt_basew.png" COMP;
16200          image: "bt_hilightw.png" COMP;
16201       }
16202       parts {
16203          part { name: "elm.drag_button";
16204             type: RECT;
16205             mouse_events: 1;
16206             description { state: "default" 0.0;
16207                min: 50 25;
16208                align: 0.5 0.5;
16209                color: 255 255 255 0;
16210             }
16211          }
16212          part { name: "button0";
16213             mouse_events: 0;
16214             description { state: "default" 0.0;
16215                rel1.to: "button2";
16216                rel1.offset: -4 -4;
16217                rel2.to: "button2";
16218                rel2.offset: 3 3;
16219                image {
16220                   normal: "bt_bases.png";
16221                   border: 11 11 11 11;
16222                   middle: SOLID;
16223                }
16224                color: 255 255 255 128;
16225             }
16226          }
16227          part { name: "button2";
16228             mouse_events: 0;
16229             description { state: "default" 0.0;
16230                rel1.to: "elm.drag_button";
16231                rel2.to: "elm.drag_button";
16232                image {
16233                   normal: "bt_basew.png";
16234                   border: 7 7 7 7;
16235                   middle: SOLID;
16236                }
16237                color: 255 255 255 210;
16238             }
16239          }
16240          part { name: "button3";
16241             mouse_events: 0;
16242             description { state: "default" 0.0;
16243                rel1.to: "button2";
16244                rel2.to: "button2";
16245                rel2.relative: 1.0 0.5;
16246                image {
16247                   normal: "bt_hilightw.png";
16248                   border: 4 4 4 0;
16249                }
16250                color: 255 255 255 190;
16251             }
16252          }
16253          part { name: "elm.text.button";
16254             type: TEXT;
16255             scale: 1;
16256             mouse_events: 0;
16257             description { state: "default" 0.0;
16258                rel1 {
16259                   to: "elm.drag_button";
16260                   offset: 5 0;
16261                }
16262                rel2 {
16263                   to: "elm.drag_button";
16264                   offset: -5 0;
16265                }
16266                color: 0 0 0 255;
16267                text {
16268                   font: "Sans,Edje-Vera";
16269                   size: 10;
16270                   align: 0.5 0.5;
16271                   min: 0 1;
16272                }
16273             }
16274          }
16275       }
16276       programs {
16277          program { name: "elm.drag_button,mouse,up";
16278             signal: "mouse,up,1";
16279             source: "elm.drag_button";
16280             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
16281          }
16282          program { name: "elm.drag_button,mouse,down";
16283             signal: "mouse,down,1";
16284             source: "elm.drag_button";
16285             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
16286          }
16287          program { name: "elm.drag_button,mouse,move";
16288             signal: "mouse,move";
16289             source: "elm.swallow.icon";
16290             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
16291          }
16292       }
16293    }
16294 ///////////////////////////////////////////////////////////////////////////////
16295
16296 ///////////////////////////////////////////////////////////////////////////////
16297
16298    group { name: "elm/genlist/item/default/default";
16299       data.item: "stacking" "above";
16300       data.item: "selectraise" "on";
16301       data.item: "labels" "elm.text";
16302       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16303       data.item: "treesize" "20";
16304 //      data.item: "states" "";
16305       images {
16306          image: "bt_sm_base1.png" COMP;
16307          image: "bt_sm_shine.png" COMP;
16308          image: "bt_sm_hilight.png" COMP;
16309          image: "ilist_1.png" COMP;
16310          image: "ilist_item_shadow.png" COMP;
16311       }
16312       parts {
16313          part {
16314             name:           "event";
16315             type:           RECT;
16316             repeat_events: 1;
16317             description {
16318                state: "default" 0.0;
16319                color: 0 0 0 0;
16320             }
16321          }
16322          part {
16323             name: "base_sh";
16324             mouse_events: 0;
16325             description {
16326                state: "default" 0.0;
16327                align: 0.0 0.0;
16328                min: 0 10;
16329                fixed: 1 1;
16330                rel1 {
16331                   to: "base";
16332                   relative: 0.0 1.0;
16333                   offset: 0 0;
16334                }
16335                rel2 {
16336                   to: "base";
16337                   relative: 1.0 1.0;
16338                   offset: -1 0;
16339                }
16340                image {
16341                   normal: "ilist_item_shadow.png";
16342                }
16343                fill.smooth: 0;
16344             }
16345          }
16346          part {
16347             name: "base";
16348             mouse_events: 0;
16349             description {
16350                state: "default" 0.0;
16351                image {
16352                   normal: "ilist_1.png";
16353                   border: 2 2 2 2;
16354                }
16355                fill.smooth: 0;
16356             }
16357          }
16358          part { name: "bg";
16359             clip_to: "disclip";
16360             mouse_events: 0;
16361             description { state: "default" 0.0;
16362                visible: 0;
16363                color: 255 255 255 0;
16364                rel1 {
16365                   relative: 0.0 0.0;
16366                   offset: -5 -5;
16367                }
16368                rel2 {
16369                   relative: 1.0 1.0;
16370                   offset: 4 4;
16371                }
16372                image {
16373                   normal: "bt_sm_base1.png";
16374                   border: 6 6 6 6;
16375                }
16376                image.middle: SOLID;
16377             }
16378             description { state: "selected" 0.0;
16379                inherit: "default" 0.0;
16380                visible: 1;
16381                color: 255 255 255 255;
16382                rel1 {
16383                   relative: 0.0 0.0;
16384                   offset: -2 -2;
16385                }
16386                rel2 {
16387                   relative: 1.0 1.0;
16388                   offset: 1 1;
16389                }
16390             }
16391          }
16392          part { name: "elm.swallow.pad";
16393             type: SWALLOW;
16394             description { state: "default" 0.0;
16395                fixed: 1 0;
16396                align: 0.0 0.5;
16397                rel1 {
16398                   relative: 0.0  0.0;
16399                   offset:   4    4;
16400                }
16401                rel2 {
16402                   relative: 0.0  1.0;
16403                   offset:   4   -5;
16404                }
16405             }
16406          }
16407          part { name: "elm.swallow.icon";
16408             clip_to: "disclip";
16409             type: SWALLOW;
16410             description { state: "default" 0.0;
16411                fixed: 1 0;
16412                align: 0.0 0.5;
16413                rel1 {
16414                   to_x: "elm.swallow.pad";
16415                   relative: 1.0  0.0;
16416                   offset:   -1    4;
16417                }
16418                rel2 {
16419                   to_x: "elm.swallow.pad";
16420                   relative: 1.0  1.0;
16421                   offset:   -1   -5;
16422                }
16423             }
16424          }
16425          part { name: "elm.swallow.end";
16426             clip_to: "disclip";
16427             type: SWALLOW;
16428             description { state: "default" 0.0;
16429                fixed: 1 0;
16430                align: 1.0 0.5;
16431                aspect: 1.0 1.0;
16432                aspect_preference: VERTICAL;
16433                rel1 {
16434                   relative: 1.0  0.0;
16435                   offset:   -5    4;
16436                }
16437                rel2 {
16438                   relative: 1.0  1.0;
16439                   offset:   -5   -5;
16440                }
16441             }
16442          }
16443          part { name: "elm.text";
16444             clip_to: "disclip";
16445             type:           TEXT;
16446             effect:         SOFT_SHADOW;
16447             mouse_events:   0;
16448             scale: 1;
16449             description {
16450                state: "default" 0.0;
16451 //               min: 16 16;
16452                rel1 {
16453                   to_x:     "elm.swallow.icon";
16454                   relative: 1.0  0.0;
16455                   offset:   0 4;
16456                }
16457                rel2 {
16458                   to_x:     "elm.swallow.end";
16459                   relative: 0.0  1.0;
16460                   offset:   -1 -5;
16461                }
16462                color: 0 0 0 255;
16463                color3: 0 0 0 0;
16464                text {
16465                   font: "Sans";
16466                   size: 10;
16467                   min: 1 1;
16468 //                  min: 0 1;
16469                   align: 0.0 0.5;
16470                   text_class: "list_item";
16471                }
16472             }
16473             description { state: "selected" 0.0;
16474                inherit: "default" 0.0;
16475                color: 224 224 224 255;
16476                color3: 0 0 0 64;
16477             }
16478          }
16479          part { name: "fg1";
16480             clip_to: "disclip";
16481             mouse_events: 0;
16482             description { state: "default" 0.0;
16483                visible: 0;
16484                color: 255 255 255 0;
16485                rel1.to: "bg";
16486                rel2.relative: 1.0 0.5;
16487                rel2.to: "bg";
16488                image {
16489                   normal: "bt_sm_hilight.png";
16490                   border: 6 6 6 0;
16491                }
16492             }
16493             description { state: "selected" 0.0;
16494                inherit: "default" 0.0;
16495                visible: 1;
16496                color: 255 255 255 255;
16497             }
16498          }
16499          part { name: "fg2";
16500             clip_to: "disclip";
16501             mouse_events: 0;
16502             description { state: "default" 0.0;
16503                visible: 0;
16504                color: 255 255 255 0;
16505                rel1.to: "bg";
16506                rel2.to: "bg";
16507                image {
16508                   normal: "bt_sm_shine.png";
16509                   border: 6 6 6 0;
16510                }
16511             }
16512             description { state: "selected" 0.0;
16513                inherit: "default" 0.0;
16514                visible: 1;
16515                color: 255 255 255 255;
16516             }
16517          }
16518          part { name: "disclip";
16519             type: RECT;
16520             description { state: "default" 0.0;
16521                rel1.to: "bg";
16522                rel2.to: "bg";
16523             }
16524             description { state: "disabled" 0.0;
16525                inherit: "default" 0.0;
16526                color: 255 255 255 64;
16527             }
16528          }
16529       }
16530       programs {
16531          // signal: elm,state,%s,active
16532          //   a "check" item named %s went active
16533          // signal: elm,state,%s,passive
16534          //   a "check" item named %s went passive
16535          // default is passive
16536          program {
16537             name:    "go_active";
16538             signal:  "elm,state,selected";
16539             source:  "elm";
16540             action:  STATE_SET "selected" 0.0;
16541             target:  "bg";
16542             target:  "fg1";
16543             target:  "fg2";
16544             target:  "elm.text";
16545          }
16546          program {
16547             name:    "go_passive";
16548             signal:  "elm,state,unselected";
16549             source:  "elm";
16550             action:  STATE_SET "default" 0.0;
16551             target:  "bg";
16552             target:  "fg1";
16553             target:  "fg2";
16554             target:  "elm.text";
16555             transition: LINEAR 0.1;
16556          }
16557          program {
16558             name:    "go_disabled";
16559             signal:  "elm,state,disabled";
16560             source:  "elm";
16561             action:  STATE_SET "disabled" 0.0;
16562             target:  "disclip";
16563          }
16564          program {
16565             name:    "go_enabled";
16566             signal:  "elm,state,enabled";
16567             source:  "elm";
16568             action:  STATE_SET "default" 0.0;
16569             target:  "disclip";
16570          }
16571       }
16572    }
16573    group { name: "elm/genlist/item/group_index/default";
16574       alias: "elm/genlist/item_odd/group_index/default";
16575       alias: "elm/genlist/item_compress/group_index/default";
16576       alias: "elm/genlist/item_compress_odd/group_index/default";
16577       data.item: "stacking" "above";
16578       data.item: "selectraise" "on";
16579       data.item: "labels" "elm.text";
16580       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16581       data.item: "treesize" "20";
16582 //      data.item: "states" "";
16583       images {
16584          image: "bt_sm_base1.png" COMP;
16585          image: "bt_sm_shine.png" COMP;
16586          image: "bt_sm_hilight.png" COMP;
16587          image: "ilist_item_shadow.png" COMP;
16588          image: "group_index.png" COMP;
16589       }
16590       parts {
16591          part {
16592             name: "event";
16593             type: RECT;
16594             repeat_events: 0;
16595             description {
16596                state: "default" 0.0;
16597                color: 0 0 0 0;
16598             }
16599          }
16600          part {
16601             name: "base_sh";
16602             mouse_events: 0;
16603             description {
16604                state: "default" 0.0;
16605                align: 0.0 0.0;
16606                min: 0 10;
16607                fixed: 1 1;
16608                rel1 {
16609                   to: "base";
16610                   relative: 0.0 1.0;
16611                   offset: 0 0;
16612                }
16613                rel2 {
16614                   to: "base";
16615                   relative: 1.0 1.0;
16616                   offset: -1 0;
16617                }
16618                image {
16619                   normal: "ilist_item_shadow.png";
16620                }
16621                fill.smooth: 0;
16622             }
16623          }
16624          part {
16625             name: "base";
16626             mouse_events: 0;
16627             description {
16628                state: "default" 0.0;
16629                image {
16630                   normal: "group_index.png";
16631                   border: 2 2 2 2;
16632                }
16633                fill.smooth: 0;
16634             }
16635          }
16636          part { name: "bg";
16637             clip_to: "disclip";
16638             mouse_events: 0;
16639             description { state: "default" 0.0;
16640                visible: 0;
16641                color: 255 255 255 0;
16642                rel1 {
16643                   relative: 0.0 0.0;
16644                   offset: -5 -5;
16645                }
16646                rel2 {
16647                   relative: 1.0 1.0;
16648                   offset: 4 4;
16649                }
16650                image {
16651                   normal: "bt_sm_base1.png";
16652                   border: 6 6 6 6;
16653                }
16654                image.middle: SOLID;
16655             }
16656             description { state: "selected" 0.0;
16657                inherit: "default" 0.0;
16658                visible: 1;
16659                color: 255 255 255 255;
16660                rel1 {
16661                   relative: 0.0 0.0;
16662                   offset: -2 -2;
16663                }
16664                rel2 {
16665                   relative: 1.0 1.0;
16666                   offset: 1 1;
16667                }
16668             }
16669          }
16670          part { name: "elm.swallow.pad";
16671             type: SWALLOW;
16672             description { state: "default" 0.0;
16673                fixed: 1 0;
16674                align: 0.0 0.5;
16675                rel1 {
16676                   relative: 0.0  0.0;
16677                   offset: 4 4;
16678                }
16679                rel2 {
16680                   relative: 0.0  1.0;
16681                   offset: 4 -5;
16682                }
16683             }
16684          }
16685          part { name: "elm.swallow.icon";
16686             clip_to: "disclip";
16687             type: SWALLOW;
16688             description { state: "default" 0.0;
16689                fixed: 1 0;
16690                align: 0.0 0.5;
16691                rel1 {
16692                   to_x: "elm.swallow.pad";
16693                   relative: 1.0 0.0;
16694                   offset: -1 4;
16695                }
16696                rel2 {
16697                   to_x: "elm.swallow.pad";
16698                   relative: 1.0 1.0;
16699                   offset: -1 -5;
16700                }
16701             }
16702          }
16703          part { name: "elm.swallow.end";
16704             clip_to: "disclip";
16705             type: SWALLOW;
16706             description { state: "default" 0.0;
16707                fixed: 1 0;
16708                align: 1.0 0.5;
16709                aspect: 1.0 1.0;
16710                aspect_preference: VERTICAL;
16711                rel1 {
16712                   relative: 1.0 0.0;
16713                   offset: -5 4;
16714                }
16715                rel2 {
16716                   relative: 1.0 1.0;
16717                   offset: -5 -5;
16718                }
16719             }
16720          }
16721          part { name: "elm.text";
16722             clip_to: "disclip";
16723             type: TEXT;
16724             effect: SOFT_SHADOW;
16725             mouse_events: 0;
16726             scale: 1;
16727             description {
16728                state: "default" 0.0;
16729 //               min: 16 16;
16730                rel1 {
16731                   to_x: "elm.swallow.icon";
16732                   relative: 1.0  0.0;
16733                   offset: 0 4;
16734                }
16735                rel2 {
16736                   to_x: "elm.swallow.end";
16737                   relative: 0.0  1.0;
16738                   offset: -1 -5;
16739                }
16740                color: 0 0 0 255;
16741                color3: 0 0 0 0;
16742                text {
16743                   font: "Sans";
16744                   size: 10;
16745                   min: 1 1;
16746 //                  min: 0 1;
16747                   align: -1.0 0.5;
16748                   text_class: "list_item";
16749                }
16750             }
16751             description { state: "selected" 0.0;
16752                inherit: "default" 0.0;
16753                color: 224 224 224 255;
16754                color3: 0 0 0 64;
16755             }
16756          }
16757          part { name: "fg1";
16758             clip_to: "disclip";
16759             mouse_events: 0;
16760             description { state: "default" 0.0;
16761                visible: 0;
16762                color: 255 255 255 0;
16763                rel1.to: "bg";
16764                rel2.relative: 1.0 0.5;
16765                rel2.to: "bg";
16766                image {
16767                   normal: "bt_sm_hilight.png";
16768                   border: 6 6 6 0;
16769                }
16770             }
16771             description { state: "selected" 0.0;
16772                inherit: "default" 0.0;
16773                visible: 1;
16774                color: 255 255 255 255;
16775             }
16776          }
16777          part { name: "fg2";
16778             clip_to: "disclip";
16779             mouse_events: 0;
16780             description { state: "default" 0.0;
16781                visible: 0;
16782                color: 255 255 255 0;
16783                rel1.to: "bg";
16784                rel2.to: "bg";
16785                image {
16786                   normal: "bt_sm_shine.png";
16787                   border: 6 6 6 0;
16788                }
16789             }
16790             description { state: "selected" 0.0;
16791                inherit: "default" 0.0;
16792                visible: 1;
16793                color: 255 255 255 255;
16794             }
16795          }
16796          part { name: "disclip";
16797             type: RECT;
16798             description { state: "default" 0.0;
16799                rel1.to: "bg";
16800                rel2.to: "bg";
16801             }
16802             description { state: "disabled" 0.0;
16803                inherit: "default" 0.0;
16804                color: 255 255 255 64;
16805             }
16806          }
16807       }
16808       programs {
16809          // signal: elm,state,%s,active
16810          //   a "check" item named %s went active
16811          // signal: elm,state,%s,passive
16812          //   a "check" item named %s went passive
16813          // default is passive
16814          program {
16815             name:    "go_active";
16816             signal:  "elm,state,selected";
16817             source:  "elm";
16818             action:  STATE_SET "selected" 0.0;
16819             target:  "bg";
16820             target:  "fg1";
16821             target:  "fg2";
16822             target:  "elm.text";
16823          }
16824          program {
16825             name:    "go_passive";
16826             signal:  "elm,state,unselected";
16827             source:  "elm";
16828             action:  STATE_SET "default" 0.0;
16829             target:  "bg";
16830             target:  "fg1";
16831             target:  "fg2";
16832             target:  "elm.text";
16833             transition: LINEAR 0.1;
16834          }
16835          program {
16836             name:    "go_disabled";
16837             signal:  "elm,state,disabled";
16838             source:  "elm";
16839             action:  STATE_SET "disabled" 0.0;
16840             target:  "disclip";
16841          }
16842          program {
16843             name:    "go_enabled";
16844             signal:  "elm,state,enabled";
16845             source:  "elm";
16846             action:  STATE_SET "default" 0.0;
16847             target:  "disclip";
16848          }
16849       }
16850    }
16851    group { name: "elm/genlist/item_compress/message/default";
16852       data.item: "stacking" "above";
16853       data.item: "selectraise" "on";
16854       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16855 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16856       data.item: "treesize" "20";
16857 //      data.item: "states" "";
16858       images {
16859          image: "bt_sm_base1.png" COMP;
16860          image: "bt_sm_shine.png" COMP;
16861          image: "bt_sm_hilight.png" COMP;
16862          image: "ilist_1.png" COMP;
16863          image: "ilist_item_shadow.png" COMP;
16864       }
16865       styles {
16866         style { name: "genlist_textblock_style";
16867           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16868           tag:  "br" "\n";
16869           tag:  "ps" "ps";
16870           tag:  "tab" "\t";
16871         }
16872         style { name: "genlist_textblock_style2";
16873           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16874           tag:  "br" "\n";
16875           tag:  "ps" "ps";
16876           tag:  "tab" "\t";
16877         }
16878       }
16879      parts {
16880          part {
16881             name:           "event";
16882             type:           RECT;
16883             repeat_events: 1;
16884             description {
16885                state: "default" 0.0;
16886                color: 0 0 0 0;
16887             }
16888          }
16889          part {
16890             name: "base_sh";
16891             mouse_events: 0;
16892             description {
16893                state: "default" 0.0;
16894                align: 0.0 0.0;
16895                min: 0 10;
16896                fixed: 1 1;
16897                rel1 {
16898                   to: "base";
16899                   relative: 0.0 1.0;
16900                   offset: 0 0;
16901                }
16902                rel2 {
16903                   to: "base";
16904                   relative: 1.0 1.0;
16905                   offset: -1 0;
16906                }
16907                image {
16908                   normal: "ilist_item_shadow.png";
16909                }
16910                fill.smooth: 0;
16911             }
16912          }
16913          part {
16914             name: "base";
16915             mouse_events: 0;
16916             description {
16917                state: "default" 0.0;
16918                image {
16919                   normal: "ilist_1.png";
16920                   border: 2 2 2 2;
16921                }
16922                fill.smooth: 0;
16923             }
16924          }
16925          part { name: "bg";
16926             clip_to: "disclip";
16927             mouse_events: 0;
16928             description { state: "default" 0.0;
16929                visible: 0;
16930                color: 255 255 255 0;
16931                rel1 {
16932                   relative: 0.0 0.0;
16933                   offset: -5 -5;
16934                }
16935                rel2 {
16936                   relative: 1.0 1.0;
16937                   offset: 4 4;
16938                }
16939                image {
16940                   normal: "bt_sm_base1.png";
16941                   border: 6 6 6 6;
16942                }
16943                image.middle: SOLID;
16944             }
16945             description { state: "selected" 0.0;
16946                inherit: "default" 0.0;
16947                visible: 1;
16948                color: 255 255 255 255;
16949                rel1 {
16950                   relative: 0.0 0.0;
16951                   offset: -2 -2;
16952                }
16953                rel2 {
16954                   relative: 1.0 1.0;
16955                   offset: 1 1;
16956                }
16957             }
16958          }
16959          part { name: "elm.title.1";
16960             clip_to: "disclip";
16961             type:           TEXT;
16962             effect:         SOFT_SHADOW;
16963             mouse_events:   0;
16964             scale: 1;
16965             description {
16966                state: "default" 0.0;
16967                fixed: 0 1;
16968 //               min: 16 16;
16969                rel1 {
16970                   relative: 0.0  0.0;
16971                   offset:   4 4;
16972                }
16973                rel2 {
16974                   relative: 1.0  0.0;
16975                   offset:   -5 4;
16976                }
16977                color: 0 0 0 255;
16978                color3: 0 0 0 0;
16979                align: 0.0 0.0;
16980                text {
16981                   font: "Sans";
16982                   size: 10;
16983                   min: 0 1;
16984 //                  min: 1 1;
16985                   align: 0.0 0.0;
16986                   text_class: "list_item";
16987                }
16988             }
16989             description { state: "selected" 0.0;
16990                inherit: "default" 0.0;
16991                color: 224 224 224 255;
16992                color3: 0 0 0 64;
16993             }
16994          }
16995          part { name: "elm.title.2";
16996             clip_to: "disclip";
16997             type:           TEXT;
16998             effect:         SOFT_SHADOW;
16999             mouse_events:   0;
17000             scale: 1;
17001             description {
17002                state: "default" 0.0;
17003                fixed: 0 1;
17004 //               min: 16 16;
17005                rel1 {
17006                   to_y:     "elm.title.1";
17007                   relative: 0.0  1.0;
17008                   offset:   4 0;
17009                }
17010                rel2 {
17011                   to_y:     "elm.title.1";
17012                   relative: 1.0  1.0;
17013                   offset:   -5 0;
17014                }
17015                color: 0 0 0 255;
17016                color3: 0 0 0 0;
17017                align: 0.0 0.0;
17018                text {
17019                   font: "Sans";
17020                   size: 10;
17021                   min: 0 1;
17022 //                  min: 1 1;
17023                   align: 0.0 0.0;
17024                   text_class: "list_item";
17025                }
17026             }
17027             description { state: "selected" 0.0;
17028                inherit: "default" 0.0;
17029                color: 224 224 224 255;
17030                color3: 0 0 0 64;
17031             }
17032          }
17033          part { name: "elm.text";
17034             clip_to: "disclip";
17035             type:           TEXTBLOCK;
17036             mouse_events:   0;
17037             scale: 1;
17038             description {
17039                state: "default" 0.0;
17040 //               fixed: 0 1;
17041 //               min: 16 16;
17042                rel1 {
17043                   to_y:     "elm.title.2";
17044                   relative: 0.0  1.0;
17045                   offset:   4 0;
17046                }
17047                rel2 {
17048                   relative: 1.0  1.0;
17049                   offset:   -5 -5;
17050                }
17051                align: 0.0 0.0;
17052                text {
17053                   style: "genlist_textblock_style";
17054                   min: 0 1;
17055 //                  min: 1 1;
17056                   align: 0.0 0.0;
17057                }
17058             }
17059             description { state: "selected" 0.0;
17060                inherit: "default" 0.0;
17061                text {
17062                   style: "genlist_textblock_style2";
17063                }
17064             }
17065          }
17066          part { name: "fg1";
17067             clip_to: "disclip";
17068             mouse_events: 0;
17069             description { state: "default" 0.0;
17070                visible: 0;
17071                color: 255 255 255 0;
17072                rel1.to: "bg";
17073                rel2.relative: 1.0 0.5;
17074                rel2.to: "bg";
17075                image {
17076                   normal: "bt_sm_hilight.png";
17077                   border: 6 6 6 0;
17078                }
17079             }
17080             description { state: "selected" 0.0;
17081                inherit: "default" 0.0;
17082                visible: 1;
17083                color: 255 255 255 255;
17084             }
17085          }
17086          part { name: "fg2";
17087             clip_to: "disclip";
17088             mouse_events: 0;
17089             description { state: "default" 0.0;
17090                visible: 0;
17091                color: 255 255 255 0;
17092                rel1.to: "bg";
17093                rel2.to: "bg";
17094                image {
17095                   normal: "bt_sm_shine.png";
17096                   border: 6 6 6 0;
17097                }
17098             }
17099             description { state: "selected" 0.0;
17100                inherit: "default" 0.0;
17101                visible: 1;
17102                color: 255 255 255 255;
17103             }
17104          }
17105          part { name: "disclip";
17106             type: RECT;
17107             description { state: "default" 0.0;
17108                rel1.to: "bg";
17109                rel2.to: "bg";
17110             }
17111             description { state: "disabled" 0.0;
17112                inherit: "default" 0.0;
17113                color: 255 255 255 64;
17114             }
17115          }
17116       }
17117       programs {
17118          // signal: elm,state,%s,active
17119          //   a "check" item named %s went active
17120          // signal: elm,state,%s,passive
17121          //   a "check" item named %s went passive
17122          // default is passive
17123          program {
17124             name:    "go_active";
17125             signal:  "elm,state,selected";
17126             source:  "elm";
17127             action:  STATE_SET "selected" 0.0;
17128             target:  "bg";
17129             target:  "fg1";
17130             target:  "fg2";
17131             target:  "elm.title.1";
17132             target:  "elm.title.2";
17133             target:  "elm.text";
17134          }
17135          program {
17136             name:    "go_passive";
17137             signal:  "elm,state,unselected";
17138             source:  "elm";
17139             action:  STATE_SET "default" 0.0;
17140             target:  "bg";
17141             target:  "fg1";
17142             target:  "fg2";
17143             target:  "elm.title.1";
17144             target:  "elm.title.2";
17145             target:  "elm.text";
17146             transition: LINEAR 0.1;
17147          }
17148          program {
17149             name:    "go_disabled";
17150             signal:  "elm,state,disabled";
17151             source:  "elm";
17152             action:  STATE_SET "disabled" 0.0;
17153             target:  "disclip";
17154          }
17155          program {
17156             name:    "go_enabled";
17157             signal:  "elm,state,enabled";
17158             source:  "elm";
17159             action:  STATE_SET "default" 0.0;
17160             target:  "disclip";
17161          }
17162       }
17163    }
17164    group { name: "elm/genlist/item_compress_odd/message/default";
17165       data.item: "stacking" "below";
17166       data.item: "selectraise" "on";
17167       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
17168 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
17169       data.item: "treesize" "20";
17170 //      data.item: "states" "";
17171       images {
17172          image: "bt_sm_base1.png" COMP;
17173          image: "bt_sm_shine.png" COMP;
17174          image: "bt_sm_hilight.png" COMP;
17175          image: "ilist_2.png" COMP;
17176       }
17177       parts {
17178          part { name: "event";
17179             type: RECT;
17180             repeat_events: 1;
17181             description {
17182                state: "default" 0.0;
17183                color: 0 0 0 0;
17184             }
17185          }
17186          part {
17187             name: "base";
17188             mouse_events: 0;
17189             description {
17190                state: "default" 0.0;
17191                image {
17192                   normal: "ilist_2.png";
17193                   border: 2 2 2 2;
17194                }
17195                fill.smooth: 0;
17196             }
17197          }
17198          part { name: "bg";
17199             clip_to: "disclip";
17200             mouse_events: 0;
17201             description { state: "default" 0.0;
17202                visible: 0;
17203                color: 255 255 255 0;
17204                rel1 {
17205                   relative: 0.0 0.0;
17206                   offset: -5 -5;
17207                }
17208                rel2 {
17209                   relative: 1.0 1.0;
17210                   offset: 4 4;
17211                }
17212                image {
17213                   normal: "bt_sm_base1.png";
17214                   border: 6 6 6 6;
17215                }
17216                image.middle: SOLID;
17217             }
17218             description { state: "selected" 0.0;
17219                inherit: "default" 0.0;
17220                visible: 1;
17221                color: 255 255 255 255;
17222                rel1 {
17223                   relative: 0.0 0.0;
17224                   offset: -2 -2;
17225                }
17226                rel2 {
17227                   relative: 1.0 1.0;
17228                   offset: 1 1;
17229                }
17230             }
17231          }
17232          part { name: "elm.title.1";
17233             clip_to: "disclip";
17234             type:           TEXT;
17235             effect:         SOFT_SHADOW;
17236             mouse_events:   0;
17237             scale: 1;
17238             description {
17239                state: "default" 0.0;
17240                fixed: 0 1;
17241 //               min: 16 16;
17242                rel1 {
17243                   relative: 0.0  0.0;
17244                   offset:   4 4;
17245                }
17246                rel2 {
17247                   relative: 1.0  0.0;
17248                   offset:   -5 4;
17249                }
17250                color: 0 0 0 255;
17251                color3: 0 0 0 0;
17252                align: 0.0 0.0;
17253                text {
17254                   font: "Sans";
17255                   size: 10;
17256                   min: 0 1;
17257 //                  min: 1 1;
17258                   align: 0.0 0.0;
17259                   text_class: "list_item";
17260                }
17261             }
17262             description { state: "selected" 0.0;
17263                inherit: "default" 0.0;
17264                color: 224 224 224 255;
17265                color3: 0 0 0 64;
17266             }
17267          }
17268          part { name: "elm.title.2";
17269             clip_to: "disclip";
17270             type:           TEXT;
17271             effect:         SOFT_SHADOW;
17272             mouse_events:   0;
17273             scale: 1;
17274             description {
17275                state: "default" 0.0;
17276                fixed: 0 1;
17277 //               min: 16 16;
17278                rel1 {
17279                   to_y:     "elm.title.1";
17280                   relative: 0.0  1.0;
17281                   offset:   4 0;
17282                }
17283                rel2 {
17284                   to_y:     "elm.title.1";
17285                   relative: 1.0  1.0;
17286                   offset:   -5 0;
17287                }
17288                color: 0 0 0 255;
17289                color3: 0 0 0 0;
17290                align: 0.0 0.0;
17291                text {
17292                   font: "Sans";
17293                   size: 10;
17294                   min: 0 1;
17295 //                  min: 1 1;
17296                   align: 0.0 0.0;
17297                   text_class: "list_item";
17298                }
17299             }
17300             description { state: "selected" 0.0;
17301                inherit: "default" 0.0;
17302                color: 224 224 224 255;
17303                color3: 0 0 0 64;
17304             }
17305          }
17306          part { name: "elm.text";
17307             clip_to: "disclip";
17308             type:           TEXTBLOCK;
17309             mouse_events:   0;
17310             scale: 1;
17311             description {
17312                state: "default" 0.0;
17313 //               fixed: 0 1;
17314 //               min: 16 16;
17315                rel1 {
17316                   to_y:     "elm.title.2";
17317                   relative: 0.0  1.0;
17318                   offset:   4 0;
17319                }
17320                rel2 {
17321                   relative: 1.0  1.0;
17322                   offset:   -5 -5;
17323                }
17324                align: 0.0 0.0;
17325                text {
17326                   style: "genlist_textblock_style";
17327                   min: 0 1;
17328 //                  min: 1 1;
17329                   align: 0.0 0.0;
17330                }
17331             }
17332             description { state: "selected" 0.0;
17333                inherit: "default" 0.0;
17334                text {
17335                   style: "genlist_textblock_style2";
17336                }
17337             }
17338          }
17339          part { name: "fg1";
17340             clip_to: "disclip";
17341             mouse_events: 0;
17342             description { state: "default" 0.0;
17343                visible: 0;
17344                color: 255 255 255 0;
17345                rel1.to: "bg";
17346                rel2.relative: 1.0 0.5;
17347                rel2.to: "bg";
17348                image {
17349                   normal: "bt_sm_hilight.png";
17350                   border: 6 6 6 0;
17351                }
17352             }
17353             description { state: "selected" 0.0;
17354                inherit: "default" 0.0;
17355                visible: 1;
17356                color: 255 255 255 255;
17357             }
17358          }
17359          part { name: "fg2";
17360             clip_to: "disclip";
17361             mouse_events: 0;
17362             description { state: "default" 0.0;
17363                visible: 0;
17364                color: 255 255 255 0;
17365                rel1.to: "bg";
17366                rel2.to: "bg";
17367                image {
17368                   normal: "bt_sm_shine.png";
17369                   border: 6 6 6 0;
17370                }
17371             }
17372             description { state: "selected" 0.0;
17373                inherit: "default" 0.0;
17374                visible: 1;
17375                color: 255 255 255 255;
17376             }
17377          }
17378          part { name: "disclip";
17379             type: RECT;
17380             description { state: "default" 0.0;
17381                rel1.to: "bg";
17382                rel2.to: "bg";
17383             }
17384             description { state: "disabled" 0.0;
17385                inherit: "default" 0.0;
17386                color: 255 255 255 64;
17387             }
17388          }
17389       }
17390       programs {
17391          // signal: elm,state,%s,active
17392          //   a "check" item named %s went active
17393          // signal: elm,state,%s,passive
17394          //   a "check" item named %s went passive
17395          // default is passive
17396          program {
17397             name:    "go_active";
17398             signal:  "elm,state,selected";
17399             source:  "elm";
17400             action:  STATE_SET "selected" 0.0;
17401             target:  "bg";
17402             target:  "fg1";
17403             target:  "fg2";
17404             target:  "elm.title.1";
17405             target:  "elm.title.2";
17406             target:  "elm.text";
17407          }
17408          program {
17409             name:    "go_passive";
17410             signal:  "elm,state,unselected";
17411             source:  "elm";
17412             action:  STATE_SET "default" 0.0;
17413             target:  "bg";
17414             target:  "fg1";
17415             target:  "fg2";
17416             target:  "elm.title.1";
17417             target:  "elm.title.2";
17418             target:  "elm.text";
17419             transition: LINEAR 0.1;
17420          }
17421          program {
17422             name:    "go_disabled";
17423             signal:  "elm,state,disabled";
17424             source:  "elm";
17425             action:  STATE_SET "disabled" 0.0;
17426             target:  "disclip";
17427          }
17428          program {
17429             name:    "go_enabled";
17430             signal:  "elm,state,enabled";
17431             source:  "elm";
17432             action:  STATE_SET "default" 0.0;
17433             target:  "disclip";
17434          }
17435       }
17436    }
17437    group { name: "elm/genlist/item_compress/default/default";
17438       data.item: "stacking" "above";
17439       data.item: "selectraise" "on";
17440       data.item: "labels" "elm.text";
17441       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17442       data.item: "treesize" "20";
17443 //      data.item: "states" "";
17444       images {
17445          image: "bt_sm_base1.png" COMP;
17446          image: "bt_sm_shine.png" COMP;
17447          image: "bt_sm_hilight.png" COMP;
17448          image: "ilist_1.png" COMP;
17449          image: "ilist_item_shadow.png" COMP;
17450       }
17451       parts {
17452          part {
17453             name:           "event";
17454             type:           RECT;
17455             repeat_events: 1;
17456             description {
17457                state: "default" 0.0;
17458                color: 0 0 0 0;
17459             }
17460          }
17461          part {
17462             name: "base_sh";
17463             mouse_events: 0;
17464             description {
17465                state: "default" 0.0;
17466                align: 0.0 0.0;
17467                min: 0 10;
17468                fixed: 1 1;
17469                rel1 {
17470                   to: "base";
17471                   relative: 0.0 1.0;
17472                   offset: 0 0;
17473                }
17474                rel2 {
17475                   to: "base";
17476                   relative: 1.0 1.0;
17477                   offset: -1 0;
17478                }
17479                image {
17480                   normal: "ilist_item_shadow.png";
17481                }
17482                fill.smooth: 0;
17483             }
17484          }
17485          part {
17486             name: "base";
17487             mouse_events: 0;
17488             description {
17489                state: "default" 0.0;
17490                image {
17491                   normal: "ilist_1.png";
17492                   border: 2 2 2 2;
17493                }
17494                fill.smooth: 0;
17495             }
17496          }
17497          part { name: "bg";
17498             clip_to: "disclip";
17499             mouse_events: 0;
17500             description { state: "default" 0.0;
17501                visible: 0;
17502                color: 255 255 255 0;
17503                rel1 {
17504                   relative: 0.0 0.0;
17505                   offset: -5 -5;
17506                }
17507                rel2 {
17508                   relative: 1.0 1.0;
17509                   offset: 4 4;
17510                }
17511                image {
17512                   normal: "bt_sm_base1.png";
17513                   border: 6 6 6 6;
17514                }
17515                image.middle: SOLID;
17516             }
17517             description { state: "selected" 0.0;
17518                inherit: "default" 0.0;
17519                visible: 1;
17520                color: 255 255 255 255;
17521                rel1 {
17522                   relative: 0.0 0.0;
17523                   offset: -2 -2;
17524                }
17525                rel2 {
17526                   relative: 1.0 1.0;
17527                   offset: 1 1;
17528                }
17529             }
17530          }
17531          part { name: "elm.swallow.pad";
17532             type: SWALLOW;
17533             description { state: "default" 0.0;
17534                fixed: 1 0;
17535                align: 0.0 0.5;
17536                rel1 {
17537                   relative: 0.0  0.0;
17538                   offset:   4    4;
17539                }
17540                rel2 {
17541                   relative: 0.0  1.0;
17542                   offset:   4   -5;
17543                }
17544             }
17545          }
17546          part { name: "elm.swallow.icon";
17547             clip_to: "disclip";
17548             type: SWALLOW;
17549             description { state: "default" 0.0;
17550                fixed: 1 0;
17551                align: 0.0 0.5;
17552                rel1 {
17553                   to_x: "elm.swallow.pad";
17554                   relative: 1.0  0.0;
17555                   offset:   -1    4;
17556                }
17557                rel2 {
17558                   to_x: "elm.swallow.pad";
17559                   relative: 1.0  1.0;
17560                   offset:   -1   -5;
17561                }
17562             }
17563          }
17564          part { name: "elm.swallow.end";
17565             clip_to: "disclip";
17566             type: SWALLOW;
17567             description { state: "default" 0.0;
17568                fixed: 1 0;
17569                align: 1.0 0.5;
17570                aspect: 1.0 1.0;
17571                aspect_preference: VERTICAL;
17572                rel1 {
17573                   relative: 1.0  0.0;
17574                   offset:   -5    4;
17575                }
17576                rel2 {
17577                   relative: 1.0  1.0;
17578                   offset:   -5   -5;
17579                }
17580             }
17581          }
17582          part { name: "elm.text";
17583             clip_to: "disclip";
17584             type:           TEXT;
17585             effect:         SOFT_SHADOW;
17586             mouse_events:   0;
17587             scale: 1;
17588             description {
17589                state: "default" 0.0;
17590 //               min: 16 16;
17591                rel1 {
17592                   to_x:     "elm.swallow.icon";
17593                   relative: 1.0  0.0;
17594                   offset:   0 4;
17595                }
17596                rel2 {
17597                   to_x:     "elm.swallow.end";
17598                   relative: 0.0  1.0;
17599                   offset:   -1 -5;
17600                }
17601                color: 0 0 0 255;
17602                color3: 0 0 0 0;
17603                text {
17604                   font: "Sans";
17605                   size: 10;
17606                   min: 0 1;
17607 //                  min: 1 1;
17608                   align: 0.0 0.5;
17609                   text_class: "list_item";
17610                }
17611             }
17612             description { state: "selected" 0.0;
17613                inherit: "default" 0.0;
17614                color: 224 224 224 255;
17615                color3: 0 0 0 64;
17616             }
17617          }
17618          part { name: "fg1";
17619             clip_to: "disclip";
17620             mouse_events: 0;
17621             description { state: "default" 0.0;
17622                visible: 0;
17623                color: 255 255 255 0;
17624                rel1.to: "bg";
17625                rel2.relative: 1.0 0.5;
17626                rel2.to: "bg";
17627                image {
17628                   normal: "bt_sm_hilight.png";
17629                   border: 6 6 6 0;
17630                }
17631             }
17632             description { state: "selected" 0.0;
17633                inherit: "default" 0.0;
17634                visible: 1;
17635                color: 255 255 255 255;
17636             }
17637          }
17638          part { name: "fg2";
17639             clip_to: "disclip";
17640             mouse_events: 0;
17641             description { state: "default" 0.0;
17642                visible: 0;
17643                color: 255 255 255 0;
17644                rel1.to: "bg";
17645                rel2.to: "bg";
17646                image {
17647                   normal: "bt_sm_shine.png";
17648                   border: 6 6 6 0;
17649                }
17650             }
17651             description { state: "selected" 0.0;
17652                inherit: "default" 0.0;
17653                visible: 1;
17654                color: 255 255 255 255;
17655             }
17656          }
17657          part { name: "disclip";
17658             type: RECT;
17659             description { state: "default" 0.0;
17660                rel1.to: "bg";
17661                rel2.to: "bg";
17662             }
17663             description { state: "disabled" 0.0;
17664                inherit: "default" 0.0;
17665                color: 255 255 255 64;
17666             }
17667          }
17668       }
17669       programs {
17670          // signal: elm,state,%s,active
17671          //   a "check" item named %s went active
17672          // signal: elm,state,%s,passive
17673          //   a "check" item named %s went passive
17674          // default is passive
17675          program {
17676             name:    "go_active";
17677             signal:  "elm,state,selected";
17678             source:  "elm";
17679             action:  STATE_SET "selected" 0.0;
17680             target:  "bg";
17681             target:  "fg1";
17682             target:  "fg2";
17683             target:  "elm.text";
17684          }
17685          program {
17686             name:    "go_passive";
17687             signal:  "elm,state,unselected";
17688             source:  "elm";
17689             action:  STATE_SET "default" 0.0;
17690             target:  "bg";
17691             target:  "fg1";
17692             target:  "fg2";
17693             target:  "elm.text";
17694             transition: LINEAR 0.1;
17695          }
17696          program {
17697             name:    "go_disabled";
17698             signal:  "elm,state,disabled";
17699             source:  "elm";
17700             action:  STATE_SET "disabled" 0.0;
17701             target:  "disclip";
17702          }
17703          program {
17704             name:    "go_enabled";
17705             signal:  "elm,state,enabled";
17706             source:  "elm";
17707             action:  STATE_SET "default" 0.0;
17708             target:  "disclip";
17709          }
17710       }
17711    }
17712    group { name: "elm/genlist/item_odd/default/default";
17713       data.item: "stacking" "below";
17714       data.item: "selectraise" "on";
17715       data.item: "labels" "elm.text";
17716       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17717       data.item: "treesize" "20";
17718 //      data.item: "states" "";
17719       images {
17720          image: "bt_sm_base1.png" COMP;
17721          image: "bt_sm_shine.png" COMP;
17722          image: "bt_sm_hilight.png" COMP;
17723          image: "ilist_2.png" COMP;
17724       }
17725       parts {
17726          part { name: "event";
17727             type: RECT;
17728             repeat_events: 1;
17729             description {
17730                state: "default" 0.0;
17731                color: 0 0 0 0;
17732             }
17733          }
17734          part {
17735             name: "base";
17736             mouse_events: 0;
17737             description {
17738                state: "default" 0.0;
17739                image {
17740                   normal: "ilist_2.png";
17741                   border: 2 2 2 2;
17742                }
17743                fill.smooth: 0;
17744             }
17745          }
17746          part { name: "bg";
17747             clip_to: "disclip";
17748             mouse_events: 0;
17749             description { state: "default" 0.0;
17750                visible: 0;
17751                color: 255 255 255 0;
17752                rel1 {
17753                   relative: 0.0 0.0;
17754                   offset: -5 -5;
17755                }
17756                rel2 {
17757                   relative: 1.0 1.0;
17758                   offset: 4 4;
17759                }
17760                image {
17761                   normal: "bt_sm_base1.png";
17762                   border: 6 6 6 6;
17763                }
17764                image.middle: SOLID;
17765             }
17766             description { state: "selected" 0.0;
17767                inherit: "default" 0.0;
17768                visible: 1;
17769                color: 255 255 255 255;
17770                rel1 {
17771                   relative: 0.0 0.0;
17772                   offset: -2 -2;
17773                }
17774                rel2 {
17775                   relative: 1.0 1.0;
17776                   offset: 1 1;
17777                }
17778             }
17779          }
17780          part { name: "elm.swallow.pad";
17781             type: SWALLOW;
17782             description { state: "default" 0.0;
17783                fixed: 1 0;
17784                align: 0.0 0.5;
17785                rel1 {
17786                   relative: 0.0  0.0;
17787                   offset:   4    4;
17788                }
17789                rel2 {
17790                   relative: 0.0  1.0;
17791                   offset:   4   -5;
17792                }
17793             }
17794          }
17795          part { name: "elm.swallow.icon";
17796             clip_to: "disclip";
17797             type: SWALLOW;
17798             description { state: "default" 0.0;
17799                fixed: 1 0;
17800                align: 0.0 0.5;
17801                rel1 {
17802                   to_x: "elm.swallow.pad";
17803                   relative: 1.0  0.0;
17804                   offset:   -1    4;
17805                }
17806                rel2 {
17807                   to_x: "elm.swallow.pad";
17808                   relative: 1.0  1.0;
17809                   offset:   -1   -5;
17810                }
17811             }
17812          }
17813          part { name: "elm.swallow.end";
17814             clip_to: "disclip";
17815             type:          SWALLOW;
17816             description { state:    "default" 0.0;
17817                fixed: 1 0;
17818                align:    1.0 0.5;
17819                aspect: 1.0 1.0;
17820                aspect_preference: VERTICAL;
17821                rel1 {
17822                   relative: 1.0  0.0;
17823                   offset:   -5    4;
17824                }
17825                rel2 {
17826                   relative: 1.0  1.0;
17827                   offset:   -5   -5;
17828                }
17829             }
17830          }
17831          part { name: "elm.text";
17832             clip_to: "disclip";
17833             type:           TEXT;
17834             effect:         SOFT_SHADOW;
17835             mouse_events:   0;
17836             scale: 1;
17837             description {
17838                state: "default" 0.0;
17839 //               min:      16 16;
17840                rel1 {
17841                   to_x:     "elm.swallow.icon";
17842                   relative: 1.0  0.0;
17843                   offset:   0 4;
17844                }
17845                rel2 {
17846                   to_x:     "elm.swallow.end";
17847                   relative: 0.0  1.0;
17848                   offset:   -1 -5;
17849                }
17850                color: 0 0 0 255;
17851                color3: 0 0 0 0;
17852                text {
17853                   font: "Sans";
17854                   size: 10;
17855                   min: 1 1;
17856 //                  min: 0 1;
17857                   align: -1.0 0.5;
17858                   text_class: "list_item";
17859                }
17860             }
17861             description { state: "selected" 0.0;
17862                inherit: "default" 0.0;
17863                color: 224 224 224 255;
17864                color3: 0 0 0 64;
17865             }
17866          }
17867          part { name: "fg1";
17868             clip_to: "disclip";
17869             mouse_events: 0;
17870             description { state: "default" 0.0;
17871                visible: 0;
17872                color: 255 255 255 0;
17873                rel1.to: "bg";
17874                rel2.relative: 1.0 0.5;
17875                rel2.to: "bg";
17876                image {
17877                   normal: "bt_sm_hilight.png";
17878                   border: 6 6 6 0;
17879                }
17880             }
17881             description { state: "selected" 0.0;
17882                inherit: "default" 0.0;
17883                visible: 1;
17884                color: 255 255 255 255;
17885             }
17886          }
17887          part { name: "fg2";
17888             clip_to: "disclip";
17889             mouse_events: 0;
17890             description { state: "default" 0.0;
17891                visible: 0;
17892                color: 255 255 255 0;
17893                rel1.to: "bg";
17894                rel2.to: "bg";
17895                image {
17896                   normal: "bt_sm_shine.png";
17897                   border: 6 6 6 0;
17898                }
17899             }
17900             description { state: "selected" 0.0;
17901                inherit: "default" 0.0;
17902                visible: 1;
17903                color: 255 255 255 255;
17904             }
17905          }
17906          part { name: "disclip";
17907             type: RECT;
17908             description { state: "default" 0.0;
17909                rel1.to: "bg";
17910                rel2.to: "bg";
17911             }
17912             description { state: "disabled" 0.0;
17913                inherit: "default" 0.0;
17914                color: 255 255 255 64;
17915             }
17916          }
17917       }
17918       programs {
17919          // signal: elm,state,%s,active
17920          //   a "check" item named %s went active
17921          // signal: elm,state,%s,passive
17922          //   a "check" item named %s went passive
17923          // default is passive
17924          program {
17925             name:    "go_active";
17926             signal:  "elm,state,selected";
17927             source:  "elm";
17928             action:  STATE_SET "selected" 0.0;
17929             target:  "bg";
17930             target:  "fg1";
17931             target:  "fg2";
17932             target:  "elm.text";
17933          }
17934          program {
17935             name:    "go_passive";
17936             signal:  "elm,state,unselected";
17937             source:  "elm";
17938             action:  STATE_SET "default" 0.0;
17939             target:  "bg";
17940             target:  "fg1";
17941             target:  "fg2";
17942             target:  "elm.text";
17943             transition: LINEAR 0.1;
17944          }
17945          program {
17946             name:    "go_disabled";
17947             signal:  "elm,state,disabled";
17948             source:  "elm";
17949             action:  STATE_SET "disabled" 0.0;
17950             target:  "disclip";
17951          }
17952          program {
17953             name:    "go_enabled";
17954             signal:  "elm,state,enabled";
17955             source:  "elm";
17956             action:  STATE_SET "default" 0.0;
17957             target:  "disclip";
17958          }
17959       }
17960    }
17961    group { name: "elm/genlist/item_compress_odd/default/default";
17962       data.item: "stacking" "below";
17963       data.item: "selectraise" "on";
17964       data.item: "labels" "elm.text";
17965       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17966       data.item: "treesize" "20";
17967 //      data.item: "states" "";
17968       images {
17969          image: "bt_sm_base1.png" COMP;
17970          image: "bt_sm_shine.png" COMP;
17971          image: "bt_sm_hilight.png" COMP;
17972          image: "ilist_2.png" COMP;
17973       }
17974       parts {
17975          part { name: "event";
17976             type: RECT;
17977             repeat_events: 1;
17978             description {
17979                state: "default" 0.0;
17980                color: 0 0 0 0;
17981             }
17982          }
17983          part {
17984             name: "base";
17985             mouse_events: 0;
17986             description {
17987                state: "default" 0.0;
17988                image {
17989                   normal: "ilist_2.png";
17990                   border: 2 2 2 2;
17991                }
17992                fill.smooth: 0;
17993             }
17994          }
17995          part { name: "bg";
17996             clip_to: "disclip";
17997             mouse_events: 0;
17998             description { state: "default" 0.0;
17999                visible: 0;
18000                color: 255 255 255 0;
18001                rel1 {
18002                   relative: 0.0 0.0;
18003                   offset: -5 -5;
18004                }
18005                rel2 {
18006                   relative: 1.0 1.0;
18007                   offset: 4 4;
18008                }
18009                image {
18010                   normal: "bt_sm_base1.png";
18011                   border: 6 6 6 6;
18012                }
18013                image.middle: SOLID;
18014             }
18015             description { state: "selected" 0.0;
18016                inherit: "default" 0.0;
18017                visible: 1;
18018                color: 255 255 255 255;
18019                rel1 {
18020                   relative: 0.0 0.0;
18021                   offset: -2 -2;
18022                }
18023                rel2 {
18024                   relative: 1.0 1.0;
18025                   offset: 1 1;
18026                }
18027             }
18028          }
18029          part { name: "elm.swallow.pad";
18030             type: SWALLOW;
18031             description { state: "default" 0.0;
18032                fixed: 1 0;
18033                align: 0.0 0.5;
18034                rel1 {
18035                   relative: 0.0  0.0;
18036                   offset:   4    4;
18037                }
18038                rel2 {
18039                   relative: 0.0  1.0;
18040                   offset:   4   -5;
18041                }
18042             }
18043          }
18044          part { name: "elm.swallow.icon";
18045             clip_to: "disclip";
18046             type: SWALLOW;
18047             description { state: "default" 0.0;
18048                fixed: 1 0;
18049                align: 0.0 0.5;
18050                rel1 {
18051                   to_x: "elm.swallow.pad";
18052                   relative: 1.0  0.0;
18053                   offset:   -1    4;
18054                }
18055                rel2 {
18056                   to_x: "elm.swallow.pad";
18057                   relative: 1.0  1.0;
18058                   offset:   -1   -5;
18059                }
18060             }
18061          }
18062          part { name: "elm.swallow.end";
18063             clip_to: "disclip";
18064             type:          SWALLOW;
18065             description { state:    "default" 0.0;
18066                fixed: 1 0;
18067                align:    1.0 0.5;
18068                aspect: 1.0 1.0;
18069                aspect_preference: VERTICAL;
18070                rel1 {
18071                   relative: 1.0  0.0;
18072                   offset:   -5    4;
18073                }
18074                rel2 {
18075                   relative: 1.0  1.0;
18076                   offset:   -5   -5;
18077                }
18078             }
18079          }
18080          part { name: "elm.text";
18081             clip_to: "disclip";
18082             type:           TEXT;
18083             effect:         SOFT_SHADOW;
18084             mouse_events:   0;
18085             scale: 1;
18086             description {
18087                state: "default" 0.0;
18088 //               min:      16 16;
18089                rel1 {
18090                   to_x:     "elm.swallow.icon";
18091                   relative: 1.0  0.0;
18092                   offset:   0 4;
18093                }
18094                rel2 {
18095                   to_x:     "elm.swallow.end";
18096                   relative: 0.0  1.0;
18097                   offset:   -1 -5;
18098                }
18099                color: 0 0 0 255;
18100                color3: 0 0 0 0;
18101                text {
18102                   font: "Sans";
18103                   size: 10;
18104                   min: 0 1;
18105 //                  min: 1 1;
18106                   align: 0.0 0.5;
18107                   text_class: "list_item";
18108                }
18109             }
18110             description { state: "selected" 0.0;
18111                inherit: "default" 0.0;
18112                color: 224 224 224 255;
18113                color3: 0 0 0 64;
18114             }
18115          }
18116          part { name: "fg1";
18117             clip_to: "disclip";
18118             mouse_events: 0;
18119             description { state: "default" 0.0;
18120                visible: 0;
18121                color: 255 255 255 0;
18122                rel1.to: "bg";
18123                rel2.relative: 1.0 0.5;
18124                rel2.to: "bg";
18125                image {
18126                   normal: "bt_sm_hilight.png";
18127                   border: 6 6 6 0;
18128                }
18129             }
18130             description { state: "selected" 0.0;
18131                inherit: "default" 0.0;
18132                visible: 1;
18133                color: 255 255 255 255;
18134             }
18135          }
18136          part { name: "fg2";
18137             clip_to: "disclip";
18138             mouse_events: 0;
18139             description { state: "default" 0.0;
18140                visible: 0;
18141                color: 255 255 255 0;
18142                rel1.to: "bg";
18143                rel2.to: "bg";
18144                image {
18145                   normal: "bt_sm_shine.png";
18146                   border: 6 6 6 0;
18147                }
18148             }
18149             description { state: "selected" 0.0;
18150                inherit: "default" 0.0;
18151                visible: 1;
18152                color: 255 255 255 255;
18153             }
18154          }
18155          part { name: "disclip";
18156             type: RECT;
18157             description { state: "default" 0.0;
18158                rel1.to: "bg";
18159                rel2.to: "bg";
18160             }
18161             description { state: "disabled" 0.0;
18162                inherit: "default" 0.0;
18163                color: 255 255 255 64;
18164             }
18165          }
18166       }
18167       programs {
18168          // signal: elm,state,%s,active
18169          //   a "check" item named %s went active
18170          // signal: elm,state,%s,passive
18171          //   a "check" item named %s went passive
18172          // default is passive
18173          program {
18174             name:    "go_active";
18175             signal:  "elm,state,selected";
18176             source:  "elm";
18177             action:  STATE_SET "selected" 0.0;
18178             target:  "bg";
18179             target:  "fg1";
18180             target:  "fg2";
18181             target:  "elm.text";
18182          }
18183          program {
18184             name:    "go_passive";
18185             signal:  "elm,state,unselected";
18186             source:  "elm";
18187             action:  STATE_SET "default" 0.0;
18188             target:  "bg";
18189             target:  "fg1";
18190             target:  "fg2";
18191             target:  "elm.text";
18192             transition: LINEAR 0.1;
18193          }
18194          program {
18195             name:    "go_disabled";
18196             signal:  "elm,state,disabled";
18197             source:  "elm";
18198             action:  STATE_SET "disabled" 0.0;
18199             target:  "disclip";
18200          }
18201          program {
18202             name:    "go_enabled";
18203             signal:  "elm,state,enabled";
18204             source:  "elm";
18205             action:  STATE_SET "default" 0.0;
18206             target:  "disclip";
18207          }
18208       }
18209    }
18210
18211    group { name: "elm/genlist/tree/default/default";
18212       data.item: "stacking" "above";
18213       data.item: "selectraise" "on";
18214       data.item: "labels" "elm.text";
18215       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18216       data.item: "treesize" "20";
18217 //      data.item: "states" "";
18218       images {
18219          image: "bt_sm_base1.png" COMP;
18220          image: "bt_sm_shine.png" COMP;
18221          image: "bt_sm_hilight.png" COMP;
18222          image: "ilist_1.png" COMP;
18223          image: "ilist_item_shadow.png" COMP;
18224          image: "icon_arrow_left.png" COMP;
18225          image: "icon_arrow_right.png" COMP;
18226          image: "icon_arrow_down.png" COMP;
18227       }
18228       parts {
18229          part {
18230             name:           "event";
18231             type:           RECT;
18232             repeat_events: 1;
18233             description {
18234                state: "default" 0.0;
18235                color: 0 0 0 0;
18236             }
18237          }
18238          part {
18239             name: "base_sh";
18240             mouse_events: 0;
18241             description {
18242                state: "default" 0.0;
18243                align: 0.0 0.0;
18244                min: 0 10;
18245                fixed: 1 1;
18246                rel1 {
18247                   to: "base";
18248                   relative: 0.0 1.0;
18249                   offset: 0 0;
18250                }
18251                rel2 {
18252                   to: "base";
18253                   relative: 1.0 1.0;
18254                   offset: -1 0;
18255                }
18256                image {
18257                   normal: "ilist_item_shadow.png";
18258                }
18259                fill.smooth: 0;
18260             }
18261          }
18262          part {
18263             name: "base";
18264             mouse_events: 0;
18265             description {
18266                state: "default" 0.0;
18267                image {
18268                   normal: "ilist_1.png";
18269                   border: 2 2 2 2;
18270                }
18271                fill.smooth: 0;
18272             }
18273          }
18274          part { name: "bg";
18275             clip_to: "disclip";
18276             mouse_events: 0;
18277             description { state: "default" 0.0;
18278                visible: 0;
18279                color: 255 255 255 0;
18280                rel1 {
18281                   relative: 0.0 0.0;
18282                   offset: -5 -5;
18283                }
18284                rel2 {
18285                   relative: 1.0 1.0;
18286                   offset: 4 4;
18287                }
18288                image {
18289                   normal: "bt_sm_base1.png";
18290                   border: 6 6 6 6;
18291                }
18292                image.middle: SOLID;
18293             }
18294             description { state: "selected" 0.0;
18295                inherit: "default" 0.0;
18296                visible: 1;
18297                color: 255 255 255 255;
18298                rel1 {
18299                   relative: 0.0 0.0;
18300                   offset: -2 -2;
18301                }
18302                rel2 {
18303                   relative: 1.0 1.0;
18304                   offset: 1 1;
18305                }
18306             }
18307          }
18308          part { name: "elm.swallow.pad";
18309             type: SWALLOW;
18310             description { state: "default" 0.0;
18311                fixed: 1 0;
18312                align: 0.0 0.5;
18313                rel1 {
18314                   relative: 0.0  0.0;
18315                   offset:   4    4;
18316                }
18317                rel2 {
18318                   relative: 0.0  1.0;
18319                   offset:   4   -5;
18320                }
18321             }
18322          }
18323          part { name: "arrow";
18324             clip_to: "disclip";
18325             ignore_flags: ON_HOLD;
18326             description { state: "default" 0.0;
18327                fixed: 1 0;
18328                align: 0.0 0.5;
18329                aspect: 1.0 1.0;
18330                rel1 {
18331                   to_x: "elm.swallow.pad";
18332                   relative: 1.0  0.0;
18333                   offset:   -1    4;
18334                }
18335                rel2 {
18336                   to_x: "elm.swallow.pad";
18337                   relative: 1.0  1.0;
18338                   offset:   -1   -5;
18339                }
18340                image.normal: "icon_arrow_right.png";
18341             }
18342             description { state: "default" 0.1;
18343                inherit: "default" 0.0;
18344                image.normal: "icon_arrow_left.png";
18345             }
18346             description { state: "active" 0.0;
18347                inherit: "default" 0.0;
18348                image.normal: "icon_arrow_down.png";
18349             }
18350             description { state: "active" 0.1;
18351                inherit: "default" 0.0;
18352                image.normal: "icon_arrow_down.png";
18353             }
18354          }
18355          part { name: "elm.swallow.icon";
18356             clip_to: "disclip";
18357             type: SWALLOW;
18358             description { state: "default" 0.0;
18359                fixed: 1 0;
18360                align: 0.0 0.5;
18361                rel1 {
18362                   to_x: "arrow";
18363                   relative: 1.0  0.0;
18364                   offset:   4    4;
18365                }
18366                rel2 {
18367                   to_x: "arrow";
18368                   relative: 1.0  1.0;
18369                   offset:   4   -5;
18370                }
18371             }
18372          }
18373          part { name: "elm.swallow.end";
18374             clip_to: "disclip";
18375             type: SWALLOW;
18376             description { state: "default" 0.0;
18377                fixed: 1 0;
18378                align: 1.0 0.5;
18379                aspect: 1.0 1.0;
18380                aspect_preference: VERTICAL;
18381                rel1 {
18382                   relative: 1.0  0.0;
18383                   offset:   -5    4;
18384                }
18385                rel2 {
18386                   relative: 1.0  1.0;
18387                   offset:   -5   -5;
18388                }
18389             }
18390          }
18391          part { name: "elm.text";
18392             clip_to: "disclip";
18393             type:           TEXT;
18394             effect:         SOFT_SHADOW;
18395             mouse_events:   0;
18396             scale: 1;
18397             description {
18398                state: "default" 0.0;
18399 //               min: 16 16;
18400                rel1 {
18401                   to_x:     "elm.swallow.icon";
18402                   relative: 1.0  0.0;
18403                   offset:   0 4;
18404                }
18405                rel2 {
18406                   to_x:     "elm.swallow.end";
18407                   relative: 0.0  1.0;
18408                   offset:   -1 -5;
18409                }
18410                color: 0 0 0 255;
18411                color3: 0 0 0 0;
18412                text {
18413                   font: "Sans";
18414                   size: 10;
18415                   min: 1 1;
18416 //                  min: 0 1;
18417                   align: -1.0 0.5;
18418                   text_class: "list_item";
18419                }
18420             }
18421             description { state: "selected" 0.0;
18422                inherit: "default" 0.0;
18423                color: 224 224 224 255;
18424                color3: 0 0 0 64;
18425             }
18426          }
18427          part { name: "fg1";
18428             clip_to: "disclip";
18429             mouse_events: 0;
18430             description { state: "default" 0.0;
18431                visible: 0;
18432                color: 255 255 255 0;
18433                rel1.to: "bg";
18434                rel2.relative: 1.0 0.5;
18435                rel2.to: "bg";
18436                image {
18437                   normal: "bt_sm_hilight.png";
18438                   border: 6 6 6 0;
18439                }
18440             }
18441             description { state: "selected" 0.0;
18442                inherit: "default" 0.0;
18443                visible: 1;
18444                color: 255 255 255 255;
18445             }
18446          }
18447          part { name: "fg2";
18448             clip_to: "disclip";
18449             mouse_events: 0;
18450             description { state: "default" 0.0;
18451                visible: 0;
18452                color: 255 255 255 0;
18453                rel1.to: "bg";
18454                rel2.to: "bg";
18455                image {
18456                   normal: "bt_sm_shine.png";
18457                   border: 6 6 6 0;
18458                }
18459             }
18460             description { state: "selected" 0.0;
18461                inherit: "default" 0.0;
18462                visible: 1;
18463                color: 255 255 255 255;
18464             }
18465          }
18466          part { name: "disclip";
18467             type: RECT;
18468             description { state: "default" 0.0;
18469                rel1.to: "bg";
18470                rel2.to: "bg";
18471             }
18472             description { state: "disabled" 0.0;
18473                inherit: "default" 0.0;
18474                color: 255 255 255 64;
18475             }
18476          }
18477       }
18478       programs {
18479          // signal: elm,state,%s,active
18480          //   a "check" item named %s went active
18481          // signal: elm,state,%s,passive
18482          //   a "check" item named %s went passive
18483          // default is passive
18484          program {
18485             name:    "go_active";
18486             signal:  "elm,state,selected";
18487             source:  "elm";
18488             action:  STATE_SET "selected" 0.0;
18489             target:  "bg";
18490             target:  "fg1";
18491             target:  "fg2";
18492             target:  "elm.text";
18493          }
18494          program {
18495             name:    "go_passive";
18496             signal:  "elm,state,unselected";
18497             source:  "elm";
18498             action:  STATE_SET "default" 0.0;
18499             target:  "bg";
18500             target:  "fg1";
18501             target:  "fg2";
18502             target:  "elm.text";
18503             transition: LINEAR 0.1;
18504          }
18505          program {
18506             name:    "go_disabled";
18507             signal:  "elm,state,disabled";
18508             source:  "elm";
18509             action:  STATE_SET "disabled" 0.0;
18510             target:  "disclip";
18511          }
18512          program {
18513             name:    "go_enabled";
18514             signal:  "elm,state,enabled";
18515             source:  "elm";
18516             action:  STATE_SET "default" 0.0;
18517             target:  "disclip";
18518          }
18519          program {
18520             name:    "expand";
18521             signal:  "mouse,up,1";
18522             source:  "arrow";
18523             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18524          }
18525          program {
18526             name:    "go_expanded";
18527             signal:  "elm,state,expanded";
18528             source:  "elm";
18529             script {
18530                new st[31];
18531                new Float:vl;
18532                get_state(PART:"arrow", st, 30, vl);
18533                set_state(PART:"arrow", "active", vl);
18534             }
18535          }
18536          program {
18537             name:    "go_contracted";
18538             signal:  "elm,state,contracted";
18539             source:  "elm";
18540             script {
18541                new st[31];
18542                new Float:vl;
18543                get_state(PART:"arrow", st, 30, vl);
18544                set_state(PART:"arrow", "default", vl);
18545             }
18546          }
18547          program { name: "to_rtl";
18548             signal: "edje,state,rtl";
18549             source: "edje";
18550             script {
18551                new st[31];
18552                new Float:vl;
18553                get_state(PART:"arrow", st, 30, vl);
18554                if (vl == 0.0) {
18555                   set_state(PART:"arrow", st, 0.1);
18556                }
18557             }
18558          }
18559          program { name: "to_ltr";
18560             signal: "edje,state,ltr";
18561             source: "edje";
18562             script {
18563                new st[31];
18564                new Float:vl;
18565                get_state(PART:"arrow", st, 30, vl);
18566                if (vl == 0.1) {
18567                   set_state(PART:"arrow", st, 0.0);
18568                }
18569             }
18570          }
18571       }
18572    }
18573    group { name: "elm/genlist/tree_compress/default/default";
18574       data.item: "stacking" "above";
18575       data.item: "selectraise" "on";
18576       data.item: "labels" "elm.text";
18577       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18578       data.item: "treesize" "20";
18579 //      data.item: "states" "";
18580       images {
18581          image: "bt_sm_base1.png" COMP;
18582          image: "bt_sm_shine.png" COMP;
18583          image: "bt_sm_hilight.png" COMP;
18584          image: "ilist_1.png" COMP;
18585          image: "ilist_item_shadow.png" COMP;
18586          image: "icon_arrow_left.png" COMP;
18587          image: "icon_arrow_right.png" COMP;
18588          image: "icon_arrow_down.png" COMP;
18589       }
18590       parts {
18591          part {
18592             name:           "event";
18593             type:           RECT;
18594             repeat_events: 1;
18595             description {
18596                state: "default" 0.0;
18597                color: 0 0 0 0;
18598             }
18599          }
18600          part {
18601             name: "base_sh";
18602             mouse_events: 0;
18603             description {
18604                state: "default" 0.0;
18605                align: 0.0 0.0;
18606                min: 0 10;
18607                fixed: 1 1;
18608                rel1 {
18609                   to: "base";
18610                   relative: 0.0 1.0;
18611                   offset: 0 0;
18612                }
18613                rel2 {
18614                   to: "base";
18615                   relative: 1.0 1.0;
18616                   offset: -1 0;
18617                }
18618                image {
18619                   normal: "ilist_item_shadow.png";
18620                }
18621                fill.smooth: 0;
18622             }
18623          }
18624          part {
18625             name: "base";
18626             mouse_events: 0;
18627             description {
18628                state: "default" 0.0;
18629                image {
18630                   normal: "ilist_1.png";
18631                   border: 2 2 2 2;
18632                }
18633                fill.smooth: 0;
18634             }
18635          }
18636          part { name: "bg";
18637             clip_to: "disclip";
18638             mouse_events: 0;
18639             description { state: "default" 0.0;
18640                visible: 0;
18641                color: 255 255 255 0;
18642                rel1 {
18643                   relative: 0.0 0.0;
18644                   offset: -5 -5;
18645                }
18646                rel2 {
18647                   relative: 1.0 1.0;
18648                   offset: 4 4;
18649                }
18650                image {
18651                   normal: "bt_sm_base1.png";
18652                   border: 6 6 6 6;
18653                }
18654                image.middle: SOLID;
18655             }
18656             description { state: "selected" 0.0;
18657                inherit: "default" 0.0;
18658                visible: 1;
18659                color: 255 255 255 255;
18660                rel1 {
18661                   relative: 0.0 0.0;
18662                   offset: -2 -2;
18663                }
18664                rel2 {
18665                   relative: 1.0 1.0;
18666                   offset: 1 1;
18667                }
18668             }
18669          }
18670          part { name: "elm.swallow.pad";
18671             type: SWALLOW;
18672             description { state: "default" 0.0;
18673                fixed: 1 0;
18674                align: 0.0 0.5;
18675                rel1 {
18676                   relative: 0.0  0.0;
18677                   offset:   4    4;
18678                }
18679                rel2 {
18680                   relative: 0.0  1.0;
18681                   offset:   4   -5;
18682                }
18683             }
18684          }
18685          part { name: "arrow";
18686             clip_to: "disclip";
18687             ignore_flags: ON_HOLD;
18688             description { state: "default" 0.0;
18689                fixed: 1 0;
18690                align: 0.0 0.5;
18691                aspect: 1.0 1.0;
18692                rel1 {
18693                   to_x: "elm.swallow.pad";
18694                   relative: 1.0  0.0;
18695                   offset:   -1    4;
18696                }
18697                rel2 {
18698                   to_x: "elm.swallow.pad";
18699                   relative: 1.0  1.0;
18700                   offset:   -1   -5;
18701                }
18702                image.normal: "icon_arrow_right.png";
18703             }
18704             description { state: "default" 0.1;
18705                inherit: "default" 0.0;
18706                image.normal: "icon_arrow_left.png";
18707             }
18708             description { state: "active" 0.0;
18709                inherit: "default" 0.0;
18710                image.normal: "icon_arrow_down.png";
18711             }
18712             description { state: "active" 0.1;
18713                inherit: "default" 0.0;
18714                image.normal: "icon_arrow_down.png";
18715             }
18716          }
18717          part { name: "elm.swallow.icon";
18718             clip_to: "disclip";
18719             type: SWALLOW;
18720             description { state: "default" 0.0;
18721                fixed: 1 0;
18722                align: 0.0 0.5;
18723                rel1 {
18724                   to_x: "arrow";
18725                   relative: 1.0  0.0;
18726                   offset:   4    4;
18727                }
18728                rel2 {
18729                   to_x: "arrow";
18730                   relative: 1.0  1.0;
18731                   offset:   4   -5;
18732                }
18733             }
18734          }
18735          part { name: "elm.swallow.end";
18736             clip_to: "disclip";
18737             type: SWALLOW;
18738             description { state: "default" 0.0;
18739                fixed: 1 0;
18740                align: 1.0 0.5;
18741                aspect: 1.0 1.0;
18742                aspect_preference: VERTICAL;
18743                rel1 {
18744                   relative: 1.0  0.0;
18745                   offset:   -5    4;
18746                }
18747                rel2 {
18748                   relative: 1.0  1.0;
18749                   offset:   -5   -5;
18750                }
18751             }
18752          }
18753          part { name: "elm.text";
18754             clip_to: "disclip";
18755             type:           TEXT;
18756             effect:         SOFT_SHADOW;
18757             mouse_events:   0;
18758             scale: 1;
18759             description {
18760                state: "default" 0.0;
18761 //               min: 16 16;
18762                rel1 {
18763                   to_x:     "elm.swallow.icon";
18764                   relative: 1.0  0.0;
18765                   offset:   0 4;
18766                }
18767                rel2 {
18768                   to_x:     "elm.swallow.end";
18769                   relative: 0.0  1.0;
18770                   offset:   -1 -5;
18771                }
18772                color: 0 0 0 255;
18773                color3: 0 0 0 0;
18774                text {
18775                   font: "Sans";
18776                   size: 10;
18777 //                  min: 1 1;
18778                   min: 0 1;
18779                   align: 0.0 0.5;
18780                   text_class: "list_item";
18781                }
18782             }
18783             description { state: "selected" 0.0;
18784                inherit: "default" 0.0;
18785                color: 224 224 224 255;
18786                color3: 0 0 0 64;
18787             }
18788          }
18789          part { name: "fg1";
18790             clip_to: "disclip";
18791             mouse_events: 0;
18792             description { state: "default" 0.0;
18793                visible: 0;
18794                color: 255 255 255 0;
18795                rel1.to: "bg";
18796                rel2.relative: 1.0 0.5;
18797                rel2.to: "bg";
18798                image {
18799                   normal: "bt_sm_hilight.png";
18800                   border: 6 6 6 0;
18801                }
18802             }
18803             description { state: "selected" 0.0;
18804                inherit: "default" 0.0;
18805                visible: 1;
18806                color: 255 255 255 255;
18807             }
18808          }
18809          part { name: "fg2";
18810             clip_to: "disclip";
18811             mouse_events: 0;
18812             description { state: "default" 0.0;
18813                visible: 0;
18814                color: 255 255 255 0;
18815                rel1.to: "bg";
18816                rel2.to: "bg";
18817                image {
18818                   normal: "bt_sm_shine.png";
18819                   border: 6 6 6 0;
18820                }
18821             }
18822             description { state: "selected" 0.0;
18823                inherit: "default" 0.0;
18824                visible: 1;
18825                color: 255 255 255 255;
18826             }
18827          }
18828          part { name: "disclip";
18829             type: RECT;
18830             description { state: "default" 0.0;
18831                rel1.to: "bg";
18832                rel2.to: "bg";
18833             }
18834             description { state: "disabled" 0.0;
18835                inherit: "default" 0.0;
18836                color: 255 255 255 64;
18837             }
18838          }
18839       }
18840       programs {
18841          // signal: elm,state,%s,active
18842          //   a "check" item named %s went active
18843          // signal: elm,state,%s,passive
18844          //   a "check" item named %s went passive
18845          // default is passive
18846          program {
18847             name:    "go_active";
18848             signal:  "elm,state,selected";
18849             source:  "elm";
18850             action:  STATE_SET "selected" 0.0;
18851             target:  "bg";
18852             target:  "fg1";
18853             target:  "fg2";
18854             target:  "elm.text";
18855          }
18856          program {
18857             name:    "go_passive";
18858             signal:  "elm,state,unselected";
18859             source:  "elm";
18860             action:  STATE_SET "default" 0.0;
18861             target:  "bg";
18862             target:  "fg1";
18863             target:  "fg2";
18864             target:  "elm.text";
18865             transition: LINEAR 0.1;
18866          }
18867          program {
18868             name:    "go_disabled";
18869             signal:  "elm,state,disabled";
18870             source:  "elm";
18871             action:  STATE_SET "disabled" 0.0;
18872             target:  "disclip";
18873          }
18874          program {
18875             name:    "go_enabled";
18876             signal:  "elm,state,enabled";
18877             source:  "elm";
18878             action:  STATE_SET "default" 0.0;
18879             target:  "disclip";
18880          }
18881          program {
18882             name:    "expand";
18883             signal:  "mouse,up,1";
18884             source:  "arrow";
18885             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18886          }
18887          program {
18888             name:    "go_expanded";
18889             signal:  "elm,state,expanded";
18890             source:  "elm";
18891             script {
18892                new st[31];
18893                new Float:vl;
18894                get_state(PART:"arrow", st, 30, vl);
18895                set_state(PART:"arrow", "active", vl);
18896             }
18897          }
18898          program {
18899             name:    "go_contracted";
18900             signal:  "elm,state,contracted";
18901             source:  "elm";
18902             script {
18903                new st[31];
18904                new Float:vl;
18905                get_state(PART:"arrow", st, 30, vl);
18906                set_state(PART:"arrow", "default", vl);
18907             }
18908          }
18909          program { name: "to_rtl";
18910             signal: "edje,state,rtl";
18911             source: "edje";
18912             script {
18913                new st[31];
18914                new Float:vl;
18915                get_state(PART:"arrow", st, 30, vl);
18916                if (vl == 0.0) {
18917                   set_state(PART:"arrow", st, 0.1);
18918                }
18919             }
18920          }
18921          program { name: "to_ltr";
18922             signal: "edje,state,ltr";
18923             source: "edje";
18924             script {
18925                new st[31];
18926                new Float:vl;
18927                get_state(PART:"arrow", st, 30, vl);
18928                if (vl == 0.1) {
18929                   set_state(PART:"arrow", st, 0.0);
18930                }
18931             }
18932          }
18933       }
18934    }
18935    group { name: "elm/genlist/tree_odd/default/default";
18936       data.item: "stacking" "below";
18937       data.item: "selectraise" "on";
18938       data.item: "labels" "elm.text";
18939       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18940       data.item: "treesize" "20";
18941 //      data.item: "states" "";
18942       images {
18943          image: "bt_sm_base1.png" COMP;
18944          image: "bt_sm_shine.png" COMP;
18945          image: "bt_sm_hilight.png" COMP;
18946          image: "ilist_2.png" COMP;
18947          image: "icon_arrow_left.png" COMP;
18948          image: "icon_arrow_right.png" COMP;
18949          image: "icon_arrow_down.png" COMP;
18950       }
18951       parts {
18952          part {
18953             name:           "event";
18954             type:           RECT;
18955             repeat_events: 1;
18956             description {
18957                state: "default" 0.0;
18958                color: 0 0 0 0;
18959             }
18960          }
18961          part {
18962             name: "base";
18963             mouse_events: 0;
18964             description {
18965                state: "default" 0.0;
18966                image {
18967                   normal: "ilist_2.png";
18968                   border: 2 2 2 2;
18969                }
18970                fill.smooth: 0;
18971             }
18972          }
18973          part { name: "bg";
18974             clip_to: "disclip";
18975             mouse_events: 0;
18976             description { state: "default" 0.0;
18977                visible: 0;
18978                color: 255 255 255 0;
18979                rel1 {
18980                   relative: 0.0 0.0;
18981                   offset: -5 -5;
18982                }
18983                rel2 {
18984                   relative: 1.0 1.0;
18985                   offset: 4 4;
18986                }
18987                image {
18988                   normal: "bt_sm_base1.png";
18989                   border: 6 6 6 6;
18990                }
18991                image.middle: SOLID;
18992             }
18993             description { state: "selected" 0.0;
18994                inherit: "default" 0.0;
18995                visible: 1;
18996                color: 255 255 255 255;
18997                rel1 {
18998                   relative: 0.0 0.0;
18999                   offset: -2 -2;
19000                }
19001                rel2 {
19002                   relative: 1.0 1.0;
19003                   offset: 1 1;
19004                }
19005             }
19006          }
19007          part { name: "elm.swallow.pad";
19008             type: SWALLOW;
19009             description { state: "default" 0.0;
19010                fixed: 1 0;
19011                align: 0.0 0.5;
19012                rel1 {
19013                   relative: 0.0  0.0;
19014                   offset:   4    4;
19015                }
19016                rel2 {
19017                   relative: 0.0  1.0;
19018                   offset:   4   -5;
19019                }
19020             }
19021          }
19022          part { name: "arrow";
19023             clip_to: "disclip";
19024             ignore_flags: ON_HOLD;
19025             description { state: "default" 0.0;
19026                fixed: 1 0;
19027                align: 0.0 0.5;
19028                aspect: 1.0 1.0;
19029                rel1 {
19030                   to_x: "elm.swallow.pad";
19031                   relative: 1.0  0.0;
19032                   offset:   -1    4;
19033                }
19034                rel2 {
19035                   to_x: "elm.swallow.pad";
19036                   relative: 1.0  1.0;
19037                   offset:   -1   -5;
19038                }
19039                image.normal: "icon_arrow_right.png";
19040             }
19041             description { state: "default" 0.1;
19042                inherit: "default" 0.0;
19043                image.normal: "icon_arrow_left.png";
19044             }
19045             description { state: "active" 0.0;
19046                inherit: "default" 0.0;
19047                image.normal: "icon_arrow_down.png";
19048             }
19049             description { state: "active" 0.1;
19050                inherit: "default" 0.0;
19051                image.normal: "icon_arrow_down.png";
19052             }
19053          }
19054          part { name: "elm.swallow.icon";
19055             clip_to: "disclip";
19056             type: SWALLOW;
19057             description { state: "default" 0.0;
19058                fixed: 1 0;
19059                align: 0.0 0.5;
19060                rel1 {
19061                   to_x: "arrow";
19062                   relative: 1.0  0.0;
19063                   offset:   4    4;
19064                }
19065                rel2 {
19066                   to_x: "arrow";
19067                   relative: 1.0  1.0;
19068                   offset:   4   -5;
19069                }
19070             }
19071          }
19072          part { name: "elm.swallow.end";
19073             clip_to: "disclip";
19074             type: SWALLOW;
19075             description { state: "default" 0.0;
19076                fixed: 1 0;
19077                align: 1.0 0.5;
19078                aspect: 1.0 1.0;
19079                aspect_preference: VERTICAL;
19080                rel1 {
19081                   relative: 1.0  0.0;
19082                   offset:   -5    4;
19083                }
19084                rel2 {
19085                   relative: 1.0  1.0;
19086                   offset:   -5   -5;
19087                }
19088             }
19089          }
19090          part { name: "elm.text";
19091             clip_to: "disclip";
19092             type:           TEXT;
19093             effect:         SOFT_SHADOW;
19094             mouse_events:   0;
19095             scale: 1;
19096             description {
19097                state: "default" 0.0;
19098 //               min: 16 16;
19099                rel1 {
19100                   to_x:     "elm.swallow.icon";
19101                   relative: 1.0  0.0;
19102                   offset:   0 4;
19103                }
19104                rel2 {
19105                   to_x:     "elm.swallow.end";
19106                   relative: 0.0  1.0;
19107                   offset:   -1 -5;
19108                }
19109                color: 0 0 0 255;
19110                color3: 0 0 0 0;
19111                text {
19112                   font: "Sans";
19113                   size: 10;
19114                   min: 1 1;
19115 //                  min: 0 1;
19116                   align: -1.0 0.5;
19117                   text_class: "list_item";
19118                }
19119             }
19120             description { state: "selected" 0.0;
19121                inherit: "default" 0.0;
19122                color: 224 224 224 255;
19123                color3: 0 0 0 64;
19124             }
19125          }
19126          part { name: "fg1";
19127             clip_to: "disclip";
19128             mouse_events: 0;
19129             description { state: "default" 0.0;
19130                visible: 0;
19131                color: 255 255 255 0;
19132                rel1.to: "bg";
19133                rel2.relative: 1.0 0.5;
19134                rel2.to: "bg";
19135                image {
19136                   normal: "bt_sm_hilight.png";
19137                   border: 6 6 6 0;
19138                }
19139             }
19140             description { state: "selected" 0.0;
19141                inherit: "default" 0.0;
19142                visible: 1;
19143                color: 255 255 255 255;
19144             }
19145          }
19146          part { name: "fg2";
19147             clip_to: "disclip";
19148             mouse_events: 0;
19149             description { state: "default" 0.0;
19150                visible: 0;
19151                color: 255 255 255 0;
19152                rel1.to: "bg";
19153                rel2.to: "bg";
19154                image {
19155                   normal: "bt_sm_shine.png";
19156                   border: 6 6 6 0;
19157                }
19158             }
19159             description { state: "selected" 0.0;
19160                inherit: "default" 0.0;
19161                visible: 1;
19162                color: 255 255 255 255;
19163             }
19164          }
19165          part { name: "disclip";
19166             type: RECT;
19167             description { state: "default" 0.0;
19168                rel1.to: "bg";
19169                rel2.to: "bg";
19170             }
19171             description { state: "disabled" 0.0;
19172                inherit: "default" 0.0;
19173                color: 255 255 255 64;
19174             }
19175          }
19176       }
19177       programs {
19178          // signal: elm,state,%s,active
19179          //   a "check" item named %s went active
19180          // signal: elm,state,%s,passive
19181          //   a "check" item named %s went passive
19182          // default is passive
19183          program {
19184             name:    "go_active";
19185             signal:  "elm,state,selected";
19186             source:  "elm";
19187             action:  STATE_SET "selected" 0.0;
19188             target:  "bg";
19189             target:  "fg1";
19190             target:  "fg2";
19191             target:  "elm.text";
19192          }
19193          program {
19194             name:    "go_passive";
19195             signal:  "elm,state,unselected";
19196             source:  "elm";
19197             action:  STATE_SET "default" 0.0;
19198             target:  "bg";
19199             target:  "fg1";
19200             target:  "fg2";
19201             target:  "elm.text";
19202             transition: LINEAR 0.1;
19203          }
19204          program {
19205             name:    "go_disabled";
19206             signal:  "elm,state,disabled";
19207             source:  "elm";
19208             action:  STATE_SET "disabled" 0.0;
19209             target:  "disclip";
19210          }
19211          program {
19212             name:    "go_enabled";
19213             signal:  "elm,state,enabled";
19214             source:  "elm";
19215             action:  STATE_SET "default" 0.0;
19216             target:  "disclip";
19217          }
19218          program {
19219             name:    "expand";
19220             signal:  "mouse,up,1";
19221             source:  "arrow";
19222             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19223          }
19224          program {
19225             name:    "go_expanded";
19226             signal:  "elm,state,expanded";
19227             source:  "elm";
19228             script {
19229                new st[31];
19230                new Float:vl;
19231                get_state(PART:"arrow", st, 30, vl);
19232                set_state(PART:"arrow", "active", vl);
19233             }
19234          }
19235          program {
19236             name:    "go_contracted";
19237             signal:  "elm,state,contracted";
19238             source:  "elm";
19239             script {
19240                new st[31];
19241                new Float:vl;
19242                get_state(PART:"arrow", st, 30, vl);
19243                set_state(PART:"arrow", "default", vl);
19244             }
19245          }
19246          program { name: "to_rtl";
19247             signal: "edje,state,rtl";
19248             source: "edje";
19249             script {
19250                new st[31];
19251                new Float:vl;
19252                get_state(PART:"arrow", st, 30, vl);
19253                if (vl == 0.0) {
19254                   set_state(PART:"arrow", st, 0.1);
19255                }
19256             }
19257          }
19258          program { name: "to_ltr";
19259             signal: "edje,state,ltr";
19260             source: "edje";
19261             script {
19262                new st[31];
19263                new Float:vl;
19264                get_state(PART:"arrow", st, 30, vl);
19265                if (vl == 0.1) {
19266                   set_state(PART:"arrow", st, 0.0);
19267                }
19268             }
19269          }
19270       }
19271    }
19272    group { name: "elm/genlist/tree_compress_odd/default/default";
19273       data.item: "stacking" "below";
19274       data.item: "selectraise" "on";
19275       data.item: "labels" "elm.text";
19276       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19277       data.item: "treesize" "20";
19278 //      data.item: "states" "";
19279       images {
19280          image: "bt_sm_base1.png" COMP;
19281          image: "bt_sm_shine.png" COMP;
19282          image: "bt_sm_hilight.png" COMP;
19283          image: "ilist_2.png" COMP;
19284          image: "icon_arrow_left.png" COMP;
19285          image: "icon_arrow_right.png" COMP;
19286          image: "icon_arrow_down.png" COMP;
19287       }
19288       parts {
19289          part {
19290             name:           "event";
19291             type:           RECT;
19292             repeat_events: 1;
19293             description {
19294                state: "default" 0.0;
19295                color: 0 0 0 0;
19296             }
19297          }
19298          part {
19299             name: "base";
19300             mouse_events: 0;
19301             description {
19302                state: "default" 0.0;
19303                image {
19304                   normal: "ilist_2.png";
19305                   border: 2 2 2 2;
19306                }
19307                fill.smooth: 0;
19308             }
19309          }
19310          part { name: "bg";
19311             clip_to: "disclip";
19312             mouse_events: 0;
19313             description { state: "default" 0.0;
19314                visible: 0;
19315                color: 255 255 255 0;
19316                rel1 {
19317                   relative: 0.0 0.0;
19318                   offset: -5 -5;
19319                }
19320                rel2 {
19321                   relative: 1.0 1.0;
19322                   offset: 4 4;
19323                }
19324                image {
19325                   normal: "bt_sm_base1.png";
19326                   border: 6 6 6 6;
19327                }
19328                image.middle: SOLID;
19329             }
19330             description { state: "selected" 0.0;
19331                inherit: "default" 0.0;
19332                visible: 1;
19333                color: 255 255 255 255;
19334                rel1 {
19335                   relative: 0.0 0.0;
19336                   offset: -2 -2;
19337                }
19338                rel2 {
19339                   relative: 1.0 1.0;
19340                   offset: 1 1;
19341                }
19342             }
19343          }
19344          part { name: "elm.swallow.pad";
19345             type: SWALLOW;
19346             description { state: "default" 0.0;
19347                fixed: 1 0;
19348                align: 0.0 0.5;
19349                rel1 {
19350                   relative: 0.0  0.0;
19351                   offset:   4    4;
19352                }
19353                rel2 {
19354                   relative: 0.0  1.0;
19355                   offset:   4   -5;
19356                }
19357             }
19358          }
19359          part { name: "arrow";
19360             clip_to: "disclip";
19361             ignore_flags: ON_HOLD;
19362             description { state: "default" 0.0;
19363                fixed: 1 0;
19364                align: 0.0 0.5;
19365                aspect: 1.0 1.0;
19366                rel1 {
19367                   to_x: "elm.swallow.pad";
19368                   relative: 1.0  0.0;
19369                   offset:   -1    4;
19370                }
19371                rel2 {
19372                   to_x: "elm.swallow.pad";
19373                   relative: 1.0  1.0;
19374                   offset:   -1   -5;
19375                }
19376                image.normal: "icon_arrow_right.png";
19377             }
19378             description { state: "default" 0.1;
19379                inherit: "default" 0.0;
19380                image.normal: "icon_arrow_left.png";
19381             }
19382             description { state: "active" 0.0;
19383                inherit: "default" 0.0;
19384                image.normal: "icon_arrow_down.png";
19385             }
19386             description { state: "active" 0.1;
19387                inherit: "default" 0.0;
19388                image.normal: "icon_arrow_down.png";
19389             }
19390          }
19391          part { name: "elm.swallow.icon";
19392             clip_to: "disclip";
19393             type: SWALLOW;
19394             description { state: "default" 0.0;
19395                fixed: 1 0;
19396                align: 0.0 0.5;
19397                rel1 {
19398                   to_x: "arrow";
19399                   relative: 1.0  0.0;
19400                   offset:   4    4;
19401                }
19402                rel2 {
19403                   to_x: "arrow";
19404                   relative: 1.0  1.0;
19405                   offset:   4   -5;
19406                }
19407             }
19408          }
19409          part { name: "elm.swallow.end";
19410             clip_to: "disclip";
19411             type: SWALLOW;
19412             description { state: "default" 0.0;
19413                fixed: 1 0;
19414                align: 1.0 0.5;
19415                aspect: 1.0 1.0;
19416                aspect_preference: VERTICAL;
19417                rel1 {
19418                   relative: 1.0  0.0;
19419                   offset:   -5    4;
19420                }
19421                rel2 {
19422                   relative: 1.0  1.0;
19423                   offset:   -5   -5;
19424                }
19425             }
19426          }
19427          part { name: "elm.text";
19428             clip_to: "disclip";
19429             type:           TEXT;
19430             effect:         SOFT_SHADOW;
19431             mouse_events:   0;
19432             scale: 1;
19433             description {
19434                state: "default" 0.0;
19435 //               min: 16 16;
19436                rel1 {
19437                   to_x:     "elm.swallow.icon";
19438                   relative: 1.0  0.0;
19439                   offset:   0 4;
19440                }
19441                rel2 {
19442                   to_x:     "elm.swallow.end";
19443                   relative: 0.0  1.0;
19444                   offset:   -1 -5;
19445                }
19446                color: 0 0 0 255;
19447                color3: 0 0 0 0;
19448                text {
19449                   font: "Sans";
19450                   size: 10;
19451 //                  min: 1 1;
19452                   min: 0 1;
19453                   align: 0.0 0.5;
19454                   text_class: "list_item";
19455                }
19456             }
19457             description { state: "selected" 0.0;
19458                inherit: "default" 0.0;
19459                color: 224 224 224 255;
19460                color3: 0 0 0 64;
19461             }
19462          }
19463          part { name: "fg1";
19464             clip_to: "disclip";
19465             mouse_events: 0;
19466             description { state: "default" 0.0;
19467                visible: 0;
19468                color: 255 255 255 0;
19469                rel1.to: "bg";
19470                rel2.relative: 1.0 0.5;
19471                rel2.to: "bg";
19472                image {
19473                   normal: "bt_sm_hilight.png";
19474                   border: 6 6 6 0;
19475                }
19476             }
19477             description { state: "selected" 0.0;
19478                inherit: "default" 0.0;
19479                visible: 1;
19480                color: 255 255 255 255;
19481             }
19482          }
19483          part { name: "fg2";
19484             clip_to: "disclip";
19485             mouse_events: 0;
19486             description { state: "default" 0.0;
19487                visible: 0;
19488                color: 255 255 255 0;
19489                rel1.to: "bg";
19490                rel2.to: "bg";
19491                image {
19492                   normal: "bt_sm_shine.png";
19493                   border: 6 6 6 0;
19494                }
19495             }
19496             description { state: "selected" 0.0;
19497                inherit: "default" 0.0;
19498                visible: 1;
19499                color: 255 255 255 255;
19500             }
19501          }
19502          part { name: "disclip";
19503             type: RECT;
19504             description { state: "default" 0.0;
19505                rel1.to: "bg";
19506                rel2.to: "bg";
19507             }
19508             description { state: "disabled" 0.0;
19509                inherit: "default" 0.0;
19510                color: 255 255 255 64;
19511             }
19512          }
19513       }
19514       programs {
19515          // signal: elm,state,%s,active
19516          //   a "check" item named %s went active
19517          // signal: elm,state,%s,passive
19518          //   a "check" item named %s went passive
19519          // default is passive
19520          program {
19521             name:    "go_active";
19522             signal:  "elm,state,selected";
19523             source:  "elm";
19524             action:  STATE_SET "selected" 0.0;
19525             target:  "bg";
19526             target:  "fg1";
19527             target:  "fg2";
19528             target:  "elm.text";
19529          }
19530          program {
19531             name:    "go_passive";
19532             signal:  "elm,state,unselected";
19533             source:  "elm";
19534             action:  STATE_SET "default" 0.0;
19535             target:  "bg";
19536             target:  "fg1";
19537             target:  "fg2";
19538             target:  "elm.text";
19539             transition: LINEAR 0.1;
19540          }
19541          program {
19542             name:    "go_disabled";
19543             signal:  "elm,state,disabled";
19544             source:  "elm";
19545             action:  STATE_SET "disabled" 0.0;
19546             target:  "disclip";
19547          }
19548          program {
19549             name:    "go_enabled";
19550             signal:  "elm,state,enabled";
19551             source:  "elm";
19552             action:  STATE_SET "default" 0.0;
19553             target:  "disclip";
19554          }
19555          program {
19556             name:    "expand";
19557             signal:  "mouse,up,1";
19558             source:  "arrow";
19559             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19560          }
19561          program {
19562             name:    "go_expanded";
19563             signal:  "elm,state,expanded";
19564             source:  "elm";
19565             script {
19566                new st[31];
19567                new Float:vl;
19568                get_state(PART:"arrow", st, 30, vl);
19569                set_state(PART:"arrow", "active", vl);
19570             }
19571          }
19572          program {
19573             name:    "go_contracted";
19574             signal:  "elm,state,contracted";
19575             source:  "elm";
19576             script {
19577                new st[31];
19578                new Float:vl;
19579                get_state(PART:"arrow", st, 30, vl);
19580                set_state(PART:"arrow", "default", vl);
19581             }
19582          }
19583          program { name: "to_rtl";
19584             signal: "edje,state,rtl";
19585             source: "edje";
19586             script {
19587                new st[31];
19588                new Float:vl;
19589                get_state(PART:"arrow", st, 30, vl);
19590                if (vl == 0.0) {
19591                   set_state(PART:"arrow", st, 0.1);
19592                }
19593             }
19594          }
19595          program { name: "to_ltr";
19596             signal: "edje,state,ltr";
19597             source: "edje";
19598             script {
19599                new st[31];
19600                new Float:vl;
19601                get_state(PART:"arrow", st, 30, vl);
19602                if (vl == 0.1) {
19603                   set_state(PART:"arrow", st, 0.0);
19604                }
19605             }
19606          }
19607       }
19608    }
19609
19610    group { name: "elm/genlist/item/default_style/default";
19611        styles
19612        {
19613            style { name: "genlist_style";
19614                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19615                tag:  "br" "\n";
19616                tag:  "ps" "ps";
19617                tag:  "hilight" "+ font=Sans:style=Bold";
19618                tag:  "b" "+ font=Sans:style=Bold";
19619                tag:  "tab" "\t";
19620            }
19621            style { name: "genlist_selected_style";
19622                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19623                tag:  "br" "\n";
19624                tag:  "ps" "ps";
19625                tag:  "hilight" "+ font=Sans:style=Bold";
19626                tag:  "b" "+ font=Sans:style=Bold";
19627                tag:  "tab" "\t";
19628            }
19629        }
19630        data.item: "stacking" "above";
19631        data.item: "selectraise" "on";
19632        data.item: "labels" "elm.text";
19633        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19634        data.item: "treesize" "20";
19635        images {
19636            image: "bt_sm_base1.png" COMP;
19637            image: "bt_sm_shine.png" COMP;
19638            image: "bt_sm_hilight.png" COMP;
19639            image: "ilist_1.png" COMP;
19640            image: "ilist_item_shadow.png" COMP;
19641        }
19642        parts {
19643            part {
19644                name:           "event";
19645                type:           RECT;
19646                repeat_events: 1;
19647                description {
19648                    state: "default" 0.0;
19649                    color: 0 0 0 0;
19650                }
19651            }
19652            part {
19653                name: "base_sh";
19654                mouse_events: 0;
19655                description {
19656                    state: "default" 0.0;
19657                    align: 0.0 0.0;
19658                    min: 0 10;
19659                    fixed: 1 1;
19660                    rel1 {
19661                        to: "base";
19662                        relative: 0.0 1.0;
19663                        offset: 0 0;
19664                    }
19665                    rel2 {
19666                        to: "base";
19667                        relative: 1.0 1.0;
19668                        offset: -1 0;
19669                    }
19670                    image {
19671                        normal: "ilist_item_shadow.png";
19672                    }
19673                    fill.smooth: 0;
19674                }
19675            }
19676            part {
19677                name: "base";
19678                mouse_events: 0;
19679                description {
19680                    state: "default" 0.0;
19681                    min: 16 28;
19682                    image {
19683                        normal: "ilist_1.png";
19684                        border: 2 2 2 2;
19685                    }
19686                    fill.smooth: 0;
19687                }
19688            }
19689            part { name: "bg";
19690                clip_to: "disclip";
19691                mouse_events: 0;
19692                description { state: "default" 0.0;
19693                    visible: 0;
19694                    color: 255 255 255 0;
19695                    rel1 {
19696                        relative: 0.0 0.0;
19697                        offset: -5 -5;
19698                    }
19699                    rel2 {
19700                        relative: 1.0 1.0;
19701                        offset: 4 4;
19702                    }
19703                    image {
19704                        normal: "bt_sm_base1.png";
19705                        border: 6 6 6 6;
19706                    }
19707                    image.middle: SOLID;
19708                }
19709                description { state: "selected" 0.0;
19710                    inherit: "default" 0.0;
19711                    visible: 1;
19712                    color: 255 255 255 255;
19713                    rel1 {
19714                        relative: 0.0 0.0;
19715                        offset: -2 -2;
19716                    }
19717                    rel2 {
19718                        relative: 1.0 1.0;
19719                        offset: 1 1;
19720                    }
19721                }
19722            }
19723            part { name: "elm.swallow.pad";
19724                type: SWALLOW;
19725                description { state: "default" 0.0;
19726                    fixed: 1 0;
19727                    align: 0.0 0.5;
19728                    rel1 {
19729                        relative: 0.0  0.0;
19730                        offset:   4    4;
19731                    }
19732                    rel2 {
19733                        relative: 0.0  1.0;
19734                        offset:   4   -5;
19735                    }
19736                }
19737            }
19738            part { name: "elm.swallow.icon";
19739                clip_to: "disclip";
19740                type: SWALLOW;
19741                description { state: "default" 0.0;
19742                    fixed: 1 0;
19743                    align: 0.0 0.5;
19744                    rel1 {
19745                        to_x: "elm.swallow.pad";
19746                        relative: 1.0  0.0;
19747                        offset:   -1    4;
19748                    }
19749                    rel2 {
19750                        to_x: "elm.swallow.pad";
19751                        relative: 1.0  1.0;
19752                        offset:   -1   -5;
19753                    }
19754                }
19755            }
19756            part { name: "elm.swallow.end";
19757                clip_to: "disclip";
19758                type: SWALLOW;
19759                description { state: "default" 0.0;
19760                    fixed: 1 0;
19761                    align: 1.0 0.5;
19762                    aspect: 1.0 1.0;
19763                    aspect_preference: VERTICAL;
19764                    rel1 {
19765                        relative: 1.0  0.0;
19766                        offset:   -5    4;
19767                    }
19768                    rel2 {
19769                        relative: 1.0  1.0;
19770                        offset:   -5   -5;
19771                    }
19772                }
19773            }
19774            part { name: "elm.text";
19775                clip_to: "disclip";
19776                type: TEXTBLOCK;
19777                mouse_events: 0;
19778                scale: 1;
19779                description {
19780                    state: "default" 0.0;
19781                    align: 0.0 0.5;
19782                    fixed: 0 1;
19783                    rel1 {
19784                        to_x: "elm.swallow.icon";
19785                        to_y: "base";
19786                        relative: 1.0  0.5;
19787                        offset:   0 4;
19788                    }
19789                    rel2 {
19790                        to_x: "elm.swallow.end";
19791                        to_y: "base";
19792                        relative: 0.0  0.5;
19793                        offset:   -1 -5;
19794                    }
19795                    text {
19796                        style: "genlist_style";
19797                        min: 1 1;
19798                    }
19799                }
19800                description { state: "selected" 0.0;
19801                    inherit: "default" 0.0;
19802                    text {
19803                        style: "genlist_selected_style";
19804                    }
19805                }
19806            }
19807            part { name: "fg1";
19808                clip_to: "disclip";
19809                mouse_events: 0;
19810                description { state: "default" 0.0;
19811                    visible: 0;
19812                    color: 255 255 255 0;
19813                    rel1.to: "bg";
19814                    rel2.relative: 1.0 0.5;
19815                    rel2.to: "bg";
19816                    image {
19817                        normal: "bt_sm_hilight.png";
19818                        border: 6 6 6 0;
19819                    }
19820                }
19821                description { state: "selected" 0.0;
19822                    inherit: "default" 0.0;
19823                    visible: 1;
19824                    color: 255 255 255 255;
19825                }
19826            }
19827            part { name: "fg2";
19828                clip_to: "disclip";
19829                mouse_events: 0;
19830                description { state: "default" 0.0;
19831                    visible: 0;
19832                    color: 255 255 255 0;
19833                    rel1.to: "bg";
19834                    rel2.to: "bg";
19835                    image {
19836                        normal: "bt_sm_shine.png";
19837                        border: 6 6 6 0;
19838                    }
19839                }
19840                description { state: "selected" 0.0;
19841                    inherit: "default" 0.0;
19842                    visible: 1;
19843                    color: 255 255 255 255;
19844                }
19845            }
19846            part { name: "disclip";
19847                type: RECT;
19848                description { state: "default" 0.0;
19849                    rel1.to: "bg";
19850                    rel2.to: "bg";
19851                }
19852                description { state: "disabled" 0.0;
19853                    inherit: "default" 0.0;
19854                    color: 255 255 255 64;
19855                }
19856            }
19857        }
19858        programs {
19859            // signal: elm,state,%s,active
19860            //   a "check" item named %s went active
19861            // signal: elm,state,%s,passive
19862            //   a "check" item named %s went passive
19863            // default is passive
19864            program {
19865                name:    "go_active";
19866                signal:  "elm,state,selected";
19867                source:  "elm";
19868                action:  STATE_SET "selected" 0.0;
19869                target:  "bg";
19870                target:  "fg1";
19871                target:  "fg2";
19872                target:  "elm.text";
19873            }
19874            program {
19875                name:    "go_passive";
19876                signal:  "elm,state,unselected";
19877                source:  "elm";
19878                action:  STATE_SET "default" 0.0;
19879                target:  "bg";
19880                target:  "fg1";
19881                target:  "fg2";
19882                target:  "elm.text";
19883                transition: LINEAR 0.1;
19884            }
19885            program {
19886                name:    "go_disabled";
19887                signal:  "elm,state,disabled";
19888                source:  "elm";
19889                action:  STATE_SET "disabled" 0.0;
19890                target:  "disclip";
19891            }
19892            program {
19893                name:    "go_enabled";
19894                signal:  "elm,state,enabled";
19895                source:  "elm";
19896                action:  STATE_SET "default" 0.0;
19897                target:  "disclip";
19898            }
19899        }
19900    }
19901    group { name: "elm/genlist/item_odd/default_style/default";
19902        data.item: "stacking" "below";
19903        data.item: "selectraise" "on";
19904        data.item: "labels" "elm.text";
19905        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19906        data.item: "treesize" "20";
19907        images {
19908            image: "bt_sm_base1.png" COMP;
19909            image: "bt_sm_shine.png" COMP;
19910            image: "bt_sm_hilight.png" COMP;
19911            image: "ilist_2.png" COMP;
19912        }
19913        parts {
19914            part { name: "event";
19915                type: RECT;
19916                repeat_events: 1;
19917                description {
19918                    state: "default" 0.0;
19919                    color: 0 0 0 0;
19920                }
19921            }
19922            part {
19923                name: "base";
19924                mouse_events: 0;
19925                description {
19926                    state: "default" 0.0;
19927                    min: 16 28;
19928                    image {
19929                        normal: "ilist_2.png";
19930                        border: 2 2 2 2;
19931                    }
19932                    fill.smooth: 0;
19933                }
19934            }
19935            part { name: "bg";
19936                clip_to: "disclip";
19937                mouse_events: 0;
19938                description { state: "default" 0.0;
19939                    visible: 0;
19940                    color: 255 255 255 0;
19941                    rel1 {
19942                        relative: 0.0 0.0;
19943                        offset: -5 -5;
19944                    }
19945                    rel2 {
19946                        relative: 1.0 1.0;
19947                        offset: 4 4;
19948                    }
19949                    image {
19950                        normal: "bt_sm_base1.png";
19951                        border: 6 6 6 6;
19952                    }
19953                    image.middle: SOLID;
19954                }
19955                description { state: "selected" 0.0;
19956                    inherit: "default" 0.0;
19957                    visible: 1;
19958                    color: 255 255 255 255;
19959                    rel1 {
19960                        relative: 0.0 0.0;
19961                        offset: -2 -2;
19962                    }
19963                    rel2 {
19964                        relative: 1.0 1.0;
19965                        offset: 1 1;
19966                    }
19967                }
19968            }
19969            part { name: "elm.swallow.pad";
19970                type: SWALLOW;
19971                description { state: "default" 0.0;
19972                    fixed: 1 0;
19973                    align: 0.0 0.5;
19974                    rel1 {
19975                        relative: 0.0  0.0;
19976                        offset:   4    4;
19977                    }
19978                    rel2 {
19979                        relative: 0.0  1.0;
19980                        offset:   4   -5;
19981                    }
19982                }
19983            }
19984            part { name: "elm.swallow.icon";
19985                clip_to: "disclip";
19986                type: SWALLOW;
19987                description { state: "default" 0.0;
19988                    fixed: 1 0;
19989                    align: 0.0 0.5;
19990                    rel1 {
19991                        to_x: "elm.swallow.pad";
19992                        relative: 1.0  0.0;
19993                        offset:   -1    4;
19994                    }
19995                    rel2 {
19996                        to_x: "elm.swallow.pad";
19997                        relative: 1.0  1.0;
19998                        offset:   -1   -5;
19999                    }
20000                }
20001            }
20002            part { name: "elm.swallow.end";
20003                clip_to: "disclip";
20004                type:          SWALLOW;
20005                description { state:    "default" 0.0;
20006                    fixed: 1 0;
20007                    align:    1.0 0.5;
20008                    aspect: 1.0 1.0;
20009                    aspect_preference: VERTICAL;
20010                    rel1 {
20011                        relative: 1.0  0.0;
20012                        offset:   -5    4;
20013                    }
20014                    rel2 {
20015                        relative: 1.0  1.0;
20016                        offset:   -5   -5;
20017                    }
20018                }
20019            }
20020            part { name: "elm.text";
20021                clip_to: "disclip";
20022                type:           TEXTBLOCK;
20023                mouse_events:   0;
20024                scale: 1;
20025                description {
20026                    state: "default" 0.0;
20027                    align: 0.0 0.5;
20028                    fixed: 0 1;
20029                    rel1 {
20030                        to_x: "elm.swallow.icon";
20031                        to_y: "base";
20032                        relative: 1.0  0.5;
20033                        offset:   0 4;
20034                    }
20035                    rel2 {
20036                        to_x: "elm.swallow.end";
20037                        to_y: "base";
20038                        relative: 0.0  0.5;
20039                        offset:   -1 -5;
20040                    }
20041                    text {
20042                        style: "genlist_style";
20043                        min: 1 1;
20044                    }
20045                }
20046                description { state: "selected" 0.0;
20047                    inherit: "default" 0.0;
20048                    text {
20049                        style: "genlist_selected_style";
20050                    }
20051                }
20052            }
20053            part { name: "fg1";
20054                clip_to: "disclip";
20055                mouse_events: 0;
20056                description { state: "default" 0.0;
20057                    visible: 0;
20058                    color: 255 255 255 0;
20059                    rel1.to: "bg";
20060                    rel2.relative: 1.0 0.5;
20061                    rel2.to: "bg";
20062                    image {
20063                        normal: "bt_sm_hilight.png";
20064                        border: 6 6 6 0;
20065                    }
20066                }
20067                description { state: "selected" 0.0;
20068                    inherit: "default" 0.0;
20069                    visible: 1;
20070                    color: 255 255 255 255;
20071                }
20072            }
20073            part { name: "fg2";
20074                clip_to: "disclip";
20075                mouse_events: 0;
20076                description { state: "default" 0.0;
20077                    visible: 0;
20078                    color: 255 255 255 0;
20079                    rel1.to: "bg";
20080                    rel2.to: "bg";
20081                    image {
20082                        normal: "bt_sm_shine.png";
20083                        border: 6 6 6 0;
20084                    }
20085                }
20086                description { state: "selected" 0.0;
20087                    inherit: "default" 0.0;
20088                    visible: 1;
20089                    color: 255 255 255 255;
20090                }
20091            }
20092            part { name: "disclip";
20093                type: RECT;
20094                description { state: "default" 0.0;
20095                    rel1.to: "bg";
20096                    rel2.to: "bg";
20097                }
20098                description { state: "disabled" 0.0;
20099                    inherit: "default" 0.0;
20100                    color: 255 255 255 64;
20101                }
20102            }
20103        }
20104        programs {
20105            // signal: elm,state,%s,active
20106            //   a "check" item named %s went active
20107            // signal: elm,state,%s,passive
20108            //   a "check" item named %s went passive
20109            // default is passive
20110            program {
20111                name:    "go_active";
20112                signal:  "elm,state,selected";
20113                source:  "elm";
20114                action:  STATE_SET "selected" 0.0;
20115                target:  "bg";
20116                target:  "fg1";
20117                target:  "fg2";
20118                target:  "elm.text";
20119            }
20120            program {
20121                name:    "go_passive";
20122                signal:  "elm,state,unselected";
20123                source:  "elm";
20124                action:  STATE_SET "default" 0.0;
20125                target:  "bg";
20126                target:  "fg1";
20127                target:  "fg2";
20128                target:  "elm.text";
20129                transition: LINEAR 0.1;
20130            }
20131            program {
20132                name:    "go_disabled";
20133                signal:  "elm,state,disabled";
20134                source:  "elm";
20135                action:  STATE_SET "disabled" 0.0;
20136                target:  "disclip";
20137            }
20138            program {
20139                name:    "go_enabled";
20140                signal:  "elm,state,enabled";
20141                source:  "elm";
20142                action:  STATE_SET "default" 0.0;
20143                target:  "disclip";
20144            }
20145        }
20146    }
20147
20148    group { name: "elm/genlist/tree/default_style/default";
20149        data.item: "stacking" "above";
20150        data.item: "selectraise" "on";
20151        data.item: "labels" "elm.text";
20152        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20153        data.item: "treesize" "20";
20154        images {
20155            image: "bt_sm_base1.png" COMP;
20156            image: "bt_sm_shine.png" COMP;
20157            image: "bt_sm_hilight.png" COMP;
20158            image: "ilist_1.png" COMP;
20159            image: "ilist_item_shadow.png" COMP;
20160            image: "icon_arrow_right.png" COMP;
20161            image: "icon_arrow_down.png" COMP;
20162        }
20163        parts {
20164            part {
20165                name:           "event";
20166                type:           RECT;
20167                repeat_events: 1;
20168                description {
20169                    state: "default" 0.0;
20170                    color: 0 0 0 0;
20171                }
20172            }
20173            part {
20174                name: "base_sh";
20175                mouse_events: 0;
20176                description {
20177                    state: "default" 0.0;
20178                    align: 0.0 0.0;
20179                    min: 0 10;
20180                    fixed: 1 1;
20181                    rel1 {
20182                        to: "base";
20183                        relative: 0.0 1.0;
20184                        offset: 0 0;
20185                    }
20186                    rel2 {
20187                        to: "base";
20188                        relative: 1.0 1.0;
20189                        offset: -1 0;
20190                    }
20191                    image {
20192                        normal: "ilist_item_shadow.png";
20193                    }
20194                    fill.smooth: 0;
20195                }
20196            }
20197            part {
20198                name: "base";
20199                mouse_events: 0;
20200                description {
20201                    state: "default" 0.0;
20202                    min: 16 28;
20203                    image {
20204                        normal: "ilist_1.png";
20205                        border: 2 2 2 2;
20206                    }
20207                    fill.smooth: 0;
20208                }
20209            }
20210            part { name: "bg";
20211                clip_to: "disclip";
20212                mouse_events: 0;
20213                description { state: "default" 0.0;
20214                    visible: 0;
20215                    color: 255 255 255 0;
20216                    rel1 {
20217                        relative: 0.0 0.0;
20218                        offset: -5 -5;
20219                    }
20220                    rel2 {
20221                        relative: 1.0 1.0;
20222                        offset: 4 4;
20223                    }
20224                    image {
20225                        normal: "bt_sm_base1.png";
20226                        border: 6 6 6 6;
20227                    }
20228                    image.middle: SOLID;
20229                }
20230                description { state: "selected" 0.0;
20231                    inherit: "default" 0.0;
20232                    visible: 1;
20233                    color: 255 255 255 255;
20234                    rel1 {
20235                        relative: 0.0 0.0;
20236                        offset: -2 -2;
20237                    }
20238                    rel2 {
20239                        relative: 1.0 1.0;
20240                        offset: 1 1;
20241                    }
20242                }
20243            }
20244            part { name: "elm.swallow.pad";
20245                type: SWALLOW;
20246                description { state: "default" 0.0;
20247                    fixed: 1 0;
20248                    align: 0.0 0.5;
20249                    rel1 {
20250                        relative: 0.0  0.0;
20251                        offset:   4    4;
20252                    }
20253                    rel2 {
20254                        relative: 0.0  1.0;
20255                        offset:   4   -5;
20256                    }
20257                }
20258            }
20259            part { name: "arrow";
20260                clip_to: "disclip";
20261                ignore_flags: ON_HOLD;
20262                description { state: "default" 0.0;
20263                    fixed: 1 0;
20264                    align: 0.0 0.5;
20265                    aspect: 1.0 1.0;
20266                    rel1 {
20267                        to_x: "elm.swallow.pad";
20268                        relative: 1.0  0.0;
20269                        offset:   -1    4;
20270                    }
20271                    rel2 {
20272                        to_x: "elm.swallow.pad";
20273                        relative: 1.0  1.0;
20274                        offset:   -1   -5;
20275                    }
20276                    image.normal: "icon_arrow_right.png";
20277                }
20278                description { state: "active" 0.0;
20279                    inherit: "default" 0.0;
20280                    image.normal: "icon_arrow_down.png";
20281                }
20282            }
20283            part { name: "elm.swallow.icon";
20284                clip_to: "disclip";
20285                type: SWALLOW;
20286                description { state: "default" 0.0;
20287                    fixed: 1 0;
20288                    align: 0.0 0.5;
20289                    rel1 {
20290                        to_x: "arrow";
20291                        relative: 1.0  0.0;
20292                        offset:   4    4;
20293                    }
20294                    rel2 {
20295                        to_x: "arrow";
20296                        relative: 1.0  1.0;
20297                        offset:   4   -5;
20298                    }
20299                }
20300            }
20301            part { name: "elm.swallow.end";
20302                clip_to: "disclip";
20303                type: SWALLOW;
20304                description { state: "default" 0.0;
20305                    fixed: 1 0;
20306                    align: 1.0 0.5;
20307                    aspect: 1.0 1.0;
20308                    aspect_preference: VERTICAL;
20309                    rel1 {
20310                        relative: 1.0  0.0;
20311                        offset:   -5    4;
20312                    }
20313                    rel2 {
20314                        relative: 1.0  1.0;
20315                        offset:   -5   -5;
20316                    }
20317                }
20318            }
20319            part { name: "elm.text";
20320                clip_to: "disclip";
20321                type:           TEXTBLOCK;
20322                effect:         SOFT_SHADOW;
20323                mouse_events:   0;
20324                scale: 1;
20325                description {
20326                    state: "default" 0.0;
20327                    align: 0.0 0.5;
20328                    fixed: 0 1;
20329                    rel1 {
20330                        to_x:     "elm.swallow.icon";
20331                        to_y: "base";
20332                        relative: 1.0  0.5;
20333                        offset:   0 4;
20334                    }
20335                    rel2 {
20336                        to_x:     "elm.swallow.end";
20337                        to_y: "base";
20338                        relative: 0.0  0.5;
20339                        offset:   -1 -5;
20340                    }
20341                    text {
20342                        style: "genlist_style";
20343                        min: 1 1;
20344                    }
20345                }
20346                description { state: "selected" 0.0;
20347                    inherit: "default" 0.0;
20348                    text {
20349                        style: "genlist_selected_style";
20350                    }
20351                }
20352            }
20353            part { name: "fg1";
20354                clip_to: "disclip";
20355                mouse_events: 0;
20356                description { state: "default" 0.0;
20357                    visible: 0;
20358                    color: 255 255 255 0;
20359                    rel1.to: "bg";
20360                    rel2.relative: 1.0 0.5;
20361                    rel2.to: "bg";
20362                    image {
20363                        normal: "bt_sm_hilight.png";
20364                        border: 6 6 6 0;
20365                    }
20366                }
20367                description { state: "selected" 0.0;
20368                    inherit: "default" 0.0;
20369                    visible: 1;
20370                    color: 255 255 255 255;
20371                }
20372            }
20373            part { name: "fg2";
20374                clip_to: "disclip";
20375                mouse_events: 0;
20376                description { state: "default" 0.0;
20377                    visible: 0;
20378                    color: 255 255 255 0;
20379                    rel1.to: "bg";
20380                    rel2.to: "bg";
20381                    image {
20382                        normal: "bt_sm_shine.png";
20383                        border: 6 6 6 0;
20384                    }
20385                }
20386                description { state: "selected" 0.0;
20387                    inherit: "default" 0.0;
20388                    visible: 1;
20389                    color: 255 255 255 255;
20390                }
20391            }
20392            part { name: "disclip";
20393                type: RECT;
20394                description { state: "default" 0.0;
20395                    rel1.to: "bg";
20396                    rel2.to: "bg";
20397                }
20398                description { state: "disabled" 0.0;
20399                    inherit: "default" 0.0;
20400                    color: 255 255 255 64;
20401                }
20402            }
20403        }
20404        programs {
20405            // signal: elm,state,%s,active
20406            //   a "check" item named %s went active
20407            // signal: elm,state,%s,passive
20408            //   a "check" item named %s went passive
20409            // default is passive
20410            program {
20411                name:    "go_active";
20412                signal:  "elm,state,selected";
20413                source:  "elm";
20414                action:  STATE_SET "selected" 0.0;
20415                target:  "bg";
20416                target:  "fg1";
20417                target:  "fg2";
20418                target:  "elm.text";
20419            }
20420            program {
20421                name:    "go_passive";
20422                signal:  "elm,state,unselected";
20423                source:  "elm";
20424                action:  STATE_SET "default" 0.0;
20425                target:  "bg";
20426                target:  "fg1";
20427                target:  "fg2";
20428                target:  "elm.text";
20429                transition: LINEAR 0.1;
20430            }
20431            program {
20432                name:    "go_disabled";
20433                signal:  "elm,state,disabled";
20434                source:  "elm";
20435                action:  STATE_SET "disabled" 0.0;
20436                target:  "disclip";
20437            }
20438            program {
20439                name:    "go_enabled";
20440                signal:  "elm,state,enabled";
20441                source:  "elm";
20442                action:  STATE_SET "default" 0.0;
20443                target:  "disclip";
20444            }
20445            program {
20446                name:    "expand";
20447                signal:  "mouse,up,1";
20448                source:  "arrow";
20449                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20450            }
20451            program {
20452                name:    "go_expanded";
20453                signal:  "elm,state,expanded";
20454                source:  "elm";
20455                action:  STATE_SET "active" 0.0;
20456                target:  "arrow";
20457            }
20458            program {
20459                name:    "go_contracted";
20460                signal:  "elm,state,contracted";
20461                source:  "elm";
20462                action:  STATE_SET "default" 0.0;
20463                target:  "arrow";
20464            }
20465        }
20466    }
20467    group { name: "elm/genlist/tree_odd/default_style/default";
20468        data.item: "stacking" "below";
20469        data.item: "selectraise" "on";
20470        data.item: "labels" "elm.text";
20471        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20472        data.item: "treesize" "20";
20473        images {
20474            image: "bt_sm_base1.png" COMP;
20475            image: "bt_sm_shine.png" COMP;
20476            image: "bt_sm_hilight.png" COMP;
20477            image: "ilist_2.png" COMP;
20478            image: "icon_arrow_right.png" COMP;
20479            image: "icon_arrow_down.png" COMP;
20480        }
20481        parts {
20482            part {
20483                name:           "event";
20484                type:           RECT;
20485                repeat_events: 1;
20486                description {
20487                    state: "default" 0.0;
20488                    color: 0 0 0 0;
20489                }
20490            }
20491            part {
20492                name: "base";
20493                mouse_events: 0;
20494                description {
20495                    state: "default" 0.0;
20496                    min: 16 28;
20497                    image {
20498                        normal: "ilist_2.png";
20499                        border: 2 2 2 2;
20500                    }
20501                    fill.smooth: 0;
20502                }
20503            }
20504            part { name: "bg";
20505                clip_to: "disclip";
20506                mouse_events: 0;
20507                description { state: "default" 0.0;
20508                    visible: 0;
20509                    color: 255 255 255 0;
20510                    rel1 {
20511                        relative: 0.0 0.0;
20512                        offset: -5 -5;
20513                    }
20514                    rel2 {
20515                        relative: 1.0 1.0;
20516                        offset: 4 4;
20517                    }
20518                    image {
20519                        normal: "bt_sm_base1.png";
20520                        border: 6 6 6 6;
20521                    }
20522                    image.middle: SOLID;
20523                }
20524                description { state: "selected" 0.0;
20525                    inherit: "default" 0.0;
20526                    visible: 1;
20527                    color: 255 255 255 255;
20528                    rel1 {
20529                        relative: 0.0 0.0;
20530                        offset: -2 -2;
20531                    }
20532                    rel2 {
20533                        relative: 1.0 1.0;
20534                        offset: 1 1;
20535                    }
20536                }
20537            }
20538            part { name: "elm.swallow.pad";
20539                type: SWALLOW;
20540                description { state: "default" 0.0;
20541                    fixed: 1 0;
20542                    align: 0.0 0.5;
20543                    rel1 {
20544                        relative: 0.0  0.0;
20545                        offset:   4    4;
20546                    }
20547                    rel2 {
20548                        relative: 0.0  1.0;
20549                        offset:   4   -5;
20550                    }
20551                }
20552            }
20553            part { name: "arrow";
20554                clip_to: "disclip";
20555                ignore_flags: ON_HOLD;
20556                description { state: "default" 0.0;
20557                    fixed: 1 0;
20558                    align: 0.0 0.5;
20559                    aspect: 1.0 1.0;
20560                    rel1 {
20561                        to_x: "elm.swallow.pad";
20562                        relative: 1.0  0.0;
20563                        offset:   -1    4;
20564                    }
20565                    rel2 {
20566                        to_x: "elm.swallow.pad";
20567                        relative: 1.0  1.0;
20568                        offset:   -1   -5;
20569                    }
20570                    image.normal: "icon_arrow_right.png";
20571                }
20572                description { state: "active" 0.0;
20573                    inherit: "default" 0.0;
20574                    image.normal: "icon_arrow_down.png";
20575                }
20576            }
20577            part { name: "elm.swallow.icon";
20578                clip_to: "disclip";
20579                type: SWALLOW;
20580                description { state: "default" 0.0;
20581                    fixed: 1 0;
20582                    align: 0.0 0.5;
20583                    rel1 {
20584                        to_x: "arrow";
20585                        relative: 1.0  0.0;
20586                        offset:   4    4;
20587                    }
20588                    rel2 {
20589                        to_x: "arrow";
20590                        relative: 1.0  1.0;
20591                        offset:   4   -5;
20592                    }
20593                }
20594            }
20595            part { name: "elm.swallow.end";
20596                clip_to: "disclip";
20597                type: SWALLOW;
20598                description { state: "default" 0.0;
20599                    fixed: 1 0;
20600                    align: 1.0 0.5;
20601                    aspect: 1.0 1.0;
20602                    aspect_preference: VERTICAL;
20603                    rel1 {
20604                        relative: 1.0  0.0;
20605                        offset:   -5    4;
20606                    }
20607                    rel2 {
20608                        relative: 1.0  1.0;
20609                        offset:   -5   -5;
20610                    }
20611                }
20612            }
20613            part { name: "elm.text";
20614                clip_to: "disclip";
20615                type:           TEXTBLOCK;
20616                effect:         SOFT_SHADOW;
20617                mouse_events:   0;
20618                scale: 1;
20619                description {
20620                    state: "default" 0.0;
20621                    align: 0.0 0.5;
20622                    fixed: 0 1;
20623                    rel1 {
20624                        to_x:     "elm.swallow.icon";
20625                        to_y: "base";
20626                        relative: 1.0  0.5;
20627                        offset:   0 4;
20628                    }
20629                    rel2 {
20630                        to_x:     "elm.swallow.end";
20631                        to_y: "base";
20632                        relative: 0.0  0.5;
20633                        offset:   -1 -5;
20634                    }
20635                    text {
20636                        style: "genlist_style";
20637                        min: 1 1;
20638                    }
20639                }
20640                description { state: "selected" 0.0;
20641                    inherit: "default" 0.0;
20642                    text {
20643                        style: "genlist_selected_style";
20644                    }
20645                }
20646            }
20647            part { name: "fg1";
20648                clip_to: "disclip";
20649                mouse_events: 0;
20650                description { state: "default" 0.0;
20651                    visible: 0;
20652                    color: 255 255 255 0;
20653                    rel1.to: "bg";
20654                    rel2.relative: 1.0 0.5;
20655                    rel2.to: "bg";
20656                    image {
20657                        normal: "bt_sm_hilight.png";
20658                        border: 6 6 6 0;
20659                    }
20660                }
20661                description { state: "selected" 0.0;
20662                    inherit: "default" 0.0;
20663                    visible: 1;
20664                    color: 255 255 255 255;
20665                }
20666            }
20667            part { name: "fg2";
20668                clip_to: "disclip";
20669                mouse_events: 0;
20670                description { state: "default" 0.0;
20671                    visible: 0;
20672                    color: 255 255 255 0;
20673                    rel1.to: "bg";
20674                    rel2.to: "bg";
20675                    image {
20676                        normal: "bt_sm_shine.png";
20677                        border: 6 6 6 0;
20678                    }
20679                }
20680                description { state: "selected" 0.0;
20681                    inherit: "default" 0.0;
20682                    visible: 1;
20683                    color: 255 255 255 255;
20684                }
20685            }
20686            part { name: "disclip";
20687                type: RECT;
20688                description { state: "default" 0.0;
20689                    rel1.to: "bg";
20690                    rel2.to: "bg";
20691                }
20692                description { state: "disabled" 0.0;
20693                    inherit: "default" 0.0;
20694                    color: 255 255 255 64;
20695                }
20696            }
20697        }
20698        programs {
20699            // signal: elm,state,%s,active
20700            //   a "check" item named %s went active
20701            // signal: elm,state,%s,passive
20702            //   a "check" item named %s went passive
20703            // default is passive
20704            program {
20705                name:    "go_active";
20706                signal:  "elm,state,selected";
20707                source:  "elm";
20708                action:  STATE_SET "selected" 0.0;
20709                target:  "bg";
20710                target:  "fg1";
20711                target:  "fg2";
20712                target:  "elm.text";
20713            }
20714            program {
20715                name:    "go_passive";
20716                signal:  "elm,state,unselected";
20717                source:  "elm";
20718                action:  STATE_SET "default" 0.0;
20719                target:  "bg";
20720                target:  "fg1";
20721                target:  "fg2";
20722                target:  "elm.text";
20723                transition: LINEAR 0.1;
20724            }
20725            program {
20726                name:    "go_disabled";
20727                signal:  "elm,state,disabled";
20728                source:  "elm";
20729                action:  STATE_SET "disabled" 0.0;
20730                target:  "disclip";
20731            }
20732            program {
20733                name:    "go_enabled";
20734                signal:  "elm,state,enabled";
20735                source:  "elm";
20736                action:  STATE_SET "default" 0.0;
20737                target:  "disclip";
20738            }
20739            program {
20740                name:    "expand";
20741                signal:  "mouse,up,1";
20742                source:  "arrow";
20743                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20744            }
20745            program {
20746                name:    "go_expanded";
20747                signal:  "elm,state,expanded";
20748                source:  "elm";
20749                action:  STATE_SET "active" 0.0;
20750                target:  "arrow";
20751            }
20752            program {
20753                name:    "go_contracted";
20754                signal:  "elm,state,contracted";
20755                source:  "elm";
20756                action:  STATE_SET "default" 0.0;
20757                target:  "arrow";
20758            }
20759        }
20760    }
20761
20762
20763    group { name: "elm/genlist/item/double_label/default";
20764       data.item: "stacking" "above";
20765       data.item: "selectraise" "on";
20766       data.item: "labels" "elm.text elm.text.sub";
20767       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20768       data.item: "treesize" "20";
20769 //      data.item: "states" "";
20770       images {
20771          image: "bt_sm_base1.png" COMP;
20772          image: "bt_sm_shine.png" COMP;
20773          image: "bt_sm_hilight.png" COMP;
20774          image: "ilist_1.png" COMP;
20775          image: "ilist_item_shadow.png" COMP;
20776       }
20777       parts {
20778          part {
20779             name:           "event";
20780             type:           RECT;
20781             repeat_events: 1;
20782             description {
20783                state: "default" 0.0;
20784                color: 0 0 0 0;
20785             }
20786          }
20787          part {
20788             name: "base_sh";
20789             mouse_events: 0;
20790             description {
20791                state: "default" 0.0;
20792                align: 0.0 0.0;
20793                min: 0 10;
20794                fixed: 1 1;
20795                rel1 {
20796                   to: "base";
20797                   relative: 0.0 1.0;
20798                   offset: 0 0;
20799                }
20800                rel2 {
20801                   to: "base";
20802                   relative: 1.0 1.0;
20803                   offset: -1 0;
20804                }
20805                image {
20806                   normal: "ilist_item_shadow.png";
20807                }
20808                fill.smooth: 0;
20809             }
20810          }
20811          part {
20812             name: "base";
20813             mouse_events: 0;
20814             description {
20815                state: "default" 0.0;
20816                image {
20817                   normal: "ilist_1.png";
20818                   border: 2 2 2 2;
20819                }
20820                fill.smooth: 0;
20821             }
20822          }
20823          part { name: "bg";
20824             clip_to: "disclip";
20825             mouse_events: 0;
20826             description { state: "default" 0.0;
20827                visible: 0;
20828                color: 255 255 255 0;
20829                rel1 {
20830                   relative: 0.0 0.0;
20831                   offset: -5 -5;
20832                }
20833                rel2 {
20834                   relative: 1.0 1.0;
20835                   offset: 4 4;
20836                }
20837                image {
20838                   normal: "bt_sm_base1.png";
20839                   border: 6 6 6 6;
20840                }
20841                image.middle: SOLID;
20842             }
20843             description { state: "selected" 0.0;
20844                inherit: "default" 0.0;
20845                visible: 1;
20846                color: 255 255 255 255;
20847                rel1 {
20848                   relative: 0.0 0.0;
20849                   offset: -2 -2;
20850                }
20851                rel2 {
20852                   relative: 1.0 1.0;
20853                   offset: 1 1;
20854                }
20855             }
20856          }
20857          part { name: "elm.swallow.pad";
20858             type: SWALLOW;
20859             description { state: "default" 0.0;
20860                fixed: 1 0;
20861                align: 0.0 0.5;
20862                rel1 {
20863                   relative: 0.0  0.0;
20864                   offset:   4    4;
20865                }
20866                rel2 {
20867                   relative: 0.0  1.0;
20868                   offset:   4   -5;
20869                }
20870             }
20871          }
20872          part { name: "elm.swallow.icon";
20873             clip_to: "disclip";
20874             type: SWALLOW;
20875             description { state: "default" 0.0;
20876                fixed: 1 0;
20877                align: 0.0 0.5;
20878                rel1 {
20879                   to_x: "elm.swallow.pad";
20880                   relative: 1.0  0.0;
20881                   offset:   -1    4;
20882                }
20883                rel2 {
20884                   to_x: "elm.swallow.pad";
20885                   relative: 1.0  1.0;
20886                   offset:   -1   -5;
20887                }
20888             }
20889          }
20890          part { name: "elm.swallow.end";
20891             clip_to: "disclip";
20892             type: SWALLOW;
20893             description { state: "default" 0.0;
20894                fixed: 1 0;
20895                align: 1.0 0.5;
20896                aspect: 1.0 1.0;
20897                aspect_preference: VERTICAL;
20898                rel1 {
20899                   relative: 1.0  0.0;
20900                   offset:   -5    4;
20901                }
20902                rel2 {
20903                   relative: 1.0  1.0;
20904                   offset:   -5   -5;
20905                }
20906             }
20907          }
20908          part { name: "elm.text";
20909             clip_to: "disclip";
20910             type:           TEXT;
20911             effect:         SOFT_SHADOW;
20912             mouse_events:   0;
20913             scale: 1;
20914             description {
20915                state: "default" 0.0;
20916 //               min: 16 16;
20917                rel1 {
20918                   to_x:     "elm.swallow.icon";
20919                   relative: 1.0  0.0;
20920                   offset:   0 4;
20921                }
20922                rel2 {
20923                   to_x:     "elm.swallow.end";
20924                   relative: 0.0  0.5;
20925                   offset:   -1 -5;
20926                }
20927                color: 0 0 0 255;
20928                color3: 0 0 0 0;
20929                text {
20930                   font: "Sans";
20931                   size: 10;
20932                   min: 1 1;
20933 //                  min: 0 1;
20934                   align: 0.0 0.5;
20935                   text_class: "list_item";
20936                }
20937             }
20938             description { state: "selected" 0.0;
20939                inherit: "default" 0.0;
20940                color: 224 224 224 255;
20941                color3: 0 0 0 64;
20942             }
20943          }
20944          part { name: "elm.text.sub";
20945             clip_to: "disclip";
20946             type:           TEXT;
20947             mouse_events:   0;
20948             scale: 1;
20949             description {
20950                state: "default" 0.0;
20951 //               min: 16 16;
20952                rel1 {
20953                   to_x:     "elm.swallow.icon";
20954                   relative: 1.0  0.5;
20955                   offset:   0 4;
20956                }
20957                rel2 {
20958                   to_x:     "elm.swallow.end";
20959                   relative: 0.0  1.0;
20960                   offset:   -1 -5;
20961                }
20962                color: 0 0 0 128;
20963                color3: 0 0 0 0;
20964                text {
20965                   font: "Sans";
20966                   size: 8;
20967                   min: 1 1;
20968 //                  min: 0 1;
20969                   align: 0.0 0.5;
20970                   text_class: "list_item";
20971                }
20972             }
20973             description { state: "selected" 0.0;
20974                inherit: "default" 0.0;
20975                color: 128 128 128 255;
20976                color3: 0 0 0 32;
20977             }
20978          }
20979          part { name: "fg1";
20980             clip_to: "disclip";
20981             mouse_events: 0;
20982             description { state: "default" 0.0;
20983                visible: 0;
20984                color: 255 255 255 0;
20985                rel1.to: "bg";
20986                rel2.relative: 1.0 0.5;
20987                rel2.to: "bg";
20988                image {
20989                   normal: "bt_sm_hilight.png";
20990                   border: 6 6 6 0;
20991                }
20992             }
20993             description { state: "selected" 0.0;
20994                inherit: "default" 0.0;
20995                visible: 1;
20996                color: 255 255 255 255;
20997             }
20998          }
20999          part { name: "fg2";
21000             clip_to: "disclip";
21001             mouse_events: 0;
21002             description { state: "default" 0.0;
21003                visible: 0;
21004                color: 255 255 255 0;
21005                rel1.to: "bg";
21006                rel2.to: "bg";
21007                image {
21008                   normal: "bt_sm_shine.png";
21009                   border: 6 6 6 0;
21010                }
21011             }
21012             description { state: "selected" 0.0;
21013                inherit: "default" 0.0;
21014                visible: 1;
21015                color: 255 255 255 255;
21016             }
21017          }
21018          part { name: "disclip";
21019             type: RECT;
21020             description { state: "default" 0.0;
21021                rel1.to: "bg";
21022                rel2.to: "bg";
21023             }
21024             description { state: "disabled" 0.0;
21025                inherit: "default" 0.0;
21026                color: 255 255 255 64;
21027             }
21028          }
21029       }
21030       programs {
21031          // signal: elm,state,%s,active
21032          //   a "check" item named %s went active
21033          // signal: elm,state,%s,passive
21034          //   a "check" item named %s went passive
21035          // default is passive
21036          program {
21037             name:    "go_active";
21038             signal:  "elm,state,selected";
21039             source:  "elm";
21040             action:  STATE_SET "selected" 0.0;
21041             target:  "bg";
21042             target:  "fg1";
21043             target:  "fg2";
21044             target:  "elm.text";
21045             target:  "elm.text.sub";
21046          }
21047          program {
21048             name:    "go_passive";
21049             signal:  "elm,state,unselected";
21050             source:  "elm";
21051             action:  STATE_SET "default" 0.0;
21052             target:  "bg";
21053             target:  "fg1";
21054             target:  "fg2";
21055             target:  "elm.text";
21056             target:  "elm.text.sub";
21057             transition: LINEAR 0.1;
21058          }
21059          program {
21060             name:    "go_disabled";
21061             signal:  "elm,state,disabled";
21062             source:  "elm";
21063             action:  STATE_SET "disabled" 0.0;
21064             target:  "disclip";
21065          }
21066          program {
21067             name:    "go_enabled";
21068             signal:  "elm,state,enabled";
21069             source:  "elm";
21070             action:  STATE_SET "default" 0.0;
21071             target:  "disclip";
21072          }
21073       }
21074    }
21075    group { name: "elm/genlist/item_compress/double_label/default";
21076       data.item: "stacking" "above";
21077       data.item: "selectraise" "on";
21078       data.item: "labels" "elm.text elm.text.sub";
21079       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21080       data.item: "treesize" "20";
21081 //      data.item: "states" "";
21082       images {
21083          image: "bt_sm_base1.png" COMP;
21084          image: "bt_sm_shine.png" COMP;
21085          image: "bt_sm_hilight.png" COMP;
21086          image: "ilist_1.png" COMP;
21087          image: "ilist_item_shadow.png" COMP;
21088       }
21089       parts {
21090          part {
21091             name:           "event";
21092             type:           RECT;
21093             repeat_events: 1;
21094             description {
21095                state: "default" 0.0;
21096                color: 0 0 0 0;
21097             }
21098          }
21099          part {
21100             name: "base_sh";
21101             mouse_events: 0;
21102             description {
21103                state: "default" 0.0;
21104                align: 0.0 0.0;
21105                min: 0 10;
21106                fixed: 1 1;
21107                rel1 {
21108                   to: "base";
21109                   relative: 0.0 1.0;
21110                   offset: 0 0;
21111                }
21112                rel2 {
21113                   to: "base";
21114                   relative: 1.0 1.0;
21115                   offset: -1 0;
21116                }
21117                image {
21118                   normal: "ilist_item_shadow.png";
21119                }
21120                fill.smooth: 0;
21121             }
21122          }
21123          part {
21124             name: "base";
21125             mouse_events: 0;
21126             description {
21127                state: "default" 0.0;
21128                image {
21129                   normal: "ilist_1.png";
21130                   border: 2 2 2 2;
21131                }
21132                fill.smooth: 0;
21133             }
21134          }
21135          part { name: "bg";
21136             clip_to: "disclip";
21137             mouse_events: 0;
21138             description { state: "default" 0.0;
21139                visible: 0;
21140                color: 255 255 255 0;
21141                rel1 {
21142                   relative: 0.0 0.0;
21143                   offset: -5 -5;
21144                }
21145                rel2 {
21146                   relative: 1.0 1.0;
21147                   offset: 4 4;
21148                }
21149                image {
21150                   normal: "bt_sm_base1.png";
21151                   border: 6 6 6 6;
21152                }
21153                image.middle: SOLID;
21154             }
21155             description { state: "selected" 0.0;
21156                inherit: "default" 0.0;
21157                visible: 1;
21158                color: 255 255 255 255;
21159                rel1 {
21160                   relative: 0.0 0.0;
21161                   offset: -2 -2;
21162                }
21163                rel2 {
21164                   relative: 1.0 1.0;
21165                   offset: 1 1;
21166                }
21167             }
21168          }
21169          part { name: "elm.swallow.pad";
21170             type: SWALLOW;
21171             description { state: "default" 0.0;
21172                fixed: 1 0;
21173                align: 0.0 0.5;
21174                rel1 {
21175                   relative: 0.0  0.0;
21176                   offset:   4    4;
21177                }
21178                rel2 {
21179                   relative: 0.0  1.0;
21180                   offset:   4   -5;
21181                }
21182             }
21183          }
21184          part { name: "elm.swallow.icon";
21185             clip_to: "disclip";
21186             type: SWALLOW;
21187             description { state: "default" 0.0;
21188                fixed: 1 0;
21189                align: 0.0 0.5;
21190                rel1 {
21191                   to_x: "elm.swallow.pad";
21192                   relative: 1.0  0.0;
21193                   offset:   -1    4;
21194                }
21195                rel2 {
21196                   to_x: "elm.swallow.pad";
21197                   relative: 1.0  1.0;
21198                   offset:   -1   -5;
21199                }
21200             }
21201          }
21202          part { name: "elm.swallow.end";
21203             clip_to: "disclip";
21204             type: SWALLOW;
21205             description { state: "default" 0.0;
21206                fixed: 1 0;
21207                align: 1.0 0.5;
21208                aspect: 1.0 1.0;
21209                aspect_preference: VERTICAL;
21210                rel1 {
21211                   relative: 1.0  0.0;
21212                   offset:   -5    4;
21213                }
21214                rel2 {
21215                   relative: 1.0  1.0;
21216                   offset:   -5   -5;
21217                }
21218             }
21219          }
21220          part { name: "elm.text";
21221             clip_to: "disclip";
21222             type:           TEXT;
21223             effect:         SOFT_SHADOW;
21224             mouse_events:   0;
21225             scale: 1;
21226             description {
21227                state: "default" 0.0;
21228 //               min: 16 16;
21229                rel1 {
21230                   to_x:     "elm.swallow.icon";
21231                   relative: 1.0  0.0;
21232                   offset:   0 4;
21233                }
21234                rel2 {
21235                   to_x:     "elm.swallow.end";
21236                   relative: 0.0  0.5;
21237                   offset:   -1 -5;
21238                }
21239                color: 0 0 0 255;
21240                color3: 0 0 0 0;
21241                text {
21242                   font: "Sans";
21243                   size: 10;
21244 //                  min: 1 1;
21245                   min: 0 1;
21246                   align: 0.0 0.5;
21247                   text_class: "list_item";
21248                }
21249             }
21250             description { state: "selected" 0.0;
21251                inherit: "default" 0.0;
21252                color: 224 224 224 255;
21253                color3: 0 0 0 64;
21254             }
21255          }
21256          part { name: "elm.text.sub";
21257             clip_to: "disclip";
21258             type:           TEXT;
21259             mouse_events:   0;
21260             scale: 1;
21261             description {
21262                state: "default" 0.0;
21263 //               min: 16 16;
21264                rel1 {
21265                   to_x:     "elm.swallow.icon";
21266                   relative: 1.0  0.5;
21267                   offset:   0 4;
21268                }
21269                rel2 {
21270                   to_x:     "elm.swallow.end";
21271                   relative: 0.0  1.0;
21272                   offset:   -1 -5;
21273                }
21274                color: 0 0 0 128;
21275                color3: 0 0 0 0;
21276                text {
21277                   font: "Sans";
21278                   size: 8;
21279 //                  min: 1 1;
21280                   min: 0 1;
21281                   align: 0.0 0.5;
21282                   text_class: "list_item";
21283                }
21284             }
21285             description { state: "selected" 0.0;
21286                inherit: "default" 0.0;
21287                color: 128 128 128 255;
21288                color3: 0 0 0 32;
21289             }
21290          }
21291          part { name: "fg1";
21292             clip_to: "disclip";
21293             mouse_events: 0;
21294             description { state: "default" 0.0;
21295                visible: 0;
21296                color: 255 255 255 0;
21297                rel1.to: "bg";
21298                rel2.relative: 1.0 0.5;
21299                rel2.to: "bg";
21300                image {
21301                   normal: "bt_sm_hilight.png";
21302                   border: 6 6 6 0;
21303                }
21304             }
21305             description { state: "selected" 0.0;
21306                inherit: "default" 0.0;
21307                visible: 1;
21308                color: 255 255 255 255;
21309             }
21310          }
21311          part { name: "fg2";
21312             clip_to: "disclip";
21313             mouse_events: 0;
21314             description { state: "default" 0.0;
21315                visible: 0;
21316                color: 255 255 255 0;
21317                rel1.to: "bg";
21318                rel2.to: "bg";
21319                image {
21320                   normal: "bt_sm_shine.png";
21321                   border: 6 6 6 0;
21322                }
21323             }
21324             description { state: "selected" 0.0;
21325                inherit: "default" 0.0;
21326                visible: 1;
21327                color: 255 255 255 255;
21328             }
21329          }
21330          part { name: "disclip";
21331             type: RECT;
21332             description { state: "default" 0.0;
21333                rel1.to: "bg";
21334                rel2.to: "bg";
21335             }
21336             description { state: "disabled" 0.0;
21337                inherit: "default" 0.0;
21338                color: 255 255 255 64;
21339             }
21340          }
21341       }
21342       programs {
21343          // signal: elm,state,%s,active
21344          //   a "check" item named %s went active
21345          // signal: elm,state,%s,passive
21346          //   a "check" item named %s went passive
21347          // default is passive
21348          program {
21349             name:    "go_active";
21350             signal:  "elm,state,selected";
21351             source:  "elm";
21352             action:  STATE_SET "selected" 0.0;
21353             target:  "bg";
21354             target:  "fg1";
21355             target:  "fg2";
21356             target:  "elm.text";
21357             target:  "elm.text.sub";
21358          }
21359          program {
21360             name:    "go_passive";
21361             signal:  "elm,state,unselected";
21362             source:  "elm";
21363             action:  STATE_SET "default" 0.0;
21364             target:  "bg";
21365             target:  "fg1";
21366             target:  "fg2";
21367             target:  "elm.text";
21368             target:  "elm.text.sub";
21369             transition: LINEAR 0.1;
21370          }
21371          program {
21372             name:    "go_disabled";
21373             signal:  "elm,state,disabled";
21374             source:  "elm";
21375             action:  STATE_SET "disabled" 0.0;
21376             target:  "disclip";
21377          }
21378          program {
21379             name:    "go_enabled";
21380             signal:  "elm,state,enabled";
21381             source:  "elm";
21382             action:  STATE_SET "default" 0.0;
21383             target:  "disclip";
21384          }
21385       }
21386    }
21387    group { name: "elm/genlist/item_odd/double_label/default";
21388       data.item: "stacking" "below";
21389       data.item: "selectraise" "on";
21390       data.item: "labels" "elm.text elm.text.sub";
21391       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21392       data.item: "treesize" "20";
21393 //      data.item: "states" "";
21394       images {
21395          image: "bt_sm_base1.png" COMP;
21396          image: "bt_sm_shine.png" COMP;
21397          image: "bt_sm_hilight.png" COMP;
21398          image: "ilist_2.png" COMP;
21399       }
21400       parts {
21401          part { name: "event";
21402             type: RECT;
21403             repeat_events: 1;
21404             description {
21405                state: "default" 0.0;
21406                color: 0 0 0 0;
21407             }
21408          }
21409          part {
21410             name: "base";
21411             mouse_events: 0;
21412             description {
21413                state: "default" 0.0;
21414                image {
21415                   normal: "ilist_2.png";
21416                   border: 2 2 2 2;
21417                }
21418                fill.smooth: 0;
21419             }
21420          }
21421          part { name: "bg";
21422             clip_to: "disclip";
21423             mouse_events: 0;
21424             description { state: "default" 0.0;
21425                visible: 0;
21426                color: 255 255 255 0;
21427                rel1 {
21428                   relative: 0.0 0.0;
21429                   offset: -5 -5;
21430                }
21431                rel2 {
21432                   relative: 1.0 1.0;
21433                   offset: 4 4;
21434                }
21435                image {
21436                   normal: "bt_sm_base1.png";
21437                   border: 6 6 6 6;
21438                }
21439                image.middle: SOLID;
21440             }
21441             description { state: "selected" 0.0;
21442                inherit: "default" 0.0;
21443                visible: 1;
21444                color: 255 255 255 255;
21445                rel1 {
21446                   relative: 0.0 0.0;
21447                   offset: -2 -2;
21448                }
21449                rel2 {
21450                   relative: 1.0 1.0;
21451                   offset: 1 1;
21452                }
21453             }
21454          }
21455          part { name: "elm.swallow.pad";
21456             type: SWALLOW;
21457             description { state: "default" 0.0;
21458                fixed: 1 0;
21459                align: 0.0 0.5;
21460                rel1 {
21461                   relative: 0.0  0.0;
21462                   offset:   4    4;
21463                }
21464                rel2 {
21465                   relative: 0.0  1.0;
21466                   offset:   4   -5;
21467                }
21468             }
21469          }
21470          part { name: "elm.swallow.icon";
21471             clip_to: "disclip";
21472             type: SWALLOW;
21473             description { state: "default" 0.0;
21474                fixed: 1 0;
21475                align: 0.0 0.5;
21476                rel1 {
21477                   to_x: "elm.swallow.pad";
21478                   relative: 1.0  0.0;
21479                   offset:   -1    4;
21480                }
21481                rel2 {
21482                   to_x: "elm.swallow.pad";
21483                   relative: 1.0  1.0;
21484                   offset:   -1   -5;
21485                }
21486             }
21487          }
21488          part { name: "elm.swallow.end";
21489             clip_to: "disclip";
21490             type:          SWALLOW;
21491             description { state:    "default" 0.0;
21492                fixed: 1 0;
21493                align:    1.0 0.5;
21494                aspect: 1.0 1.0;
21495                aspect_preference: VERTICAL;
21496                rel1 {
21497                   relative: 1.0  0.0;
21498                   offset:   -5    4;
21499                }
21500                rel2 {
21501                   relative: 1.0  1.0;
21502                   offset:   -5   -5;
21503                }
21504             }
21505          }
21506          part { name: "elm.text";
21507             clip_to: "disclip";
21508             type:           TEXT;
21509             effect:         SOFT_SHADOW;
21510             mouse_events:   0;
21511             scale: 1;
21512             description {
21513                state: "default" 0.0;
21514 //               min: 16 16;
21515                rel1 {
21516                   to_x:     "elm.swallow.icon";
21517                   relative: 1.0  0.0;
21518                   offset:   0 4;
21519                }
21520                rel2 {
21521                   to_x:     "elm.swallow.end";
21522                   relative: 0.0  0.5;
21523                   offset:   -1 -5;
21524                }
21525                color: 0 0 0 255;
21526                color3: 0 0 0 0;
21527                text {
21528                   font: "Sans";
21529                   size: 10;
21530                   min: 1 1;
21531 //                  min: 0 1;
21532                   align: 0.0 0.5;
21533                   text_class: "list_item";
21534                }
21535             }
21536             description { state: "selected" 0.0;
21537                inherit: "default" 0.0;
21538                color: 224 224 224 255;
21539                color3: 0 0 0 64;
21540             }
21541          }
21542          part { name: "elm.text.sub";
21543             clip_to: "disclip";
21544             type:           TEXT;
21545             mouse_events:   0;
21546             scale: 1;
21547             description {
21548                state: "default" 0.0;
21549 //               min: 16 16;
21550                rel1 {
21551                   to_x:     "elm.swallow.icon";
21552                   relative: 1.0  0.5;
21553                   offset:   0 4;
21554                }
21555                rel2 {
21556                   to_x:     "elm.swallow.end";
21557                   relative: 0.0  1.0;
21558                   offset:   -1 -5;
21559                }
21560                color: 0 0 0 128;
21561                color3: 0 0 0 0;
21562                text {
21563                   font: "Sans";
21564                   size: 8;
21565                   min: 1 1;
21566 //                  min: 0 1;
21567                   align: 0.0 0.5;
21568                   text_class: "list_item";
21569                }
21570             }
21571             description { state: "selected" 0.0;
21572                inherit: "default" 0.0;
21573                color: 128 128 128 255;
21574                color3: 0 0 0 32;
21575             }
21576          }
21577          part { name: "fg1";
21578             clip_to: "disclip";
21579             mouse_events: 0;
21580             description { state: "default" 0.0;
21581                visible: 0;
21582                color: 255 255 255 0;
21583                rel1.to: "bg";
21584                rel2.relative: 1.0 0.5;
21585                rel2.to: "bg";
21586                image {
21587                   normal: "bt_sm_hilight.png";
21588                   border: 6 6 6 0;
21589                }
21590             }
21591             description { state: "selected" 0.0;
21592                inherit: "default" 0.0;
21593                visible: 1;
21594                color: 255 255 255 255;
21595             }
21596          }
21597          part { name: "fg2";
21598             clip_to: "disclip";
21599             mouse_events: 0;
21600             description { state: "default" 0.0;
21601                visible: 0;
21602                color: 255 255 255 0;
21603                rel1.to: "bg";
21604                rel2.to: "bg";
21605                image {
21606                   normal: "bt_sm_shine.png";
21607                   border: 6 6 6 0;
21608                }
21609             }
21610             description { state: "selected" 0.0;
21611                inherit: "default" 0.0;
21612                visible: 1;
21613                color: 255 255 255 255;
21614             }
21615          }
21616          part { name: "disclip";
21617             type: RECT;
21618             description { state: "default" 0.0;
21619                rel1.to: "bg";
21620                rel2.to: "bg";
21621             }
21622             description { state: "disabled" 0.0;
21623                inherit: "default" 0.0;
21624                color: 255 255 255 64;
21625             }
21626          }
21627       }
21628       programs {
21629          // signal: elm,state,%s,active
21630          //   a "check" item named %s went active
21631          // signal: elm,state,%s,passive
21632          //   a "check" item named %s went passive
21633          // default is passive
21634          program {
21635             name:    "go_active";
21636             signal:  "elm,state,selected";
21637             source:  "elm";
21638             action:  STATE_SET "selected" 0.0;
21639             target:  "bg";
21640             target:  "fg1";
21641             target:  "fg2";
21642             target:  "elm.text";
21643             target:  "elm.text.sub";
21644          }
21645          program {
21646             name:    "go_passive";
21647             signal:  "elm,state,unselected";
21648             source:  "elm";
21649             action:  STATE_SET "default" 0.0;
21650             target:  "bg";
21651             target:  "fg1";
21652             target:  "fg2";
21653             target:  "elm.text";
21654             target:  "elm.text.sub";
21655             transition: LINEAR 0.1;
21656          }
21657          program {
21658             name:    "go_disabled";
21659             signal:  "elm,state,disabled";
21660             source:  "elm";
21661             action:  STATE_SET "disabled" 0.0;
21662             target:  "disclip";
21663          }
21664          program {
21665             name:    "go_enabled";
21666             signal:  "elm,state,enabled";
21667             source:  "elm";
21668             action:  STATE_SET "default" 0.0;
21669             target:  "disclip";
21670          }
21671       }
21672    }
21673    group { name: "elm/genlist/item_compress_odd/double_label/default";
21674       data.item: "stacking" "below";
21675       data.item: "selectraise" "on";
21676       data.item: "labels" "elm.text elm.text.sub";
21677       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21678       data.item: "treesize" "20";
21679 //      data.item: "states" "";
21680       images {
21681          image: "bt_sm_base1.png" COMP;
21682          image: "bt_sm_shine.png" COMP;
21683          image: "bt_sm_hilight.png" COMP;
21684          image: "ilist_2.png" COMP;
21685       }
21686       parts {
21687          part { name: "event";
21688             type: RECT;
21689             repeat_events: 1;
21690             description {
21691                state: "default" 0.0;
21692                color: 0 0 0 0;
21693             }
21694          }
21695          part {
21696             name: "base";
21697             mouse_events: 0;
21698             description {
21699                state: "default" 0.0;
21700                image {
21701                   normal: "ilist_2.png";
21702                   border: 2 2 2 2;
21703                }
21704                fill.smooth: 0;
21705             }
21706          }
21707          part { name: "bg";
21708             clip_to: "disclip";
21709             mouse_events: 0;
21710             description { state: "default" 0.0;
21711                visible: 0;
21712                color: 255 255 255 0;
21713                rel1 {
21714                   relative: 0.0 0.0;
21715                   offset: -5 -5;
21716                }
21717                rel2 {
21718                   relative: 1.0 1.0;
21719                   offset: 4 4;
21720                }
21721                image {
21722                   normal: "bt_sm_base1.png";
21723                   border: 6 6 6 6;
21724                }
21725                image.middle: SOLID;
21726             }
21727             description { state: "selected" 0.0;
21728                inherit: "default" 0.0;
21729                visible: 1;
21730                color: 255 255 255 255;
21731                rel1 {
21732                   relative: 0.0 0.0;
21733                   offset: -2 -2;
21734                }
21735                rel2 {
21736                   relative: 1.0 1.0;
21737                   offset: 1 1;
21738                }
21739             }
21740          }
21741          part { name: "elm.swallow.pad";
21742             type: SWALLOW;
21743             description { state: "default" 0.0;
21744                fixed: 1 0;
21745                align: 0.0 0.5;
21746                rel1 {
21747                   relative: 0.0  0.0;
21748                   offset:   4    4;
21749                }
21750                rel2 {
21751                   relative: 0.0  1.0;
21752                   offset:   4   -5;
21753                }
21754             }
21755          }
21756          part { name: "elm.swallow.icon";
21757             clip_to: "disclip";
21758             type: SWALLOW;
21759             description { state: "default" 0.0;
21760                fixed: 1 0;
21761                align: 0.0 0.5;
21762                rel1 {
21763                   to_x: "elm.swallow.pad";
21764                   relative: 1.0  0.0;
21765                   offset:   -1    4;
21766                }
21767                rel2 {
21768                   to_x: "elm.swallow.pad";
21769                   relative: 1.0  1.0;
21770                   offset:   -1   -5;
21771                }
21772             }
21773          }
21774          part { name: "elm.swallow.end";
21775             clip_to: "disclip";
21776             type:          SWALLOW;
21777             description { state:    "default" 0.0;
21778                fixed: 1 0;
21779                align:    1.0 0.5;
21780                aspect: 1.0 1.0;
21781                aspect_preference: VERTICAL;
21782                rel1 {
21783                   relative: 1.0  0.0;
21784                   offset:   -5    4;
21785                }
21786                rel2 {
21787                   relative: 1.0  1.0;
21788                   offset:   -5   -5;
21789                }
21790             }
21791          }
21792          part { name: "elm.text";
21793             clip_to: "disclip";
21794             type:           TEXT;
21795             effect:         SOFT_SHADOW;
21796             mouse_events:   0;
21797             scale: 1;
21798             description {
21799                state: "default" 0.0;
21800 //               min: 16 16;
21801                rel1 {
21802                   to_x:     "elm.swallow.icon";
21803                   relative: 1.0  0.0;
21804                   offset:   0 4;
21805                }
21806                rel2 {
21807                   to_x:     "elm.swallow.end";
21808                   relative: 0.0  0.5;
21809                   offset:   -1 -5;
21810                }
21811                color: 0 0 0 255;
21812                color3: 0 0 0 0;
21813                text {
21814                   font: "Sans";
21815                   size: 10;
21816 //                  min: 1 1;
21817                   min: 0 1;
21818                   align: 0.0 0.5;
21819                   text_class: "list_item";
21820                }
21821             }
21822             description { state: "selected" 0.0;
21823                inherit: "default" 0.0;
21824                color: 224 224 224 255;
21825                color3: 0 0 0 64;
21826             }
21827          }
21828          part { name: "elm.text.sub";
21829             clip_to: "disclip";
21830             type:           TEXT;
21831             mouse_events:   0;
21832             scale: 1;
21833             description {
21834                state: "default" 0.0;
21835 //               min: 16 16;
21836                rel1 {
21837                   to_x:     "elm.swallow.icon";
21838                   relative: 1.0  0.5;
21839                   offset:   0 4;
21840                }
21841                rel2 {
21842                   to_x:     "elm.swallow.end";
21843                   relative: 0.0  1.0;
21844                   offset:   -1 -5;
21845                }
21846                color: 0 0 0 128;
21847                color3: 0 0 0 0;
21848                text {
21849                   font: "Sans";
21850                   size: 8;
21851 //                  min: 1 1;
21852                   min: 0 1;
21853                   align: 0.0 0.5;
21854                   text_class: "list_item";
21855                }
21856             }
21857             description { state: "selected" 0.0;
21858                inherit: "default" 0.0;
21859                color: 128 128 128 255;
21860                color3: 0 0 0 32;
21861             }
21862          }
21863          part { name: "fg1";
21864             clip_to: "disclip";
21865             mouse_events: 0;
21866             description { state: "default" 0.0;
21867                visible: 0;
21868                color: 255 255 255 0;
21869                rel1.to: "bg";
21870                rel2.relative: 1.0 0.5;
21871                rel2.to: "bg";
21872                image {
21873                   normal: "bt_sm_hilight.png";
21874                   border: 6 6 6 0;
21875                }
21876             }
21877             description { state: "selected" 0.0;
21878                inherit: "default" 0.0;
21879                visible: 1;
21880                color: 255 255 255 255;
21881             }
21882          }
21883          part { name: "fg2";
21884             clip_to: "disclip";
21885             mouse_events: 0;
21886             description { state: "default" 0.0;
21887                visible: 0;
21888                color: 255 255 255 0;
21889                rel1.to: "bg";
21890                rel2.to: "bg";
21891                image {
21892                   normal: "bt_sm_shine.png";
21893                   border: 6 6 6 0;
21894                }
21895             }
21896             description { state: "selected" 0.0;
21897                inherit: "default" 0.0;
21898                visible: 1;
21899                color: 255 255 255 255;
21900             }
21901          }
21902          part { name: "disclip";
21903             type: RECT;
21904             description { state: "default" 0.0;
21905                rel1.to: "bg";
21906                rel2.to: "bg";
21907             }
21908             description { state: "disabled" 0.0;
21909                inherit: "default" 0.0;
21910                color: 255 255 255 64;
21911             }
21912          }
21913       }
21914       programs {
21915          // signal: elm,state,%s,active
21916          //   a "check" item named %s went active
21917          // signal: elm,state,%s,passive
21918          //   a "check" item named %s went passive
21919          // default is passive
21920          program {
21921             name:    "go_active";
21922             signal:  "elm,state,selected";
21923             source:  "elm";
21924             action:  STATE_SET "selected" 0.0;
21925             target:  "bg";
21926             target:  "fg1";
21927             target:  "fg2";
21928             target:  "elm.text";
21929             target:  "elm.text.sub";
21930          }
21931          program {
21932             name:    "go_passive";
21933             signal:  "elm,state,unselected";
21934             source:  "elm";
21935             action:  STATE_SET "default" 0.0;
21936             target:  "bg";
21937             target:  "fg1";
21938             target:  "fg2";
21939             target:  "elm.text";
21940             target:  "elm.text.sub";
21941             transition: LINEAR 0.1;
21942          }
21943          program {
21944             name:    "go_disabled";
21945             signal:  "elm,state,disabled";
21946             source:  "elm";
21947             action:  STATE_SET "disabled" 0.0;
21948             target:  "disclip";
21949          }
21950          program {
21951             name:    "go_enabled";
21952             signal:  "elm,state,enabled";
21953             source:  "elm";
21954             action:  STATE_SET "default" 0.0;
21955             target:  "disclip";
21956          }
21957       }
21958    }
21959
21960    group { name: "elm/genlist/tree/double_label/default";
21961       data.item: "stacking" "above";
21962       data.item: "selectraise" "on";
21963       data.item: "labels" "elm.text elm.text.sub";
21964       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21965       data.item: "treesize" "20";
21966 //      data.item: "states" "";
21967       images {
21968          image: "bt_sm_base1.png" COMP;
21969          image: "bt_sm_shine.png" COMP;
21970          image: "bt_sm_hilight.png" COMP;
21971          image: "ilist_1.png" COMP;
21972          image: "ilist_item_shadow.png" COMP;
21973          image: "icon_arrow_right.png" COMP;
21974          image: "icon_arrow_down.png" COMP;
21975       }
21976       parts {
21977          part {
21978             name:           "event";
21979             type:           RECT;
21980             repeat_events: 1;
21981             description {
21982                state: "default" 0.0;
21983                color: 0 0 0 0;
21984             }
21985          }
21986          part {
21987             name: "base_sh";
21988             mouse_events: 0;
21989             description {
21990                state: "default" 0.0;
21991                align: 0.0 0.0;
21992                min: 0 10;
21993                fixed: 1 1;
21994                rel1 {
21995                   to: "base";
21996                   relative: 0.0 1.0;
21997                   offset: 0 0;
21998                }
21999                rel2 {
22000                   to: "base";
22001                   relative: 1.0 1.0;
22002                   offset: -1 0;
22003                }
22004                image {
22005                   normal: "ilist_item_shadow.png";
22006                }
22007                fill.smooth: 0;
22008             }
22009          }
22010          part {
22011             name: "base";
22012             mouse_events: 0;
22013             description {
22014                state: "default" 0.0;
22015                image {
22016                   normal: "ilist_1.png";
22017                   border: 2 2 2 2;
22018                }
22019                fill.smooth: 0;
22020             }
22021          }
22022          part { name: "bg";
22023             clip_to: "disclip";
22024             mouse_events: 0;
22025             description { state: "default" 0.0;
22026                visible: 0;
22027                color: 255 255 255 0;
22028                rel1 {
22029                   relative: 0.0 0.0;
22030                   offset: -5 -5;
22031                }
22032                rel2 {
22033                   relative: 1.0 1.0;
22034                   offset: 4 4;
22035                }
22036                image {
22037                   normal: "bt_sm_base1.png";
22038                   border: 6 6 6 6;
22039                }
22040                image.middle: SOLID;
22041             }
22042             description { state: "selected" 0.0;
22043                inherit: "default" 0.0;
22044                visible: 1;
22045                color: 255 255 255 255;
22046                rel1 {
22047                   relative: 0.0 0.0;
22048                   offset: -2 -2;
22049                }
22050                rel2 {
22051                   relative: 1.0 1.0;
22052                   offset: 1 1;
22053                }
22054             }
22055          }
22056          part { name: "elm.swallow.pad";
22057             type: SWALLOW;
22058             description { state: "default" 0.0;
22059                fixed: 1 0;
22060                align: 0.0 0.5;
22061                rel1 {
22062                   relative: 0.0  0.0;
22063                   offset:   4    4;
22064                }
22065                rel2 {
22066                   relative: 0.0  1.0;
22067                   offset:   4   -5;
22068                }
22069             }
22070          }
22071          part { name: "arrow";
22072             clip_to: "disclip";
22073             ignore_flags: ON_HOLD;
22074             description { state: "default" 0.0;
22075                fixed: 1 0;
22076                align: 0.0 0.5;
22077                aspect: 1.0 1.0;
22078                rel1 {
22079                   to_x: "elm.swallow.pad";
22080                   relative: 1.0  0.0;
22081                   offset:   -1    4;
22082                }
22083                rel2 {
22084                   to_x: "elm.swallow.pad";
22085                   relative: 1.0  1.0;
22086                   offset:   -1   -5;
22087                }
22088                image.normal: "icon_arrow_right.png";
22089             }
22090             description { state: "active" 0.0;
22091                inherit: "default" 0.0;
22092                image.normal: "icon_arrow_down.png";
22093             }
22094          }
22095          part { name: "elm.swallow.icon";
22096             clip_to: "disclip";
22097             type: SWALLOW;
22098             description { state: "default" 0.0;
22099                fixed: 1 0;
22100                align: 0.0 0.5;
22101                rel1 {
22102                   to_x: "arrow";
22103                   relative: 1.0  0.0;
22104                   offset:   4    4;
22105                }
22106                rel2 {
22107                   to_x: "arrow";
22108                   relative: 1.0  1.0;
22109                   offset:   4   -5;
22110                }
22111             }
22112          }
22113          part { name: "elm.swallow.end";
22114             clip_to: "disclip";
22115             type: SWALLOW;
22116             description { state: "default" 0.0;
22117                fixed: 1 0;
22118                align: 1.0 0.5;
22119                aspect: 1.0 1.0;
22120                aspect_preference: VERTICAL;
22121                rel1 {
22122                   relative: 1.0  0.0;
22123                   offset:   -5    4;
22124                }
22125                rel2 {
22126                   relative: 1.0  1.0;
22127                   offset:   -5   -5;
22128                }
22129             }
22130          }
22131          part { name: "elm.text";
22132             clip_to: "disclip";
22133             type:           TEXT;
22134             effect:         SOFT_SHADOW;
22135             mouse_events:   0;
22136             scale: 1;
22137             description {
22138                state: "default" 0.0;
22139 //               min: 16 16;
22140                rel1 {
22141                   to_x:     "elm.swallow.icon";
22142                   relative: 1.0  0.0;
22143                   offset:   0 4;
22144                }
22145                rel2 {
22146                   to_x:     "elm.swallow.end";
22147                   relative: 0.0  0.5;
22148                   offset:   -1 -5;
22149                }
22150                color: 0 0 0 255;
22151                color3: 0 0 0 0;
22152                text {
22153                   font: "Sans";
22154                   size: 10;
22155                   min: 1 1;
22156 //                  min: 0 1;
22157                   align: 0.0 0.5;
22158                   text_class: "list_item";
22159                }
22160             }
22161             description { state: "selected" 0.0;
22162                inherit: "default" 0.0;
22163                color: 224 224 224 255;
22164                color3: 0 0 0 64;
22165             }
22166          }
22167          part { name: "elm.text.sub";
22168             clip_to: "disclip";
22169             type:           TEXT;
22170             mouse_events:   0;
22171             scale: 1;
22172             description {
22173                state: "default" 0.0;
22174 //               min: 16 16;
22175                rel1 {
22176                   to_x:     "elm.swallow.icon";
22177                   relative: 1.0  0.5;
22178                   offset:   0 4;
22179                }
22180                rel2 {
22181                   to_x:     "elm.swallow.end";
22182                   relative: 0.0  1.0;
22183                   offset:   -1 -5;
22184                }
22185                color: 0 0 0 128;
22186                color3: 0 0 0 0;
22187                text {
22188                   font: "Sans";
22189                   size: 8;
22190                   min: 1 1;
22191 //                  min: 0 1;
22192                   align: 0.0 0.5;
22193                   text_class: "list_item";
22194                }
22195             }
22196             description { state: "selected" 0.0;
22197                inherit: "default" 0.0;
22198                color: 128 128 128 255;
22199                color3: 0 0 0 32;
22200             }
22201          }
22202          part { name: "fg1";
22203             clip_to: "disclip";
22204             mouse_events: 0;
22205             description { state: "default" 0.0;
22206                visible: 0;
22207                color: 255 255 255 0;
22208                rel1.to: "bg";
22209                rel2.relative: 1.0 0.5;
22210                rel2.to: "bg";
22211                image {
22212                   normal: "bt_sm_hilight.png";
22213                   border: 6 6 6 0;
22214                }
22215             }
22216             description { state: "selected" 0.0;
22217                inherit: "default" 0.0;
22218                visible: 1;
22219                color: 255 255 255 255;
22220             }
22221          }
22222          part { name: "fg2";
22223             clip_to: "disclip";
22224             mouse_events: 0;
22225             description { state: "default" 0.0;
22226                visible: 0;
22227                color: 255 255 255 0;
22228                rel1.to: "bg";
22229                rel2.to: "bg";
22230                image {
22231                   normal: "bt_sm_shine.png";
22232                   border: 6 6 6 0;
22233                }
22234             }
22235             description { state: "selected" 0.0;
22236                inherit: "default" 0.0;
22237                visible: 1;
22238                color: 255 255 255 255;
22239             }
22240          }
22241          part { name: "disclip";
22242             type: RECT;
22243             description { state: "default" 0.0;
22244                rel1.to: "bg";
22245                rel2.to: "bg";
22246             }
22247             description { state: "disabled" 0.0;
22248                inherit: "default" 0.0;
22249                color: 255 255 255 64;
22250             }
22251          }
22252       }
22253       programs {
22254          // signal: elm,state,%s,active
22255          //   a "check" item named %s went active
22256          // signal: elm,state,%s,passive
22257          //   a "check" item named %s went passive
22258          // default is passive
22259          program {
22260             name:    "go_active";
22261             signal:  "elm,state,selected";
22262             source:  "elm";
22263             action:  STATE_SET "selected" 0.0;
22264             target:  "bg";
22265             target:  "fg1";
22266             target:  "fg2";
22267             target:  "elm.text";
22268             target:  "elm.text.sub";
22269          }
22270          program {
22271             name:    "go_passive";
22272             signal:  "elm,state,unselected";
22273             source:  "elm";
22274             action:  STATE_SET "default" 0.0;
22275             target:  "bg";
22276             target:  "fg1";
22277             target:  "fg2";
22278             target:  "elm.text";
22279             target:  "elm.text.sub";
22280             transition: LINEAR 0.1;
22281          }
22282          program {
22283             name:    "go_disabled";
22284             signal:  "elm,state,disabled";
22285             source:  "elm";
22286             action:  STATE_SET "disabled" 0.0;
22287             target:  "disclip";
22288          }
22289          program {
22290             name:    "go_enabled";
22291             signal:  "elm,state,enabled";
22292             source:  "elm";
22293             action:  STATE_SET "default" 0.0;
22294             target:  "disclip";
22295          }
22296          program {
22297             name:    "expand";
22298             signal:  "mouse,up,1";
22299             source:  "arrow";
22300             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22301          }
22302          program {
22303             name:    "go_expanded";
22304             signal:  "elm,state,expanded";
22305             source:  "elm";
22306             action:  STATE_SET "active" 0.0;
22307             target:  "arrow";
22308          }
22309          program {
22310             name:    "go_contracted";
22311             signal:  "elm,state,contracted";
22312             source:  "elm";
22313             action:  STATE_SET "default" 0.0;
22314             target:  "arrow";
22315          }
22316       }
22317    }
22318    group { name: "elm/genlist/tree_compress/double_label/default";
22319       data.item: "stacking" "above";
22320       data.item: "selectraise" "on";
22321       data.item: "labels" "elm.text elm.text.sub";
22322       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22323       data.item: "treesize" "20";
22324 //      data.item: "states" "";
22325       images {
22326          image: "bt_sm_base1.png" COMP;
22327          image: "bt_sm_shine.png" COMP;
22328          image: "bt_sm_hilight.png" COMP;
22329          image: "ilist_1.png" COMP;
22330          image: "ilist_item_shadow.png" COMP;
22331          image: "icon_arrow_right.png" COMP;
22332          image: "icon_arrow_down.png" COMP;
22333       }
22334       parts {
22335          part {
22336             name:           "event";
22337             type:           RECT;
22338             repeat_events: 1;
22339             description {
22340                state: "default" 0.0;
22341                color: 0 0 0 0;
22342             }
22343          }
22344          part {
22345             name: "base_sh";
22346             mouse_events: 0;
22347             description {
22348                state: "default" 0.0;
22349                align: 0.0 0.0;
22350                min: 0 10;
22351                fixed: 1 1;
22352                rel1 {
22353                   to: "base";
22354                   relative: 0.0 1.0;
22355                   offset: 0 0;
22356                }
22357                rel2 {
22358                   to: "base";
22359                   relative: 1.0 1.0;
22360                   offset: -1 0;
22361                }
22362                image {
22363                   normal: "ilist_item_shadow.png";
22364                }
22365                fill.smooth: 0;
22366             }
22367          }
22368          part {
22369             name: "base";
22370             mouse_events: 0;
22371             description {
22372                state: "default" 0.0;
22373                image {
22374                   normal: "ilist_1.png";
22375                   border: 2 2 2 2;
22376                }
22377                fill.smooth: 0;
22378             }
22379          }
22380          part { name: "bg";
22381             clip_to: "disclip";
22382             mouse_events: 0;
22383             description { state: "default" 0.0;
22384                visible: 0;
22385                color: 255 255 255 0;
22386                rel1 {
22387                   relative: 0.0 0.0;
22388                   offset: -5 -5;
22389                }
22390                rel2 {
22391                   relative: 1.0 1.0;
22392                   offset: 4 4;
22393                }
22394                image {
22395                   normal: "bt_sm_base1.png";
22396                   border: 6 6 6 6;
22397                }
22398                image.middle: SOLID;
22399             }
22400             description { state: "selected" 0.0;
22401                inherit: "default" 0.0;
22402                visible: 1;
22403                color: 255 255 255 255;
22404                rel1 {
22405                   relative: 0.0 0.0;
22406                   offset: -2 -2;
22407                }
22408                rel2 {
22409                   relative: 1.0 1.0;
22410                   offset: 1 1;
22411                }
22412             }
22413          }
22414          part { name: "elm.swallow.pad";
22415             type: SWALLOW;
22416             description { state: "default" 0.0;
22417                fixed: 1 0;
22418                align: 0.0 0.5;
22419                rel1 {
22420                   relative: 0.0  0.0;
22421                   offset:   4    4;
22422                }
22423                rel2 {
22424                   relative: 0.0  1.0;
22425                   offset:   4   -5;
22426                }
22427             }
22428          }
22429          part { name: "arrow";
22430             clip_to: "disclip";
22431             ignore_flags: ON_HOLD;
22432             description { state: "default" 0.0;
22433                fixed: 1 0;
22434                align: 0.0 0.5;
22435                aspect: 1.0 1.0;
22436                rel1 {
22437                   to_x: "elm.swallow.pad";
22438                   relative: 1.0  0.0;
22439                   offset:   -1    4;
22440                }
22441                rel2 {
22442                   to_x: "elm.swallow.pad";
22443                   relative: 1.0  1.0;
22444                   offset:   -1   -5;
22445                }
22446                image.normal: "icon_arrow_right.png";
22447             }
22448             description { state: "active" 0.0;
22449                inherit: "default" 0.0;
22450                image.normal: "icon_arrow_down.png";
22451             }
22452          }
22453          part { name: "elm.swallow.icon";
22454             clip_to: "disclip";
22455             type: SWALLOW;
22456             description { state: "default" 0.0;
22457                fixed: 1 0;
22458                align: 0.0 0.5;
22459                rel1 {
22460                   to_x: "arrow";
22461                   relative: 1.0  0.0;
22462                   offset:   4    4;
22463                }
22464                rel2 {
22465                   to_x: "arrow";
22466                   relative: 1.0  1.0;
22467                   offset:   4   -5;
22468                }
22469             }
22470          }
22471          part { name: "elm.swallow.end";
22472             clip_to: "disclip";
22473             type: SWALLOW;
22474             description { state: "default" 0.0;
22475                fixed: 1 0;
22476                align: 1.0 0.5;
22477                aspect: 1.0 1.0;
22478                aspect_preference: VERTICAL;
22479                rel1 {
22480                   relative: 1.0  0.0;
22481                   offset:   -5    4;
22482                }
22483                rel2 {
22484                   relative: 1.0  1.0;
22485                   offset:   -5   -5;
22486                }
22487             }
22488          }
22489          part { name: "elm.text";
22490             clip_to: "disclip";
22491             type:           TEXT;
22492             effect:         SOFT_SHADOW;
22493             mouse_events:   0;
22494             scale: 1;
22495             description {
22496                state: "default" 0.0;
22497 //               min: 16 16;
22498                rel1 {
22499                   to_x:     "elm.swallow.icon";
22500                   relative: 1.0  0.0;
22501                   offset:   0 4;
22502                }
22503                rel2 {
22504                   to_x:     "elm.swallow.end";
22505                   relative: 0.0  0.5;
22506                   offset:   -1 -5;
22507                }
22508                color: 0 0 0 255;
22509                color3: 0 0 0 0;
22510                text {
22511                   font: "Sans";
22512                   size: 10;
22513 //                  min: 1 1;
22514                   min: 0 1;
22515                   align: 0.0 0.5;
22516                   text_class: "list_item";
22517                }
22518             }
22519             description { state: "selected" 0.0;
22520                inherit: "default" 0.0;
22521                color: 224 224 224 255;
22522                color3: 0 0 0 64;
22523             }
22524          }
22525          part { name: "elm.text.sub";
22526             clip_to: "disclip";
22527             type:           TEXT;
22528             mouse_events:   0;
22529             scale: 1;
22530             description {
22531                state: "default" 0.0;
22532 //               min: 16 16;
22533                rel1 {
22534                   to_x:     "elm.swallow.icon";
22535                   relative: 1.0  0.5;
22536                   offset:   0 4;
22537                }
22538                rel2 {
22539                   to_x:     "elm.swallow.end";
22540                   relative: 0.0  1.0;
22541                   offset:   -1 -5;
22542                }
22543                color: 0 0 0 128;
22544                color3: 0 0 0 0;
22545                text {
22546                   font: "Sans";
22547                   size: 8;
22548 //                  min: 1 1;
22549                   min: 0 1;
22550                   align: 0.0 0.5;
22551                   text_class: "list_item";
22552                }
22553             }
22554             description { state: "selected" 0.0;
22555                inherit: "default" 0.0;
22556                color: 128 128 128 255;
22557                color3: 0 0 0 32;
22558             }
22559          }
22560          part { name: "fg1";
22561             clip_to: "disclip";
22562             mouse_events: 0;
22563             description { state: "default" 0.0;
22564                visible: 0;
22565                color: 255 255 255 0;
22566                rel1.to: "bg";
22567                rel2.relative: 1.0 0.5;
22568                rel2.to: "bg";
22569                image {
22570                   normal: "bt_sm_hilight.png";
22571                   border: 6 6 6 0;
22572                }
22573             }
22574             description { state: "selected" 0.0;
22575                inherit: "default" 0.0;
22576                visible: 1;
22577                color: 255 255 255 255;
22578             }
22579          }
22580          part { name: "fg2";
22581             clip_to: "disclip";
22582             mouse_events: 0;
22583             description { state: "default" 0.0;
22584                visible: 0;
22585                color: 255 255 255 0;
22586                rel1.to: "bg";
22587                rel2.to: "bg";
22588                image {
22589                   normal: "bt_sm_shine.png";
22590                   border: 6 6 6 0;
22591                }
22592             }
22593             description { state: "selected" 0.0;
22594                inherit: "default" 0.0;
22595                visible: 1;
22596                color: 255 255 255 255;
22597             }
22598          }
22599          part { name: "disclip";
22600             type: RECT;
22601             description { state: "default" 0.0;
22602                rel1.to: "bg";
22603                rel2.to: "bg";
22604             }
22605             description { state: "disabled" 0.0;
22606                inherit: "default" 0.0;
22607                color: 255 255 255 64;
22608             }
22609          }
22610       }
22611       programs {
22612          // signal: elm,state,%s,active
22613          //   a "check" item named %s went active
22614          // signal: elm,state,%s,passive
22615          //   a "check" item named %s went passive
22616          // default is passive
22617          program {
22618             name:    "go_active";
22619             signal:  "elm,state,selected";
22620             source:  "elm";
22621             action:  STATE_SET "selected" 0.0;
22622             target:  "bg";
22623             target:  "fg1";
22624             target:  "fg2";
22625             target:  "elm.text";
22626             target:  "elm.text.sub";
22627          }
22628          program {
22629             name:    "go_passive";
22630             signal:  "elm,state,unselected";
22631             source:  "elm";
22632             action:  STATE_SET "default" 0.0;
22633             target:  "bg";
22634             target:  "fg1";
22635             target:  "fg2";
22636             target:  "elm.text";
22637             target:  "elm.text.sub";
22638             transition: LINEAR 0.1;
22639          }
22640          program {
22641             name:    "go_disabled";
22642             signal:  "elm,state,disabled";
22643             source:  "elm";
22644             action:  STATE_SET "disabled" 0.0;
22645             target:  "disclip";
22646          }
22647          program {
22648             name:    "go_enabled";
22649             signal:  "elm,state,enabled";
22650             source:  "elm";
22651             action:  STATE_SET "default" 0.0;
22652             target:  "disclip";
22653          }
22654          program {
22655             name:    "expand";
22656             signal:  "mouse,up,1";
22657             source:  "arrow";
22658             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22659          }
22660          program {
22661             name:    "go_expanded";
22662             signal:  "elm,state,expanded";
22663             source:  "elm";
22664             action:  STATE_SET "active" 0.0;
22665             target:  "arrow";
22666          }
22667          program {
22668             name:    "go_contracted";
22669             signal:  "elm,state,contracted";
22670             source:  "elm";
22671             action:  STATE_SET "default" 0.0;
22672             target:  "arrow";
22673          }
22674       }
22675    }
22676    group { name: "elm/genlist/tree_odd/double_label/default";
22677       data.item: "stacking" "below";
22678       data.item: "selectraise" "on";
22679       data.item: "labels" "elm.text elm.text.sub";
22680       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22681       data.item: "treesize" "20";
22682 //      data.item: "states" "";
22683       images {
22684          image: "bt_sm_base1.png" COMP;
22685          image: "bt_sm_shine.png" COMP;
22686          image: "bt_sm_hilight.png" COMP;
22687          image: "ilist_2.png" COMP;
22688          image: "icon_arrow_right.png" COMP;
22689          image: "icon_arrow_down.png" COMP;
22690       }
22691       parts {
22692          part {
22693             name:           "event";
22694             type:           RECT;
22695             repeat_events: 1;
22696             description {
22697                state: "default" 0.0;
22698                color: 0 0 0 0;
22699             }
22700          }
22701          part {
22702             name: "base";
22703             mouse_events: 0;
22704             description {
22705                state: "default" 0.0;
22706                image {
22707                   normal: "ilist_2.png";
22708                   border: 2 2 2 2;
22709                }
22710                fill.smooth: 0;
22711             }
22712          }
22713          part { name: "bg";
22714             clip_to: "disclip";
22715             mouse_events: 0;
22716             description { state: "default" 0.0;
22717                visible: 0;
22718                color: 255 255 255 0;
22719                rel1 {
22720                   relative: 0.0 0.0;
22721                   offset: -5 -5;
22722                }
22723                rel2 {
22724                   relative: 1.0 1.0;
22725                   offset: 4 4;
22726                }
22727                image {
22728                   normal: "bt_sm_base1.png";
22729                   border: 6 6 6 6;
22730                }
22731                image.middle: SOLID;
22732             }
22733             description { state: "selected" 0.0;
22734                inherit: "default" 0.0;
22735                visible: 1;
22736                color: 255 255 255 255;
22737                rel1 {
22738                   relative: 0.0 0.0;
22739                   offset: -2 -2;
22740                }
22741                rel2 {
22742                   relative: 1.0 1.0;
22743                   offset: 1 1;
22744                }
22745             }
22746          }
22747          part { name: "elm.swallow.pad";
22748             type: SWALLOW;
22749             description { state: "default" 0.0;
22750                fixed: 1 0;
22751                align: 0.0 0.5;
22752                rel1 {
22753                   relative: 0.0  0.0;
22754                   offset:   4    4;
22755                }
22756                rel2 {
22757                   relative: 0.0  1.0;
22758                   offset:   4   -5;
22759                }
22760             }
22761          }
22762          part { name: "arrow";
22763             clip_to: "disclip";
22764             ignore_flags: ON_HOLD;
22765             description { state: "default" 0.0;
22766                fixed: 1 0;
22767                align: 0.0 0.5;
22768                aspect: 1.0 1.0;
22769                rel1 {
22770                   to_x: "elm.swallow.pad";
22771                   relative: 1.0  0.0;
22772                   offset:   -1    4;
22773                }
22774                rel2 {
22775                   to_x: "elm.swallow.pad";
22776                   relative: 1.0  1.0;
22777                   offset:   -1   -5;
22778                }
22779                image.normal: "icon_arrow_right.png";
22780             }
22781             description { state: "active" 0.0;
22782                inherit: "default" 0.0;
22783                image.normal: "icon_arrow_down.png";
22784             }
22785          }
22786          part { name: "elm.swallow.icon";
22787             clip_to: "disclip";
22788             type: SWALLOW;
22789             description { state: "default" 0.0;
22790                fixed: 1 0;
22791                align: 0.0 0.5;
22792                rel1 {
22793                   to_x: "arrow";
22794                   relative: 1.0  0.0;
22795                   offset:   4    4;
22796                }
22797                rel2 {
22798                   to_x: "arrow";
22799                   relative: 1.0  1.0;
22800                   offset:   4   -5;
22801                }
22802             }
22803          }
22804          part { name: "elm.swallow.end";
22805             clip_to: "disclip";
22806             type: SWALLOW;
22807             description { state: "default" 0.0;
22808                fixed: 1 0;
22809                align: 1.0 0.5;
22810                aspect: 1.0 1.0;
22811                aspect_preference: VERTICAL;
22812                rel1 {
22813                   relative: 1.0  0.0;
22814                   offset:   -5    4;
22815                }
22816                rel2 {
22817                   relative: 1.0  1.0;
22818                   offset:   -5   -5;
22819                }
22820             }
22821          }
22822          part { name: "elm.text";
22823             clip_to: "disclip";
22824             type:           TEXT;
22825             effect:         SOFT_SHADOW;
22826             mouse_events:   0;
22827             scale: 1;
22828             description {
22829                state: "default" 0.0;
22830 //               min: 16 16;
22831                rel1 {
22832                   to_x:     "elm.swallow.icon";
22833                   relative: 1.0  0.0;
22834                   offset:   0 4;
22835                }
22836                rel2 {
22837                   to_x:     "elm.swallow.end";
22838                   relative: 0.0  0.5;
22839                   offset:   -1 -5;
22840                }
22841                color: 0 0 0 255;
22842                color3: 0 0 0 0;
22843                text {
22844                   font: "Sans";
22845                   size: 10;
22846                   min: 1 1;
22847 //                  min: 0 1;
22848                   align: 0.0 0.5;
22849                   text_class: "list_item";
22850                }
22851             }
22852             description { state: "selected" 0.0;
22853                inherit: "default" 0.0;
22854                color: 224 224 224 255;
22855                color3: 0 0 0 64;
22856             }
22857          }
22858          part { name: "elm.text.sub";
22859             clip_to: "disclip";
22860             type:           TEXT;
22861             mouse_events:   0;
22862             scale: 1;
22863             description {
22864                state: "default" 0.0;
22865 //               min: 16 16;
22866                rel1 {
22867                   to_x:     "elm.swallow.icon";
22868                   relative: 1.0  0.5;
22869                   offset:   0 4;
22870                }
22871                rel2 {
22872                   to_x:     "elm.swallow.end";
22873                   relative: 0.0  1.0;
22874                   offset:   -1 -5;
22875                }
22876                color: 0 0 0 128;
22877                color3: 0 0 0 0;
22878                text {
22879                   font: "Sans";
22880                   size: 8;
22881                   min: 1 1;
22882 //                  min: 0 1;
22883                   align: 0.0 0.5;
22884                   text_class: "list_item";
22885                }
22886             }
22887             description { state: "selected" 0.0;
22888                inherit: "default" 0.0;
22889                color: 128 128 128 255;
22890                color3: 0 0 0 32;
22891             }
22892          }
22893          part { name: "fg1";
22894             clip_to: "disclip";
22895             mouse_events: 0;
22896             description { state: "default" 0.0;
22897                visible: 0;
22898                color: 255 255 255 0;
22899                rel1.to: "bg";
22900                rel2.relative: 1.0 0.5;
22901                rel2.to: "bg";
22902                image {
22903                   normal: "bt_sm_hilight.png";
22904                   border: 6 6 6 0;
22905                }
22906             }
22907             description { state: "selected" 0.0;
22908                inherit: "default" 0.0;
22909                visible: 1;
22910                color: 255 255 255 255;
22911             }
22912          }
22913          part { name: "fg2";
22914             clip_to: "disclip";
22915             mouse_events: 0;
22916             description { state: "default" 0.0;
22917                visible: 0;
22918                color: 255 255 255 0;
22919                rel1.to: "bg";
22920                rel2.to: "bg";
22921                image {
22922                   normal: "bt_sm_shine.png";
22923                   border: 6 6 6 0;
22924                }
22925             }
22926             description { state: "selected" 0.0;
22927                inherit: "default" 0.0;
22928                visible: 1;
22929                color: 255 255 255 255;
22930             }
22931          }
22932          part { name: "disclip";
22933             type: RECT;
22934             description { state: "default" 0.0;
22935                rel1.to: "bg";
22936                rel2.to: "bg";
22937             }
22938             description { state: "disabled" 0.0;
22939                inherit: "default" 0.0;
22940                color: 255 255 255 64;
22941             }
22942          }
22943       }
22944       programs {
22945          // signal: elm,state,%s,active
22946          //   a "check" item named %s went active
22947          // signal: elm,state,%s,passive
22948          //   a "check" item named %s went passive
22949          // default is passive
22950          program {
22951             name:    "go_active";
22952             signal:  "elm,state,selected";
22953             source:  "elm";
22954             action:  STATE_SET "selected" 0.0;
22955             target:  "bg";
22956             target:  "fg1";
22957             target:  "fg2";
22958             target:  "elm.text";
22959             target:  "elm.text.sub";
22960          }
22961          program {
22962             name:    "go_passive";
22963             signal:  "elm,state,unselected";
22964             source:  "elm";
22965             action:  STATE_SET "default" 0.0;
22966             target:  "bg";
22967             target:  "fg1";
22968             target:  "fg2";
22969             target:  "elm.text";
22970             target:  "elm.text.sub";
22971             transition: LINEAR 0.1;
22972          }
22973          program {
22974             name:    "go_disabled";
22975             signal:  "elm,state,disabled";
22976             source:  "elm";
22977             action:  STATE_SET "disabled" 0.0;
22978             target:  "disclip";
22979          }
22980          program {
22981             name:    "go_enabled";
22982             signal:  "elm,state,enabled";
22983             source:  "elm";
22984             action:  STATE_SET "default" 0.0;
22985             target:  "disclip";
22986          }
22987          program {
22988             name:    "expand";
22989             signal:  "mouse,up,1";
22990             source:  "arrow";
22991             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22992          }
22993          program {
22994             name:    "go_expanded";
22995             signal:  "elm,state,expanded";
22996             source:  "elm";
22997             action:  STATE_SET "active" 0.0;
22998             target:  "arrow";
22999          }
23000          program {
23001             name:    "go_contracted";
23002             signal:  "elm,state,contracted";
23003             source:  "elm";
23004             action:  STATE_SET "default" 0.0;
23005             target:  "arrow";
23006          }
23007       }
23008    }
23009
23010    group { name: "elm/genlist/item/icon_top_text_bottom/default";
23011       data.item: "stacking" "above";
23012       data.item: "selectraise" "on";
23013       data.item: "labels" "elm.text";
23014       data.item: "icons" "elm.swallow.icon";
23015       data.item: "treesize" "20";
23016 //      data.item: "states" "";
23017       images {
23018          image: "bt_sm_base1.png" COMP;
23019          image: "bt_sm_shine.png" COMP;
23020          image: "bt_sm_hilight.png" COMP;
23021          image: "ilist_1.png" COMP;
23022          image: "ilist_item_shadow.png" COMP;
23023       }
23024       parts {
23025          part {
23026             name:           "event";
23027             type:           RECT;
23028             repeat_events: 1;
23029             description {
23030                state: "default" 0.0;
23031                color: 0 0 0 0;
23032             }
23033          }
23034          part {
23035             name: "base_sh";
23036             mouse_events: 0;
23037             description {
23038                state: "default" 0.0;
23039                align: 0.0 0.0;
23040                min: 0 10;
23041                fixed: 1 1;
23042                rel1 {
23043                   to: "base";
23044                   relative: 0.0 1.0;
23045                   offset: 0 0;
23046                }
23047                rel2 {
23048                   to: "base";
23049                   relative: 1.0 1.0;
23050                   offset: -1 0;
23051                }
23052                image {
23053                   normal: "ilist_item_shadow.png";
23054                }
23055                fill.smooth: 0;
23056             }
23057          }
23058          part {
23059             name: "base";
23060             mouse_events: 0;
23061             description {
23062                state: "default" 0.0;
23063                image {
23064                   normal: "ilist_1.png";
23065                   border: 2 2 2 2;
23066                }
23067                fill.smooth: 0;
23068             }
23069          }
23070          part { name: "bg";
23071             clip_to: "disclip";
23072             mouse_events: 0;
23073             description { state: "default" 0.0;
23074                visible: 0;
23075                color: 255 255 255 0;
23076                rel1 {
23077                   relative: 0.0 0.0;
23078                   offset: -5 -5;
23079                }
23080                rel2 {
23081                   relative: 1.0 1.0;
23082                   offset: 4 4;
23083                }
23084                image {
23085                   normal: "bt_sm_base1.png";
23086                   border: 6 6 6 6;
23087                }
23088                image.middle: SOLID;
23089             }
23090             description { state: "selected" 0.0;
23091                inherit: "default" 0.0;
23092                visible: 1;
23093                color: 255 255 255 255;
23094                rel1 {
23095                   relative: 0.0 0.0;
23096                   offset: -2 -2;
23097                }
23098                rel2 {
23099                   relative: 1.0 1.0;
23100                   offset: 1 1;
23101                }
23102             }
23103          }
23104          part { name: "elm.swallow.pad";
23105             type: SWALLOW;
23106             description { state: "default" 0.0;
23107                fixed: 1 0;
23108                align: 0.0 0.5;
23109                rel1 {
23110                   relative: 0.0  0.0;
23111                   offset:   4    4;
23112                }
23113                rel2 {
23114                   relative: 1.0  1.0;
23115                   offset:   -4   -5;
23116                }
23117             }
23118          }
23119          part { name: "elm.swallow.icon";
23120             clip_to: "disclip";
23121             type: SWALLOW;
23122             description { state: "default" 0.0;
23123                fixed: 1 0;
23124                align: 0.5 0.5;
23125                rel1 {
23126                   to_x: "elm.swallow.pad";
23127                   relative: 0.0  0.0;
23128                   offset:   -1    4;
23129                }
23130                rel2 {
23131                   to_x: "elm.swallow.pad";
23132                   relative: 1.0  1.0;
23133                   offset:   -1   -5;
23134                }
23135             }
23136          }
23137          part { name: "elm.text";
23138             clip_to: "disclip";
23139             type:           TEXT;
23140             effect:         SOFT_SHADOW;
23141             mouse_events:   0;
23142             scale: 1;
23143             description {
23144                state: "default" 0.0;
23145 //               min: 16 16;
23146                rel1 {
23147                   to_y:     "elm.swallow.icon";
23148                   relative: 0.0  1.0;
23149                   offset:   0 4;
23150                }
23151                rel2 {
23152                   relative: 1.0  1.0;
23153                   offset:   -5 -5;
23154                }
23155                color: 0 0 0 255;
23156                color3: 0 0 0 0;
23157                text {
23158                   font: "Sans";
23159                   size: 10;
23160                   min: 1 1;
23161 //                  min: 0 1;
23162                   align: 0.5 0.5;
23163                   text_class: "list_item";
23164                }
23165             }
23166             description { state: "selected" 0.0;
23167                inherit: "default" 0.0;
23168                color: 224 224 224 255;
23169                color3: 0 0 0 64;
23170             }
23171          }
23172          part { name: "fg1";
23173             clip_to: "disclip";
23174             mouse_events: 0;
23175             description { state: "default" 0.0;
23176                visible: 0;
23177                color: 255 255 255 0;
23178                rel1.to: "bg";
23179                rel2.relative: 1.0 0.5;
23180                rel2.to: "bg";
23181                image {
23182                   normal: "bt_sm_hilight.png";
23183                   border: 6 6 6 0;
23184                }
23185             }
23186             description { state: "selected" 0.0;
23187                inherit: "default" 0.0;
23188                visible: 1;
23189                color: 255 255 255 255;
23190             }
23191          }
23192          part { name: "fg2";
23193             clip_to: "disclip";
23194             mouse_events: 0;
23195             description { state: "default" 0.0;
23196                visible: 0;
23197                color: 255 255 255 0;
23198                rel1.to: "bg";
23199                rel2.to: "bg";
23200                image {
23201                   normal: "bt_sm_shine.png";
23202                   border: 6 6 6 0;
23203                }
23204             }
23205             description { state: "selected" 0.0;
23206                inherit: "default" 0.0;
23207                visible: 1;
23208                color: 255 255 255 255;
23209             }
23210          }
23211          part { name: "disclip";
23212             type: RECT;
23213             description { state: "default" 0.0;
23214                rel1.to: "bg";
23215                rel2.to: "bg";
23216             }
23217             description { state: "disabled" 0.0;
23218                inherit: "default" 0.0;
23219                color: 255 255 255 64;
23220             }
23221          }
23222       }
23223       programs {
23224          // signal: elm,state,%s,active
23225          //   a "check" item named %s went active
23226          // signal: elm,state,%s,passive
23227          //   a "check" item named %s went passive
23228          // default is passive
23229          program {
23230             name:    "go_active";
23231             signal:  "elm,state,selected";
23232             source:  "elm";
23233             action:  STATE_SET "selected" 0.0;
23234             target:  "bg";
23235             target:  "fg1";
23236             target:  "fg2";
23237             target:  "elm.text";
23238          }
23239          program {
23240             name:    "go_passive";
23241             signal:  "elm,state,unselected";
23242             source:  "elm";
23243             action:  STATE_SET "default" 0.0;
23244             target:  "bg";
23245             target:  "fg1";
23246             target:  "fg2";
23247             target:  "elm.text";
23248             transition: LINEAR 0.1;
23249          }
23250          program {
23251             name:    "go_disabled";
23252             signal:  "elm,state,disabled";
23253             source:  "elm";
23254             action:  STATE_SET "disabled" 0.0;
23255             target:  "disclip";
23256          }
23257          program {
23258             name:    "go_enabled";
23259             signal:  "elm,state,enabled";
23260             source:  "elm";
23261             action:  STATE_SET "default" 0.0;
23262             target:  "disclip";
23263          }
23264       }
23265    }
23266    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
23267       data.item: "stacking" "below";
23268       data.item: "selectraise" "on";
23269       data.item: "labels" "elm.text";
23270       data.item: "icons" "elm.swallow.icon";
23271       data.item: "treesize" "20";
23272 //      data.item: "states" "";
23273       images {
23274          image: "bt_sm_base1.png" COMP;
23275          image: "bt_sm_shine.png" COMP;
23276          image: "bt_sm_hilight.png" COMP;
23277          image: "ilist_2.png" COMP;
23278       }
23279       parts {
23280          part { name: "event";
23281             type: RECT;
23282             repeat_events: 1;
23283             description {
23284                state: "default" 0.0;
23285                color: 0 0 0 0;
23286             }
23287          }
23288          part {
23289             name: "base";
23290             mouse_events: 0;
23291             description {
23292                state: "default" 0.0;
23293                image {
23294                   normal: "ilist_2.png";
23295                   border: 2 2 2 2;
23296                }
23297                fill.smooth: 0;
23298             }
23299          }
23300          part { name: "bg";
23301             clip_to: "disclip";
23302             mouse_events: 0;
23303             description { state: "default" 0.0;
23304                visible: 0;
23305                color: 255 255 255 0;
23306                rel1 {
23307                   relative: 0.0 0.0;
23308                   offset: -5 -5;
23309                }
23310                rel2 {
23311                   relative: 1.0 1.0;
23312                   offset: 4 4;
23313                }
23314                image {
23315                   normal: "bt_sm_base1.png";
23316                   border: 6 6 6 6;
23317                }
23318                image.middle: SOLID;
23319             }
23320             description { state: "selected" 0.0;
23321                inherit: "default" 0.0;
23322                visible: 1;
23323                color: 255 255 255 255;
23324                rel1 {
23325                   relative: 0.0 0.0;
23326                   offset: -2 -2;
23327                }
23328                rel2 {
23329                   relative: 1.0 1.0;
23330                   offset: 1 1;
23331                }
23332             }
23333          }
23334          part { name: "elm.swallow.pad";
23335             type: SWALLOW;
23336             description { state: "default" 0.0;
23337                fixed: 1 0;
23338                align: 0.0 0.5;
23339                rel1 {
23340                   relative: 0.0  0.0;
23341                   offset:   4    4;
23342                }
23343                rel2 {
23344                   relative: 1.0  1.0;
23345                   offset:   -4   -5;
23346                }
23347             }
23348          }
23349          part { name: "elm.swallow.icon";
23350             clip_to: "disclip";
23351             type: SWALLOW;
23352             description { state: "default" 0.0;
23353                fixed: 1 0;
23354                align: 0.5 0.5;
23355                rel1 {
23356                   to_x: "elm.swallow.pad";
23357                   relative: 0.0  0.0;
23358                   offset:   -1    4;
23359                }
23360                rel2 {
23361                   to_x: "elm.swallow.pad";
23362                   relative: 1.0  1.0;
23363                   offset:   -1   -5;
23364                }
23365             }
23366          }
23367          part { name: "elm.text";
23368             clip_to: "disclip";
23369             type:           TEXT;
23370             effect:         SOFT_SHADOW;
23371             mouse_events:   0;
23372             scale: 1;
23373             description {
23374                state: "default" 0.0;
23375 //               min:      16 16;
23376                rel1 {
23377                   to_y:     "elm.swallow.icon";
23378                   relative: 0.0  1.0;
23379                   offset:   0 4;
23380                }
23381                rel2 {
23382                   relative: 1.0  1.0;
23383                   offset:   -5 -5;
23384                }
23385                color: 0 0 0 255;
23386                color3: 0 0 0 0;
23387                text {
23388                   font: "Sans";
23389                   size: 10;
23390                   min: 1 1;
23391 //                  min: 0 1;
23392                   align: 0.5 0.5;
23393                   text_class: "list_item";
23394                }
23395             }
23396             description { state: "selected" 0.0;
23397                inherit: "default" 0.0;
23398                color: 224 224 224 255;
23399                color3: 0 0 0 64;
23400             }
23401          }
23402          part { name: "fg1";
23403             clip_to: "disclip";
23404             mouse_events: 0;
23405             description { state: "default" 0.0;
23406                visible: 0;
23407                color: 255 255 255 0;
23408                rel1.to: "bg";
23409                rel2.relative: 1.0 0.5;
23410                rel2.to: "bg";
23411                image {
23412                   normal: "bt_sm_hilight.png";
23413                   border: 6 6 6 0;
23414                }
23415             }
23416             description { state: "selected" 0.0;
23417                inherit: "default" 0.0;
23418                visible: 1;
23419                color: 255 255 255 255;
23420             }
23421          }
23422          part { name: "fg2";
23423             clip_to: "disclip";
23424             mouse_events: 0;
23425             description { state: "default" 0.0;
23426                visible: 0;
23427                color: 255 255 255 0;
23428                rel1.to: "bg";
23429                rel2.to: "bg";
23430                image {
23431                   normal: "bt_sm_shine.png";
23432                   border: 6 6 6 0;
23433                }
23434             }
23435             description { state: "selected" 0.0;
23436                inherit: "default" 0.0;
23437                visible: 1;
23438                color: 255 255 255 255;
23439             }
23440          }
23441          part { name: "disclip";
23442             type: RECT;
23443             description { state: "default" 0.0;
23444                rel1.to: "bg";
23445                rel2.to: "bg";
23446             }
23447             description { state: "disabled" 0.0;
23448                inherit: "default" 0.0;
23449                color: 255 255 255 64;
23450             }
23451          }
23452       }
23453       programs {
23454          // signal: elm,state,%s,active
23455          //   a "check" item named %s went active
23456          // signal: elm,state,%s,passive
23457          //   a "check" item named %s went passive
23458          // default is passive
23459          program {
23460             name:    "go_active";
23461             signal:  "elm,state,selected";
23462             source:  "elm";
23463             action:  STATE_SET "selected" 0.0;
23464             target:  "bg";
23465             target:  "fg1";
23466             target:  "fg2";
23467             target:  "elm.text";
23468          }
23469          program {
23470             name:    "go_passive";
23471             signal:  "elm,state,unselected";
23472             source:  "elm";
23473             action:  STATE_SET "default" 0.0;
23474             target:  "bg";
23475             target:  "fg1";
23476             target:  "fg2";
23477             target:  "elm.text";
23478             transition: LINEAR 0.1;
23479          }
23480          program {
23481             name:    "go_disabled";
23482             signal:  "elm,state,disabled";
23483             source:  "elm";
23484             action:  STATE_SET "disabled" 0.0;
23485             target:  "disclip";
23486          }
23487          program {
23488             name:    "go_enabled";
23489             signal:  "elm,state,enabled";
23490             source:  "elm";
23491             action:  STATE_SET "default" 0.0;
23492             target:  "disclip";
23493          }
23494       }
23495    }
23496
23497    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
23498       data.item: "stacking" "above";
23499       data.item: "selectraise" "on";
23500       data.item: "labels" "elm.text";
23501       data.item: "icons" "elm.swallow.icon";
23502       data.item: "treesize" "20";
23503 //      data.item: "states" "";
23504       images {
23505          image: "bt_sm_base1.png" COMP;
23506          image: "bt_sm_shine.png" COMP;
23507          image: "bt_sm_hilight.png" COMP;
23508          image: "ilist_1.png" COMP;
23509          image: "ilist_item_shadow.png" COMP;
23510          image: "icon_arrow_right.png" COMP;
23511          image: "icon_arrow_down.png" COMP;
23512       }
23513       parts {
23514          part {
23515             name:           "event";
23516             type:           RECT;
23517             repeat_events: 1;
23518             description {
23519                state: "default" 0.0;
23520                color: 0 0 0 0;
23521             }
23522          }
23523          part {
23524             name: "base_sh";
23525             mouse_events: 0;
23526             description {
23527                state: "default" 0.0;
23528                align: 0.0 0.0;
23529                min: 0 10;
23530                fixed: 1 1;
23531                rel1 {
23532                   to: "base";
23533                   relative: 0.0 1.0;
23534                   offset: 0 0;
23535                }
23536                rel2 {
23537                   to: "base";
23538                   relative: 1.0 1.0;
23539                   offset: -1 0;
23540                }
23541                image {
23542                   normal: "ilist_item_shadow.png";
23543                }
23544                fill.smooth: 0;
23545             }
23546          }
23547          part {
23548             name: "base";
23549             mouse_events: 0;
23550             description {
23551                state: "default" 0.0;
23552                image {
23553                   normal: "ilist_1.png";
23554                   border: 2 2 2 2;
23555                }
23556                fill.smooth: 0;
23557             }
23558          }
23559          part { name: "bg";
23560             clip_to: "disclip";
23561             mouse_events: 0;
23562             description { state: "default" 0.0;
23563                visible: 0;
23564                color: 255 255 255 0;
23565                rel1 {
23566                   relative: 0.0 0.0;
23567                   offset: -5 -5;
23568                }
23569                rel2 {
23570                   relative: 1.0 1.0;
23571                   offset: 4 4;
23572                }
23573                image {
23574                   normal: "bt_sm_base1.png";
23575                   border: 6 6 6 6;
23576                }
23577                image.middle: SOLID;
23578             }
23579             description { state: "selected" 0.0;
23580                inherit: "default" 0.0;
23581                visible: 1;
23582                color: 255 255 255 255;
23583                rel1 {
23584                   relative: 0.0 0.0;
23585                   offset: -2 -2;
23586                }
23587                rel2 {
23588                   relative: 1.0 1.0;
23589                   offset: 1 1;
23590                }
23591             }
23592          }
23593          part { name: "elm.swallow.pad";
23594             type: SWALLOW;
23595             description { state: "default" 0.0;
23596                fixed: 1 0;
23597                align: 0.0 0.5;
23598                rel1 {
23599                   relative: 0.0  0.0;
23600                   offset:   4    4;
23601                }
23602                rel2 {
23603                   relative: 0.0  1.0;
23604                   offset:   4   -5;
23605                }
23606             }
23607          }
23608          part { name: "arrow";
23609             clip_to: "disclip";
23610             ignore_flags: ON_HOLD;
23611             description { state: "default" 0.0;
23612                fixed: 1 0;
23613                align: 0.0 0.5;
23614                aspect: 1.0 1.0;
23615                rel1 {
23616                   to_x: "elm.swallow.pad";
23617                   relative: 1.0  0.0;
23618                   offset:   -1    4;
23619                }
23620                rel2 {
23621                   to_x: "elm.swallow.pad";
23622                   relative: 1.0  1.0;
23623                   offset:   -1   -5;
23624                }
23625                image.normal: "icon_arrow_right.png";
23626             }
23627             description { state: "active" 0.0;
23628                inherit: "default" 0.0;
23629                image.normal: "icon_arrow_down.png";
23630             }
23631          }
23632          part { name: "elm.swallow.icon";
23633             clip_to: "disclip";
23634             type: SWALLOW;
23635             description { state: "default" 0.0;
23636                fixed: 1 0;
23637                align: 0.5 0.5;
23638                rel1 {
23639                   to_x: "arrow";
23640                   relative: 1.0  0.0;
23641                   offset:   4    4;
23642                }
23643                rel2 {
23644                   relative: 1.0  1.0;
23645                   offset:   -4   -5;
23646                }
23647             }
23648          }
23649          part { name: "elm.text";
23650             clip_to: "disclip";
23651             type:           TEXT;
23652             effect:         SOFT_SHADOW;
23653             mouse_events:   0;
23654             scale: 1;
23655             description {
23656                state: "default" 0.0;
23657 //               min: 16 16;
23658                rel1 {
23659                   to_y:     "elm.swallow.icon";
23660                   relative: 0.0  1.0;
23661                   offset:   0 4;
23662                }
23663                rel2 {
23664                   relative: 1.0  1.0;
23665                   offset:   -5 -5;
23666                }
23667                color: 0 0 0 255;
23668                color3: 0 0 0 0;
23669                text {
23670                   font: "Sans";
23671                   size: 10;
23672                   min: 1 1;
23673 //                  min: 0 1;
23674                   align: 0.5 0.5;
23675                   text_class: "list_item";
23676                }
23677             }
23678             description { state: "selected" 0.0;
23679                inherit: "default" 0.0;
23680                color: 224 224 224 255;
23681                color3: 0 0 0 64;
23682             }
23683          }
23684          part { name: "fg1";
23685             clip_to: "disclip";
23686             mouse_events: 0;
23687             description { state: "default" 0.0;
23688                visible: 0;
23689                color: 255 255 255 0;
23690                rel1.to: "bg";
23691                rel2.relative: 1.0 0.5;
23692                rel2.to: "bg";
23693                image {
23694                   normal: "bt_sm_hilight.png";
23695                   border: 6 6 6 0;
23696                }
23697             }
23698             description { state: "selected" 0.0;
23699                inherit: "default" 0.0;
23700                visible: 1;
23701                color: 255 255 255 255;
23702             }
23703          }
23704          part { name: "fg2";
23705             clip_to: "disclip";
23706             mouse_events: 0;
23707             description { state: "default" 0.0;
23708                visible: 0;
23709                color: 255 255 255 0;
23710                rel1.to: "bg";
23711                rel2.to: "bg";
23712                image {
23713                   normal: "bt_sm_shine.png";
23714                   border: 6 6 6 0;
23715                }
23716             }
23717             description { state: "selected" 0.0;
23718                inherit: "default" 0.0;
23719                visible: 1;
23720                color: 255 255 255 255;
23721             }
23722          }
23723          part { name: "disclip";
23724             type: RECT;
23725             description { state: "default" 0.0;
23726                rel1.to: "bg";
23727                rel2.to: "bg";
23728             }
23729             description { state: "disabled" 0.0;
23730                inherit: "default" 0.0;
23731                color: 255 255 255 64;
23732             }
23733          }
23734       }
23735       programs {
23736          // signal: elm,state,%s,active
23737          //   a "check" item named %s went active
23738          // signal: elm,state,%s,passive
23739          //   a "check" item named %s went passive
23740          // default is passive
23741          program {
23742             name:    "go_active";
23743             signal:  "elm,state,selected";
23744             source:  "elm";
23745             action:  STATE_SET "selected" 0.0;
23746             target:  "bg";
23747             target:  "fg1";
23748             target:  "fg2";
23749             target:  "elm.text";
23750          }
23751          program {
23752             name:    "go_passive";
23753             signal:  "elm,state,unselected";
23754             source:  "elm";
23755             action:  STATE_SET "default" 0.0;
23756             target:  "bg";
23757             target:  "fg1";
23758             target:  "fg2";
23759             target:  "elm.text";
23760             transition: LINEAR 0.1;
23761          }
23762          program {
23763             name:    "go_disabled";
23764             signal:  "elm,state,disabled";
23765             source:  "elm";
23766             action:  STATE_SET "disabled" 0.0;
23767             target:  "disclip";
23768          }
23769          program {
23770             name:    "go_enabled";
23771             signal:  "elm,state,enabled";
23772             source:  "elm";
23773             action:  STATE_SET "default" 0.0;
23774             target:  "disclip";
23775          }
23776          program {
23777             name:    "expand";
23778             signal:  "mouse,up,1";
23779             source:  "arrow";
23780             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23781          }
23782          program {
23783             name:    "go_expanded";
23784             signal:  "elm,state,expanded";
23785             source:  "elm";
23786             action:  STATE_SET "active" 0.0;
23787             target:  "arrow";
23788          }
23789          program {
23790             name:    "go_contracted";
23791             signal:  "elm,state,contracted";
23792             source:  "elm";
23793             action:  STATE_SET "default" 0.0;
23794             target:  "arrow";
23795          }
23796       }
23797    }
23798    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23799       data.item: "stacking" "below";
23800       data.item: "selectraise" "on";
23801       data.item: "labels" "elm.text";
23802       data.item: "icons" "elm.swallow.icon";
23803       data.item: "treesize" "20";
23804 //      data.item: "states" "";
23805       images {
23806          image: "bt_sm_base1.png" COMP;
23807          image: "bt_sm_shine.png" COMP;
23808          image: "bt_sm_hilight.png" COMP;
23809          image: "ilist_2.png" COMP;
23810          image: "icon_arrow_right.png" COMP;
23811          image: "icon_arrow_down.png" COMP;
23812       }
23813       parts {
23814          part {
23815             name:           "event";
23816             type:           RECT;
23817             repeat_events: 1;
23818             description {
23819                state: "default" 0.0;
23820                color: 0 0 0 0;
23821             }
23822          }
23823          part {
23824             name: "base";
23825             mouse_events: 0;
23826             description {
23827                state: "default" 0.0;
23828                image {
23829                   normal: "ilist_2.png";
23830                   border: 2 2 2 2;
23831                }
23832                fill.smooth: 0;
23833             }
23834          }
23835          part { name: "bg";
23836             clip_to: "disclip";
23837             mouse_events: 0;
23838             description { state: "default" 0.0;
23839                visible: 0;
23840                color: 255 255 255 0;
23841                rel1 {
23842                   relative: 0.0 0.0;
23843                   offset: -5 -5;
23844                }
23845                rel2 {
23846                   relative: 1.0 1.0;
23847                   offset: 4 4;
23848                }
23849                image {
23850                   normal: "bt_sm_base1.png";
23851                   border: 6 6 6 6;
23852                }
23853                image.middle: SOLID;
23854             }
23855             description { state: "selected" 0.0;
23856                inherit: "default" 0.0;
23857                visible: 1;
23858                color: 255 255 255 255;
23859                rel1 {
23860                   relative: 0.0 0.0;
23861                   offset: -2 -2;
23862                }
23863                rel2 {
23864                   relative: 1.0 1.0;
23865                   offset: 1 1;
23866                }
23867             }
23868          }
23869          part { name: "elm.swallow.pad";
23870             type: SWALLOW;
23871             description { state: "default" 0.0;
23872                fixed: 1 0;
23873                align: 0.0 0.5;
23874                rel1 {
23875                   relative: 0.0  0.0;
23876                   offset:   4    4;
23877                }
23878                rel2 {
23879                   relative: 0.0  1.0;
23880                   offset:   4   -5;
23881                }
23882             }
23883          }
23884          part { name: "arrow";
23885             clip_to: "disclip";
23886             ignore_flags: ON_HOLD;
23887             description { state: "default" 0.0;
23888                fixed: 1 0;
23889                align: 0.0 0.5;
23890                aspect: 1.0 1.0;
23891                rel1 {
23892                   to_x: "elm.swallow.pad";
23893                   relative: 1.0  0.0;
23894                   offset:   -1    4;
23895                }
23896                rel2 {
23897                   to_x: "elm.swallow.pad";
23898                   relative: 1.0  1.0;
23899                   offset:   -1   -5;
23900                }
23901                image.normal: "icon_arrow_right.png";
23902             }
23903             description { state: "active" 0.0;
23904                inherit: "default" 0.0;
23905                image.normal: "icon_arrow_down.png";
23906             }
23907          }
23908          part { name: "elm.swallow.icon";
23909             clip_to: "disclip";
23910             type: SWALLOW;
23911             description { state: "default" 0.0;
23912                fixed: 1 0;
23913                align: 0.5 0.5;
23914                rel1 {
23915                   to_x: "arrow";
23916                   relative: 1.0  0.0;
23917                   offset:   4    4;
23918                }
23919                rel2 {
23920                   relative: 1.0  1.0;
23921                   offset:   -4   -5;
23922                }
23923             }
23924          }
23925          part { name: "elm.text";
23926             clip_to: "disclip";
23927             type:           TEXT;
23928             effect:         SOFT_SHADOW;
23929             mouse_events:   0;
23930             scale: 1;
23931             description {
23932                state: "default" 0.0;
23933 //               min: 16 16;
23934                rel1 {
23935                   to_y:     "elm.swallow.icon";
23936                   relative: 0.0  1.0;
23937                   offset:   0 4;
23938                }
23939                rel2 {
23940                   relative: 1.0  1.0;
23941                   offset:   -5 -5;
23942                }
23943                color: 0 0 0 255;
23944                color3: 0 0 0 0;
23945                text {
23946                   font: "Sans";
23947                   size: 10;
23948                   min: 1 1;
23949 //                  min: 0 1;
23950                   align: 0.5 0.5;
23951                   text_class: "list_item";
23952                }
23953             }
23954             description { state: "selected" 0.0;
23955                inherit: "default" 0.0;
23956                color: 224 224 224 255;
23957                color3: 0 0 0 64;
23958             }
23959          }
23960          part { name: "fg1";
23961             clip_to: "disclip";
23962             mouse_events: 0;
23963             description { state: "default" 0.0;
23964                visible: 0;
23965                color: 255 255 255 0;
23966                rel1.to: "bg";
23967                rel2.relative: 1.0 0.5;
23968                rel2.to: "bg";
23969                image {
23970                   normal: "bt_sm_hilight.png";
23971                   border: 6 6 6 0;
23972                }
23973             }
23974             description { state: "selected" 0.0;
23975                inherit: "default" 0.0;
23976                visible: 1;
23977                color: 255 255 255 255;
23978             }
23979          }
23980          part { name: "fg2";
23981             clip_to: "disclip";
23982             mouse_events: 0;
23983             description { state: "default" 0.0;
23984                visible: 0;
23985                color: 255 255 255 0;
23986                rel1.to: "bg";
23987                rel2.to: "bg";
23988                image {
23989                   normal: "bt_sm_shine.png";
23990                   border: 6 6 6 0;
23991                }
23992             }
23993             description { state: "selected" 0.0;
23994                inherit: "default" 0.0;
23995                visible: 1;
23996                color: 255 255 255 255;
23997             }
23998          }
23999          part { name: "disclip";
24000             type: RECT;
24001             description { state: "default" 0.0;
24002                rel1.to: "bg";
24003                rel2.to: "bg";
24004             }
24005             description { state: "disabled" 0.0;
24006                inherit: "default" 0.0;
24007                color: 255 255 255 64;
24008             }
24009          }
24010       }
24011       programs {
24012          // signal: elm,state,%s,active
24013          //   a "check" item named %s went active
24014          // signal: elm,state,%s,passive
24015          //   a "check" item named %s went passive
24016          // default is passive
24017          program {
24018             name:    "go_active";
24019             signal:  "elm,state,selected";
24020             source:  "elm";
24021             action:  STATE_SET "selected" 0.0;
24022             target:  "bg";
24023             target:  "fg1";
24024             target:  "fg2";
24025             target:  "elm.text";
24026          }
24027          program {
24028             name:    "go_passive";
24029             signal:  "elm,state,unselected";
24030             source:  "elm";
24031             action:  STATE_SET "default" 0.0;
24032             target:  "bg";
24033             target:  "fg1";
24034             target:  "fg2";
24035             target:  "elm.text";
24036             transition: LINEAR 0.1;
24037          }
24038          program {
24039             name:    "go_disabled";
24040             signal:  "elm,state,disabled";
24041             source:  "elm";
24042             action:  STATE_SET "disabled" 0.0;
24043             target:  "disclip";
24044          }
24045          program {
24046             name:    "go_enabled";
24047             signal:  "elm,state,enabled";
24048             source:  "elm";
24049             action:  STATE_SET "default" 0.0;
24050             target:  "disclip";
24051          }
24052          program {
24053             name:    "expand";
24054             signal:  "mouse,up,1";
24055             source:  "arrow";
24056             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24057          }
24058          program {
24059             name:    "go_expanded";
24060             signal:  "elm,state,expanded";
24061             source:  "elm";
24062             action:  STATE_SET "active" 0.0;
24063             target:  "arrow";
24064          }
24065          program {
24066             name:    "go_contracted";
24067             signal:  "elm,state,contracted";
24068             source:  "elm";
24069             action:  STATE_SET "default" 0.0;
24070             target:  "arrow";
24071          }
24072       }
24073    }
24074
24075
24076 ///////////////////////////////////////////////////////////////////////////////
24077    group { name: "elm/check/base/default";
24078       images {
24079          image: "check_base.png" COMP;
24080          image: "check.png" COMP;
24081          image: "check2.png" COMP;
24082       }
24083       parts {
24084          part { name: "bg";
24085             mouse_events: 0;
24086             scale: 1;
24087             description { state: "default" 0.0;
24088                rel1.offset: 1 1;
24089                rel2.relative: 0.0 1.0;
24090                rel2.offset: 1 -2;
24091                align: 0.0 0.5;
24092                min: 16 16;
24093                max: 16 16;
24094                aspect: 1.0 1.0;
24095                aspect_preference: VERTICAL;
24096                image {
24097                   normal: "check_base.png";
24098                   border: 5 5 5 5;
24099                   middle: 0;
24100                }
24101                fill.smooth : 0;
24102             }
24103          }
24104          part { name: "check";
24105             mouse_events: 0;
24106             scale: 1;
24107             description { state: "default" 0.0;
24108                rel1 {
24109                   to: "bg";
24110                   offset: 1 1;
24111                }
24112                rel2 {
24113                   to: "bg";
24114                   offset: -2 -2;
24115                }
24116                visible: 0;
24117                color: 255 255 255 255;
24118                image.normal: "check.png";
24119             }
24120             description { state: "visible" 0.0;
24121                inherit: "default" 0.0;
24122                visible: 1;
24123             }
24124             description { state: "disabled" 0.0;
24125                inherit: "default" 0.0;
24126                visible: 0;
24127                color: 128 128 128 128;
24128             }
24129             description { state: "disabled_visible" 0.0;
24130                inherit: "default" 0.0;
24131                color: 128 128 128 128;
24132                visible: 1;
24133             }
24134          }
24135          part { name: "elm.swallow.content";
24136             type: SWALLOW;
24137             description { state: "default" 0.0;
24138                fixed: 1 0;
24139                visible: 0;
24140                align: 0.0 0.5;
24141           rel1.to_x: "bg";
24142                rel1.relative: 1.0 0.0;
24143                rel1.offset: 1 1;
24144           rel2.to_x: "bg";
24145                rel2.offset: 1 -2;
24146                rel2.relative: 1.0 1.0;
24147             }
24148             description { state: "visible" 0.0;
24149                inherit: "default" 0.0;
24150           fixed: 1 0;
24151                visible: 1;
24152                aspect: 1.0 1.0;
24153             }
24154             description { state: "disabled" 0.0;
24155                inherit: "default" 0.0;
24156                color: 128 128 128 128;
24157             }
24158             description { state: "disabled_visible" 0.0;
24159                inherit: "default" 0.0;
24160                color: 128 128 128 128;
24161           fixed: 1 0;
24162                visible: 1;
24163                aspect: 1.0 1.0;
24164             }
24165          }
24166          part { name: "elm.text";
24167             type: TEXT;
24168             mouse_events: 0;
24169             scale: 1;
24170             description { state: "default" 0.0;
24171                visible: 0;
24172                rel1.to_x: "elm.swallow.content";
24173                rel1.relative: 1.0 0.0;
24174                rel1.offset: 1 1;
24175                rel2.relative: 1.0 1.0;
24176                rel2.offset: -2 -2;
24177                color: 0 0 0 255;
24178                text {
24179                   font: "Sans,Edje-Vera";
24180                   size: 10;
24181                   min: 0 1;
24182                   align: -1.0 0.5;
24183                }
24184             }
24185             description { state: "visible" 0.0;
24186                inherit: "default" 0.0;
24187                visible: 1;
24188                text.min: 1 1;
24189             }
24190             description { state: "disabled" 0.0;
24191                inherit: "default" 0.0;
24192                color: 0 0 0 128;
24193                color3: 0 0 0 0;
24194             }
24195             description { state: "disabled_visible" 0.0;
24196                inherit: "default" 0.0;
24197                color: 0 0 0 128;
24198                color3: 0 0 0 0;
24199                visible: 1;
24200                text.min: 1 1;
24201             }
24202          }
24203          part { name: "events";
24204             type: RECT;
24205             ignore_flags: ON_HOLD;
24206             description { state: "default" 0.0;
24207                color: 0 0 0 0;
24208             }
24209          }
24210           part { name: "disabler";
24211             type: RECT;
24212             description { state: "default" 0.0;
24213                color: 0 0 0 0;
24214                visible: 0;
24215             }
24216             description { state: "disabled" 0.0;
24217                inherit: "default" 0.0;
24218                visible: 1;
24219             }
24220          }
24221       }
24222       programs {
24223          program { name: "click";
24224             signal: "mouse,up,1";
24225             source: "events";
24226             action: SIGNAL_EMIT "elm,action,check,toggle" "";
24227          }
24228          program { name: "check_on";
24229             signal: "elm,state,check,on";
24230             source: "elm";
24231             action:  STATE_SET "visible" 0.0;
24232             target: "check";
24233          }
24234          program { name: "check_off";
24235             signal: "elm,state,check,off";
24236             source: "elm";
24237             action:  STATE_SET "default" 0.0;
24238             target: "check";
24239          }
24240          program { name: "text_show";
24241             signal: "elm,state,text,visible";
24242             source: "elm";
24243             action:  STATE_SET "visible" 0.0;
24244             target: "elm.text";
24245          }
24246          program { name: "text_hide";
24247             signal: "elm,state,text,hidden";
24248             source: "elm";
24249             action:  STATE_SET "default" 0.0;
24250             target: "elm.text";
24251          }
24252          program { name: "icon_show";
24253             signal: "elm,state,icon,visible";
24254             source: "elm";
24255             action:  STATE_SET "visible" 0.0;
24256             target: "elm.swallow.content";
24257          }
24258          program { name: "icon_hide";
24259             signal: "elm,state,icon,hidden";
24260             source: "elm";
24261             action:  STATE_SET "default" 0.0;
24262             target: "elm.swallow.content";
24263          }
24264          program { name: "disable";
24265             signal: "elm,state,disabled";
24266             source: "elm";
24267             action: STATE_SET "disabled" 0.0;
24268             target: "disabler";
24269             after: "disable_text";
24270          }
24271          program { name: "disable_text";
24272             script {
24273                new st[31];
24274                new Float:vl;
24275                get_state(PART:"elm.text", st, 30, vl);
24276                if (!strcmp(st, "visible"))
24277                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24278                else
24279                  set_state(PART:"elm.text", "disabled", 0.0);
24280
24281                get_state(PART:"elm.swallow.content", st, 30, vl);
24282                if (!strcmp(st, "visible"))
24283                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24284                else
24285                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24286
24287                get_state(PART:"check", st, 30, vl);
24288                if (!strcmp(st, "visible"))
24289                  set_state(PART:"check", "disabled_visible", 0.0);
24290                else
24291                  set_state(PART:"check", "disabled", 0.0);
24292             }
24293          }
24294          program { name: "enable";
24295             signal: "elm,state,enabled";
24296             source: "elm";
24297             action: STATE_SET "default" 0.0;
24298             target: "disabler";
24299             after: "enable_text";
24300          }
24301          program { name: "enable_text";
24302             script {
24303                new st[31];
24304                new Float:vl;
24305                get_state(PART:"elm.text", st, 30, vl);
24306                if (!strcmp(st, "disabled_visible"))
24307                  set_state(PART:"elm.text", "visible", 0.0);
24308                else
24309                  set_state(PART:"elm.text", "default", 0.0);
24310
24311                get_state(PART:"elm.swallow.content", st, 30, vl);
24312                if (!strcmp(st, "visible"))
24313                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24314                else
24315                  set_state(PART:"elm.swallow.content", "default", 0.0);
24316
24317                get_state(PART:"check", st, 30, vl);
24318                if (!strcmp(st, "visible"))
24319                  set_state(PART:"check", "visible", 0.0);
24320                else
24321                  set_state(PART:"check", "default", 0.0);
24322             }
24323          }
24324       }
24325    }
24326
24327 ///////////////////////////////////////////////////////////////////////////////
24328    group { name: "elm/radio/base/default";
24329       images {
24330          image: "radio_base.png" COMP;
24331          image: "radio.png" COMP;
24332          image: "radio2.png" COMP;
24333       }
24334       parts {
24335          part { name: "bg";
24336             mouse_events: 0;
24337             scale: 1;
24338             description { state: "default" 0.0;
24339                rel1.offset: 1 1;
24340                rel2.relative: 0.0 1.0;
24341                rel2.offset: 1 -2;
24342                align: 0.0 0.5;
24343                min: 16 16;
24344                max: 16 16;
24345                aspect: 1.0 1.0;
24346                aspect_preference: VERTICAL;
24347                image.normal: "radio_base.png";
24348             }
24349          }
24350          part { name: "radio";
24351             mouse_events: 0;
24352             scale: 1;
24353             description { state: "default" 0.0;
24354                rel1.to: "bg";
24355                rel2.to: "bg";
24356                visible: 0;
24357                image.normal: "radio.png";
24358             }
24359             description { state: "visible" 0.0;
24360                inherit: "default" 0.0;
24361                visible: 1;
24362             }
24363          }
24364          part { name: "elm.swallow.content";
24365             type: SWALLOW;
24366             description { state: "default" 0.0;
24367                fixed: 1 0;
24368                visible: 0;
24369                align: 0.0 0.5;
24370                color: 0 0 0 0;
24371                rel1.to_x: "bg";
24372                rel1.relative: 1.0 0.0;
24373                rel1.offset: 1 1;
24374                rel2.to_x: "bg";
24375                rel2.relative: 1.0 1.0;
24376                rel2.offset: 2 -2;
24377             }
24378             description { state: "visible" 0.0;
24379                inherit: "default" 0.0;
24380                visible: 1;
24381                color: 255 255 255 255;
24382                aspect: 1.0 1.0;
24383             }
24384             description { state: "disabled" 0.0;
24385                inherit: "default" 0.0;
24386                color: 128 128 128 128;
24387             }
24388             description { state: "disabled_visible" 0.0;
24389                inherit: "default" 0.0;
24390                color: 128 128 128 128;
24391                visible: 1;
24392                aspect: 1.0 1.0;
24393             }
24394          }
24395          part { name: "elm.text";
24396             type: TEXT;
24397             mouse_events: 0;
24398             scale: 1;
24399             description { state: "default" 0.0;
24400                visible: 0;
24401                rel1.to_x: "elm.swallow.content";
24402                rel1.relative: 1.0 0.0;
24403                rel1.offset: 1 1;
24404                rel2.relative: 1.0 1.0;
24405                rel2.offset: -2 -2;
24406                color: 0 0 0 255;
24407                text {
24408                   font: "Sans,Edje-Vera";
24409                   size: 10;
24410                   min: 0 0;
24411                   align: -1.0 0.5;
24412                }
24413             }
24414             description { state: "visible" 0.0;
24415                inherit: "default" 0.0;
24416                visible: 1;
24417                text.min: 1 1;
24418             }
24419             description { state: "disabled" 0.0;
24420                inherit: "default" 0.0;
24421                color: 0 0 0 128;
24422                color3: 0 0 0 0;
24423             }
24424             description { state: "disabled_visible" 0.0;
24425                inherit: "default" 0.0;
24426                color: 0 0 0 128;
24427                color3: 0 0 0 0;
24428                visible: 1;
24429                text.min: 1 1;
24430             }
24431          }
24432          part { name: "events";
24433             type: RECT;
24434             ignore_flags: ON_HOLD;
24435             description { state: "default" 0.0;
24436                color: 0 0 0 0;
24437             }
24438          }
24439           part { name: "disabler";
24440             type: RECT;
24441             description { state: "default" 0.0;
24442                color: 0 0 0 0;
24443                visible: 0;
24444             }
24445             description { state: "disabled" 0.0;
24446                inherit: "default" 0.0;
24447                visible: 1;
24448             }
24449          }
24450       }
24451       programs {
24452          program { name: "click";
24453             signal: "mouse,up,1";
24454             source: "events";
24455             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
24456          }
24457          program { name: "radio_on";
24458             signal: "elm,state,radio,on";
24459             source: "elm";
24460             action:  STATE_SET "visible" 0.0;
24461             target: "radio";
24462          }
24463          program { name: "radio_off";
24464             signal: "elm,state,radio,off";
24465             source: "elm";
24466             action:  STATE_SET "default" 0.0;
24467             target: "radio";
24468          }
24469          program { name: "text_show";
24470             signal: "elm,state,text,visible";
24471             source: "elm";
24472             action:  STATE_SET "visible" 0.0;
24473             target: "elm.text";
24474          }
24475          program { name: "text_hide";
24476             signal: "elm,state,text,hidden";
24477             source: "elm";
24478             action:  STATE_SET "default" 0.0;
24479             target: "elm.text";
24480          }
24481          program { name: "icon_show";
24482             signal: "elm,state,icon,visible";
24483             source: "elm";
24484             action:  STATE_SET "visible" 0.0;
24485             target: "elm.swallow.content";
24486          }
24487          program { name: "icon_hide";
24488             signal: "elm,state,icon,hidden";
24489             source: "elm";
24490             action:  STATE_SET "default" 0.0;
24491             target: "elm.swallow.content";
24492          }
24493          program { name: "disable";
24494             signal: "elm,state,disabled";
24495             source: "elm";
24496             action: STATE_SET "disabled" 0.0;
24497             target: "disabler";
24498             after: "disable_text";
24499          }
24500          program { name: "disable_text";
24501             script {
24502                new st[31];
24503                new Float:vl;
24504                get_state(PART:"elm.text", st, 30, vl);
24505                if (!strcmp(st, "visible"))
24506                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24507                else
24508                  set_state(PART:"elm.text", "disabled", 0.0);
24509
24510                get_state(PART:"elm.swallow.content", st, 30, vl);
24511                if (!strcmp(st, "visible"))
24512                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24513                else
24514                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24515             }
24516          }
24517          program { name: "enable";
24518             signal: "elm,state,enabled";
24519             source: "elm";
24520             action: STATE_SET "default" 0.0;
24521             target: "disabler";
24522             after: "enable_text";
24523          }
24524          program { name: "enable_text";
24525             script {
24526                new st[31];
24527                new Float:vl;
24528                get_state(PART:"elm.text", st, 30, vl);
24529                if (!strcmp(st, "disabled_visible"))
24530                  set_state(PART:"elm.text", "visible", 0.0);
24531                else
24532                  set_state(PART:"elm.text", "default", 0.0);
24533
24534                get_state(PART:"elm.swallow.content", st, 30, vl);
24535                if (!strcmp(st, "visible"))
24536                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24537                else
24538                  set_state(PART:"elm.swallow.content", "default", 0.0);
24539             }
24540          }
24541       }
24542    }
24543
24544    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24545       data.item: "stacking" "below";
24546       data.item: "selectraise" "on";
24547       data.item: "labels" "elm.text elm.text.sub";
24548       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24549       data.item: "treesize" "20";
24550 //      data.item: "states" "";
24551       images {
24552          image: "bt_sm_base1.png" COMP;
24553          image: "bt_sm_shine.png" COMP;
24554          image: "bt_sm_hilight.png" COMP;
24555          image: "ilist_2.png" COMP;
24556          image: "icon_arrow_right.png" COMP;
24557          image: "icon_arrow_down.png" COMP;
24558       }
24559       parts {
24560          part {
24561             name:           "event";
24562             type:           RECT;
24563             repeat_events: 1;
24564             description {
24565                state: "default" 0.0;
24566                color: 0 0 0 0;
24567             }
24568          }
24569          part {
24570             name: "base";
24571             mouse_events: 0;
24572             description {
24573                state: "default" 0.0;
24574                image {
24575                   normal: "ilist_2.png";
24576                   border: 2 2 2 2;
24577                }
24578                fill.smooth: 0;
24579             }
24580          }
24581          part { name: "bg";
24582             clip_to: "disclip";
24583             mouse_events: 0;
24584             description { state: "default" 0.0;
24585                visible: 0;
24586                color: 255 255 255 0;
24587                rel1 {
24588                   relative: 0.0 0.0;
24589                   offset: -5 -5;
24590                }
24591                rel2 {
24592                   relative: 1.0 1.0;
24593                   offset: 4 4;
24594                }
24595                image {
24596                   normal: "bt_sm_base1.png";
24597                   border: 6 6 6 6;
24598                }
24599                image.middle: SOLID;
24600             }
24601             description { state: "selected" 0.0;
24602                inherit: "default" 0.0;
24603                visible: 1;
24604                color: 255 255 255 255;
24605                rel1 {
24606                   relative: 0.0 0.0;
24607                   offset: -2 -2;
24608                }
24609                rel2 {
24610                   relative: 1.0 1.0;
24611                   offset: 1 1;
24612                }
24613             }
24614          }
24615          part { name: "elm.swallow.pad";
24616             type: SWALLOW;
24617             description { state: "default" 0.0;
24618                fixed: 1 0;
24619                align: 0.0 0.5;
24620                rel1 {
24621                   relative: 0.0  0.0;
24622                   offset:   4    4;
24623                }
24624                rel2 {
24625                   relative: 0.0  1.0;
24626                   offset:   4   -5;
24627                }
24628             }
24629          }
24630          part { name: "arrow";
24631             clip_to: "disclip";
24632             ignore_flags: ON_HOLD;
24633             description { state: "default" 0.0;
24634                fixed: 1 0;
24635                align: 0.0 0.5;
24636                aspect: 1.0 1.0;
24637                rel1 {
24638                   to_x: "elm.swallow.pad";
24639                   relative: 1.0  0.0;
24640                   offset:   -1    4;
24641                }
24642                rel2 {
24643                   to_x: "elm.swallow.pad";
24644                   relative: 1.0  1.0;
24645                   offset:   -1   -5;
24646                }
24647                image.normal: "icon_arrow_right.png";
24648             }
24649             description { state: "active" 0.0;
24650                inherit: "default" 0.0;
24651                image.normal: "icon_arrow_down.png";
24652             }
24653          }
24654          part { name: "elm.swallow.icon";
24655             clip_to: "disclip";
24656             type: SWALLOW;
24657             description { state: "default" 0.0;
24658                fixed: 1 0;
24659                align: 0.0 0.5;
24660                rel1 {
24661                   to_x: "arrow";
24662                   relative: 1.0  0.0;
24663                   offset:   4    4;
24664                }
24665                rel2 {
24666                   to_x: "arrow";
24667                   relative: 1.0  1.0;
24668                   offset:   4   -5;
24669                }
24670             }
24671          }
24672          part { name: "elm.swallow.end";
24673             clip_to: "disclip";
24674             type: SWALLOW;
24675             description { state: "default" 0.0;
24676                fixed: 1 0;
24677                align: 1.0 0.5;
24678                aspect: 1.0 1.0;
24679                aspect_preference: VERTICAL;
24680                rel1 {
24681                   relative: 1.0  0.0;
24682                   offset:   -5    4;
24683                }
24684                rel2 {
24685                   relative: 1.0  1.0;
24686                   offset:   -5   -5;
24687                }
24688             }
24689          }
24690          part { name: "elm.text";
24691             clip_to: "disclip";
24692             type:           TEXT;
24693             effect:         SOFT_SHADOW;
24694             mouse_events:   0;
24695             scale: 1;
24696             description {
24697                state: "default" 0.0;
24698 //               min: 16 16;
24699                rel1 {
24700                   to_x:     "elm.swallow.icon";
24701                   relative: 1.0  0.0;
24702                   offset:   0 4;
24703                }
24704                rel2 {
24705                   to_x:     "elm.swallow.end";
24706                   relative: 0.0  0.5;
24707                   offset:   -1 -5;
24708                }
24709                color: 0 0 0 255;
24710                color3: 0 0 0 0;
24711                text {
24712                   font: "Sans";
24713                   size: 10;
24714 //                  min: 1 1;
24715                   min: 0 1;
24716                   align: 0.0 0.5;
24717                   text_class: "list_item";
24718                }
24719             }
24720             description { state: "selected" 0.0;
24721                inherit: "default" 0.0;
24722                color: 224 224 224 255;
24723                color3: 0 0 0 64;
24724             }
24725          }
24726          part { name: "elm.text.sub";
24727             clip_to: "disclip";
24728             type:           TEXT;
24729             mouse_events:   0;
24730             scale: 1;
24731             description {
24732                state: "default" 0.0;
24733 //               min: 16 16;
24734                rel1 {
24735                   to_x:     "elm.swallow.icon";
24736                   relative: 1.0  0.5;
24737                   offset:   0 4;
24738                }
24739                rel2 {
24740                   to_x:     "elm.swallow.end";
24741                   relative: 0.0  1.0;
24742                   offset:   -1 -5;
24743                }
24744                color: 0 0 0 128;
24745                color3: 0 0 0 0;
24746                text {
24747                   font: "Sans";
24748                   size: 8;
24749 //                  min: 1 1;
24750                   min: 0 1;
24751                   align: 0.0 0.5;
24752                   text_class: "list_item";
24753                }
24754             }
24755             description { state: "selected" 0.0;
24756                inherit: "default" 0.0;
24757                color: 128 128 128 255;
24758                color3: 0 0 0 32;
24759             }
24760          }
24761          part { name: "fg1";
24762             clip_to: "disclip";
24763             mouse_events: 0;
24764             description { state: "default" 0.0;
24765                visible: 0;
24766                color: 255 255 255 0;
24767                rel1.to: "bg";
24768                rel2.relative: 1.0 0.5;
24769                rel2.to: "bg";
24770                image {
24771                   normal: "bt_sm_hilight.png";
24772                   border: 6 6 6 0;
24773                }
24774             }
24775             description { state: "selected" 0.0;
24776                inherit: "default" 0.0;
24777                visible: 1;
24778                color: 255 255 255 255;
24779             }
24780          }
24781          part { name: "fg2";
24782             clip_to: "disclip";
24783             mouse_events: 0;
24784             description { state: "default" 0.0;
24785                visible: 0;
24786                color: 255 255 255 0;
24787                rel1.to: "bg";
24788                rel2.to: "bg";
24789                image {
24790                   normal: "bt_sm_shine.png";
24791                   border: 6 6 6 0;
24792                }
24793             }
24794             description { state: "selected" 0.0;
24795                inherit: "default" 0.0;
24796                visible: 1;
24797                color: 255 255 255 255;
24798             }
24799          }
24800          part { name: "disclip";
24801             type: RECT;
24802             description { state: "default" 0.0;
24803                rel1.to: "bg";
24804                rel2.to: "bg";
24805             }
24806             description { state: "disabled" 0.0;
24807                inherit: "default" 0.0;
24808                color: 255 255 255 64;
24809             }
24810          }
24811       }
24812       programs {
24813          // signal: elm,state,%s,active
24814          //   a "check" item named %s went active
24815          // signal: elm,state,%s,passive
24816          //   a "check" item named %s went passive
24817          // default is passive
24818          program {
24819             name:    "go_active";
24820             signal:  "elm,state,selected";
24821             source:  "elm";
24822             action:  STATE_SET "selected" 0.0;
24823             target:  "bg";
24824             target:  "fg1";
24825             target:  "fg2";
24826             target:  "elm.text";
24827             target:  "elm.text.sub";
24828          }
24829          program {
24830             name:    "go_passive";
24831             signal:  "elm,state,unselected";
24832             source:  "elm";
24833             action:  STATE_SET "default" 0.0;
24834             target:  "bg";
24835             target:  "fg1";
24836             target:  "fg2";
24837             target:  "elm.text";
24838             target:  "elm.text.sub";
24839             transition: LINEAR 0.1;
24840          }
24841          program {
24842             name:    "go_disabled";
24843             signal:  "elm,state,disabled";
24844             source:  "elm";
24845             action:  STATE_SET "disabled" 0.0;
24846             target:  "disclip";
24847          }
24848          program {
24849             name:    "go_enabled";
24850             signal:  "elm,state,enabled";
24851             source:  "elm";
24852             action:  STATE_SET "default" 0.0;
24853             target:  "disclip";
24854          }
24855          program {
24856             name:    "expand";
24857             signal:  "mouse,up,1";
24858             source:  "arrow";
24859             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24860          }
24861          program {
24862             name:    "go_expanded";
24863             signal:  "elm,state,expanded";
24864             source:  "elm";
24865             action:  STATE_SET "active" 0.0;
24866             target:  "arrow";
24867          }
24868          program {
24869             name:    "go_contracted";
24870             signal:  "elm,state,contracted";
24871             source:  "elm";
24872             action:  STATE_SET "default" 0.0;
24873             target:  "arrow";
24874          }
24875       }
24876    }
24877
24878    group { name: "elm/genlist/item_compress/media/default";
24879       data.item: "stacking" "above";
24880       data.item: "selectraise" "on";
24881       data.item: "labels" "elm.text.title elm.text.album-artist";
24882       data.item: "treesize" "20";
24883       images {
24884          image: "bt_sm_base1.png" COMP;
24885          image: "bt_sm_shine.png" COMP;
24886          image: "bt_sm_hilight.png" COMP;
24887          image: "ilist_1.png" COMP;
24888          image: "ilist_item_shadow.png" COMP;
24889       }
24890       parts {
24891          part {
24892             name:           "event";
24893             type:           RECT;
24894             repeat_events: 1;
24895             description {
24896                state: "default" 0.0;
24897                color: 0 0 0 0;
24898             }
24899          }
24900          part {
24901             name: "base_sh";
24902             mouse_events: 0;
24903             description {
24904                state: "default" 0.0;
24905                align: 0.0 0.0;
24906                min: 0 10;
24907                fixed: 1 1;
24908                rel1 {
24909                   to: "base";
24910                   relative: 0.0 1.0;
24911                   offset: 0 0;
24912                }
24913                rel2 {
24914                   to: "base";
24915                   relative: 1.0 1.0;
24916                   offset: -1 0;
24917                }
24918                image {
24919                   normal: "ilist_item_shadow.png";
24920                }
24921                fill.smooth: 0;
24922             }
24923          }
24924          part {
24925             name: "base";
24926             mouse_events: 0;
24927             description {
24928                state: "default" 0.0;
24929                image {
24930                   normal: "ilist_1.png";
24931                   border: 2 2 2 2;
24932                }
24933                fill.smooth: 0;
24934             }
24935          }
24936          part { name: "bg";
24937             clip_to: "disclip";
24938             mouse_events: 0;
24939             description { state: "default" 0.0;
24940                visible: 0;
24941                color: 255 255 255 0;
24942                rel1 {
24943                   relative: 0.0 0.0;
24944                   offset: -5 -5;
24945                }
24946                rel2 {
24947                   relative: 1.0 1.0;
24948                   offset: 4 4;
24949                }
24950                image {
24951                   normal: "bt_sm_base1.png";
24952                   border: 6 6 6 6;
24953                }
24954                image.middle: SOLID;
24955             }
24956             description { state: "selected" 0.0;
24957                inherit: "default" 0.0;
24958                visible: 1;
24959                color: 255 255 255 255;
24960                rel1 {
24961                   relative: 0.0 0.0;
24962                   offset: -2 -2;
24963                }
24964                rel2 {
24965                   relative: 1.0 1.0;
24966                   offset: 1 1;
24967                }
24968             }
24969          }
24970          part { name: "elm.swallow.pad";
24971             type: SWALLOW;
24972             description { state: "default" 0.0;
24973                fixed: 1 0;
24974                align: 0.0 0.5;
24975                rel1 {
24976                   relative: 0.0  0.0;
24977                   offset:   4    4;
24978                }
24979                rel2 {
24980                   relative: 0.0  1.0;
24981                   offset:   4   -5;
24982                }
24983             }
24984          }
24985          part { name: "elm.text.title";
24986             clip_to: "disclip";
24987             type:           TEXT;
24988             effect:         SOFT_SHADOW;
24989             mouse_events:   0;
24990             scale: 1;
24991             description {
24992                state: "default" 0.0;
24993                rel1 {
24994                   relative: 0.0  0.0;
24995                   offset:   4 4;
24996                }
24997                rel2 {
24998                   relative: 1.0  0.5;
24999                   offset:   -1 -5;
25000                }
25001                color: 0 0 0 255;
25002                color3: 0 0 0 0;
25003                text {
25004                   font: "Sans";
25005                   size: 10;
25006                   min: 0 1;
25007                   align: 0.0 0.5;
25008                }
25009             }
25010             description { state: "selected" 0.0;
25011                inherit: "default" 0.0;
25012                color: 224 224 224 255;
25013                color3: 0 0 0 64;
25014             }
25015          }
25016          part { name: "elm.text.album-artist";
25017             clip_to: "disclip";
25018             type:           TEXT;
25019             mouse_events:   0;
25020             scale: 1;
25021             description {
25022                state: "default" 0.0;
25023                rel1 {
25024                   relative: 0.0  0.5;
25025                   offset:   4 4;
25026                }
25027                rel2 {
25028                   relative: 1.0  1.0;
25029                   offset:   -1 -5;
25030                }
25031                color: 0 0 0 128;
25032                color3: 0 0 0 0;
25033                text {
25034                   font: "Sans";
25035                   size: 8;
25036                   min: 0 1;
25037                   align: 0.0 0.5;
25038                }
25039             }
25040             description { state: "selected" 0.0;
25041                inherit: "default" 0.0;
25042                color: 128 128 128 255;
25043                color3: 0 0 0 32;
25044             }
25045          }
25046          part { name: "fg1";
25047             clip_to: "disclip";
25048             mouse_events: 0;
25049             description { state: "default" 0.0;
25050                visible: 0;
25051                color: 255 255 255 0;
25052                rel1.to: "bg";
25053                rel2.relative: 1.0 0.5;
25054                rel2.to: "bg";
25055                image {
25056                   normal: "bt_sm_hilight.png";
25057                   border: 6 6 6 0;
25058                }
25059             }
25060             description { state: "selected" 0.0;
25061                inherit: "default" 0.0;
25062                visible: 1;
25063                color: 255 255 255 255;
25064             }
25065          }
25066          part { name: "fg2";
25067             clip_to: "disclip";
25068             mouse_events: 0;
25069             description { state: "default" 0.0;
25070                visible: 0;
25071                color: 255 255 255 0;
25072                rel1.to: "bg";
25073                rel2.to: "bg";
25074                image {
25075                   normal: "bt_sm_shine.png";
25076                   border: 6 6 6 0;
25077                }
25078             }
25079             description { state: "selected" 0.0;
25080                inherit: "default" 0.0;
25081                visible: 1;
25082                color: 255 255 255 255;
25083             }
25084          }
25085          part { name: "disclip";
25086             type: RECT;
25087             description { state: "default" 0.0;
25088                rel1.to: "bg";
25089                rel2.to: "bg";
25090             }
25091             description { state: "disabled" 0.0;
25092                inherit: "default" 0.0;
25093                color: 255 255 255 64;
25094             }
25095          }
25096       }
25097       programs {
25098          // signal: elm,state,%s,active
25099          //   a "check" item named %s went active
25100          // signal: elm,state,%s,passive
25101          //   a "check" item named %s went passive
25102          // default is passive
25103          program {
25104             name:    "go_active";
25105             signal:  "elm,state,selected";
25106             source:  "elm";
25107             action:  STATE_SET "selected" 0.0;
25108             target:  "bg";
25109             target:  "fg1";
25110             target:  "fg2";
25111             target:  "elm.text.title";
25112             target:  "elm.text.album-artist";
25113          }
25114          program {
25115             name:    "go_passive";
25116             signal:  "elm,state,unselected";
25117             source:  "elm";
25118             action:  STATE_SET "default" 0.0;
25119             target:  "bg";
25120             target:  "fg1";
25121             target:  "fg2";
25122             target:  "elm.text.title";
25123             target:  "elm.text.album-artist";
25124             transition: LINEAR 0.1;
25125          }
25126          program {
25127             name:    "go_disabled";
25128             signal:  "elm,state,disabled";
25129             source:  "elm";
25130             action:  STATE_SET "disabled" 0.0;
25131             target:  "disclip";
25132          }
25133          program {
25134             name:    "go_enabled";
25135             signal:  "elm,state,enabled";
25136             source:  "elm";
25137             action:  STATE_SET "default" 0.0;
25138             target:  "disclip";
25139          }
25140       }
25141    }
25142    group { name: "elm/genlist/item_compress_odd/media/default";
25143       data.item: "stacking" "below";
25144       data.item: "selectraise" "on";
25145       data.item: "labels" "elm.text.title elm.text.album-artist";
25146       data.item: "treesize" "20";
25147       images {
25148          image: "bt_sm_base1.png" COMP;
25149          image: "bt_sm_shine.png" COMP;
25150          image: "bt_sm_hilight.png" COMP;
25151          image: "ilist_2.png" COMP;
25152       }
25153       parts {
25154          part { name: "event";
25155             type: RECT;
25156             repeat_events: 1;
25157             description {
25158                state: "default" 0.0;
25159                color: 0 0 0 0;
25160             }
25161          }
25162          part {
25163             name: "base";
25164             mouse_events: 0;
25165             description {
25166                state: "default" 0.0;
25167                image {
25168                   normal: "ilist_2.png";
25169                   border: 2 2 2 2;
25170                }
25171                fill.smooth: 0;
25172             }
25173          }
25174          part { name: "bg";
25175             clip_to: "disclip";
25176             mouse_events: 0;
25177             description { state: "default" 0.0;
25178                visible: 0;
25179                color: 255 255 255 0;
25180                rel1 {
25181                   relative: 0.0 0.0;
25182                   offset: -5 -5;
25183                }
25184                rel2 {
25185                   relative: 1.0 1.0;
25186                   offset: 4 4;
25187                }
25188                image {
25189                   normal: "bt_sm_base1.png";
25190                   border: 6 6 6 6;
25191                }
25192                image.middle: SOLID;
25193             }
25194             description { state: "selected" 0.0;
25195                inherit: "default" 0.0;
25196                visible: 1;
25197                color: 255 255 255 255;
25198                rel1 {
25199                   relative: 0.0 0.0;
25200                   offset: -2 -2;
25201                }
25202                rel2 {
25203                   relative: 1.0 1.0;
25204                   offset: 1 1;
25205                }
25206             }
25207          }
25208          part { name: "elm.swallow.pad";
25209             type: SWALLOW;
25210             description { state: "default" 0.0;
25211                fixed: 1 0;
25212                align: 0.0 0.5;
25213                rel1 {
25214                   relative: 0.0  0.0;
25215                   offset:   4    4;
25216                }
25217                rel2 {
25218                   relative: 0.0  1.0;
25219                   offset:   4   -5;
25220                }
25221             }
25222          }
25223          part { name: "elm.text.title";
25224             clip_to: "disclip";
25225             type:           TEXT;
25226             effect:         SOFT_SHADOW;
25227             mouse_events:   0;
25228             scale: 1;
25229             description {
25230                state: "default" 0.0;
25231                rel1 {
25232                   relative: 0.0  0.0;
25233                   offset:   4 4;
25234                }
25235                rel2 {
25236                   relative: 1.0  0.5;
25237                   offset:   -1 -5;
25238                }
25239                color: 0 0 0 255;
25240                color3: 0 0 0 0;
25241                text {
25242                   font: "Sans";
25243                   size: 10;
25244                   min: 0 1;
25245                   align: 0.0 0.5;
25246                }
25247             }
25248             description { state: "selected" 0.0;
25249                inherit: "default" 0.0;
25250                color: 224 224 224 255;
25251                color3: 0 0 0 64;
25252             }
25253          }
25254          part { name: "elm.text.album-artist";
25255             clip_to: "disclip";
25256             type:           TEXT;
25257             mouse_events:   0;
25258             scale: 1;
25259             description {
25260                state: "default" 0.0;
25261                rel1 {
25262                   relative: 0.0  0.5;
25263                   offset:   4 4;
25264                }
25265                rel2 {
25266                   relative: 1.0  1.0;
25267                   offset:   -1 -5;
25268                }
25269                color: 0 0 0 128;
25270                color3: 0 0 0 0;
25271                text {
25272                   font: "Sans";
25273                   size: 8;
25274                   min: 0 1;
25275                   align: 0.0 0.5;
25276                }
25277             }
25278             description { state: "selected" 0.0;
25279                inherit: "default" 0.0;
25280                color: 128 128 128 255;
25281                color3: 0 0 0 32;
25282             }
25283          }
25284          part { name: "fg1";
25285             clip_to: "disclip";
25286             mouse_events: 0;
25287             description { state: "default" 0.0;
25288                visible: 0;
25289                color: 255 255 255 0;
25290                rel1.to: "bg";
25291                rel2.relative: 1.0 0.5;
25292                rel2.to: "bg";
25293                image {
25294                   normal: "bt_sm_hilight.png";
25295                   border: 6 6 6 0;
25296                }
25297             }
25298             description { state: "selected" 0.0;
25299                inherit: "default" 0.0;
25300                visible: 1;
25301                color: 255 255 255 255;
25302             }
25303          }
25304          part { name: "fg2";
25305             clip_to: "disclip";
25306             mouse_events: 0;
25307             description { state: "default" 0.0;
25308                visible: 0;
25309                color: 255 255 255 0;
25310                rel1.to: "bg";
25311                rel2.to: "bg";
25312                image {
25313                   normal: "bt_sm_shine.png";
25314                   border: 6 6 6 0;
25315                }
25316             }
25317             description { state: "selected" 0.0;
25318                inherit: "default" 0.0;
25319                visible: 1;
25320                color: 255 255 255 255;
25321             }
25322          }
25323          part { name: "disclip";
25324             type: RECT;
25325             description { state: "default" 0.0;
25326                rel1.to: "bg";
25327                rel2.to: "bg";
25328             }
25329             description { state: "disabled" 0.0;
25330                inherit: "default" 0.0;
25331                color: 255 255 255 64;
25332             }
25333          }
25334       }
25335       programs {
25336          // signal: elm,state,%s,active
25337          //   a "check" item named %s went active
25338          // signal: elm,state,%s,passive
25339          //   a "check" item named %s went passive
25340          // default is passive
25341          program {
25342             name:    "go_active";
25343             signal:  "elm,state,selected";
25344             source:  "elm";
25345             action:  STATE_SET "selected" 0.0;
25346             target:  "bg";
25347             target:  "fg1";
25348             target:  "fg2";
25349             target:  "elm.text.title";
25350             target:  "elm.text.album-artist";
25351          }
25352          program {
25353             name:    "go_passive";
25354             signal:  "elm,state,unselected";
25355             source:  "elm";
25356             action:  STATE_SET "default" 0.0;
25357             target:  "bg";
25358             target:  "fg1";
25359             target:  "fg2";
25360             target:  "elm.text.title";
25361             target:  "elm.text.album-artist";
25362             transition: LINEAR 0.1;
25363          }
25364          program {
25365             name:    "go_disabled";
25366             signal:  "elm,state,disabled";
25367             source:  "elm";
25368             action:  STATE_SET "disabled" 0.0;
25369             target:  "disclip";
25370          }
25371          program {
25372             name:    "go_enabled";
25373             signal:  "elm,state,enabled";
25374             source:  "elm";
25375             action:  STATE_SET "default" 0.0;
25376             target:  "disclip";
25377          }
25378       }
25379    }
25380
25381    group { name: "elm/genlist/item_compress/media-album/default";
25382       data.item: "stacking" "above";
25383       data.item: "selectraise" "on";
25384       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25385       data.item: "states" "elm.state.trackno";
25386       data.item: "treesize" "20";
25387       images {
25388          image: "bt_sm_base1.png" COMP;
25389          image: "bt_sm_shine.png" COMP;
25390          image: "bt_sm_hilight.png" COMP;
25391          image: "ilist_1.png" COMP;
25392          image: "ilist_item_shadow.png" COMP;
25393       }
25394       script {
25395          public dot_visible;
25396       }
25397       parts {
25398          part {
25399             name: "event";
25400             type: RECT;
25401             repeat_events: 1;
25402             description {
25403                state: "default" 0.0;
25404                color: 0 0 0 0;
25405             }
25406          }
25407          part {
25408             name: "base_sh";
25409             mouse_events: 0;
25410             description {
25411                state: "default" 0.0;
25412                align: 0.0 0.0;
25413                min: 0 10;
25414                fixed: 1 1;
25415                rel1 {
25416                   to: "base";
25417                   relative: 0.0 1.0;
25418                   offset: 0 0;
25419                }
25420                rel2 {
25421                   to: "base";
25422                   relative: 1.0 1.0;
25423                   offset: -1 0;
25424                }
25425                image {
25426                   normal: "ilist_item_shadow.png";
25427                }
25428                fill.smooth: 0;
25429             }
25430          }
25431          part {
25432             name: "base";
25433             mouse_events: 0;
25434             description {
25435                state: "default" 0.0;
25436                image {
25437                   normal: "ilist_1.png";
25438                   border: 2 2 2 2;
25439                }
25440                fill.smooth: 0;
25441             }
25442          }
25443          part { name: "bg";
25444             clip_to: "disclip";
25445             mouse_events: 0;
25446             description { state: "default" 0.0;
25447                visible: 0;
25448                color: 255 255 255 0;
25449                rel1 {
25450                   relative: 0.0 0.0;
25451                   offset: -5 -5;
25452                }
25453                rel2 {
25454                   relative: 1.0 1.0;
25455                   offset: 4 4;
25456                }
25457                image {
25458                   normal: "bt_sm_base1.png";
25459                   border: 6 6 6 6;
25460                }
25461                image.middle: SOLID;
25462             }
25463             description { state: "selected" 0.0;
25464                inherit: "default" 0.0;
25465                visible: 1;
25466                color: 255 255 255 255;
25467                rel1 {
25468                   relative: 0.0 0.0;
25469                   offset: -2 -2;
25470                }
25471                rel2 {
25472                   relative: 1.0 1.0;
25473                   offset: 1 1;
25474                }
25475             }
25476          }
25477          part { name: "elm.swallow.pad";
25478             type: SWALLOW;
25479             description { state: "default" 0.0;
25480                fixed: 1 0;
25481                align: 0.0 0.5;
25482                rel1 {
25483                   relative: 0.0  0.0;
25484                   offset:   4    4;
25485                }
25486                rel2 {
25487                   relative: 0.0  1.0;
25488                   offset:   4   -5;
25489                }
25490             }
25491          }
25492          part {
25493             name: "elm.text.trackno";
25494             type: TEXT;
25495             scale: 1;
25496             mouse_events: 0;
25497             description {
25498                state: "default" 0.0;
25499                color: 255 255 255 255;
25500                align: 0.0 0.0;
25501                fixed: 1 0;
25502                rel1 {
25503                   to_y: "elm.text.title";
25504                   relative: 0.0 0.0;
25505                   offset: 5 0;
25506                }
25507                rel2 {
25508                   to_y: "elm.text.title";
25509                   relative: 0.0 1.0;
25510                   offset: 20 0;
25511                }
25512                color: 0 0 0 255;
25513                color3: 0 0 0 0;
25514                text {
25515                   font: "Sans";
25516                   size: 10;
25517                   min: 1 1;
25518                   align: 1.0 0.5;
25519                }
25520             }
25521             description { state: "selected" 0.0;
25522                inherit: "default" 0.0;
25523                color: 224 224 224 255;
25524                color3: 0 0 0 64;
25525             }
25526          }
25527          part {
25528             name: "dot";
25529             type: TEXT;
25530             scale: 1;
25531             mouse_events: 0;
25532             description {
25533                state: "default" 0.0;
25534                color: 255 255 255 255;
25535                visible: 0;
25536                fixed: 1 1;
25537                align: 0.0 0.0;
25538                rel1 {
25539                   to_x: "elm.text.trackno";
25540                   to_y: "elm.text.title";
25541                   relative: 1.0 0.0;
25542                   offset: 1 0;
25543                }
25544                rel2 {
25545                   to_x: "elm.text.trackno";
25546                   to_y: "elm.text.title";
25547                   relative: 1.0 1.0;
25548                   offset: 1 0;
25549
25550                }
25551                color: 0 0 0 255;
25552                color3: 0 0 0 0;
25553                text {
25554                   font: "Sans";
25555                   size: 10;
25556                   min: 1 1;
25557                   align: 0.0 0.5;
25558                   text: ".";
25559                }
25560             }
25561             description {
25562                state: "visible" 0.0;
25563                inherit: "default" 0.0;
25564                visible: 1;
25565             }
25566             description { state: "selected" 0.0;
25567                inherit: "default" 0.0;
25568                color: 224 224 224 255;
25569                color3: 0 0 0 64;
25570                visible: 1;
25571             }
25572          }
25573          programs {
25574             program {
25575                signal: "elm,state,elm.state.trackno,active";
25576                source: "elm";
25577                script {
25578                   set_state(PART:"dot", "visible", 0.0);
25579                   set_int(dot_visible, 1);
25580                }
25581             }
25582          }
25583          part { name: "elm.text.title";
25584             clip_to: "disclip";
25585             type:           TEXT;
25586             effect:         SOFT_SHADOW;
25587             mouse_events:   0;
25588             scale: 1;
25589             description {
25590                state: "default" 0.0;
25591                rel1 {
25592                   to_x: "dot";
25593                   relative: 0.0  0.0;
25594                   offset:   4 4;
25595                }
25596                rel2 {
25597                   relative: 1.0  0.5;
25598                   offset:   -1 -5;
25599                }
25600                color: 0 0 0 255;
25601                color3: 0 0 0 0;
25602                text {
25603                   font: "Sans";
25604                   size: 10;
25605                   min: 0 1;
25606                   align: 0.0 0.5;
25607                }
25608             }
25609             description { state: "selected" 0.0;
25610                inherit: "default" 0.0;
25611                color: 224 224 224 255;
25612                color3: 0 0 0 64;
25613             }
25614          }
25615          part { name: "elm.text.length";
25616             clip_to: "disclip";
25617             type:           TEXT;
25618             mouse_events:   0;
25619             scale: 1;
25620             description {
25621                state: "default" 0.0;
25622                rel1 {
25623                   relative: 0.0  0.5;
25624                   offset:   4 4;
25625                }
25626                rel2 {
25627                   relative: 1.0  1.0;
25628                   offset:   -1 -5;
25629                }
25630                color: 0 0 0 128;
25631                color3: 0 0 0 0;
25632                text {
25633                   font: "Sans";
25634                   size: 8;
25635                   min: 0 1;
25636                   align: 0.0 0.5;
25637                }
25638             }
25639             description { state: "selected" 0.0;
25640                inherit: "default" 0.0;
25641                color: 128 128 128 255;
25642                color3: 0 0 0 32;
25643             }
25644          }
25645          part { name: "fg1";
25646             clip_to: "disclip";
25647             mouse_events: 0;
25648             description { state: "default" 0.0;
25649                visible: 0;
25650                color: 255 255 255 0;
25651                rel1.to: "bg";
25652                rel2.relative: 1.0 0.5;
25653                rel2.to: "bg";
25654                image {
25655                   normal: "bt_sm_hilight.png";
25656                   border: 6 6 6 0;
25657                }
25658             }
25659             description { state: "selected" 0.0;
25660                inherit: "default" 0.0;
25661                visible: 1;
25662                color: 255 255 255 255;
25663             }
25664          }
25665          part { name: "fg2";
25666             clip_to: "disclip";
25667             mouse_events: 0;
25668             description { state: "default" 0.0;
25669                visible: 0;
25670                color: 255 255 255 0;
25671                rel1.to: "bg";
25672                rel2.to: "bg";
25673                image {
25674                   normal: "bt_sm_shine.png";
25675                   border: 6 6 6 0;
25676                }
25677             }
25678             description { state: "selected" 0.0;
25679                inherit: "default" 0.0;
25680                visible: 1;
25681                color: 255 255 255 255;
25682             }
25683          }
25684          part { name: "disclip";
25685             type: RECT;
25686             description { state: "default" 0.0;
25687                rel1.to: "bg";
25688                rel2.to: "bg";
25689             }
25690             description { state: "disabled" 0.0;
25691                inherit: "default" 0.0;
25692                color: 255 255 255 64;
25693             }
25694          }
25695       }
25696       programs {
25697          // signal: elm,state,%s,active
25698          //   a "check" item named %s went active
25699          // signal: elm,state,%s,passive
25700          //   a "check" item named %s went passive
25701          // default is passive
25702          program {
25703             name:    "go_active";
25704             signal:  "elm,state,selected";
25705             source:  "elm";
25706             action:  STATE_SET "selected" 0.0;
25707             target:  "bg";
25708             target:  "fg1";
25709             target:  "fg2";
25710             target:  "elm.text.title";
25711             target:  "elm.text.trackno";
25712             target:  "elm.text.length";
25713             after:   "dot_active";
25714          }
25715          program {
25716             name: "dot_active";
25717             script {
25718                if (get_int(dot_visible) == 1)
25719                   set_state(PART:"dot", "selected", 0.0);
25720             }
25721          }
25722          program {
25723             name:    "go_passive";
25724             signal:  "elm,state,unselected";
25725             source:  "elm";
25726             action:  STATE_SET "default" 0.0;
25727             target:  "bg";
25728             target:  "fg1";
25729             target:  "fg2";
25730             target:  "elm.text.title";
25731             target:  "elm.text.length";
25732             target:  "elm.text.trackno";
25733             transition: LINEAR 0.1;
25734             after:   "dot_passive";
25735          }
25736          program {
25737             name: "dot_passive";
25738             script {
25739                if (get_int(dot_visible) == 1)
25740                   set_state(PART:"dot", "visible", 0.0);
25741             }
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-album/default";
25760       data.item: "stacking" "below";
25761       data.item: "selectraise" "on";
25762       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25763       data.item: "states" "elm.state.trackno";
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       script {
25772          public dot_visible;
25773       }
25774       parts {
25775          part { name: "event";
25776             type: RECT;
25777             repeat_events: 1;
25778             description {
25779                state: "default" 0.0;
25780                color: 0 0 0 0;
25781             }
25782          }
25783          part {
25784             name: "base";
25785             mouse_events: 0;
25786             description {
25787                state: "default" 0.0;
25788                image {
25789                   normal: "ilist_2.png";
25790                   border: 2 2 2 2;
25791                }
25792                fill.smooth: 0;
25793             }
25794          }
25795          part { name: "bg";
25796             clip_to: "disclip";
25797             mouse_events: 0;
25798             description { state: "default" 0.0;
25799                visible: 0;
25800                color: 255 255 255 0;
25801                rel1 {
25802                   relative: 0.0 0.0;
25803                   offset: -5 -5;
25804                }
25805                rel2 {
25806                   relative: 1.0 1.0;
25807                   offset: 4 4;
25808                }
25809                image {
25810                   normal: "bt_sm_base1.png";
25811                   border: 6 6 6 6;
25812                }
25813                image.middle: SOLID;
25814             }
25815             description { state: "selected" 0.0;
25816                inherit: "default" 0.0;
25817                visible: 1;
25818                color: 255 255 255 255;
25819                rel1 {
25820                   relative: 0.0 0.0;
25821                   offset: -2 -2;
25822                }
25823                rel2 {
25824                   relative: 1.0 1.0;
25825                   offset: 1 1;
25826                }
25827             }
25828          }
25829          part { name: "elm.swallow.pad";
25830             type: SWALLOW;
25831             description { state: "default" 0.0;
25832                fixed: 1 0;
25833                align: 0.0 0.5;
25834                rel1 {
25835                   relative: 0.0  0.0;
25836                   offset:   4    4;
25837                }
25838                rel2 {
25839                   relative: 0.0  1.0;
25840                   offset:   4   -5;
25841                }
25842             }
25843          }
25844          part {
25845             name: "elm.text.trackno";
25846             type: TEXT;
25847             scale: 1;
25848             mouse_events: 0;
25849             description {
25850                state: "default" 0.0;
25851                color: 255 255 255 255;
25852                align: 0.0 0.0;
25853                fixed: 1 0;
25854                rel1 {
25855                   to_y: "elm.text.title";
25856                   relative: 0.0 0.0;
25857                   offset: 5 0;
25858                }
25859                rel2 {
25860                   to_y: "elm.text.title";
25861                   relative: 0.0 1.0;
25862                   offset: 20 0;
25863                }
25864                color: 0 0 0 255;
25865                color3: 0 0 0 0;
25866                text {
25867                   font: "Sans";
25868                   size: 10;
25869                   min: 1 1;
25870                   align: 1.0 0.5;
25871                }
25872             }
25873             description { state: "selected" 0.0;
25874                inherit: "default" 0.0;
25875                color: 224 224 224 255;
25876                color3: 0 0 0 64;
25877             }
25878          }
25879          part {
25880             name: "dot";
25881             type: TEXT;
25882             scale: 1;
25883             mouse_events: 0;
25884             description {
25885                state: "default" 0.0;
25886                color: 255 255 255 255;
25887                visible: 0;
25888                fixed: 1 1;
25889                align: 0.0 0.0;
25890                rel1 {
25891                   to_x: "elm.text.trackno";
25892                   to_y: "elm.text.title";
25893                   relative: 1.0 0.0;
25894                   offset: 1 0;
25895                }
25896                rel2 {
25897                   to_x: "elm.text.trackno";
25898                   to_y: "elm.text.title";
25899                   relative: 1.0 1.0;
25900                   offset: 1 0;
25901
25902                }
25903                color: 0 0 0 255;
25904                color3: 0 0 0 0;
25905                text {
25906                   font: "Sans";
25907                   size: 10;
25908                   min: 1 1;
25909                   align: 0.0 0.5;
25910                   text: ".";
25911                }
25912             }
25913             description {
25914                state: "visible" 0.0;
25915                inherit: "default" 0.0;
25916                visible: 1;
25917             }
25918             description { state: "selected" 0.0;
25919                inherit: "default" 0.0;
25920                color: 224 224 224 255;
25921                color3: 0 0 0 64;
25922                visible: 1;
25923             }
25924          }
25925          programs {
25926             program {
25927                signal: "elm,state,elm.state.trackno,active";
25928                source: "elm";
25929                script {
25930                   set_state(PART:"dot", "visible", 0.0);
25931                   set_int(dot_visible, 1);
25932                }
25933             }
25934          }
25935          part { name: "elm.text.title";
25936             clip_to: "disclip";
25937             type:           TEXT;
25938             effect:         SOFT_SHADOW;
25939             mouse_events:   0;
25940             scale: 1;
25941             description {
25942                state: "default" 0.0;
25943                rel1 {
25944                   to_x: "dot";
25945                   relative: 1.0  0.0;
25946                   offset:   4 4;
25947                }
25948                rel2 {
25949                   relative: 1.0  0.5;
25950                   offset:   -1 -5;
25951                }
25952                color: 0 0 0 255;
25953                color3: 0 0 0 0;
25954                text {
25955                   font: "Sans";
25956                   size: 10;
25957                   min: 0 1;
25958                   align: 0.0 0.5;
25959                }
25960             }
25961             description { state: "selected" 0.0;
25962                inherit: "default" 0.0;
25963                color: 224 224 224 255;
25964                color3: 0 0 0 64;
25965             }
25966          }
25967          part { name: "elm.text.length";
25968             clip_to: "disclip";
25969             type:           TEXT;
25970             mouse_events:   0;
25971             scale: 1;
25972             description {
25973                state: "default" 0.0;
25974                rel1 {
25975                   relative: 0.0  0.5;
25976                   offset:   4 4;
25977                }
25978                rel2 {
25979                   relative: 1.0  1.0;
25980                   offset:   -1 -5;
25981                }
25982                color: 0 0 0 128;
25983                color3: 0 0 0 0;
25984                text {
25985                   font: "Sans";
25986                   size: 8;
25987                   min: 0 1;
25988                   align: 0.0 0.5;
25989                }
25990             }
25991             description { state: "selected" 0.0;
25992                inherit: "default" 0.0;
25993                color: 128 128 128 255;
25994                color3: 0 0 0 32;
25995             }
25996          }
25997          part { name: "fg1";
25998             clip_to: "disclip";
25999             mouse_events: 0;
26000             description { state: "default" 0.0;
26001                visible: 0;
26002                color: 255 255 255 0;
26003                rel1.to: "bg";
26004                rel2.relative: 1.0 0.5;
26005                rel2.to: "bg";
26006                image {
26007                   normal: "bt_sm_hilight.png";
26008                   border: 6 6 6 0;
26009                }
26010             }
26011             description { state: "selected" 0.0;
26012                inherit: "default" 0.0;
26013                visible: 1;
26014                color: 255 255 255 255;
26015             }
26016          }
26017          part { name: "fg2";
26018             clip_to: "disclip";
26019             mouse_events: 0;
26020             description { state: "default" 0.0;
26021                visible: 0;
26022                color: 255 255 255 0;
26023                rel1.to: "bg";
26024                rel2.to: "bg";
26025                image {
26026                   normal: "bt_sm_shine.png";
26027                   border: 6 6 6 0;
26028                }
26029             }
26030             description { state: "selected" 0.0;
26031                inherit: "default" 0.0;
26032                visible: 1;
26033                color: 255 255 255 255;
26034             }
26035          }
26036          part { name: "disclip";
26037             type: RECT;
26038             description { state: "default" 0.0;
26039                rel1.to: "bg";
26040                rel2.to: "bg";
26041             }
26042             description { state: "disabled" 0.0;
26043                inherit: "default" 0.0;
26044                color: 255 255 255 64;
26045             }
26046          }
26047       }
26048       programs {
26049          // signal: elm,state,%s,active
26050          //   a "check" item named %s went active
26051          // signal: elm,state,%s,passive
26052          //   a "check" item named %s went passive
26053          // default is passive
26054          program {
26055             name:    "go_active";
26056             signal:  "elm,state,selected";
26057             source:  "elm";
26058             action:  STATE_SET "selected" 0.0;
26059             target:  "bg";
26060             target:  "fg1";
26061             target:  "fg2";
26062             target:  "elm.text.title";
26063             target:  "elm.text.length";
26064             target:  "elm.text.trackno";
26065             after:   "dot_active";
26066          }
26067          program {
26068             name: "dot_active";
26069             script {
26070                if (get_int(dot_visible) == 1)
26071                   set_state(PART:"dot", "selected", 0.0);
26072             }
26073          }
26074          program {
26075             name:    "go_passive";
26076             signal:  "elm,state,unselected";
26077             source:  "elm";
26078             action:  STATE_SET "default" 0.0;
26079             target:  "bg";
26080             target:  "fg1";
26081             target:  "fg2";
26082             target:  "elm.text.title";
26083             target:  "elm.text.length";
26084             target:  "elm.text.trackno";
26085             transition: LINEAR 0.1;
26086             after:   "dot_passive";
26087          }
26088          program {
26089             name: "dot_passive";
26090             script {
26091                if (get_int(dot_visible) == 1)
26092                   set_state(PART:"dot", "visible", 0.0);
26093             }
26094          }
26095          program {
26096             name:    "go_disabled";
26097             signal:  "elm,state,disabled";
26098             source:  "elm";
26099             action:  STATE_SET "disabled" 0.0;
26100             target:  "disclip";
26101          }
26102          program {
26103             name:    "go_enabled";
26104             signal:  "elm,state,enabled";
26105             source:  "elm";
26106             action:  STATE_SET "default" 0.0;
26107             target:  "disclip";
26108          }
26109       }
26110    }
26111
26112    group { name: "elm/genlist/item_compress/media-preview/default";
26113       data.item: "stacking" "above";
26114       data.item: "selectraise" "on";
26115       data.item: "labels" "elm.text.title elm.text.artist";
26116       data.item: "icons" "elm.swallow.preview";
26117       data.item: "treesize" "20";
26118       images {
26119          image: "bt_sm_base1.png" COMP;
26120          image: "bt_sm_shine.png" COMP;
26121          image: "bt_sm_hilight.png" COMP;
26122          image: "ilist_1.png" COMP;
26123          image: "ilist_item_shadow.png" COMP;
26124       }
26125       parts {
26126          part {
26127             name: "event";
26128             type: RECT;
26129             repeat_events: 1;
26130             description {
26131                state: "default" 0.0;
26132                color: 0 0 0 0;
26133             }
26134          }
26135          part {
26136             name: "base_sh";
26137             mouse_events: 0;
26138             description {
26139                state: "default" 0.0;
26140                align: 0.0 0.0;
26141                min: 0 10;
26142                fixed: 1 1;
26143                rel1 {
26144                   to: "base";
26145                   relative: 0.0 1.0;
26146                   offset: 0 0;
26147                }
26148                rel2 {
26149                   to: "base";
26150                   relative: 1.0 1.0;
26151                   offset: -1 0;
26152                }
26153                image {
26154                   normal: "ilist_item_shadow.png";
26155                }
26156                fill.smooth: 0;
26157             }
26158          }
26159          part {
26160             name: "base";
26161             mouse_events: 0;
26162             description {
26163                state: "default" 0.0;
26164                image {
26165                   normal: "ilist_1.png";
26166                   border: 2 2 2 2;
26167                }
26168                fill.smooth: 0;
26169             }
26170          }
26171          part { name: "bg";
26172             clip_to: "disclip";
26173             mouse_events: 0;
26174             description { state: "default" 0.0;
26175                visible: 0;
26176                color: 255 255 255 0;
26177                rel1 {
26178                   relative: 0.0 0.0;
26179                   offset: -5 -5;
26180                }
26181                rel2 {
26182                   relative: 1.0 1.0;
26183                   offset: 4 4;
26184                }
26185                image {
26186                   normal: "bt_sm_base1.png";
26187                   border: 6 6 6 6;
26188                }
26189                image.middle: SOLID;
26190             }
26191             description { state: "selected" 0.0;
26192                inherit: "default" 0.0;
26193                visible: 1;
26194                color: 255 255 255 255;
26195                rel1 {
26196                   relative: 0.0 0.0;
26197                   offset: -2 -2;
26198                }
26199                rel2 {
26200                   relative: 1.0 1.0;
26201                   offset: 1 1;
26202                }
26203             }
26204          }
26205          part { name: "elm.swallow.pad";
26206             type: SWALLOW;
26207             description { state: "default" 0.0;
26208                fixed: 1 0;
26209                align: 0.0 0.5;
26210                rel1 {
26211                   relative: 0.0  0.0;
26212                   offset:   4    4;
26213                }
26214                rel2 {
26215                   relative: 0.0  1.0;
26216                   offset:   4   -5;
26217                }
26218             }
26219          }
26220          part { name: "elm.swallow.preview";
26221             clip_to: "disclip";
26222             type: SWALLOW;
26223             description { state: "default" 0.0;
26224                fixed: 1 0;
26225                align: 0.0 0.5;
26226                min: 68 68;
26227                max: 68 68;
26228                rel1 {
26229                   to_x: "elm.swallow.pad";
26230                   relative: 1.0  0.0;
26231                   offset:   -1    4;
26232                }
26233                rel2 {
26234                   to_x: "elm.swallow.pad";
26235                   relative: 1.0  1.0;
26236                   offset:   -1   -5;
26237                }
26238             }
26239          }
26240          part { name: "elm.text.title";
26241             clip_to: "disclip";
26242             type:           TEXT;
26243             effect:         SOFT_SHADOW;
26244             mouse_events:   0;
26245             scale: 1;
26246             description {
26247                state: "default" 0.0;
26248                rel1 {
26249                   to_x:     "elm.swallow.preview";
26250                   relative: 1.0  0.0;
26251                   offset:   4 4;
26252                }
26253                rel2 {
26254                   relative: 1.0  0.5;
26255                   offset:   -1 -5;
26256                }
26257                color: 0 0 0 255;
26258                color3: 0 0 0 0;
26259                text {
26260                   font: "Sans";
26261                   size: 10;
26262                   min: 0 1;
26263                   align: 0.0 0.5;
26264                }
26265             }
26266             description { state: "selected" 0.0;
26267                inherit: "default" 0.0;
26268                color: 224 224 224 255;
26269                color3: 0 0 0 64;
26270             }
26271          }
26272          part { name: "elm.text.artist";
26273             clip_to: "disclip";
26274             type:           TEXT;
26275             mouse_events:   0;
26276             scale: 1;
26277             description {
26278                state: "default" 0.0;
26279                rel1 {
26280                   to_x:     "elm.swallow.preview";
26281                   relative: 1.0  0.5;
26282                   offset:   4 4;
26283                }
26284                rel2 {
26285                   relative: 1.0  1.0;
26286                   offset:   -1 -5;
26287                }
26288                color: 0 0 0 128;
26289                color3: 0 0 0 0;
26290                text {
26291                   font: "Sans";
26292                   size: 8;
26293                   min: 0 1;
26294                   align: 0.0 0.5;
26295                }
26296             }
26297             description { state: "selected" 0.0;
26298                inherit: "default" 0.0;
26299                color: 128 128 128 255;
26300                color3: 0 0 0 32;
26301             }
26302          }
26303          part { name: "fg1";
26304             clip_to: "disclip";
26305             mouse_events: 0;
26306             description { state: "default" 0.0;
26307                visible: 0;
26308                color: 255 255 255 0;
26309                rel1.to: "bg";
26310                rel2.relative: 1.0 0.5;
26311                rel2.to: "bg";
26312                image {
26313                   normal: "bt_sm_hilight.png";
26314                   border: 6 6 6 0;
26315                }
26316             }
26317             description { state: "selected" 0.0;
26318                inherit: "default" 0.0;
26319                visible: 1;
26320                color: 255 255 255 255;
26321             }
26322          }
26323          part { name: "fg2";
26324             clip_to: "disclip";
26325             mouse_events: 0;
26326             description { state: "default" 0.0;
26327                visible: 0;
26328                color: 255 255 255 0;
26329                rel1.to: "bg";
26330                rel2.to: "bg";
26331                image {
26332                   normal: "bt_sm_shine.png";
26333                   border: 6 6 6 0;
26334                }
26335             }
26336             description { state: "selected" 0.0;
26337                inherit: "default" 0.0;
26338                visible: 1;
26339                color: 255 255 255 255;
26340             }
26341          }
26342          part { name: "disclip";
26343             type: RECT;
26344             description { state: "default" 0.0;
26345                rel1.to: "bg";
26346                rel2.to: "bg";
26347             }
26348             description { state: "disabled" 0.0;
26349                inherit: "default" 0.0;
26350                color: 255 255 255 64;
26351             }
26352          }
26353       }
26354       programs {
26355          // signal: elm,state,%s,active
26356          //   a "check" item named %s went active
26357          // signal: elm,state,%s,passive
26358          //   a "check" item named %s went passive
26359          // default is passive
26360          program {
26361             name:    "go_active";
26362             signal:  "elm,state,selected";
26363             source:  "elm";
26364             action:  STATE_SET "selected" 0.0;
26365             target:  "bg";
26366             target:  "fg1";
26367             target:  "fg2";
26368             target:  "elm.text.title";
26369             target:  "elm.text.artist";
26370          }
26371          program {
26372             name:    "go_passive";
26373             signal:  "elm,state,unselected";
26374             source:  "elm";
26375             action:  STATE_SET "default" 0.0;
26376             target:  "bg";
26377             target:  "fg1";
26378             target:  "fg2";
26379             target:  "elm.text.title";
26380             target:  "elm.text.artist";
26381             transition: LINEAR 0.1;
26382          }
26383          program {
26384             name:    "go_disabled";
26385             signal:  "elm,state,disabled";
26386             source:  "elm";
26387             action:  STATE_SET "disabled" 0.0;
26388             target:  "disclip";
26389          }
26390          program {
26391             name:    "go_enabled";
26392             signal:  "elm,state,enabled";
26393             source:  "elm";
26394             action:  STATE_SET "default" 0.0;
26395             target:  "disclip";
26396          }
26397       }
26398    }
26399    group { name: "elm/genlist/item_compress_odd/media-preview/default";
26400       data.item: "stacking" "below";
26401       data.item: "selectraise" "on";
26402       data.item: "labels" "elm.text.title elm.text.artist";
26403       data.item: "icons" "elm.swallow.preview";
26404       data.item: "treesize" "20";
26405       images {
26406          image: "bt_sm_base1.png" COMP;
26407          image: "bt_sm_shine.png" COMP;
26408          image: "bt_sm_hilight.png" COMP;
26409          image: "ilist_2.png" COMP;
26410       }
26411       parts {
26412          part { name: "event";
26413             type: RECT;
26414             repeat_events: 1;
26415             description {
26416                state: "default" 0.0;
26417                color: 0 0 0 0;
26418             }
26419          }
26420          part {
26421             name: "base";
26422             mouse_events: 0;
26423             description {
26424                state: "default" 0.0;
26425                image {
26426                   normal: "ilist_2.png";
26427                   border: 2 2 2 2;
26428                }
26429                fill.smooth: 0;
26430             }
26431          }
26432          part { name: "bg";
26433             clip_to: "disclip";
26434             mouse_events: 0;
26435             description { state: "default" 0.0;
26436                visible: 0;
26437                color: 255 255 255 0;
26438                rel1 {
26439                   relative: 0.0 0.0;
26440                   offset: -5 -5;
26441                }
26442                rel2 {
26443                   relative: 1.0 1.0;
26444                   offset: 4 4;
26445                }
26446                image {
26447                   normal: "bt_sm_base1.png";
26448                   border: 6 6 6 6;
26449                }
26450                image.middle: SOLID;
26451             }
26452             description { state: "selected" 0.0;
26453                inherit: "default" 0.0;
26454                visible: 1;
26455                color: 255 255 255 255;
26456                rel1 {
26457                   relative: 0.0 0.0;
26458                   offset: -2 -2;
26459                }
26460                rel2 {
26461                   relative: 1.0 1.0;
26462                   offset: 1 1;
26463                }
26464             }
26465          }
26466          part { name: "elm.swallow.pad";
26467             type: SWALLOW;
26468             description { state: "default" 0.0;
26469                fixed: 1 0;
26470                align: 0.0 0.5;
26471                rel1 {
26472                   relative: 0.0  0.0;
26473                   offset:   4    4;
26474                }
26475                rel2 {
26476                   relative: 0.0  1.0;
26477                   offset:   4   -5;
26478                }
26479             }
26480          }
26481          part { name: "elm.swallow.preview";
26482             clip_to: "disclip";
26483             type: SWALLOW;
26484             description { state: "default" 0.0;
26485                fixed: 1 0;
26486                align: 0.0 0.5;
26487                min: 68 68;
26488                max: 68 68;
26489                rel1 {
26490                   to_x: "elm.swallow.pad";
26491                   relative: 1.0  0.0;
26492                   offset:   -1    4;
26493                }
26494                rel2 {
26495                   to_x: "elm.swallow.pad";
26496                   relative: 1.0  1.0;
26497                   offset:   -1   -5;
26498                }
26499             }
26500          }
26501          part { name: "elm.text.title";
26502             clip_to: "disclip";
26503             type:           TEXT;
26504             effect:         SOFT_SHADOW;
26505             mouse_events:   0;
26506             scale: 1;
26507             description {
26508                state: "default" 0.0;
26509                rel1 {
26510                   to_x:     "elm.swallow.preview";
26511                   relative: 1.0  0.0;
26512                   offset:   4 4;
26513                }
26514                rel2 {
26515                   relative: 1.0  0.5;
26516                   offset:   -1 -5;
26517                }
26518                color: 0 0 0 255;
26519                color3: 0 0 0 0;
26520                text {
26521                   font: "Sans";
26522                   size: 10;
26523                   min: 0 1;
26524                   align: 0.0 0.5;
26525                }
26526             }
26527             description { state: "selected" 0.0;
26528                inherit: "default" 0.0;
26529                color: 224 224 224 255;
26530                color3: 0 0 0 64;
26531             }
26532          }
26533          part { name: "elm.text.artist";
26534             clip_to: "disclip";
26535             type:           TEXT;
26536             mouse_events:   0;
26537             scale: 1;
26538             description {
26539                state: "default" 0.0;
26540                rel1 {
26541                   to_x:     "elm.swallow.preview";
26542                   relative: 1.0  0.5;
26543                   offset:   4 4;
26544                }
26545                rel2 {
26546                   relative: 1.0  1.0;
26547                   offset:   -1 -5;
26548                }
26549                color: 0 0 0 128;
26550                color3: 0 0 0 0;
26551                text {
26552                   font: "Sans";
26553                   size: 8;
26554                   min: 0 1;
26555                   align: 0.0 0.5;
26556                }
26557             }
26558             description { state: "selected" 0.0;
26559                inherit: "default" 0.0;
26560                color: 128 128 128 255;
26561                color3: 0 0 0 32;
26562             }
26563          }
26564          part { name: "fg1";
26565             clip_to: "disclip";
26566             mouse_events: 0;
26567             description { state: "default" 0.0;
26568                visible: 0;
26569                color: 255 255 255 0;
26570                rel1.to: "bg";
26571                rel2.relative: 1.0 0.5;
26572                rel2.to: "bg";
26573                image {
26574                   normal: "bt_sm_hilight.png";
26575                   border: 6 6 6 0;
26576                }
26577             }
26578             description { state: "selected" 0.0;
26579                inherit: "default" 0.0;
26580                visible: 1;
26581                color: 255 255 255 255;
26582             }
26583          }
26584          part { name: "fg2";
26585             clip_to: "disclip";
26586             mouse_events: 0;
26587             description { state: "default" 0.0;
26588                visible: 0;
26589                color: 255 255 255 0;
26590                rel1.to: "bg";
26591                rel2.to: "bg";
26592                image {
26593                   normal: "bt_sm_shine.png";
26594                   border: 6 6 6 0;
26595                }
26596             }
26597             description { state: "selected" 0.0;
26598                inherit: "default" 0.0;
26599                visible: 1;
26600                color: 255 255 255 255;
26601             }
26602          }
26603          part { name: "disclip";
26604             type: RECT;
26605             description { state: "default" 0.0;
26606                rel1.to: "bg";
26607                rel2.to: "bg";
26608             }
26609             description { state: "disabled" 0.0;
26610                inherit: "default" 0.0;
26611                color: 255 255 255 64;
26612             }
26613          }
26614       }
26615       programs {
26616          // signal: elm,state,%s,active
26617          //   a "check" item named %s went active
26618          // signal: elm,state,%s,passive
26619          //   a "check" item named %s went passive
26620          // default is passive
26621          program {
26622             name:    "go_active";
26623             signal:  "elm,state,selected";
26624             source:  "elm";
26625             action:  STATE_SET "selected" 0.0;
26626             target:  "bg";
26627             target:  "fg1";
26628             target:  "fg2";
26629             target:  "elm.text.title";
26630             target:  "elm.text.artist";
26631          }
26632          program {
26633             name:    "go_passive";
26634             signal:  "elm,state,unselected";
26635             source:  "elm";
26636             action:  STATE_SET "default" 0.0;
26637             target:  "bg";
26638             target:  "fg1";
26639             target:  "fg2";
26640             target:  "elm.text.title";
26641             target:  "elm.text.artist";
26642             transition: LINEAR 0.1;
26643          }
26644          program {
26645             name:    "go_disabled";
26646             signal:  "elm,state,disabled";
26647             source:  "elm";
26648             action:  STATE_SET "disabled" 0.0;
26649             target:  "disclip";
26650          }
26651          program {
26652             name:    "go_enabled";
26653             signal:  "elm,state,enabled";
26654             source:  "elm";
26655             action:  STATE_SET "default" 0.0;
26656             target:  "disclip";
26657          }
26658       }
26659    }
26660
26661
26662 ///////////////////////////////////////////////////////////////////////////////
26663    group { name: "elm/pager/base/default";
26664       data.item: "onshow" "raise";
26665 // other options
26666 //      data.item: "onhide" "lower";
26667 //      data.item: "onshow" "lower";
26668       images {
26669          image: "frame_1.png" COMP;
26670          image: "frame_2.png" COMP;
26671          image: "dia_grad.png" COMP;
26672       }
26673       parts {
26674          part { name: "clip";
26675             type: RECT;
26676             mouse_events: 0;
26677             description { state: "default" 0.0;
26678                rel1 {
26679                   to: "base";
26680                   offset: -9999 -9999;
26681                }
26682                rel2 {
26683                   to: "base";
26684                   offset: 9999 9999;
26685                }
26686                color: 255 255 255 255;
26687             }
26688             description { state: "visible" 0.0;
26689                inherit: "default" 0.0;
26690             }
26691             description { state: "hidden" 0.0;
26692                inherit: "default" 0.0;
26693                color: 255 255 255 0;
26694                visible: 0;
26695             }
26696          }
26697          part { name: "base0";
26698             mouse_events:  0;
26699             clip_to: "clip";
26700             description { state: "default" 0.0;
26701                image.normal: "dia_grad.png";
26702                rel1.to: "over";
26703                rel2.to: "over";
26704                fill {
26705                   smooth: 0;
26706                   size {
26707                      relative: 0.0 1.0;
26708                      offset: 64 0;
26709                   }
26710                }
26711             }
26712          }
26713          part { name: "base";
26714             mouse_events:  0;
26715             clip_to: "clip";
26716             description { state: "default" 0.0;
26717                image {
26718                   normal: "frame_2.png";
26719                   border: 5 5 32 26;
26720                   middle: 0;
26721                }
26722                fill.smooth : 0;
26723             }
26724             description { state: "hidden" 0.0;
26725                inherit: "default" 0.0;
26726                rel1.relative: -1.0 0.0;
26727                rel2.relative: 0.0 1.0;
26728             }
26729             description { state: "visible" 0.0;
26730                inherit: "default" 0.0;
26731                rel1.relative: 0.0 0.0;
26732                rel2.relative: 1.0 1.0;
26733             }
26734          }
26735          part { name: "over";
26736             mouse_events:  0;
26737             clip_to: "clip";
26738             description { state:    "default" 0.0;
26739                rel1 {
26740                   to: "base";
26741                   offset: 4 4;
26742                }
26743                rel2 {
26744                   to: "base";
26745                   offset: -5 -5;
26746                }
26747                image {
26748                   normal: "frame_1.png";
26749                   border: 2 2 28 22;
26750                   middle: 0;
26751                }
26752                fill.smooth : 0;
26753             }
26754          }
26755          part { name: "elm.swallow.content";
26756             type: SWALLOW;
26757             clip_to: "clip";
26758             description { state: "default" 0.0;
26759                rel1 {
26760                   to: "base";
26761                   offset: 8 8;
26762                }
26763                rel2 {
26764                   to: "base";
26765                   offset: -9 -9;
26766                }
26767             }
26768          }
26769       }
26770       programs {
26771          program { name: "push_start";
26772             signal: "elm,action,push";
26773             source: "elm";
26774             action:  STATE_SET "hidden" 0.0;
26775             target: "base";
26776             target: "clip";
26777             after: "show_start2";
26778          }
26779          program { name: "show_start";
26780             signal: "elm,action,show";
26781             source: "elm";
26782             action:  STATE_SET "hidden" 0.0;
26783             target: "base";
26784             target: "clip";
26785             after: "show_start2";
26786          }
26787          program { name: "show_start2";
26788             action:  STATE_SET "visible" 0.0;
26789             transition: DECELERATE 0.5;
26790             target: "base";
26791             target: "clip";
26792             after: "show_end";
26793          }
26794          program { name: "show_end";
26795             action: SIGNAL_EMIT "elm,action,show,finished" "";
26796          }
26797          program { name: "pop_start";
26798             signal: "elm,action,pop";
26799             source: "elm";
26800             action:  STATE_SET "visible" 0.0;
26801             target: "base";
26802             target: "clip";
26803             after: "hide_start2";
26804          }
26805          program { name: "hide_start";
26806             signal: "elm,action,hide";
26807             source: "elm";
26808             action:  STATE_SET "visible" 0.0;
26809             target: "base";
26810             target: "clip";
26811             after: "hide_start2";
26812          }
26813          program { name: "hide_start2";
26814             action:  STATE_SET "hidden" 0.0;
26815             transition: DECELERATE 0.5;
26816             target: "base";
26817             target: "clip";
26818             after: "hide_end";
26819          }
26820          program { name: "hide_end";
26821             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26822          }
26823          program { name: "reset";
26824             signal: "elm,action,reset";
26825             source: "elm";
26826             action:  STATE_SET "default" 0.0;
26827             target: "base";
26828             target: "clip";
26829          }
26830       }
26831    }
26832
26833    group { name: "elm/pager/base/slide";
26834       images {
26835          image: "frame_1.png" COMP;
26836          image: "frame_2.png" COMP;
26837          image: "dia_grad.png" COMP;
26838       }
26839       parts {
26840          part { name: "clip";
26841             type: RECT;
26842             mouse_events: 0;
26843             description { state: "default" 0.0;
26844                rel1 {
26845                   to: "base";
26846                   offset: -9999 -9999;
26847                }
26848                rel2 {
26849                   to: "base";
26850                   offset: 9999 9999;
26851                }
26852                color: 255 255 255 255;
26853             }
26854             description { state: "visible" 0.0;
26855                inherit: "default" 0.0;
26856             }
26857             description { state: "hidden" 0.0;
26858                inherit: "default" 0.0;
26859                color: 255 255 255 0;
26860                visible: 0;
26861             }
26862             description { state: "hidden2" 0.0;
26863                inherit: "default" 0.0;
26864                color: 255 255 255 0;
26865                visible: 0;
26866             }
26867          }
26868          part { name: "base0";
26869             mouse_events:  0;
26870             clip_to: "clip";
26871             description { state: "default" 0.0;
26872                image.normal: "dia_grad.png";
26873                rel1.to: "over";
26874                rel2.to: "over";
26875                fill {
26876                   smooth: 0;
26877                   size {
26878                      relative: 0.0 1.0;
26879                      offset: 64 0;
26880                   }
26881                }
26882             }
26883          }
26884          part { name: "base";
26885             mouse_events:  0;
26886             clip_to: "clip";
26887             description { state: "default" 0.0;
26888                image {
26889                   normal: "frame_2.png";
26890                   border: 5 5 32 26;
26891                   middle: 0;
26892                }
26893                fill.smooth : 0;
26894             }
26895             description { state: "hidden" 0.0;
26896                inherit: "default" 0.0;
26897                rel1.relative: -1.0 0.0;
26898                rel2.relative: 0.0 1.0;
26899             }
26900             description { state: "hidden2" 0.0;
26901                inherit: "default" 0.0;
26902                rel1.relative: 1.0 0.0;
26903                rel2.relative: 2.0 1.0;
26904             }
26905             description { state: "visible" 0.0;
26906                inherit: "default" 0.0;
26907                rel1.relative: 0.0 0.0;
26908                rel2.relative: 1.0 1.0;
26909             }
26910          }
26911          part { name: "over";
26912             mouse_events:  0;
26913             clip_to: "clip";
26914             description { state:    "default" 0.0;
26915                rel1 {
26916                   to: "base";
26917                   offset: 4 4;
26918                }
26919                rel2 {
26920                   to: "base";
26921                   offset: -5 -5;
26922                }
26923                image {
26924                   normal: "frame_1.png";
26925                   border: 2 2 28 22;
26926                   middle: 0;
26927                }
26928                fill.smooth : 0;
26929             }
26930          }
26931          part { name: "elm.swallow.content";
26932             type: SWALLOW;
26933             clip_to: "clip";
26934             description { state: "default" 0.0;
26935                rel1 {
26936                   to: "base";
26937                   offset: 8 8;
26938                }
26939                rel2 {
26940                   to: "base";
26941                   offset: -9 -9;
26942                }
26943             }
26944          }
26945       }
26946       programs {
26947          program { name: "push_start";
26948             signal: "elm,action,push";
26949             source: "elm";
26950             action:  STATE_SET "hidden2" 0.0;
26951             target: "base";
26952             target: "clip";
26953             after: "show_start2";
26954          }
26955          program { name: "show_start";
26956             signal: "elm,action,show";
26957             source: "elm";
26958             action:  STATE_SET "hidden" 0.0;
26959             target: "base";
26960             target: "clip";
26961             after: "show_start2";
26962          }
26963          program { name: "show_start2";
26964             action:  STATE_SET "visible" 0.0;
26965             transition: DECELERATE 0.5;
26966             target: "base";
26967             target: "clip";
26968             after: "show_end";
26969          }
26970          program { name: "show_end";
26971             action: SIGNAL_EMIT "elm,action,show,finished" "";
26972          }
26973          program { name: "pop_start";
26974             signal: "elm,action,pop";
26975             source: "elm";
26976             action:  STATE_SET "visible" 0.0;
26977             target: "base";
26978             target: "clip";
26979             after: "pop_start2";
26980          }
26981          program { name: "pop_start2";
26982             action:  STATE_SET "hidden2" 0.0;
26983             transition: DECELERATE 0.5;
26984             target: "base";
26985             target: "clip";
26986             after: "hide_end";
26987          }
26988          program { name: "hide_start";
26989             signal: "elm,action,hide";
26990             source: "elm";
26991             action:  STATE_SET "visible" 0.0;
26992             target: "base";
26993             target: "clip";
26994             after: "hide_start2";
26995          }
26996          program { name: "hide_start2";
26997             action:  STATE_SET "hidden" 0.0;
26998             transition: DECELERATE 0.5;
26999             target: "base";
27000             target: "clip";
27001             after: "hide_end";
27002          }
27003          program { name: "hide_end";
27004             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27005          }
27006          program { name: "reset";
27007             signal: "elm,action,reset";
27008             source: "elm";
27009             action:  STATE_SET "default" 0.0;
27010             target: "base";
27011             target: "clip";
27012          }
27013       }
27014    }
27015    group { name: "elm/pager/base/slide_invisible";
27016       parts {
27017          part { name: "clip";
27018             type: RECT;
27019             mouse_events: 0;
27020             description { state: "default" 0.0;
27021                rel1 {
27022                   to: "base";
27023                   offset: -9999 -9999;
27024             }
27025                rel2 {
27026                   to: "base";
27027                   offset: 9999 9999;
27028                }
27029                color: 255 255 255 255;
27030             }
27031             description { state: "visible" 0.0;
27032                inherit: "default" 0.0;
27033             }
27034             description { state: "hidden" 0.0;
27035                inherit: "default" 0.0;
27036                color: 255 255 255 0;
27037                visible: 0;
27038             }
27039             description { state: "hidden2" 0.0;
27040                inherit: "default" 0.0;
27041                color: 255 255 255 0;
27042                visible: 0;
27043             }
27044          }
27045          part { name: "base";
27046             type: RECT;
27047             mouse_events:  0;
27048             clip_to: "clip";
27049             description { state: "default" 0.0;
27050                color: 0 0 0 0;
27051             }
27052             description { state: "hidden" 0.0;
27053                color: 0 0 0 0;
27054                rel1.relative: -1.0 0.0;
27055                rel2.relative: 0.0 1.0;
27056             }
27057             description { state: "hidden2" 0.0;
27058                color: 0 0 0 0;
27059                rel1.relative: 1.0 0.0;
27060                rel2.relative: 2.0 1.0;
27061             }
27062             description { state: "visible" 0.0;
27063                color: 0 0 0 0;
27064                rel1.relative: 0.0 0.0;
27065                rel2.relative: 1.0 1.0;
27066             }
27067          }
27068          part { name: "elm.swallow.content";
27069             type: SWALLOW;
27070             clip_to: "clip";
27071             description { state: "default" 0.0;
27072                rel1.to: "base";
27073                rel2.to: "base";
27074             }
27075          }
27076       }
27077       programs {
27078          program { name: "push_start";
27079             signal: "elm,action,push";
27080             source: "elm";
27081             action:  STATE_SET "hidden2" 0.0;
27082             target: "base";
27083             target: "clip";
27084             after: "show_start2";
27085          }
27086          program { name: "show_start";
27087             signal: "elm,action,show";
27088             source: "elm";
27089             action:  STATE_SET "hidden" 0.0;
27090             target: "base";
27091             target: "clip";
27092             after: "show_start2";
27093          }
27094          program { name: "show_start2";
27095             action:  STATE_SET "visible" 0.0;
27096             transition: DECELERATE 0.5;
27097             target: "base";
27098             target: "clip";
27099             after: "show_end";
27100          }
27101          program { name: "show_end";
27102             action: SIGNAL_EMIT "elm,action,show,finished" "";
27103          }
27104          program { name: "pop_start";
27105             signal: "elm,action,pop";
27106             source: "elm";
27107             action:  STATE_SET "visible" 0.0;
27108             target: "base";
27109             target: "clip";
27110             after: "pop_start2";
27111          }
27112          program { name: "pop_start2";
27113             action:  STATE_SET "hidden2" 0.0;
27114             transition: DECELERATE 0.5;
27115             target: "base";
27116             target: "clip";
27117             after: "hide_end";
27118          }
27119          program { name: "hide_start";
27120             signal: "elm,action,hide";
27121             source: "elm";
27122             action:  STATE_SET "visible" 0.0;
27123             target: "base";
27124             target: "clip";
27125             after: "hide_start2";
27126          }
27127          program { name: "hide_start2";
27128             action:  STATE_SET "hidden" 0.0;
27129             transition: DECELERATE 0.5;
27130             target: "base";
27131             target: "clip";
27132             after: "hide_end";
27133          }
27134          program { name: "hide_end";
27135             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27136          }
27137          program { name: "reset";
27138             signal: "elm,action,reset";
27139             source: "elm";
27140             action:  STATE_SET "default" 0.0;
27141             target: "base";
27142             target: "clip";
27143          }
27144       }
27145    }
27146
27147    group { name: "elm/pager/base/fade";
27148        data.item: "onshow" "raise";
27149        // other options
27150        //      data.item: "onhide" "lower";
27151        //      data.item: "onshow" "lower";
27152        images {
27153            image: "frame_1.png" COMP;
27154            image: "frame_2.png" COMP;
27155            image: "dia_grad.png" COMP;
27156        }
27157        parts {
27158            part { name: "clip_base";
27159                type: RECT;
27160                mouse_events: 0;
27161                description { state: "default" 0.0;
27162                    rel1 {
27163                        to: "base";
27164                        offset: -9999 -9999;
27165                    }
27166                    rel2 {
27167                        to: "base";
27168                        offset: 9999 9999;
27169                    }
27170                    color: 255 255 255 120;
27171                }
27172                description { state: "visible" 0.0;
27173                    inherit: "default" 0.0;
27174                }
27175                description { state: "hidden" 0.0;
27176                    inherit: "default" 0.0;
27177                    color: 255 255 255 0;
27178                    visible: 0;
27179                }
27180            }
27181            part { name: "clip";
27182                type: RECT;
27183                mouse_events: 0;
27184                description { state: "default" 0.0;
27185                    rel1 {
27186                        to: "base";
27187                        offset: -9999 -9999;
27188                    }
27189                    rel2 {
27190                        to: "base";
27191                        offset: 9999 9999;
27192                    }
27193                    color: 255 255 255 255;
27194                }
27195                description { state: "visible" 0.0;
27196                    inherit: "default" 0.0;
27197                }
27198                description { state: "hidden" 0.0;
27199                    inherit: "default" 0.0;
27200                    color: 255 255 255 0;
27201                    visible: 0;
27202                }
27203            }
27204            part { name: "base0";
27205                mouse_events:  0;
27206                clip_to: "clip_base";
27207                description { state: "default" 0.0;
27208                    image.normal: "dia_grad.png";
27209                    rel1.to: "over";
27210                    rel2.to: "over";
27211                    fill {
27212                        smooth: 0;
27213                        size {
27214                            relative: 0.0 1.0;
27215                            offset: 64 0;
27216                        }
27217                    }
27218                }
27219            }
27220            part { name: "base";
27221                mouse_events:  0;
27222                clip_to: "clip_base";
27223                description { state: "default" 0.0;
27224                    image {
27225                        normal: "frame_2.png";
27226                        border: 5 5 32 26;
27227                        middle: 0;
27228                    }
27229                    fill.smooth : 0;
27230                }
27231            }
27232            part { name: "over";
27233                mouse_events:  0;
27234                clip_to: "clip";
27235                description { state:    "default" 0.0;
27236                    rel1 {
27237                        to: "base";
27238                        offset: 4 4;
27239                    }
27240                    rel2 {
27241                        to: "base";
27242                        offset: -5 -5;
27243                    }
27244                    image {
27245                        normal: "frame_1.png";
27246                        border: 2 2 28 22;
27247                        middle: 0;
27248                    }
27249                    fill.smooth : 0;
27250                }
27251            }
27252            part { name: "elm.swallow.content";
27253                type: SWALLOW;
27254                clip_to: "clip";
27255                description { state: "default" 0.0;
27256                    rel1 {
27257                        to: "base";
27258                        offset: 8 8;
27259                    }
27260                    rel2 {
27261                        to: "base";
27262                        offset: -9 -9;
27263                    }
27264                }
27265            }
27266        }
27267        programs {
27268            program { name: "push_start";
27269                signal: "elm,action,push";
27270                source: "elm";
27271                action:  STATE_SET "hidden" 0.0;
27272                target: "clip";
27273                target: "clip_base";
27274                after: "show_start2";
27275            }
27276            program { name: "show_start";
27277                signal: "elm,action,show";
27278                source: "elm";
27279                action:  STATE_SET "hidden" 0.0;
27280                target: "clip";
27281                target: "clip_base";
27282                after: "show_start2";
27283            }
27284            program { name: "show_start2";
27285                action:  STATE_SET "visible" 0.0;
27286                transition: DECELERATE 0.5;
27287                target: "clip";
27288                target: "clip_base";
27289                after: "show_end";
27290            }
27291            program { name: "show_end";
27292                action: SIGNAL_EMIT "elm,action,show,finished" "";
27293            }
27294            program { name: "pop_start";
27295                signal: "elm,action,pop";
27296                source: "elm";
27297                action:  STATE_SET "visible" 0.0;
27298                target: "clip";
27299                target: "clip_base";
27300                after: "hide_start2";
27301            }
27302            program { name: "hide_start";
27303                signal: "elm,action,hide";
27304                source: "elm";
27305                action:  STATE_SET "visible" 0.0;
27306                target: "clip";
27307                target: "clip_base";
27308                after: "hide_start2";
27309            }
27310            program { name: "hide_start2";
27311                action:  STATE_SET "hidden" 0.0;
27312                transition: DECELERATE 0.5;
27313                target: "clip";
27314                target: "clip_base";
27315                after: "hide_end";
27316            }
27317            program { name: "hide_end";
27318                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27319            }
27320            program { name: "reset";
27321                signal: "elm,action,reset";
27322                source: "elm";
27323                action:  STATE_SET "default" 0.0;
27324                target: "clip_base";
27325                target: "clip";
27326            }
27327        }
27328    }
27329    group { name: "elm/pager/base/fade_translucide";
27330        data.item: "onshow" "raise";
27331        // other options
27332        //      data.item: "onhide" "lower";
27333        //      data.item: "onshow" "lower";
27334        images {
27335            image: "frame_1.png" COMP;
27336            image: "frame_2.png" COMP;
27337            image: "dia_grad.png" COMP;
27338        }
27339        parts {
27340            part { name: "clip_base";
27341                type: RECT;
27342                mouse_events: 0;
27343                description { state: "default" 0.0;
27344                    rel1 {
27345                        to: "base";
27346                        offset: -9999 -9999;
27347                    }
27348                    rel2 {
27349                        to: "base";
27350                        offset: 9999 9999;
27351                    }
27352                    color: 255 255 255 120;
27353                }
27354                description { state: "visible" 0.0;
27355                    inherit: "default" 0.0;
27356                }
27357                description { state: "hidden" 0.0;
27358                    inherit: "default" 0.0;
27359                    color: 255 255 255 0;
27360                    visible: 0;
27361                }
27362            }
27363            part { name: "clip";
27364                type: RECT;
27365                mouse_events: 0;
27366                description { state: "default" 0.0;
27367                    rel1 {
27368                        to: "base";
27369                        offset: -9999 -9999;
27370                    }
27371                    rel2 {
27372                        to: "base";
27373                        offset: 9999 9999;
27374                    }
27375                    color: 255 255 255 255;
27376                }
27377                description { state: "visible" 0.0;
27378                    inherit: "default" 0.0;
27379                }
27380                description { state: "hidden" 0.0;
27381                    inherit: "default" 0.0;
27382                    color: 255 255 255 0;
27383                    visible: 0;
27384                }
27385            }
27386            part { name: "base0";
27387                mouse_events:  0;
27388                clip_to: "clip_base";
27389                description { state: "default" 0.0;
27390                    image.normal: "dia_grad.png";
27391                    rel1.to: "over";
27392                    rel2.to: "over";
27393                    fill {
27394                        smooth: 0;
27395                        size {
27396                            relative: 0.0 1.0;
27397                            offset: 64 0;
27398                        }
27399                    }
27400                }
27401            }
27402            part { name: "base";
27403                mouse_events:  0;
27404                clip_to: "clip_base";
27405                description { state: "default" 0.0;
27406                    image {
27407                        normal: "frame_2.png";
27408                        border: 5 5 32 26;
27409                        middle: 0;
27410                    }
27411                    fill.smooth : 0;
27412                }
27413            }
27414            part { name: "over";
27415                mouse_events:  0;
27416                clip_to: "clip";
27417                description { state:    "default" 0.0;
27418                    rel1 {
27419                        to: "base";
27420                        offset: 4 4;
27421                    }
27422                    rel2 {
27423                        to: "base";
27424                        offset: -5 -5;
27425                    }
27426                    image {
27427                        normal: "frame_1.png";
27428                        border: 2 2 28 22;
27429                        middle: 0;
27430                    }
27431                    fill.smooth : 0;
27432                }
27433            }
27434            part { name: "elm.swallow.content";
27435                type: SWALLOW;
27436                clip_to: "clip";
27437                description { state: "default" 0.0;
27438                    rel1 {
27439                        to: "base";
27440                        offset: 8 8;
27441                    }
27442                    rel2 {
27443                        to: "base";
27444                        offset: -9 -9;
27445                    }
27446                }
27447            }
27448        }
27449        programs {
27450            program { name: "push_start";
27451                signal: "elm,action,push";
27452                source: "elm";
27453                action:  STATE_SET "hidden" 0.0;
27454                target: "clip";
27455                target: "clip_base";
27456                after: "show_start2";
27457            }
27458            program { name: "show_start";
27459                signal: "elm,action,show";
27460                source: "elm";
27461                action:  STATE_SET "hidden" 0.0;
27462                target: "clip";
27463                target: "clip_base";
27464                after: "show_start2";
27465            }
27466            program { name: "show_start2";
27467                action:  STATE_SET "visible" 0.0;
27468                transition: DECELERATE 0.5;
27469                target: "clip";
27470                target: "clip_base";
27471                after: "show_end";
27472            }
27473            program { name: "show_end";
27474                action: SIGNAL_EMIT "elm,action,show,finished" "";
27475            }
27476            program { name: "pop_start";
27477                signal: "elm,action,pop";
27478                source: "elm";
27479                action:  STATE_SET "visible" 0.0;
27480                target: "clip";
27481                target: "clip_base";
27482                after: "hide_start2";
27483            }
27484            program { name: "hide_start";
27485                signal: "elm,action,hide";
27486                source: "elm";
27487                action:  STATE_SET "visible" 0.0;
27488                target: "clip";
27489                target: "clip_base";
27490                after: "hide_start2";
27491            }
27492            program { name: "hide_start2";
27493                action:  STATE_SET "hidden" 0.0;
27494                transition: DECELERATE 0.5;
27495                target: "clip";
27496                target: "clip_base";
27497                after: "hide_end";
27498            }
27499            program { name: "hide_end";
27500                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27501            }
27502            program { name: "reset";
27503                signal: "elm,action,reset";
27504                source: "elm";
27505                action:  STATE_SET "default" 0.0;
27506                target: "clip_base";
27507                target: "clip";
27508            }
27509        }
27510    }
27511    group { name: "elm/pager/base/fade_invisible";
27512        data.item: "onshow" "raise";
27513        // other options
27514        //      data.item: "onhide" "lower";
27515        //      data.item: "onshow" "lower";
27516        parts {
27517            part { name: "clip";
27518                type: RECT;
27519                mouse_events: 0;
27520                description { state: "default" 0.0;
27521                    rel1 {
27522                        offset: -9999 -9999;
27523                    }
27524                    rel2 {
27525                        offset: 9999 9999;
27526                    }
27527                    color: 255 255 255 255;
27528                }
27529                description { state: "visible" 0.0;
27530                    inherit: "default" 0.0;
27531                }
27532                description { state: "hidden" 0.0;
27533                    inherit: "default" 0.0;
27534                    color: 255 255 255 0;
27535                    visible: 0;
27536                }
27537            }
27538            part { name: "elm.swallow.content";
27539                type: SWALLOW;
27540                clip_to: "clip";
27541                description { state: "default" 0.0;
27542                    rel1 {
27543                        offset: 8 8;
27544                    }
27545                    rel2 {
27546                        offset: -9 -9;
27547                    }
27548                }
27549            }
27550        }
27551        programs {
27552            program { name: "push_start";
27553                signal: "elm,action,push";
27554                source: "elm";
27555                action:  STATE_SET "hidden" 0.0;
27556                target: "clip";
27557                after: "show_start2";
27558            }
27559            program { name: "show_start";
27560                signal: "elm,action,show";
27561                source: "elm";
27562                action:  STATE_SET "hidden" 0.0;
27563                target: "clip";
27564                after: "show_start2";
27565            }
27566            program { name: "show_start2";
27567                action:  STATE_SET "visible" 0.0;
27568                transition: DECELERATE 0.5;
27569                target: "clip";
27570                after: "show_end";
27571            }
27572            program { name: "show_end";
27573                action: SIGNAL_EMIT "elm,action,show,finished" "";
27574            }
27575            program { name: "pop_start";
27576                signal: "elm,action,pop";
27577                source: "elm";
27578                action:  STATE_SET "visible" 0.0;
27579                target: "clip";
27580                after: "hide_start2";
27581            }
27582            program { name: "hide_start";
27583                signal: "elm,action,hide";
27584                source: "elm";
27585                action:  STATE_SET "visible" 0.0;
27586                target: "clip";
27587                after: "hide_start2";
27588            }
27589            program { name: "hide_start2";
27590                action:  STATE_SET "hidden" 0.0;
27591                transition: DECELERATE 0.5;
27592                target: "clip";
27593                after: "hide_end";
27594            }
27595            program { name: "hide_end";
27596                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27597            }
27598            program { name: "reset";
27599                signal: "elm,action,reset";
27600                source: "elm";
27601                action:  STATE_SET "default" 0.0;
27602                target: "clip";
27603            }
27604        }
27605    }
27606
27607    group { name: "elm/pager/base/flip";
27608       data.item: "onshow" "raise";
27609       images {
27610          image: "frame_1.png" COMP;
27611          image: "frame_2.png" COMP;
27612          image: "dia_grad.png" COMP;
27613       }
27614       parts {
27615          part { name: "elm.swallow.content";
27616             type: SWALLOW;
27617             description { state: "default" 0.0;
27618                map {
27619                   on: 1;
27620                   smooth: 1;
27621                   backface_cull: 1;
27622                   perspective_on: 1;
27623                }
27624                perspective {
27625                   zplane: 0;
27626                   focal: 1000;
27627                }
27628             }
27629             description { state: "hidden" 0.0;
27630                inherit: "default" 0.0;
27631                visible: 0;
27632                map.rotation.y: 90.0;
27633             }
27634             description { state: "before_hidden" 0.0;
27635                inherit: "default" 0.0;
27636                visible: 0;
27637                map.rotation.y: -90.0;
27638             }
27639          }
27640       }
27641       programs {
27642          program { name: "push_start";
27643             signal: "elm,action,push";
27644             source: "elm";
27645             after: "push1";
27646          }
27647          program { name: "push1";
27648             action:  STATE_SET "hidden" 0.0;
27649             target: "elm.swallow.content";
27650             after: "push2";
27651          }
27652          program { name: "push2";
27653             action:  STATE_SET "default" 0.0;
27654             in: 0.5 0.0;
27655             transition: LINEAR 0.5;
27656             target: "elm.swallow.content";
27657             after: "push3";
27658          }
27659          program { name: "push3";
27660             action: SIGNAL_EMIT "elm,action,show,finished" "";
27661          }
27662
27663          program { name: "show_start";
27664             signal: "elm,action,show";
27665             source: "elm";
27666             after: "show1";
27667          }
27668          program { name: "show1";
27669             action:  STATE_SET "before_hidden" 0.0;
27670             target: "elm.swallow.content";
27671             after: "show2";
27672          }
27673          program { name: "show2";
27674             action:  STATE_SET "default" 0.0;
27675             in: 0.5 0.0;
27676             transition: LINEAR 0.5;
27677             target: "elm.swallow.content";
27678             after: "show3";
27679          }
27680          program { name: "show3";
27681             action: SIGNAL_EMIT "elm,action,show,finished" "";
27682          }
27683
27684          program { name: "pop_start";
27685             signal: "elm,action,pop";
27686             source: "elm";
27687             after: "pop1";
27688          }
27689          program { name: "pop1";
27690             action:  STATE_SET "default" 0.0;
27691             target: "elm.swallow.content";
27692             after: "pop2";
27693          }
27694          program { name: "pop2";
27695             action:  STATE_SET "hidden" 0.0;
27696             transition: LINEAR 0.5;
27697             target: "elm.swallow.content";
27698             after: "pop3";
27699          }
27700          program { name: "pop3";
27701             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27702          }
27703
27704          program { name: "hide_start";
27705             signal: "elm,action,hide";
27706             source: "elm";
27707             after: "hide1";
27708          }
27709          program { name: "hide1";
27710             action:  STATE_SET "default" 0.0;
27711             target: "elm.swallow.content";
27712             after: "hide2";
27713          }
27714          program { name: "hide2";
27715             action:  STATE_SET "before_hidden" 0.0;
27716             transition: LINEAR 0.5;
27717             target: "elm.swallow.content";
27718             after: "hide3";
27719          }
27720          program { name: "hide3";
27721             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27722          }
27723
27724          program { name: "reset";
27725             signal: "elm,action,reset";
27726             source: "elm";
27727             action:  STATE_SET "default" 0.0;
27728             target: "elm.swallow.content";
27729          }
27730       }
27731    }
27732
27733
27734
27735 ///////////////////////////////////////////////////////////////////////////////
27736 // FIXME: this doesn't look too hot. need to fix it up
27737    group { name: "elm/progressbar/horizontal/default";
27738       images {
27739          image: "shelf_inset.png" COMP;
27740          image: "bt_sm_base2.png" COMP;
27741          image: "bt_sm_hilight.png" COMP;
27742          image: "bt_sm_shine.png" COMP;
27743       }
27744       parts {
27745          part { name: "elm.background.progressbar";
27746             type: RECT;
27747             mouse_events: 0;
27748             description {
27749                state: "default" 0.0;
27750                rel1 {
27751                   relative: 0.0 0.0;
27752                   offset: 0 0;
27753                }
27754                rel2 {
27755                   relative: 1.0 1.0;
27756                }
27757             }
27758          }
27759          part { name: "elm.swallow.bar";
27760             mouse_events: 0;
27761             type: SWALLOW;
27762             description {
27763                min: 48 28;
27764                max: 99999 28;
27765                state: "default" 0.0;
27766                rel1 {
27767                   to_x: "elm.text";
27768                   to_y: "elm.background.progressbar";
27769                   relative: 1.0 0.0;
27770                }
27771                rel2 {
27772                   to: "elm.background.progressbar";
27773                   relative: 1.0 1.0;
27774                }
27775             }
27776          }
27777          part { name: "elm.swallow.content";
27778             type: SWALLOW;
27779             description { state: "default" 0.0;
27780                visible: 0;
27781                align: 0.0 0.5;
27782                rel1 {
27783                   offset: 4 0;
27784                   to_y: "elm.background.progressbar";
27785                }
27786                rel2 {
27787                   offset: 3 -1;
27788                   relative: 0.0 1.0;
27789                   to_y: "elm.background.progressbar";
27790                }
27791             }
27792             description { state: "visible" 0.0;
27793                inherit: "default" 0.0;
27794                visible: 1;
27795                aspect: 1.0 1.0;
27796                aspect_preference: VERTICAL;
27797                rel2.offset: 4 -1;
27798             }
27799          }
27800          part { name: "elm.text";
27801             type: TEXT;
27802             mouse_events: 0;
27803             scale: 1;
27804             description { state: "default" 0.0;
27805                visible: 0;
27806                fixed: 1 1;
27807                align: 0.0 0.5;
27808                rel1.to_x: "elm.swallow.content";
27809                rel1.relative: 1.0 0.0;
27810                rel1.offset: -1 4;
27811                rel2.to_x: "elm.swallow.content";
27812                rel2.relative: 1.0 1.0;
27813                rel2.offset: -1 -5;
27814                color: 0 0 0 255;
27815                text {
27816                   font: "Sans,Edje-Vera";
27817                   size: 10;
27818                   min: 0 0;
27819                   align: 0.0 0.5;
27820                }
27821             }
27822             description { state: "visible" 0.0;
27823                inherit: "default" 0.0;
27824                visible: 1;
27825                text.min: 1 1;
27826                rel1.offset: 0 4;
27827                rel2.offset: 0 -5;
27828             }
27829          }
27830
27831          part { name: "background";
27832             mouse_events: 0;
27833             clip_to: "elm.background.progressbar";
27834             description {
27835                state: "default" 0.0;
27836                rel1 {
27837                   to: "elm.swallow.bar";
27838                   relative: 0.0 0.0;
27839                }
27840                rel2 {
27841                   to: "elm.swallow.bar";
27842                   relative: 1.0 1.0;
27843                   offset: -1 -1;
27844                }
27845                image {
27846                   normal: "shelf_inset.png";
27847                   border: 7 7 7 7;
27848                }
27849             }
27850          }
27851
27852          part { name: "elm.text.status";
27853             type: TEXT;
27854             mouse_events: 0;
27855             description { state: "default" 0.0;
27856                fixed: 1 1;
27857                visible: 1;
27858                rel1 {
27859                   to: "background";
27860                   relative: 0.5 0.5;
27861                }
27862                rel2 {
27863                   to: "background";
27864                   relative: 0.5 0.5;
27865                }
27866                text {
27867                   font: "Sans:style=Bold,Edje-Vera-Bold";
27868                   size: 10;
27869                   min: 1 1;
27870                   align: 0.5 0.0;
27871                }
27872                color: 0 0 0 255;
27873             }
27874             description { state: "hidden" 0.0;
27875                inherit: "default" 0.0;
27876                visible: 0;
27877                text.min: 0 0;
27878             }
27879          }
27880
27881          part { name: "elm.progress.progressbar";
27882             mouse_events: 0;
27883             clip_to: "elm.background.progressbar";
27884             description {
27885                state: "default" 0.0;
27886                min: 14 28;
27887                fixed: 1 1;
27888                rel1 {
27889                   to: "elm.swallow.bar";
27890                   relative: 0.0 0.0;
27891                }
27892                rel2 {
27893                   to_y: "elm.swallow.bar";
27894                   to_x: "elm.cur.progressbar";
27895                   offset: -1 -1;
27896                }
27897                image {
27898                   normal: "bt_sm_base2.png";
27899                   border: 6 6 6 6;
27900                }
27901             }
27902             description {
27903                state: "invert" 0.0;
27904                inherit: "default" 0.0;
27905                rel1 {
27906                   to_y: "elm.swallow.bar";
27907                   to_x: "elm.cur.progressbar";
27908                }
27909                rel2 {
27910                   to: "elm.swallow.bar";
27911                   relative: 1.0 1.0;
27912                }
27913             }
27914             description {
27915                state: "state_begin" 0.0;
27916                inherit: "default" 0.0;
27917                rel1 {
27918                   to: "elm.swallow.bar";
27919                   relative: 0.0 0.0;
27920                }
27921                rel2 {
27922                   to: "elm.swallow.bar";
27923                   relative: 0.1 1.0;
27924                }
27925             }
27926             description {
27927                state: "state_end" 0.0;
27928                inherit: "default" 0.0;
27929                rel1 {
27930                   to: "elm.swallow.bar";
27931                   relative: 0.9 0.0;
27932                }
27933                rel2 {
27934                   to: "elm.swallow.bar";
27935                   relative: 1.0 1.0;
27936                }
27937             }
27938          }
27939          part { name: "text-bar";
27940             type: TEXT;
27941             mouse_events: 0;
27942             clip_to: "progress-rect";
27943             effect: SOFT_SHADOW;
27944             scale: 1;
27945             description { state: "default" 0.0;
27946                align: 0.0 0.0;
27947                fixed: 1 1;
27948                visible: 1;
27949                rel1.to: "elm.text.status";
27950                rel1.offset: -1 -1;
27951                rel2.to: "elm.text.status";
27952                text {
27953                   text_source: "elm.text.status";
27954                   font: "Sans:style=Bold,Edje-Vera-Bold";
27955                   size: 10;
27956                   min: 1 1;
27957                   align: 0.0 0.0;
27958                }
27959                color: 224 224 224 255;
27960                color3: 0 0 0 64;
27961             }
27962             description { state: "hidden" 0.0;
27963                inherit: "default" 0.0;
27964                visible: 0;
27965                text.min: 0 0;
27966             }
27967          }
27968
27969          part { name: "over1";
27970             mouse_events: 0;
27971             description { state: "default" 0.0;
27972                rel1.to: "elm.progress.progressbar";
27973                rel2.to: "elm.progress.progressbar";
27974                rel2.relative: 1.0 0.5;
27975                image {
27976                   normal: "bt_sm_hilight.png";
27977                   border: 6 6 6 0;
27978                }
27979             }
27980          }
27981
27982          part { name: "over2";
27983             mouse_events: 1;
27984             repeat_events: 1;
27985             description { state: "default" 0.0;
27986                rel1.to: "elm.progress.progressbar";
27987                rel2.to: "elm.progress.progressbar";
27988                image {
27989                   normal: "bt_sm_shine.png";
27990                   border: 6 6 6 0;
27991                }
27992             }
27993          }
27994
27995          part { name: "elm.cur.progressbar";
27996             mouse_events: 0;
27997             dragable {
27998                confine: "background";
27999                x: 1 1 1;
28000                y: 0 0 0;
28001             }
28002             description { state: "default" 0.0;
28003                min: 14 28;
28004                fixed: 1 1;
28005                visible: 0;
28006                rel1 {
28007                   to: "background";
28008                   relative: 0 0;
28009                }
28010                rel2.to: "background";
28011            }
28012          }
28013          part { name: "progress-rect";
28014             type: RECT;
28015             mouse_events: 0;
28016             description {
28017                state: "default" 0.0;
28018                rel1.to: "elm.progress.progressbar";
28019                rel2.to: "elm.progress.progressbar";
28020             }
28021          }
28022       }
28023       programs {
28024          program { name: "label_show";
28025             signal: "elm,state,text,visible";
28026             source: "elm";
28027             action:  STATE_SET "visible" 0.0;
28028             target: "elm.text";
28029          }
28030          program { name: "label_hide";
28031             signal: "elm,state,text,hidden";
28032             source: "elm";
28033             action:  STATE_SET "default" 0.0;
28034             target: "elm.text";
28035          }
28036          program { name: "icon_show";
28037             signal: "elm,state,icon,visible";
28038             source: "elm";
28039             action:  STATE_SET "visible" 0.0;
28040             target: "elm.swallow.content";
28041          }
28042          program { name: "icon_hide";
28043             signal: "elm,state,icon,hidden";
28044             source: "elm";
28045             action:  STATE_SET "default" 0.0;
28046             target: "elm.swallow.content";
28047          }
28048          program { name: "units_show";
28049             signal: "elm,state,units,visible";
28050             source: "elm";
28051             action:  STATE_SET "default" 0.0;
28052             target: "text-bar";
28053             target: "elm.text.status";
28054          }
28055          program { name: "units_hide";
28056             signal: "elm,state,units,hidden";
28057             source: "elm";
28058             action:  STATE_SET "hidden" 0.0;
28059             target: "text-bar";
28060             target: "elm.text.status";
28061          }
28062          program { name: "slide_to_end";
28063             action:  STATE_SET "state_end" 0.0;
28064             transition: LINEAR 0.5;
28065             target: "elm.progress.progressbar";
28066             after: "slide_to_begin";
28067          }
28068          program { name: "slide_to_begin";
28069             signal: "elm,state,slide,begin";
28070             action: STATE_SET "state_begin" 0.0;
28071             target: "elm.progress.progressbar";
28072             transition: LINEAR 0.5;
28073             after: "slide_to_end";
28074          }
28075          program { name: "start_pulse";
28076             signal: "elm,state,pulse,start";
28077             source: "elm";
28078             after: "slide_to_end";
28079          }
28080          program { name: "stop_pulse";
28081             signal: "elm,state,pulse,stop";
28082             source: "elm";
28083             action: ACTION_STOP;
28084             target: "slide_to_begin";
28085             target: "slide_to_end";
28086             target: "start_pulse";
28087             after: "state_pulse";
28088          }
28089          program { name: "state_pulse";
28090             signal: "elm,state,pulse";
28091             source: "elm";
28092             action: STATE_SET "state_begin" 0.0;
28093             target: "elm.progress.progressbar";
28094             after: "units_hide";
28095          }
28096          program { name: "state_fraction";
28097             signal: "elm,state,fraction";
28098             source: "elm";
28099             action: ACTION_STOP;
28100             target: "slide_to_begin";
28101             target: "slide_to_end";
28102             target: "start_pulse";
28103             action: STATE_SET "default" 0.0;
28104             target: "elm.progress.progressbar";
28105          }
28106          program { name: "set_invert_on";
28107             signal: "elm,state,inverted,on";
28108             source: "elm";
28109             action:  STATE_SET "invert" 0.0;
28110             target: "elm.progress.progressbar";
28111          }
28112          program { name: "set_invert_off";
28113             signal: "elm,state,inverted,off";
28114             source: "elm";
28115             action:  STATE_SET "default" 0.0;
28116             target: "elm.progress.progressbar";
28117          }
28118       }
28119    }
28120
28121 ///////////////////////////////////////////////////////////////////////////////
28122    group { name: "elm/progressbar/vertical/default";
28123       images {
28124          image: "shelf_inset.png" COMP;
28125          image: "bt_sm_base2.png" COMP;
28126          image: "bt_sm_hilight.png" COMP;
28127          image: "bt_sm_shine.png" COMP;
28128       }
28129       parts {
28130          part { name: "elm.background.progressbar";
28131             type: RECT;
28132             mouse_events: 0;
28133             description {
28134                state: "default" 0.0;
28135                rel1 {
28136                   relative: 0.0 0.0;
28137                   offset: 0 0;
28138                }
28139                rel2 {
28140                   relative: 1.0 1.0;
28141                   offset: -1 -1;
28142                }
28143             }
28144          }
28145          part { name: "elm.swallow.bar";
28146             type: SWALLOW;
28147             scale: 1;
28148             description { state: "default" 0.0;
28149                min: 28 48;
28150                max: 28 9999;
28151                align: 0.5 1.0;
28152                rel1 {
28153                   to_y: "elm.text";
28154                   relative: 0.0 1.0;
28155                   offset: 0 2;
28156                }
28157                rel2 {
28158                   to_y: "elm.text.box";
28159                   relative: 1.0 0.0;
28160                   offset: -1 -3;
28161                }
28162             }
28163          }
28164          part { name: "elm.swallow.content";
28165             type: SWALLOW;
28166             description { state: "default" 0.0;
28167                visible: 0;
28168                align: 0.5 0.0;
28169                rel1 {
28170                   offset: 0 4;
28171                   to_x: "elm.swallow.bar";
28172                }
28173                rel2 {
28174                   offset: -1 3;
28175                   relative: 1.0 0.0;
28176                   to_x: "elm.swallow.bar";
28177                }
28178             }
28179             description { state: "visible" 0.0;
28180                inherit: "default" 0.0;
28181                visible: 1;
28182                aspect: 1.0 1.0;
28183                aspect_preference: HORIZONTAL;
28184                rel2.offset: -1 4;
28185             }
28186          }
28187          part { name: "elm.text";
28188             type: TEXT;
28189             mouse_events: 0;
28190             scale: 1;
28191             description { state: "default" 0.0;
28192                visible: 0;
28193                fixed: 1 1;
28194                align: 0.5 0.0;
28195                rel1.to_y: "elm.swallow.content";
28196                rel1.relative: 0.5 1.0;
28197                rel1.offset: 0 -1;
28198                rel2.to_y: "elm.swallow.content";
28199                rel2.relative: 0.5 1.0;
28200                rel2.offset: -1 -1;
28201                color: 0 0 0 255;
28202                text {
28203                   font: "Sans,Edje-Vera";
28204                   size: 10;
28205                   min: 0 0;
28206                   align: 0.5 0.0;
28207                }
28208             }
28209             description { state: "visible" 0.0;
28210                inherit: "default" 0.0;
28211                visible: 1;
28212                text.min: 1 1;
28213                rel1.offset: 4 0;
28214                rel2.offset: -5 0;
28215             }
28216          }
28217
28218          part { name: "background";
28219             mouse_events: 0;
28220             clip_to: "elm.background.progressbar";
28221             description {
28222                state: "default" 0.0;
28223                rel1 {
28224                   to: "elm.swallow.bar";
28225                   relative: 0.0 0.0;
28226                }
28227                rel2 {
28228                   to: "elm.swallow.bar";
28229                   relative: 1.0 1.0;
28230                   offset: -1 -1;
28231                }
28232                image {
28233                   normal: "shelf_inset.png";
28234                   border: 7 7 7 7;
28235                }
28236             }
28237          }
28238
28239          part { name: "elm.progress.progressbar";
28240             mouse_events: 0;
28241             clip_to: "elm.background.progressbar";
28242             description {
28243                state: "default" 0.0;
28244                min: 28 14;
28245                fixed: 1 1;
28246                rel1 {
28247                   to: "elm.swallow.bar";
28248                   relative: 0.0 0.0;
28249                }
28250                rel2 {
28251                   to_x: "elm.swallow.bar";
28252                   to_y: "elm.cur.progressbar";
28253                   offset: -1 -1;
28254                }
28255                image {
28256                   normal: "bt_sm_base2.png";
28257                   border: 6 6 6 6;
28258                }
28259             }
28260             description {
28261                state: "invert" 0.0;
28262                inherit: "default" 0.0;
28263                rel1 {
28264                   to_x: "elm.swallow.bar";
28265                   to_y: "elm.cur.progressbar";
28266                }
28267                rel2 {
28268                   to: "elm.swallow.bar";
28269                   relative: 1.0 1.0;
28270                }
28271             }
28272             description {
28273                state: "state_begin" 0.0;
28274                inherit: "default" 0.0;
28275                rel1 {
28276                   to: "elm.swallow.bar";
28277                   relative: 0.0 0.0;
28278                }
28279                rel2 {
28280                   to: "elm.swallow.bar";
28281                   relative: 1.0 0.1;
28282                }
28283             }
28284             description {
28285                state: "state_end" 0.0;
28286                inherit: "default" 0.0;
28287                rel1 {
28288                   to: "elm.swallow.bar";
28289                   relative: 0.0 0.9;
28290                }
28291                rel2 {
28292                   to: "elm.swallow.bar";
28293                   relative: 1.0 1.0;
28294                }
28295             }
28296          }
28297
28298          part { name: "over1";
28299             mouse_events: 0;
28300             description { state: "default" 0.0;
28301                rel1.to: "elm.progress.progressbar";
28302                rel2.to: "elm.progress.progressbar";
28303                rel2.relative: 1.0 0.5;
28304                image {
28305                   normal: "bt_sm_hilight.png";
28306                   border: 6 6 6 0;
28307                }
28308             }
28309          }
28310
28311          part { name: "over2";
28312             mouse_events: 1;
28313             repeat_events: 1;
28314             description { state: "default" 0.0;
28315                rel1.to: "elm.progress.progressbar";
28316                rel2.to: "elm.progress.progressbar";
28317                image {
28318                   normal: "bt_sm_shine.png";
28319                   border: 6 6 6 0;
28320                }
28321             }
28322          }
28323
28324          part { name: "elm.cur.progressbar";
28325             mouse_events: 0;
28326             dragable {
28327                confine: "background";
28328                x: 0 0 0;
28329                y: 1 1 1;
28330             }
28331             description { state: "default" 0.0;
28332                min: 28 14;
28333                fixed: 1 1;
28334                visible: 0;
28335                rel1 {
28336                   to: "background";
28337                   relative: 0 0;
28338                }
28339                rel2.to: "background";
28340            }
28341          }
28342
28343          part { name: "elm.text.box";
28344             mouse_events: 0;
28345             type: RECT;
28346             description { state: "default" 0.0;
28347                visible: 0;
28348                rel1 {
28349                   to: "elm.text.status";
28350                   offset: -2 -2;
28351                }
28352                rel2 {
28353                   to: "elm.text.status";
28354                   offset: 2 2;
28355                }
28356                color: 255 255 255 0;
28357             }
28358             description { state: "visible" 0.0;
28359                inherit: "default" 0.0;
28360                visible: 1;
28361             }
28362          }
28363          part { name: "elm.text.status";
28364             type: TEXT;
28365             mouse_events: 0;
28366             scale: 1;
28367             description { state: "default" 0.0;
28368                visible: 0;
28369                fixed: 1 1;
28370                align: 0.5 1.0;
28371                rel1.relative: 0.0 1.0;
28372                rel1.offset: 2 0;
28373                rel2.relative: 1.0 1.0;
28374                rel2.offset: -2 0;
28375                color: 0 0 0 255;
28376                text {
28377                   font: "Sans:style=Bold,Edje-Vera-Bold";
28378                   size: 10;
28379                   min: 0 0;
28380                   align: 0.5 0.0;
28381                }
28382             }
28383             description { state: "visible" 0.0;
28384                inherit: "default" 0.0;
28385                fixed: 1 1;
28386                visible: 1;
28387                text.min: 1 1;
28388                rel1.offset: 8 -9;
28389                rel2.offset: -9 -9;
28390             }
28391          }
28392       }
28393       programs {
28394          program { name: "label_show";
28395             signal: "elm,state,text,visible";
28396             source: "elm";
28397             action:  STATE_SET "visible" 0.0;
28398             target: "elm.text";
28399          }
28400          program { name: "label_hide";
28401             signal: "elm,state,text,hidden";
28402             source: "elm";
28403             action:  STATE_SET "default" 0.0;
28404             target: "elm.text";
28405          }
28406          program { name: "icon_show";
28407             signal: "elm,state,icon,visible";
28408             source: "elm";
28409             action:  STATE_SET "visible" 0.0;
28410             target: "elm.swallow.content";
28411          }
28412          program { name: "icon_hide";
28413             signal: "elm,state,icon,hidden";
28414             source: "elm";
28415             action:  STATE_SET "default" 0.0;
28416             target: "elm.swallow.content";
28417          }
28418          program { name: "units_show";
28419             signal: "elm,state,units,visible";
28420             source: "elm";
28421             action:  STATE_SET "visible" 0.0;
28422             target: "elm.text.status";
28423             target: "elm.text.box";
28424          }
28425          program { name: "units_hide";
28426             signal: "elm,state,units,hidden";
28427             source: "elm";
28428             action:  STATE_SET "default" 0.0;
28429             target: "elm.text.status";
28430             target: "elm.text.box";
28431          }
28432          program { name: "slide_to_end";
28433             action:  STATE_SET "state_end" 0.0;
28434             transition: LINEAR 0.5;
28435             target: "elm.progress.progressbar";
28436             after: "slide_to_begin";
28437          }
28438          program { name: "slide_to_begin";
28439             action:  STATE_SET "state_begin" 0.0;
28440             target: "elm.progress.progressbar";
28441             transition: LINEAR 0.5;
28442             after: "slide_to_end";
28443          }
28444          program { name: "start_pulse";
28445             signal: "elm,state,pulse,start";
28446             source: "elm";
28447             action: STATE_SET "state_begin" 0.0;
28448             target: "elm.progress.progressbar";
28449             after: "slide_to_end";
28450          }
28451          program { name: "stop_pulse";
28452             signal: "elm,state,pulse,stop";
28453             source: "elm";
28454             action: ACTION_STOP;
28455             target: "slide_to_begin";
28456             target: "slide_to_end";
28457             target: "start_pulse";
28458             after: "state_pulse";
28459          }
28460          program { name: "state_pulse";
28461             signal: "elm,state,pulse";
28462             source: "elm";
28463             action: STATE_SET "state_begin" 0.0;
28464             target: "elm.progress.progressbar";
28465             after: "units_hide";
28466          }
28467          program { name: "state_fraction";
28468             signal: "elm,state,fraction";
28469             source: "elm";
28470             action: ACTION_STOP;
28471             target: "slide_to_begin";
28472             target: "slide_to_end";
28473             target: "start_pulse";
28474             action: STATE_SET "default" 0.0;
28475             target: "elm.progress.progressbar";
28476          }
28477          program { name: "set_invert_on";
28478             signal: "elm,state,inverted,on";
28479             source: "elm";
28480             action:  STATE_SET "invert" 0.0;
28481             target: "elm.progress.progressbar";
28482             target: "elm.cur.progressbar";
28483          }
28484          program { name: "set_invert_off";
28485             signal: "elm,state,inverted,off";
28486             source: "elm";
28487             action:  STATE_SET "default" 0.0;
28488             target: "elm.progress.progressbar";
28489             target: "elm.cur.progressbar";
28490          }
28491       }
28492    }
28493
28494 ///////////////////////////////////////////////////////////////////////////////
28495    group { name: "elm/separator/horizontal/default";
28496        images {
28497            image: "separator_h.png" COMP;
28498        }
28499        parts {
28500            part { name: "separator"; // separator group
28501                description { state: "default" 0.0;
28502                    min: 2 2;
28503                    rel1.offset: 4 4;
28504                    rel2.offset: -5 -5;
28505                    image {
28506                        normal: "separator_h.png";
28507                    }
28508                    fill {
28509                        smooth: 0;
28510                    }
28511                }
28512            }
28513        }
28514    }
28515
28516    ///////////////////////////////////////////////////////////////////////////////
28517    group { name: "elm/separator/vertical/default";
28518        images {
28519            image: "separator_v.png" COMP;
28520        }
28521        parts {
28522            part { name: "separator"; // separator group
28523                description { state: "default" 0.0;
28524                    min: 2 2;
28525                    rel1.offset: 4 4;
28526                    rel2.offset: -5 -5;
28527                    image {
28528                        normal: "separator_v.png";
28529                    }
28530                    fill {
28531                        smooth: 0;
28532                    }
28533                }
28534            }
28535        }
28536    }
28537
28538    group { name: "elm/progressbar/horizontal/wheel";
28539        images {
28540            image: "busy-1.png" COMP;
28541            image: "busy-2.png" COMP;
28542            image: "busy-3.png" COMP;
28543            image: "busy-4.png" COMP;
28544            image: "busy-5.png" COMP;
28545            image: "busy-6.png" COMP;
28546            image: "busy-7.png" COMP;
28547            image: "busy-8.png" COMP;
28548            image: "busy-9.png" COMP;
28549        }
28550        parts {
28551            part { name: "elm.background.progressbar";
28552                mouse_events: 0;
28553                type: RECT;
28554                description {
28555                    state: "default" 0.0;
28556                }
28557            }
28558            part { name: "elm.swallow.bar";
28559                mouse_events: 0;
28560                type: SWALLOW;
28561                description { state: "default" 0.0;
28562                    min: 0 0;
28563                    max: 0 0;
28564                    visible: 0;
28565                }
28566            }
28567            part { name: "elm.swallow.content";
28568                type: SWALLOW;
28569                description { state: "default" 0.0;
28570                    min: 0 0;
28571                    max: 0 0;
28572                    visible: 0;
28573                }
28574            }
28575            part { name: "background";
28576                mouse_events: 0;
28577                clip_to: "elm.background.progressbar";
28578                description {
28579                    state: "default" 0.0;
28580                    min: 32 32;
28581                    max: 32 32;
28582                    visible: 1;
28583                    aspect: 1.0 1.0;
28584                    aspect_preference: BOTH;
28585                    image {
28586                        normal: "busy-9.png";
28587                        border: 7 7 7 7;
28588                    }
28589                }
28590                description {
28591                    state: "pulse" 0.0;
28592                    inherit: "default" 0.0;
28593                    image {
28594                        normal: "busy-9.png";
28595                        tween:  "busy-1.png";
28596                        tween:  "busy-2.png";
28597                        tween:  "busy-3.png";
28598                        tween:  "busy-4.png";
28599                        tween:  "busy-5.png";
28600                        tween:  "busy-6.png";
28601                        tween:  "busy-7.png";
28602                        tween:  "busy-8.png";
28603                        border: 7 7 7 7;
28604                    }
28605                }
28606            }
28607        }
28608        programs {
28609            program { name: "start_pulse";
28610                signal: "elm,state,pulse,start";
28611                source: "elm";
28612                action: STATE_SET "pulse" 0.0;
28613                target: "background";
28614                transition: LINEAR 0.5;
28615                after: "start_pulse";
28616            }
28617            program { name: "stop_pulse";
28618                signal: "elm,state,pulse,stop";
28619                source: "elm";
28620                action: STATE_SET "default" 0.0;
28621                target: "background";
28622            }
28623        }
28624    }
28625
28626
28627 ///////////////////////////////////////////////////////////////////////////////
28628    group { name: "elm/spinner/base/default";
28629        images {
28630            image: "shelf_inset.png" COMP;
28631            image: "bt_base1.png" COMP;
28632            image: "bt_hilight.png" COMP;
28633            image: "bt_shine.png" COMP;
28634            image: "bt_glow.png" COMP;
28635            image: "bt_dis_base.png" COMP;
28636            image: "bt_dis_hilight.png" COMP;
28637            image: "sp_bt_l.png" COMP;
28638            image: "sp_bt_r.png" COMP;
28639        }
28640        parts {
28641            part { name: "bg";
28642                type: RECT;
28643                description { state: "default" 0.0;
28644                    min: 0 30;
28645                    rel1.offset: 1 1;
28646                    rel2.offset: -2 -2;
28647                    color: 255 255 255 0;
28648                }
28649            }
28650            part { name: "conf_over";
28651                mouse_events:  0;
28652                description { state: "default" 0.0;
28653                    rel1.to: "bg";
28654                    rel2.to: "bg";
28655                    image {
28656                        normal: "shelf_inset.png";
28657                        border: 7 7 7 7;
28658                        middle: 0;
28659                    }
28660                    fill.smooth : 0;
28661                }
28662            }
28663            part { name: "left_bt";
28664                mouse_events:  1;
28665                description { state: "default" 0.0;
28666                    rel1 { to: "bg";
28667                        offset: 3 3;
28668                    }
28669                    rel2 { to: "bg";
28670                        offset: -4 -4;
28671                    }
28672                    align: 0.0 0.5;
28673                    min: 24 24;
28674                    aspect: 1.0 1.0;
28675                    aspect_preference: VERTICAL;
28676                    image {
28677                        normal: "bt_base1.png";
28678                        border: 6 6 6 6;
28679                    }
28680                    fill.smooth : 0;
28681                }
28682                description { state: "clicked" 0.0;
28683                    inherit: "default" 0.0;
28684                    image.normal: "bt_base1.png";
28685                    image.middle: SOLID;
28686                }
28687                description { state: "disabled" 0.0;
28688                    inherit:  "default" 0.0;
28689                    image {
28690                        normal: "bt_dis_base.png";
28691                        border: 4 4 4 4;
28692                    }
28693                }
28694            }
28695            part {          name: "left_over1";
28696                mouse_events: 0;
28697                description { state: "default" 0.0;
28698                    rel1.to: "left_bt";
28699                    rel2 { to: "left_bt";
28700                        relative: 1.0 0.5;
28701                    }
28702                    image {
28703                        normal: "bt_hilight.png";
28704                        border: 7 7 7 0;
28705                    }
28706                }
28707                description { state: "disabled" 0.0;
28708                    inherit:  "default" 0.0;
28709                    image {
28710                        normal: "bt_dis_hilight.png";
28711                        border: 4 4 4 0;
28712                    }
28713                }
28714            }
28715            part { name: "left_over2";
28716                mouse_events: 1;
28717                repeat_events: 1;
28718                ignore_flags: ON_HOLD;
28719                description { state: "default" 0.0;
28720                    rel1.to: "left_bt";
28721                    rel2.to: "left_bt";
28722                    image {
28723                        normal: "bt_shine.png";
28724                        border: 7 7 7 7;
28725                    }
28726                }
28727                description { state: "disabled" 0.0;
28728                    inherit:  "default" 0.0;
28729                    visible: 0;
28730                }
28731            }
28732            part { name: "left_over3";
28733                mouse_events: 1;
28734                repeat_events: 1;
28735                description { state: "default" 0.0;
28736                    color: 255 255 255 0;
28737                    rel1.to: "left_bt";
28738                    rel2.to: "left_bt";
28739                    image {
28740                        normal: "bt_glow.png";
28741                        border: 12 12 12 12;
28742                    }
28743                    fill.smooth : 0;
28744                }
28745                description { state: "clicked" 0.0;
28746                    inherit:  "default" 0.0;
28747                    visible: 1;
28748                    color: 255 255 255 255;
28749                }
28750            }
28751            part { name: "right_bt";
28752                mouse_events:  1;
28753                description { state: "default" 0.0;
28754                    rel1 { to: "bg";
28755                        offset: -26 3;
28756                    }
28757                    rel2 { to: "bg";
28758                        offset: -4 -4;
28759                    }
28760                    align: 1.0 0.5;
28761                    min: 24 24;
28762                    aspect: 1.0 1.0;
28763                    aspect_preference: VERTICAL;
28764                    image {
28765                        normal: "bt_base1.png";
28766                        border: 5 5 4 12;
28767                    }
28768                    fill.smooth : 0;
28769                }
28770                description { state: "clicked" 0.0;
28771                    inherit: "default" 0.0;
28772                    image.normal: "bt_base1.png";
28773                    image.middle: SOLID;
28774                }
28775                description { state: "disabled" 0.0;
28776                    inherit:  "default" 0.0;
28777                    image {
28778                        normal: "bt_dis_base.png";
28779                        border: 4 4 4 4;
28780                    }
28781                }
28782            }
28783            part { name: "right_over1";
28784                mouse_events: 0;
28785                description { state: "default" 0.0;
28786                    rel1.to: "right_bt";
28787                    rel2 { to: "right_bt";
28788                        relative: 1.0 0.5;
28789                    }
28790                    image {
28791                        normal: "bt_hilight.png";
28792                        border: 7 7 7 0;
28793                    }
28794                }
28795                description { state: "disabled" 0.0;
28796                    inherit:  "default" 0.0;
28797                    image {
28798                        normal: "bt_dis_hilight.png";
28799                        border: 4 4 4 0;
28800                    }
28801                }
28802            }
28803            part { name: "right_over2";
28804                mouse_events: 1;
28805                repeat_events: 1;
28806                ignore_flags: ON_HOLD;
28807                description { state: "default" 0.0;
28808                    rel1.to: "right_bt";
28809                    rel2.to: "right_bt";
28810                    image {
28811                        normal: "bt_shine.png";
28812                        border: 7 7 7 7;
28813                    }
28814                }
28815                description { state: "disabled" 0.0;
28816                    inherit:  "default" 0.0;
28817                    visible: 0;
28818                }
28819            }
28820            part { name: "right_over3";
28821                mouse_events: 1;
28822                repeat_events: 1;
28823                description { state: "default" 0.0;
28824                    color: 255 255 255 0;
28825                    rel1.to: "right_bt";
28826                    rel2.to: "right_bt";
28827                    image {
28828                        normal: "bt_glow.png";
28829                        border: 12 12 12 12;
28830                    }
28831                    fill.smooth : 0;
28832                }
28833                description { state: "clicked" 0.0;
28834                    inherit:  "default" 0.0;
28835                    visible: 1;
28836                    color: 255 255 255 255;
28837                }
28838            }
28839            part { name: "left_bt_icon";
28840                repeat_events: 1;
28841                description { state: "default" 0.0;
28842                    rel1.to: "left_bt";
28843                    rel1.offset: 4 4;
28844                    rel2.to: "left_bt";
28845                    rel2.offset: -5 -5;
28846                    align: 0.5 0.5;
28847                    min: 16 16;
28848                    aspect: 1.0 1.0;
28849                    aspect_preference: BOTH;
28850                    image.normal: "sp_bt_l.png";
28851                }
28852                description { state: "rtl" 0.0;
28853                    inherit: "default" 0.0;
28854                    image.normal: "sp_bt_r.png";
28855                }
28856            }
28857            part { name: "right_bt_icon";
28858                repeat_events: 1;
28859                description { state: "default" 0.0;
28860                    rel1.to: "right_bt";
28861                    rel1.offset: 4 4;
28862                    rel2.to: "right_bt";
28863                    rel2.offset: -5 -5;
28864                    align: 0.5 0.5;
28865                    min: 16 16;
28866                    aspect: 1.0 1.0;
28867                    aspect_preference: BOTH;
28868                    image.normal: "sp_bt_r.png";
28869                }
28870                description { state: "rtl" 0.0;
28871                    inherit: "default" 0.0;
28872                    image.normal: "sp_bt_l.png";
28873                }
28874            }
28875            part { name: "elm.text";
28876                type: TEXT;
28877                mouse_events: 0;
28878                scale: 1;
28879                description { state: "default" 0.0;
28880                    visible: 1;
28881                    align: 0.0 0.5;
28882                    rel1 { relative: 1.0 0.0;
28883                        offset: 3 2;
28884                        to_x: "left_bt";
28885                        to_y: "bg";
28886                    }
28887                    rel2 { relative: 0.0 1.0;
28888                        offset: -3 -2;
28889                        to_x: "right_bt";
28890                        to_y: "bg";
28891                    }
28892                    color: 0 0 0 255;
28893                    text {
28894                        font: "Sans,Edje-Vera";
28895                        size: 10;
28896                        min: 1 1;
28897                        align: 0.5 0.5;
28898                    }
28899                }
28900                description { state: "active" 0.0;
28901                    inherit: "default" 0.0;
28902                    visible: 0;
28903                }
28904                description { state: "disabled_active" 0.0;
28905                    inherit: "default" 0.0;
28906                    color: 0 0 0 128;
28907                    color3: 0 0 0 0;
28908                }
28909                description { state: "disabled" 0.0;
28910                    inherit: "default" 0.0;
28911                    color: 0 0 0 128;
28912                    color3: 0 0 0 0;
28913                }
28914            }
28915            part { name: "elm.dragable.slider";
28916                type: RECT;
28917                mouse_events: 0;
28918                scale: 1;
28919                dragable {
28920                    x: 1 1 0;
28921                    y: 0 0 0;
28922                }
28923                description { state: "default" 0.0;
28924                    rel1.to: "bg";
28925                    rel2.to: "bg";
28926                    fixed: 1 1;
28927                    color: 0 0 0 0;
28928                }
28929            }
28930            part { name: "button_events";
28931                type: RECT;
28932                dragable {
28933                    events: "elm.dragable.slider";
28934                }
28935                mouse_events: 1;
28936                description { state: "default" 0.0;
28937                    rel1.to: "elm.text";
28938                    rel2.to: "elm.text";
28939                    color: 0 0 0 0;
28940                }
28941            }
28942            part { name: "elm.swallow.entry";
28943                type: SWALLOW;
28944                description { state: "default" 0.0;
28945                    visible: 0;
28946                    align: 0.5 0.5;
28947                    rel1 { relative: 1.0 0.5;
28948                        offset: 3 2;
28949                        to_x: "left_bt";
28950                        to_y: "bg";
28951                    }
28952                    rel2 { relative: 0.0 0.5;
28953                        offset: -3 -2;
28954                        to_x: "right_bt";
28955                        to_y: "bg";
28956                    }
28957                    fixed: 1 1;
28958                    color: 0 0 0 0;
28959                }
28960                description { state: "active" 0.0;
28961                    inherit: "default" 0.0;
28962                    visible: 1;
28963                    color: 255 255 255 255;
28964                }
28965                description { state: "disabled_active" 0.0;
28966                    inherit: "default" 0.0;
28967                    visible: 0;
28968                }
28969                description { state: "disabled" 0.0;
28970                    inherit: "default" 0.0;
28971                    visible: 0;
28972                }
28973            }
28974            part { name: "disabler";
28975                type: RECT;
28976                description { state: "default" 0.0;
28977                    color: 0 0 0 0;
28978                    visible: 0;
28979                }
28980                description { state: "disabled" 0.0;
28981                    inherit: "default" 0.0;
28982                    visible: 1;
28983                }
28984            }
28985        }
28986        programs {
28987            program { name: "text_show";
28988                signal: "elm,state,text,visible";
28989                source: "elm";
28990                action:  STATE_SET "visible" 0.0;
28991                target: "elm.text";
28992            }
28993            program { name: "text_hide";
28994                signal: "elm,state,text,hidden";
28995                source: "elm";
28996                action:  STATE_SET "default" 0.0;
28997                target: "elm.text";
28998            }
28999            program { name: "dec";
29000                signal: "mouse,down,1";
29001                source: "left_bt";
29002                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29003            }
29004            program { name: "dec2";
29005                signal: "mouse,up,1";
29006                source: "left_bt";
29007                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29008            }
29009            program { name: "inc";
29010                signal: "mouse,down,1";
29011                source: "right_bt";
29012                action: SIGNAL_EMIT "elm,action,increment,start" "";
29013            }
29014            program { name: "inc2";
29015                signal: "mouse,up,1";
29016                source: "right_bt";
29017                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29018            }
29019            program {
29020                name:   "left_bt_click";
29021                signal: "mouse,down,1";
29022                source: "left_over2";
29023                action: STATE_SET "clicked" 0.0;
29024                target: "left_bt";
29025            }
29026            program {
29027                name:   "left_bt_unclick";
29028                signal: "mouse,up,1";
29029                source: "left_over2";
29030                action: STATE_SET "default" 0.0;
29031                target: "left_bt";
29032            }
29033            program {
29034                name:   "left_bt_click2";
29035                signal: "mouse,down,1";
29036                source: "left_over3";
29037                action: STATE_SET "clicked" 0.0;
29038                target: "left_over3";
29039            }
29040            program {
29041                name:   "left_bt_unclick2";
29042                signal: "mouse,up,1";
29043                source: "left_over3";
29044                action: STATE_SET "default" 0.0;
29045                transition: DECELERATE 0.5;
29046                target: "left_over3";
29047            }
29048            program {
29049                name:   "left_bt_unclick3";
29050                signal: "mouse,up,1";
29051                source: "left_over2";
29052                action: SIGNAL_EMIT "elm,action,click" "";
29053            }
29054            program {
29055                name:   "left_bt_pressed_anim";
29056                signal: "elm,left,anim,activate";
29057                source: "elm";
29058                action: STATE_SET "clicked" 0.0;
29059                target: "left_bt";
29060                target: "left_over3";
29061                after: "left_bt_unpressed_anim";
29062            }
29063            program {
29064                name:   "left_bt_unpressed_anim";
29065                action: STATE_SET "default" 0.0;
29066                transition: DECELERATE 0.5;
29067                target: "left_bt";
29068                target: "left_over3";
29069            }
29070
29071            program {
29072                name:   "right_bt_click";
29073                signal: "mouse,down,1";
29074                source: "right_over2";
29075                action: STATE_SET "clicked" 0.0;
29076                target: "right_bt";
29077            }
29078            program {
29079                name:   "right_bt_unclick";
29080                signal: "mouse,up,1";
29081                source: "right_over2";
29082                action: STATE_SET "default" 0.0;
29083                target: "right_bt";
29084            }
29085            program {
29086                name:   "right_bt_click2";
29087                signal: "mouse,down,1";
29088                source: "right_over3";
29089                action: STATE_SET "clicked" 0.0;
29090                target: "right_over3";
29091            }
29092            program {
29093                name:   "right_bt_unclick2";
29094                signal: "mouse,up,1";
29095                source: "right_over3";
29096                action: STATE_SET "default" 0.0;
29097                transition: DECELERATE 0.5;
29098                target: "right_over3";
29099            }
29100            program {
29101                name:   "right_bt_unclick3";
29102                signal: "mouse,up,1";
29103                source: "right_over2";
29104                action: SIGNAL_EMIT "elm,action,click" "";
29105            }
29106            program {
29107                name:   "right_bt_pressed_anim";
29108                signal: "elm,right,anim,activate";
29109                source: "elm";
29110                action: STATE_SET "clicked" 0.0;
29111                target: "right_bt";
29112                target: "right_over3";
29113                after: "right_bt_unpressed_anim";
29114            }
29115            program {
29116                name:   "right_bt_unpressed_anim";
29117                action: STATE_SET "default" 0.0;
29118                transition: DECELERATE 0.5;
29119                target: "right_bt";
29120                target: "right_over3";
29121            }
29122
29123            program { name: "disable";
29124                signal: "elm,state,disabled";
29125                source: "elm";
29126                action: STATE_SET "disabled" 0.0;
29127                target: "left_bt";
29128                target: "left_over1";
29129                target: "left_over2";
29130                target: "right_bt";
29131                target: "right_over1";
29132                target: "right_over2";
29133                target: "disabler";
29134                after: "disable_text";
29135            }
29136            program { name: "disable_text";
29137                script {
29138                    new st[31];
29139                    new Float:vl;
29140                    get_state(PART:"elm.text", st, 30, vl);
29141                    if (!strcmp(st, "active"))
29142                    set_state(PART:"elm.text", "disabled_active", 0.0);
29143                    else
29144                    set_state(PART:"elm.text", "disabled", 0.0);
29145
29146                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29147                    if (!strcmp(st, "active"))
29148                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29149                    else
29150                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29151                }
29152            }
29153            program { name: "enable";
29154                signal: "elm,state,enabled";
29155                source: "elm";
29156                action: STATE_SET "default" 0.0;
29157                target: "left_bt";
29158                target: "left_over1";
29159                target: "left_over2";
29160                target: "right_bt";
29161                target: "right_over1";
29162                target: "right_over2";
29163                target: "disabler";
29164                after: "enable_text";
29165            }
29166            program { name: "enable_text";
29167                script {
29168                    new st[31];
29169                    new Float:vl;
29170                    get_state(PART:"elm.text", st, 30, vl);
29171                    if (!strcmp(st, "disabled_active"))
29172                    set_state(PART:"elm.text", "active", 0.0);
29173                    else
29174                    set_state(PART:"elm.text", "default", 0.0);
29175
29176                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29177                    if (!strcmp(st, "disabled_active"))
29178                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29179                    else
29180                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29181                }
29182            }
29183            program { name: "active";
29184                signal: "elm,state,active";
29185                source: "elm";
29186                action: STATE_SET "active" 0.0;
29187                target: "elm.text";
29188                target: "elm.swallow.entry";
29189            }
29190            program { name: "inactive";
29191                signal: "elm,state,inactive";
29192                source: "elm";
29193                action: STATE_SET "default" 0.0;
29194                target: "elm.text";
29195                target: "elm.swallow.entry";
29196            }
29197            program { name: "toggle_text";
29198                signal: "mouse,up,1";
29199                source: "button_events";
29200                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29201            }
29202            program { name: "to_rtl";
29203                signal: "edje,state,rtl";
29204                source: "edje";
29205                action: STATE_SET "rtl" 0.0;
29206                target: "right_bt_icon";
29207                target: "left_bt_icon";
29208            }
29209            program { name: "to_ltr";
29210                signal: "edje,state,ltr";
29211                source: "edje";
29212                action: STATE_SET "default" 0.0;
29213                target: "right_bt_icon";
29214                target: "left_bt_icon";
29215            }
29216        }
29217    }
29218
29219 ///////////////////////////////////////////////////////////////////////////////
29220    group { name: "elm/spinner/base/vertical";
29221        images {
29222            image: "shelf_inset.png" COMP;
29223            image: "bt_hilight.png" COMP;
29224            image: "bt_shine.png" COMP;
29225            image: "bt_glow.png" COMP;
29226            image: "bt_dis_base.png" COMP;
29227            image: "bt_dis_hilight.png" COMP;
29228            image: "up.png" COMP;
29229            image: "down.png" COMP;
29230            image: "bt_spinner_up.png" COMP;
29231            image: "bt_spinner_down.png" COMP;
29232            image: "bt_spinner_hilight.png" COMP;
29233        }
29234        parts {
29235            part { name: "bg";
29236                type: RECT;
29237                description { state: "default" 0.0;
29238                    min: 0 30;
29239                    rel1.offset: 1 1;
29240                    rel2.offset: -2 -2;
29241                    color: 255 255 255 0;
29242                }
29243            }
29244            part { name: "conf_over";
29245                mouse_events:  0;
29246                description { state: "default" 0.0;
29247                    rel1 {
29248                      to: "bg";
29249                      relative: 0.0 0.0;
29250                    }
29251                    rel2 {
29252                       to: "bg";
29253                    }
29254                    image {
29255                        normal: "shelf_inset.png";
29256                        border: 7 7 7 7;
29257                        middle: 0;
29258                    }
29259                    fill.smooth : 0;
29260                }
29261            }
29262            part { name: "down_bt";
29263                mouse_events:  1;
29264                description { state: "default" 0.0;
29265                    fixed: 1 1;
29266                    rel1 {
29267                        to: "up_bt";
29268                        relative: 0 1;
29269                        offset: 0 1;
29270                    }
29271                    rel2 {
29272                        to_y: "bg";
29273                        to_x: "up_bt";
29274                        relative: 1 1;
29275                        offset: -1 -4;
29276                    }
29277                    align: 1.0 0.5;
29278                    min: 24 16;
29279                    image {
29280                        normal: "bt_spinner_down.png";
29281                        border: 6 6 6 6;
29282                    }
29283                    fill.smooth : 0;
29284                }
29285                description { state: "clicked" 0.0;
29286                    inherit: "default" 0.0;
29287                    image.normal: "bt_spinner_down.png";
29288                    image.middle: SOLID;
29289                }
29290                description { state: "disabled" 0.0;
29291                    inherit:  "default" 0.0;
29292                    image {
29293                        normal: "bt_dis_base.png";
29294                        border: 4 4 4 4;
29295                    }
29296                }
29297            }
29298            part { name: "down_over3";
29299                mouse_events: 1;
29300                repeat_events: 1;
29301                description { state: "default" 0.0;
29302                    color: 255 255 255 0;
29303                    rel1.to: "down_bt";
29304                    rel2.to: "down_bt";
29305                    image {
29306                        normal: "bt_glow.png";
29307                        border: 12 12 12 12;
29308                    }
29309                    fill.smooth : 0;
29310                }
29311                description { state: "clicked" 0.0;
29312                    inherit:  "default" 0.0;
29313                    visible: 1;
29314                    color: 255 255 255 255;
29315                }
29316            }
29317            part { name: "up_bt";
29318                mouse_events:  1;
29319                description { state: "default" 0.0;
29320                    fixed: 1 0;
29321                    rel1 { to: "bg";
29322                        relative: 0 0;
29323                        offset: 0 2;
29324                    }
29325                    rel2 { to: "bg";
29326                        relative: 1 0.5;
29327                        offset: -3 0;
29328                    }
29329                    align: 1.0 0.5;
29330                    min: 24 16;
29331                    aspect: 1.5 1.0;
29332                    aspect_preference: BOTH;
29333                    image {
29334                        normal: "bt_spinner_up.png";
29335                        border: 6 6 6 6;
29336                    }
29337                    fill.smooth : 0;
29338                }
29339                description { state: "clicked" 0.0;
29340                    inherit: "default" 0.0;
29341                    image.normal: "bt_spinner_up.png";
29342                    image.middle: SOLID;
29343                }
29344                description { state: "disabled" 0.0;
29345                    inherit:  "default" 0.0;
29346                    image {
29347                        normal: "bt_dis_base.png";
29348                        border: 4 4 4 4;
29349                    }
29350                }
29351            }
29352            part { name: "up_over1";
29353                mouse_events: 0;
29354                description { state: "default" 0.0;
29355                    rel1.to: "up_bt";
29356                    rel2 { to: "up_bt";
29357                        relative: 1.0 0.5;
29358                    }
29359                    image {
29360                        normal: "bt_spinner_hilight.png";
29361                        border: 7 7 7 0;
29362                    }
29363                }
29364                description { state: "disabled" 0.0;
29365                    inherit:  "default" 0.0;
29366                    image {
29367                        normal: "bt_dis_hilight.png";
29368                        border: 4 4 4 0;
29369                    }
29370                }
29371            }
29372            part { name: "up_over3";
29373                mouse_events: 1;
29374                repeat_events: 1;
29375                description { state: "default" 0.0;
29376                    color: 255 255 255 0;
29377                    rel1.to: "up_bt";
29378                    rel2.to: "up_bt";
29379                    image {
29380                        normal: "bt_glow.png";
29381                        border: 12 12 12 12;
29382                    }
29383                    fill.smooth : 0;
29384                }
29385                description { state: "clicked" 0.0;
29386                    inherit:  "default" 0.0;
29387                    visible: 1;
29388                    color: 255 255 255 255;
29389                }
29390            }
29391            part { name: "down_bt_icon";
29392                repeat_events: 1;
29393                description { state: "default" 0.0;
29394                    rel1.to: "down_bt";
29395                    rel1.offset: 5 3;
29396                    rel2.to: "down_bt";
29397                    rel2.offset: -6 -3;
29398                    align: 0.5 0.5;
29399                    image.normal: "down.png";
29400                }
29401            }
29402            part { name: "up_bt_icon";
29403                repeat_events: 1;
29404                description { state: "default" 0.0;
29405                    rel1.to: "up_bt";
29406                    rel1.offset: 5 3;
29407                    rel2.to: "up_bt";
29408                    rel2.offset: -6 -3;
29409                    align: 0.5 0.5;
29410                    image.normal: "up.png";
29411                }
29412            }
29413            part { name: "elm.text";
29414                type: TEXT;
29415                mouse_events: 0;
29416                scale: 1;
29417                description { state: "default" 0.0;
29418                    visible: 1;
29419                    align: 0.0 0.5;
29420                    rel1 { relative: 0.0 0.0;
29421                        offset: 3 2;
29422                        to_x: "bg";
29423                        to_y: "bg";
29424                    }
29425                    rel2 { relative: 0.0 1.0;
29426                        offset: -3 -2;
29427                        to_x: "down_bt";
29428                        to_y: "bg";
29429                    }
29430                    color: 0 0 0 255;
29431                    text {
29432                        font: "Sans,Edje-Vera";
29433                        size: 10;
29434                        min: 1 1;
29435                        align: 0.5 0.5;
29436                    }
29437                }
29438                description { state: "active" 0.0;
29439                    inherit: "default" 0.0;
29440                    visible: 0;
29441                }
29442                description { state: "disabled_active" 0.0;
29443                    inherit: "default" 0.0;
29444                    color: 0 0 0 128;
29445                    color3: 0 0 0 0;
29446                }
29447                description { state: "disabled" 0.0;
29448                    inherit: "default" 0.0;
29449                    color: 0 0 0 128;
29450                    color3: 0 0 0 0;
29451                }
29452            }
29453            part { name: "elm.dragable.slider";
29454                type: RECT;
29455                mouse_events: 0;
29456                scale: 1;
29457                dragable {
29458                    x: 1 1 0;
29459                    y: 0 0 0;
29460                }
29461                description { state: "default" 0.0;
29462                    rel1.to: "bg";
29463                    rel2.to: "bg";
29464                    fixed: 1 1;
29465                    color: 0 0 0 0;
29466                }
29467            }
29468            part { name: "button_events";
29469                type: RECT;
29470                dragable {
29471                    events: "elm.dragable.slider";
29472                }
29473                mouse_events: 1;
29474                description { state: "default" 0.0;
29475                    rel1.to: "elm.text";
29476                    rel2.to: "elm.text";
29477                    color: 0 0 0 0;
29478                }
29479            }
29480            part { name: "elm.swallow.entry";
29481                type: SWALLOW;
29482                description { state: "default" 0.0;
29483                    visible: 0;
29484                    align: 0.5 0.5;
29485                    rel1 { relative: 0.0 0.5;
29486                        offset: 3 2;
29487                        to: "bg";
29488                    }
29489                    rel2 { relative: 1.0 0.5;
29490                        offset: -3 -2;
29491                        to: "bg";
29492                    }
29493                    fixed: 1 1;
29494                    color: 0 0 0 0;
29495                }
29496                description { state: "active" 0.0;
29497                    inherit: "default" 0.0;
29498                    visible: 1;
29499                    color: 255 255 255 255;
29500                }
29501                description { state: "disabled_active" 0.0;
29502                    inherit: "default" 0.0;
29503                    visible: 0;
29504                }
29505                description { state: "disabled" 0.0;
29506                    inherit: "default" 0.0;
29507                    visible: 0;
29508                }
29509            }
29510            part { name: "disabler";
29511                type: RECT;
29512                description { state: "default" 0.0;
29513                    color: 0 0 0 0;
29514                    visible: 0;
29515                }
29516                description { state: "disabled" 0.0;
29517                    inherit: "default" 0.0;
29518                    visible: 1;
29519                }
29520            }
29521        }
29522        programs {
29523            program { name: "text_show";
29524                signal: "elm,state,text,visible";
29525                source: "elm";
29526                action:  STATE_SET "visible" 0.0;
29527                target: "elm.text";
29528            }
29529            program { name: "text_hide";
29530                signal: "elm,state,text,hidden";
29531                source: "elm";
29532                action:  STATE_SET "default" 0.0;
29533                target: "elm.text";
29534            }
29535            program { name: "dec";
29536                signal: "mouse,down,1";
29537                source: "down_bt";
29538                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29539            }
29540            program { name: "dec2";
29541                signal: "mouse,up,1";
29542                source: "down_bt";
29543                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29544            }
29545            program { name: "inc";
29546                signal: "mouse,down,1";
29547                source: "up_bt";
29548                action: SIGNAL_EMIT "elm,action,increment,start" "";
29549            }
29550            program { name: "inc2";
29551                signal: "mouse,up,1";
29552                source: "up_bt";
29553                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29554            }
29555            program {
29556                name:   "down_bt_click2";
29557                signal: "mouse,down,1";
29558                source: "down_over3";
29559                action: STATE_SET "clicked" 0.0;
29560                target: "down_over3";
29561            }
29562            program {
29563                name:   "down_bt_unclick2";
29564                signal: "mouse,up,1";
29565                source: "down_over3";
29566                action: STATE_SET "default" 0.0;
29567                transition: DECELERATE 0.5;
29568                target: "down_over3";
29569            }
29570            program {
29571                name:   "up_bt_click2";
29572                signal: "mouse,down,1";
29573                source: "up_over3";
29574                action: STATE_SET "clicked" 0.0;
29575                target: "up_over3";
29576            }
29577            program {
29578                name:   "up_bt_unclick2";
29579                signal: "mouse,up,1";
29580                source: "up_over3";
29581                action: STATE_SET "default" 0.0;
29582                transition: DECELERATE 0.5;
29583                target: "up_over3";
29584            }
29585            program { name: "disable";
29586                signal: "elm,state,disabled";
29587                source: "elm";
29588                action: STATE_SET "disabled" 0.0;
29589                target: "down_bt";
29590                target: "up_bt";
29591                target: "disabler";
29592                after: "disable_text";
29593            }
29594            program { name: "disable_text";
29595                script {
29596                    new st[31];
29597                    new Float:vl;
29598                    get_state(PART:"elm.text", st, 30, vl);
29599                    if (!strcmp(st, "active"))
29600                    set_state(PART:"elm.text", "disabled_active", 0.0);
29601                    else
29602                    set_state(PART:"elm.text", "disabled", 0.0);
29603
29604                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29605                    if (!strcmp(st, "active"))
29606                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29607                    else
29608                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29609                }
29610            }
29611            program { name: "enable";
29612                signal: "elm,state,enabled";
29613                source: "elm";
29614                action: STATE_SET "default" 0.0;
29615                target: "down_bt";
29616                target: "up_bt";
29617                target: "disabler";
29618                after: "enable_text";
29619            }
29620            program { name: "enable_text";
29621                script {
29622                    new st[31];
29623                    new Float:vl;
29624                    get_state(PART:"elm.text", st, 30, vl);
29625                    if (!strcmp(st, "disabled_active"))
29626                    set_state(PART:"elm.text", "active", 0.0);
29627                    else
29628                    set_state(PART:"elm.text", "default", 0.0);
29629
29630                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29631                    if (!strcmp(st, "disabled_active"))
29632                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29633                    else
29634                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29635                }
29636            }
29637            program { name: "active";
29638                signal: "elm,state,active";
29639                source: "elm";
29640                action: STATE_SET "active" 0.0;
29641                target: "elm.text";
29642                target: "elm.swallow.entry";
29643            }
29644            program { name: "inactive";
29645                signal: "elm,state,inactive";
29646                source: "elm";
29647                action: STATE_SET "default" 0.0;
29648                target: "elm.text";
29649                target: "elm.swallow.entry";
29650            }
29651            program { name: "toggle_text";
29652                signal: "mouse,up,1";
29653                source: "button_events";
29654                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29655            }
29656        }
29657    }
29658
29659
29660    ///////////////////////////////////////////////////////////////////////////////
29661    group { name: "elm/index/base/vertical/default";
29662        images {
29663            image: "bt_base1.png" COMP;
29664            image: "bt_base2.png" COMP;
29665            image: "bt_hilight.png" COMP;
29666            image: "bt_shine.png" COMP;
29667        }
29668        parts {
29669            part { name: "clip";
29670                type: RECT;
29671                mouse_events:  0;
29672                description { state: "default" 0.0;
29673                    visible:  0;
29674                    color: 255 255 255 0;
29675                }
29676                description { state: "active" 0.0;
29677                    visible:  1;
29678                    color: 255 255 255 255;
29679                }
29680            }
29681            part { name: "clip2";
29682                type: RECT;
29683                mouse_events:  0;
29684                clip_to: "clip";
29685                description { state: "default" 0.0;
29686                    visible: 0;
29687                    color: 255 255 255 0;
29688                }
29689                description { state: "active" 0.0;
29690                    visible:  1;
29691                    color: 255 255 255 255;
29692                }
29693            }
29694            part { name: "elm.swallow.index.0";
29695                type: SWALLOW;
29696                clip_to: "clip";
29697                description { state: "default" 0.0;
29698                    align: 1.0 0.5;
29699                    fixed: 1 1;
29700                    rel1 {
29701                        relative: 1.0 0.5;
29702                        offset: -1 5;
29703                    }
29704                    rel2 {
29705                        relative: 1.0 0.5;
29706                        offset: -1 -6;
29707                    }
29708                }
29709            }
29710            part { name: "button_image";
29711                mouse_events: 1;
29712                clip_to: "clip";
29713                description { state: "default" 0.0;
29714                    rel1 {
29715                        to: "elm.text.body";
29716                        offset: -5 -5;
29717                    }
29718                    rel2 {
29719                        to: "elm.text";
29720                        offset: 4 4;
29721                    }
29722                    image {
29723                        normal: "bt_base2.png";
29724                        border: 7 7 7 7;
29725                    }
29726                    image.middle: SOLID;
29727                }
29728            }
29729            part { name: "elm.text.body";
29730                type: TEXT;
29731                effect: SOFT_SHADOW;
29732                mouse_events: 0;
29733                scale: 1;
29734                clip_to: "clip";
29735                description { state: "default" 0.0;
29736                    align: 1.0 0.5;
29737                    fixed: 1 1;
29738                    rel1 {
29739                        to: "elm.text";
29740                        relative: 0.0 0.0;
29741                        offset: 5 0;
29742                    }
29743                    rel2 {
29744                        to: "elm.text";
29745                        relative: 0.0 1.0;
29746                        offset: 5 -1;
29747                    }
29748                    color: 224 224 224 255;
29749                    color3: 0 0 0 64;
29750                    text {
29751                        font:     "Sans,Edje-Vera";
29752                        size:     20;
29753                        min:      1 1;
29754                        align:    1.0 0.5;
29755                    }
29756                }
29757            }
29758            part { name: "elm.text";
29759                type: TEXT;
29760                effect: SOFT_SHADOW;
29761                mouse_events: 0;
29762                scale: 1;
29763                clip_to: "clip";
29764                description { state: "default" 0.0;
29765                    align: 1.0 0.5;
29766                    fixed: 1 1;
29767                    rel1 {
29768                        to_x: "elm.swallow.event.0";
29769                        to_y: "elm.dragable.pointer";
29770                        relative: 0.0 0.5;
29771                        offset: -16 0;
29772                    }
29773                    rel2 {
29774                        to_x: "elm.swallow.event.0";
29775                        to_y: "elm.dragable.pointer";
29776                        relative: 0.0 0.5;
29777                        offset: -16 -1;
29778                    }
29779                    color: 255 0 0 255;
29780                    color3: 0 0 0 64;
29781                    text {
29782                        font:     "Sans,Edje-Vera";
29783                        size:     20;
29784                        min:      1 1;
29785                        align:    1.0 0.5;
29786                    }
29787                }
29788            }
29789            part {        name: "over1";
29790                mouse_events: 0;
29791                clip_to: "clip";
29792                description { state: "default" 0.0;
29793                    rel1 {
29794                        to: "button_image";
29795                    }
29796                    rel2 {
29797                        to: "button_image";
29798                        relative: 1.0 0.5;
29799                    }
29800                    image {
29801                        normal: "bt_hilight.png";
29802                        border: 7 7 7 0;
29803                    }
29804                }
29805            }
29806            part { name: "over2";
29807                mouse_events: 1;
29808                repeat_events: 1;
29809                ignore_flags: ON_HOLD;
29810                clip_to: "clip";
29811                description { state: "default" 0.0;
29812                    rel1 {
29813                        to: "button_image";
29814                    }
29815                    rel2 {
29816                        to: "button_image";
29817                    }
29818                    image {
29819                        normal: "bt_shine.png";
29820                        border: 7 7 7 7;
29821                    }
29822                }
29823            }
29824            part { name: "elm.dragable.pointer";
29825                type: RECT;
29826                mouse_events: 0;
29827                dragable {
29828                    x: 1 1 0;
29829                    y: 1 1 0;
29830                }
29831                clip_to: "clip";
29832                description { state: "default" 0.0;
29833                    fixed: 1 1;
29834                    min: 8 8;
29835                    max: 8 8;
29836                    visible: 0;
29837                    rel1 {
29838                        relative: 0.0 0.0;
29839                        offset:   0 0;
29840                    }
29841                    rel2 {
29842                        relative: 0.0 0.0;
29843                        offset:   0 0;
29844                    }
29845                }
29846            }
29847            part { name: "elm.swallow.event.0";
29848                type: SWALLOW;
29849                description { state: "default" 0.0;
29850                    align: 1.0 0.5;
29851                    fixed: 1 1;
29852                    rel1 {
29853                        relative: 1.0 0.0;
29854                        offset: -1 0;
29855                    }
29856                    rel2 {
29857                        relative: 1.0 1.0;
29858                        offset: -1 -1;
29859                    }
29860                }
29861            }
29862        }
29863        programs {
29864            program { name: "active";
29865                signal: "elm,state,active";
29866                source: "elm";
29867                action: STATE_SET "active" 0.0;
29868                transition: DECELERATE 0.5;
29869                target: "clip";
29870            }
29871            program { name: "inactive";
29872                signal: "elm,state,inactive";
29873                source: "elm";
29874                action: STATE_SET "default" 0.0;
29875                transition: DECELERATE 0.5;
29876                target: "clip";
29877            }
29878        }
29879    }
29880
29881    group { name: "elm/index/item/vertical/default";
29882        data.item: "stacking" "above";
29883        data.item: "selectraise" "on";
29884        images {
29885            image: "ilist_1.png" COMP;
29886            image: "ilist_item_shadow.png" COMP;
29887        }
29888        parts {
29889            part {
29890                name: "base_sh";
29891                mouse_events: 0;
29892                description {
29893                    state: "default" 0.0;
29894                    align: 0.0 0.0;
29895                    min: 0 10;
29896                    fixed: 1 1;
29897                    rel1 {
29898                        to: "base";
29899                        relative: 0.0 1.0;
29900                        offset: 0 0;
29901                    }
29902                    rel2 {
29903                        to: "base";
29904                        relative: 1.0 1.0;
29905                        offset: -1 0;
29906                    }
29907                    image {
29908                        normal: "ilist_item_shadow.png";
29909                    }
29910                    fill.smooth: 0;
29911                }
29912            }
29913            part {
29914                name: "base";
29915                mouse_events: 0;
29916                description {
29917                    state: "default" 0.0;
29918                    image {
29919                        normal: "ilist_1.png";
29920                        border: 2 2 2 2;
29921                    }
29922                    fill.smooth: 0;
29923                }
29924                description { state: "active" 0.0;
29925                    inherit: "default" 0.0;
29926                    rel1 {
29927                        offset: -16 0;
29928                    }
29929                }
29930            }
29931            part { name: "elm.text";
29932                type:           TEXT;
29933                mouse_events:   0;
29934                scale: 1;
29935                description {
29936                    state: "default" 0.0;
29937                           //               min: 16 16;
29938                    rel1 {
29939                        to: "base";
29940                        relative: 0.0  0.0;
29941                        offset:   4 4;
29942                    }
29943                    rel2 {
29944                        to: "base";
29945                        relative: 0.5  1.0;
29946                        offset:   -1 -1;
29947                    }
29948                    color: 0 0 0 128;
29949                    text {
29950                        font: "Sans";
29951                        size: 10;
29952                        min: 1 1;
29953                             //                  min: 0 1;
29954                        align: 0.5 0.5;
29955                    }
29956                }
29957                description { state: "active" 0.0;
29958                    inherit: "default" 0.0;
29959                    color: 0 0 0 255;
29960                }
29961            }
29962        }
29963        programs {
29964            program { name: "active";
29965                signal: "elm,state,active";
29966                source: "elm";
29967                action: STATE_SET "active" 0.0;
29968                transition: DECELERATE 0.5;
29969                target: "elm.text";
29970                target: "base";
29971            }
29972            program { name: "inactive";
29973                signal: "elm,state,inactive";
29974                source: "elm";
29975                action: STATE_SET "default" 0.0;
29976                transition: DECELERATE 0.5;
29977                target: "elm.text";
29978                target: "base";
29979            }
29980        }
29981    }
29982
29983    group { name: "elm/index/item_odd/vertical/default";
29984        data.item: "stacking" "below";
29985        images {
29986            image: "ilist_2.png" COMP;
29987        }
29988        parts {
29989            part {
29990                name: "base";
29991                mouse_events: 0;
29992                description {
29993                    state: "default" 0.0;
29994                    image {
29995                        normal: "ilist_2.png";
29996                        border: 2 2 2 2;
29997                    }
29998                    fill.smooth: 0;
29999                }
30000                description { state: "active" 0.0;
30001                    inherit: "default" 0.0;
30002                    rel1 {
30003                        offset: -16 0;
30004                    }
30005                }
30006            }
30007            part { name: "elm.text";
30008                type:           TEXT;
30009                mouse_events:   0;
30010                scale: 1;
30011                description {
30012                    state: "default" 0.0;
30013                           //               min: 16 16;
30014                    rel1 {
30015                        to: "base";
30016                        relative: 0.0  0.0;
30017                        offset:   4 4;
30018                    }
30019                    rel2 {
30020                        to: "base";
30021                        relative: 0.5  1.0;
30022                        offset:   -1 -1;
30023                    }
30024                    color: 0 0 0 128;
30025                    text {
30026                        font: "Sans";
30027                        size: 10;
30028                        min: 1 1;
30029                             //                  min: 0 1;
30030                        align: 0.5 0.5;
30031                    }
30032                }
30033                description { state: "active" 0.0;
30034                    inherit: "default" 0.0;
30035                    color: 0 0 0 255;
30036                }
30037            }
30038        }
30039        programs {
30040            program { name: "active";
30041                signal: "elm,state,active";
30042                source: "elm";
30043                action: STATE_SET "active" 0.0;
30044                transition: DECELERATE 0.5;
30045                target: "elm.text";
30046                target: "base";
30047            }
30048            program { name: "inactive";
30049                signal: "elm,state,inactive";
30050                source: "elm";
30051                action: STATE_SET "default" 0.0;
30052                transition: DECELERATE 0.5;
30053                target: "elm.text";
30054                target: "base";
30055            }
30056        }
30057    }
30058
30059 ///////////////////////////////////////////////////////////////////////////////
30060    group { name: "elm/gengrid/item/default/default";
30061       data.item: "labels" "elm.text";
30062       data.item: "icons" "elm.swallow.icon elm.swallow.end";
30063       images {
30064          image: "bt_sm_base1.png" COMP;
30065          image: "bt_sm_shine.png" COMP;
30066          image: "bt_sm_hilight.png" COMP;
30067          image: "ilist_1.png" COMP;
30068          image: "ilist_item_shadow.png" COMP;
30069       }
30070       parts {
30071          part { name: "event";
30072             type: RECT;
30073             repeat_events: 1;
30074             description {
30075                state: "default" 0.0;
30076                color: 0 0 0 0;
30077             }
30078          }
30079          part { name: "reorder_bg";
30080             mouse_events: 0;
30081             description { state: "default" 0.0;
30082                visible: 0;
30083                color: 255 255 255 0;
30084                rel1 {
30085                   relative: 0.0 0.0;
30086                   offset: -10 -10;
30087                }
30088                rel2 {
30089                   relative: 1.0 1.0;
30090                   offset: 12 12;
30091                }
30092                image {
30093                   normal: "bt_bases.png";
30094                   border: 6 6 6 6;
30095                }
30096             }
30097             description { state: "enabled" 0.0;
30098                inherit: "default" 0.0;
30099                visible: 1;
30100                color: 255 255 255 255;
30101             }
30102          }
30103          part { name: "base_sh";
30104             mouse_events: 0;
30105             description { state: "default" 0.0;
30106                align: 0.0 0.0;
30107                min: 0 10;
30108                fixed: 1 1;
30109                rel1 {
30110                   to: "base";
30111                   relative: 0.0 1.0;
30112                   offset: 0 0;
30113                }
30114                rel2 {
30115                   to: "base";
30116                   relative: 1.0 1.0;
30117                   offset: -1 0;
30118                }
30119                image {
30120                   normal: "ilist_item_shadow.png";
30121                }
30122                fill.smooth: 0;
30123             }
30124          }
30125          part { name: "base";
30126             mouse_events: 0;
30127             description { state: "default" 0.0;
30128                image {
30129                   normal: "ilist_1.png";
30130                   border: 2 2 2 2;
30131                }
30132                fill.smooth: 0;
30133             }
30134          }
30135          part { name: "bg";
30136             clip_to: "disclip";
30137             mouse_events: 0;
30138             description { state: "default" 0.0;
30139                visible: 0;
30140                color: 255 255 255 0;
30141                rel1 {
30142                   relative: 0.0 0.0;
30143                   offset: -5 -5;
30144                }
30145                rel2 {
30146                   relative: 1.0 1.0;
30147                   offset: 4 4;
30148                }
30149                image {
30150                   normal: "bt_sm_base1.png";
30151                   border: 6 6 6 6;
30152                }
30153                image.middle: SOLID;
30154             }
30155             description { state: "selected" 0.0;
30156                inherit: "default" 0.0;
30157                visible: 1;
30158                color: 255 255 255 255;
30159                rel1 {
30160                   relative: 0.0 0.0;
30161                   offset: -2 -2;
30162                }
30163                rel2 {
30164                   relative: 1.0 1.0;
30165                   offset: 1 1;
30166                }
30167             }
30168          }
30169          part { name: "elm.swallow.pad";
30170             type: SWALLOW;
30171             description { state: "default" 0.0;
30172                fixed: 1 0;
30173                align: 0.0 0.5;
30174                rel1 {
30175                   relative: 0.0  1.0;
30176                   offset:   0    -10;
30177                }
30178                rel2 {
30179                   to_y: "elm.text";
30180                   relative: 0.0  0.0;
30181                   offset:   -1   -1;
30182                }
30183             }
30184          }
30185          part { name: "elm.swallow.icon";
30186             clip_to: "disclip";
30187             type: SWALLOW;
30188             description { state: "default" 0.0;
30189                fixed: 1 0;
30190                align: 0.5 0.5;
30191                rel1 {
30192                   relative: 0.0  0.0;
30193                   offset:   -1    4;
30194                }
30195                rel2 {
30196                   to_y: "elm.swallow.pad";
30197                   relative: 1.0  0.0;
30198                   offset:   -1   -5;
30199                }
30200             }
30201          }
30202          part { name: "elm.swallow.end";
30203             clip_to: "disclip";
30204             type: SWALLOW;
30205             description { state: "default" 0.0;
30206                fixed: 1 0;
30207                align: 1.0 0.0;
30208                aspect: 1.0 1.0;
30209                aspect_preference: HORIZONTAL;
30210                rel1 {
30211                   relative: 1.0 0.0;
30212                   offset: -5 -5;
30213                }
30214                rel2 {
30215                   relative: 1.0 1.0;
30216                   offset: 5 5;
30217                }
30218             }
30219          }
30220          part { name: "elm.text";
30221             clip_to: "disclip";
30222             type: TEXT;
30223             effect: SOFT_SHADOW;
30224             mouse_events: 0;
30225             scale: 1;
30226             description { state: "default" 0.0;
30227                rel1 {
30228                   relative: 0.0  1.0;
30229                   offset: 0 0;
30230                }
30231                rel2 {
30232                   relative: 1.0  1.0;
30233                   offset: -5 -5;
30234                }
30235                color: 0 0 0 255;
30236                color3: 0 0 0 0;
30237                text {
30238                   font: "Sans";
30239                   size: 10;
30240                   min: 0 1;
30241                   align: 0.5 0.0;
30242                   text_class: "grid_item";
30243                }
30244             }
30245             description { state: "selected" 0.0;
30246                inherit: "default" 0.0;
30247                color: 224 224 224 255;
30248                color3: 0 0 0 64;
30249             }
30250          }
30251          part { name: "fg1";
30252             clip_to: "disclip";
30253             mouse_events: 0;
30254             description { state: "default" 0.0;
30255                visible: 0;
30256                color: 255 255 255 0;
30257                rel1.to: "bg";
30258                rel2.relative: 1.0 0.5;
30259                rel2.to: "bg";
30260                image {
30261                   normal: "bt_sm_hilight.png";
30262                   border: 6 6 6 0;
30263                }
30264             }
30265             description { state: "selected" 0.0;
30266                inherit: "default" 0.0;
30267                visible: 1;
30268                color: 255 255 255 255;
30269             }
30270          }
30271          part { name: "fg2";
30272             clip_to: "disclip";
30273             mouse_events: 0;
30274             description { state: "default" 0.0;
30275                visible: 0;
30276                color: 255 255 255 0;
30277                rel1.to: "bg";
30278                rel2.to: "bg";
30279                image {
30280                   normal: "bt_sm_shine.png";
30281                   border: 6 6 6 0;
30282                }
30283             }
30284             description { state: "selected" 0.0;
30285                inherit: "default" 0.0;
30286                visible: 1;
30287                color: 255 255 255 255;
30288             }
30289          }
30290          part { name: "disclip";
30291             type: RECT;
30292             description { state: "default" 0.0;
30293                rel1.to: "bg";
30294                rel2.to: "bg";
30295             }
30296             description { state: "disabled" 0.0;
30297                inherit: "default" 0.0;
30298                color: 255 255 255 64;
30299             }
30300          }
30301       }
30302       programs {
30303          // signal: elm,state,%s,active
30304          //   a "check" item named %s went active
30305          // signal: elm,state,%s,passive
30306          //   a "check" item named %s went passive
30307          // default is passive
30308          program { name:    "go_active";
30309             signal:  "elm,state,selected";
30310             source:  "elm";
30311             action:  STATE_SET "selected" 0.0;
30312             target:  "bg";
30313             target:  "fg1";
30314             target:  "fg2";
30315             target:  "elm.text";
30316          }
30317          program { name:    "go_passive";
30318             signal:  "elm,state,unselected";
30319             source:  "elm";
30320             action:  STATE_SET "default" 0.0;
30321             target:  "bg";
30322             target:  "fg1";
30323             target:  "fg2";
30324             target:  "elm.text";
30325             transition: LINEAR 0.1;
30326          }
30327          program { name:    "go_disabled";
30328             signal:  "elm,state,disabled";
30329             source:  "elm";
30330             action:  STATE_SET "disabled" 0.0;
30331             target:  "disclip";
30332          }
30333          program { name:    "go_enabled";
30334             signal:  "elm,state,enabled";
30335             source:  "elm";
30336             action:  STATE_SET "default" 0.0;
30337             target:  "disclip";
30338          }
30339          program { name:    "go_reorder_disabled";
30340             signal:  "elm,state,reorder,disabled";
30341             source:  "elm";
30342             action:  STATE_SET "default" 0.0;
30343             target:  "reorder_bg";
30344             transition: DECELERATE 0.5;
30345          }
30346          program { name:    "go_reorder_enabled";
30347             signal:  "elm,state,reorder,enabled";
30348             source:  "elm";
30349             action:  STATE_SET "enabled" 0.0;
30350             target:  "reorder_bg";
30351             transition: DECELERATE 0.5;
30352          }
30353       }
30354    }
30355    group { name: "elm/gengrid/item/default_style/default";
30356        styles
30357        {
30358            style { name: "gengrid_style";
30359                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
30360                tag:  "br" "\n";
30361                tag:  "ps" "ps";
30362                tag:  "hilight" "+ font=Sans:style=Bold";
30363                tag:  "b" "+ font=Sans:style=Bold";
30364                tag:  "tab" "\t";
30365            }
30366            style { name: "gengrid_selected_style";
30367                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
30368                tag:  "br" "\n";
30369                tag:  "ps" "ps";
30370                tag:  "hilight" "+ font=Sans:style=Bold";
30371                tag:  "b" "+ font=Sans:style=Bold";
30372                tag:  "tab" "\t";
30373            }
30374        }
30375        data.item: "labels" "elm.text";
30376        data.item: "icons" "elm.swallow.icon elm.swallow.end";
30377        images {
30378            image: "bt_sm_base1.png" COMP;
30379            image: "bt_sm_shine.png" COMP;
30380            image: "bt_sm_hilight.png" COMP;
30381            image: "ilist_1.png" COMP;
30382            image: "ilist_item_shadow.png" COMP;
30383        }
30384        parts {
30385            part { name: "event";
30386                type: RECT;
30387                repeat_events: 1;
30388                description { state: "default" 0.0;
30389                    color: 0 0 0 0;
30390                }
30391            }
30392            part { name: "base_sh";
30393                mouse_events: 0;
30394                description { state: "default" 0.0;
30395                    align: 0.0 0.0;
30396                    min: 0 10;
30397                    fixed: 1 1;
30398                    rel1 {
30399                        to: "base";
30400                        relative: 0.0 1.0;
30401                        offset: 0 0;
30402                    }
30403                    rel2 {
30404                        to: "base";
30405                        relative: 1.0 1.0;
30406                        offset: -1 0;
30407                    }
30408                    image {
30409                        normal: "ilist_item_shadow.png";
30410                    }
30411                    fill.smooth: 0;
30412                }
30413            }
30414            part { name: "base";
30415                mouse_events: 0;
30416                description { state: "default" 0.0;
30417                    min: 16 28;
30418                    image {
30419                        normal: "ilist_1.png";
30420                        border: 2 2 2 2;
30421                    }
30422                    fill.smooth: 0;
30423                }
30424            }
30425            part { name: "bg";
30426                clip_to: "disclip";
30427                mouse_events: 0;
30428                description { state: "default" 0.0;
30429                    visible: 0;
30430                    color: 255 255 255 0;
30431                    rel1 {
30432                        relative: 0.0 0.0;
30433                        offset: -5 -5;
30434                    }
30435                    rel2 {
30436                        relative: 1.0 1.0;
30437                        offset: 4 4;
30438                    }
30439                    image {
30440                        normal: "bt_sm_base1.png";
30441                        border: 6 6 6 6;
30442                    }
30443                    image.middle: SOLID;
30444                }
30445                description { state: "selected" 0.0;
30446                    inherit: "default" 0.0;
30447                    visible: 1;
30448                    color: 255 255 255 255;
30449                    rel1 {
30450                        relative: 0.0 0.0;
30451                        offset: -2 -2;
30452                    }
30453                    rel2 {
30454                        relative: 1.0 1.0;
30455                        offset: 1 1;
30456                    }
30457                }
30458            }
30459            part { name: "elm.swallow.pad";
30460                type: SWALLOW;
30461                description { state: "default" 0.0;
30462                    fixed: 1 0;
30463                    align: 0.0 0.5;
30464                    rel1 {
30465                        relative: 0.0  0.0;
30466                        offset:   4    4;
30467                    }
30468                    rel2 {
30469                        relative: 0.0  1.0;
30470                        offset:   4   -5;
30471                    }
30472                }
30473            }
30474            part { name: "elm.swallow.icon";
30475                clip_to: "disclip";
30476                type: SWALLOW;
30477                description { state: "default" 0.0;
30478                    fixed: 1 0;
30479                    align: 0.0 0.5;
30480                    rel1 {
30481                        to_x: "elm.swallow.pad";
30482                        relative: 1.0  0.0;
30483                        offset:   -1    4;
30484                    }
30485                    rel2 {
30486                        to_x: "elm.swallow.pad";
30487                        relative: 1.0  1.0;
30488                        offset:   -1   -5;
30489                    }
30490                }
30491            }
30492            part { name: "elm.swallow.end";
30493                clip_to: "disclip";
30494                type: SWALLOW;
30495                description { state: "default" 0.0;
30496                    fixed: 1 0;
30497                    align: 1.0 0.5;
30498                    aspect: 1.0 1.0;
30499                    aspect_preference: VERTICAL;
30500                    rel1 {
30501                        relative: 1.0  0.0;
30502                        offset:   -5    4;
30503                    }
30504                    rel2 {
30505                        relative: 1.0  1.0;
30506                        offset:   -5   -5;
30507                    }
30508                }
30509            }
30510            part { name: "elm.text";
30511                clip_to: "disclip";
30512                type: TEXTBLOCK;
30513                mouse_events: 0;
30514                scale: 1;
30515                description {
30516                    state: "default" 0.0;
30517                    align: 0.0 0.5;
30518                    fixed: 0 1;
30519                    rel1 {
30520                        to_x: "elm.swallow.icon";
30521                        to_y: "base";
30522                        relative: 1.0  0.5;
30523                        offset:   0 4;
30524                    }
30525                    rel2 {
30526                        to_x: "elm.swallow.end";
30527                        to_y: "base";
30528                        relative: 0.0  0.5;
30529                        offset:   -1 -5;
30530                    }
30531                    text {
30532                        style: "gengrid_style";
30533                        min: 1 1;
30534                    }
30535                }
30536                description { state: "selected" 0.0;
30537                    inherit: "default" 0.0;
30538                    text {
30539                        style: "gengrid_selected_style";
30540                    }
30541                }
30542            }
30543            part { name: "fg1";
30544                clip_to: "disclip";
30545                mouse_events: 0;
30546                description { state: "default" 0.0;
30547                    visible: 0;
30548                    color: 255 255 255 0;
30549                    rel1.to: "bg";
30550                    rel2.relative: 1.0 0.5;
30551                    rel2.to: "bg";
30552                    image {
30553                        normal: "bt_sm_hilight.png";
30554                        border: 6 6 6 0;
30555                    }
30556                }
30557                description { state: "selected" 0.0;
30558                    inherit: "default" 0.0;
30559                    visible: 1;
30560                    color: 255 255 255 255;
30561                }
30562            }
30563            part { name: "fg2";
30564                clip_to: "disclip";
30565                mouse_events: 0;
30566                description { state: "default" 0.0;
30567                    visible: 0;
30568                    color: 255 255 255 0;
30569                    rel1.to: "bg";
30570                    rel2.to: "bg";
30571                    image {
30572                        normal: "bt_sm_shine.png";
30573                        border: 6 6 6 0;
30574                    }
30575                }
30576                description { state: "selected" 0.0;
30577                    inherit: "default" 0.0;
30578                    visible: 1;
30579                    color: 255 255 255 255;
30580                }
30581            }
30582            part { name: "disclip";
30583                type: RECT;
30584                description { state: "default" 0.0;
30585                    rel1.to: "bg";
30586                    rel2.to: "bg";
30587                }
30588                description { state: "disabled" 0.0;
30589                    inherit: "default" 0.0;
30590                    color: 255 255 255 64;
30591                }
30592            }
30593        }
30594        programs {
30595            // signal: elm,state,%s,active
30596            //   a "check" item named %s went active
30597            // signal: elm,state,%s,passive
30598            //   a "check" item named %s went passive
30599            // default is passive
30600            program { name:    "go_active";
30601                signal:  "elm,state,selected";
30602                source:  "elm";
30603                action:  STATE_SET "selected" 0.0;
30604                target:  "bg";
30605                target:  "fg1";
30606                target:  "fg2";
30607                target:  "elm.text";
30608            }
30609            program { name:    "go_passive";
30610                signal:  "elm,state,unselected";
30611                source:  "elm";
30612                action:  STATE_SET "default" 0.0;
30613                target:  "bg";
30614                target:  "fg1";
30615                target:  "fg2";
30616                target:  "elm.text";
30617                transition: LINEAR 0.1;
30618            }
30619            program { name:    "go_disabled";
30620                signal:  "elm,state,disabled";
30621                source:  "elm";
30622                action:  STATE_SET "disabled" 0.0;
30623                target:  "disclip";
30624            }
30625            program { name:    "go_enabled";
30626                signal:  "elm,state,enabled";
30627                source:  "elm";
30628                action:  STATE_SET "default" 0.0;
30629                target:  "disclip";
30630            }
30631        }
30632    }
30633
30634    group { name: "elm/gengrid/item/up/default";
30635       data.item: "labels" "elm.text";
30636       images {
30637           image: "bt_sm_base1.png" COMP;
30638           image: "bt_sm_shine.png" COMP;
30639           image: "bt_sm_hilight.png" COMP;
30640           image: "arrow_up.png" COMP;
30641       }
30642       parts {
30643          part { name: "event";
30644             type: RECT;
30645             repeat_events: 1;
30646             description { state: "default" 0.0;
30647                color: 0 0 0 0;
30648             }
30649          }
30650          part { name: "bg";
30651             clip_to: "disclip";
30652             mouse_events: 0;
30653             description { state: "default" 0.0;
30654                visible: 0;
30655                color: 255 255 255 0;
30656                rel1.offset: -3 -3;
30657                rel2.offset: 2 2;
30658                image { normal: "bt_sm_base1.png";
30659                   border: 6 6 6 6;
30660                   middle: SOLID;
30661                }
30662             }
30663             description { state: "selected" 0.0;
30664                inherit: "default" 0.0;
30665                visible: 1;
30666                color: 255 255 255 255;
30667             }
30668          }
30669          part { name: "image";
30670              type: IMAGE;
30671              mouse_events: 0;
30672              description { state: "default" 0.0;
30673                  aspect_preference: BOTH;
30674                  aspect: 1.0 1.0;
30675                  image.normal: "arrow_up.png";
30676                  rel2 {
30677                      to_y: "elm.text";
30678                      relative: 1.0 0.0;
30679                      offset: -1 -2;
30680                  }
30681              }
30682          }
30683          part { name: "elm.text";
30684             clip_to: "disclip";
30685             type: TEXT;
30686             effect: SOFT_SHADOW;
30687             mouse_events: 0;
30688             scale: 1;
30689             description { state: "default" 0.0;
30690                rel1 {
30691                   relative: 0.0  1.0;
30692                   offset: 20 -25;
30693                }
30694                rel2 {
30695                   relative: 1.0  1.0;
30696                   offset: -21 -3;
30697                }
30698                color: 0 0 0 255;
30699                color3: 0 0 0 0;
30700                text {
30701                   font: "Sans";
30702                   size: 10;
30703                   min: 0 1;
30704                   align: 0.5 0.0;
30705                   text_class: "grid_item";
30706                }
30707             }
30708             description { state: "selected" 0.0;
30709                inherit: "default" 0.0;
30710                color: 224 224 224 255;
30711                color3: 0 0 0 64;
30712             }
30713          }
30714          part { name: "fg1";
30715             clip_to: "disclip";
30716             mouse_events: 0;
30717             description { state: "default" 0.0;
30718                visible: 0;
30719                color: 255 255 255 0;
30720                rel1.offset: -3 -3;
30721                rel2 {
30722                    relative: 1.0 0.5;
30723                    offset: 2 -1;
30724                }
30725                image {
30726                   normal: "bt_sm_hilight.png";
30727                   border: 6 6 6 0;
30728                }
30729             }
30730             description { state: "selected" 0.0;
30731                inherit: "default" 0.0;
30732                visible: 1;
30733                color: 255 255 255 255;
30734             }
30735          }
30736          part { name: "fg2";
30737             clip_to: "disclip";
30738             mouse_events: 0;
30739             description { state: "default" 0.0;
30740                visible: 0;
30741                color: 255 255 255 0;
30742                rel1.offset: -3 -3;
30743                rel2.offset: 2 2;
30744                image {
30745                   normal: "bt_sm_shine.png";
30746                   border: 6 6 6 0;
30747                }
30748             }
30749             description { state: "selected" 0.0;
30750                inherit: "default" 0.0;
30751                visible: 1;
30752                color: 255 255 255 255;
30753             }
30754          }
30755          part { name: "disclip";
30756             type: RECT;
30757             description { state: "default" 0.0;
30758                rel1.to: "bg";
30759                rel2.to: "bg";
30760             }
30761             description { state: "disabled" 0.0;
30762                inherit: "default" 0.0;
30763                color: 255 255 255 64;
30764             }
30765          }
30766       }
30767       programs {
30768          program { name:    "go_active";
30769             signal:  "elm,state,selected";
30770             source:  "elm";
30771             action:  STATE_SET "selected" 0.0;
30772             target:  "bg";
30773             target:  "fg1";
30774             target:  "fg2";
30775             target:  "elm.text";
30776          }
30777          program { name:    "go_passive";
30778             signal:  "elm,state,unselected";
30779             source:  "elm";
30780             action:  STATE_SET "default" 0.0;
30781             target:  "bg";
30782             target:  "fg1";
30783             target:  "fg2";
30784             target:  "elm.text";
30785             transition: LINEAR 0.1;
30786          }
30787          program { name:    "go_disabled";
30788             signal:  "elm,state,disabled";
30789             source:  "elm";
30790             action:  STATE_SET "disabled" 0.0;
30791             target:  "disclip";
30792          }
30793          program { name:    "go_enabled";
30794             signal:  "elm,state,enabled";
30795             source:  "elm";
30796             action:  STATE_SET "default" 0.0;
30797             target:  "disclip";
30798          }
30799       }
30800    }
30801
30802    group { name: "elm/gengrid/item/album-preview/default";
30803       data.item: "labels" "elm.text";
30804       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30805       data.item: "states" "have_files";
30806       images {
30807          image: "bt_sm_base1.png" COMP;
30808          image: "bt_sm_shine.png" COMP;
30809          image: "bt_sm_hilight.png" COMP;
30810          image: "icon_folder.png" COMP;
30811       }
30812       parts {
30813          part { name: "event";
30814             type: RECT;
30815             repeat_events: 1;
30816             description { state: "default" 0.0;
30817                color: 0 0 0 0;
30818             }
30819          }
30820          part { name: "bg";
30821             clip_to: "disclip";
30822             mouse_events: 0;
30823             description { state: "default" 0.0;
30824                visible: 0;
30825                color: 255 255 255 0;
30826                rel1.offset: -3 -3;
30827                rel2.offset: 2 2;
30828                image {
30829                   normal: "bt_sm_base1.png";
30830                   border: 6 6 6 6;
30831                   middle: SOLID;
30832                }
30833             }
30834             description { state: "selected" 0.0;
30835                inherit: "default" 0.0;
30836                visible: 1;
30837                color: 255 255 255 255;
30838             }
30839          }
30840          part { name: "image";
30841              type: IMAGE;
30842              mouse_events: 0;
30843              description { state: "default" 0.0;
30844                  aspect_preference: BOTH;
30845                  aspect: 1.0 1.0;
30846                  image.normal: "icon_folder.png";
30847                  rel2 {
30848                      to_y: "elm.text";
30849                      relative: 1.0 0.0;
30850                      offset: -1 -2;
30851                  }
30852              }
30853          }
30854          part { name: "have-files-clipper";
30855              type: RECT;
30856              description { state: "default" 0.0;
30857                  color: 255 255 255 0;
30858                  visible: 0;
30859              }
30860              description { state: "visible" 0.0;
30861                  inherit: "default" 0.0;
30862                  color: 255 255 255 255;
30863                  visible: 1;
30864              }
30865          }
30866          part { name: "icon_box_margin";
30867              type: RECT;
30868              mouse_events: 0;
30869              clip_to: "have-files-clipper";
30870              description { state: "default" 0.0;
30871                  color: 0 0 0 255;
30872                  rel1 {
30873                      to: "icon_box";
30874                      offset: -1 -1;
30875                  }
30876                  rel2 {
30877                      to: "icon_box";
30878                      offset: 0 0;
30879                  }
30880              }
30881          }
30882          part { name: "icon_box";
30883              type: RECT;
30884              mouse_events: 0;
30885              clip_to: "have-files-clipper";
30886              description { state: "default" 0.0;
30887                  color: 255 255 255 255;
30888                  align: 1.0 1.0;
30889                  min: 32 32;
30890                  rel1 {
30891                      relative: 0.25 0.25;
30892                      offset: 0 0;
30893                  }
30894                  rel2 {
30895                      relative: 1.0 0.0;
30896                      offset: -11 -4;
30897                      to_y: "elm.text";
30898                  }
30899              }
30900          }
30901          part { name: "elm.swallow.icon.1";
30902              type: SWALLOW;
30903              mouse_events: 0;
30904              clip_to: "have-files-clipper";
30905              description { state: "default" 0.0;
30906                rel1 {
30907                   relative: 0.0  0.0;
30908                   to: "icon_box";
30909                }
30910                rel2 {
30911                   relative: 0.5  0.5;
30912                   offset: -1 -1;
30913                   to: "icon_box";
30914                }
30915             }
30916          }
30917          part { name: "elm.swallow.icon.2";
30918              type: SWALLOW;
30919              mouse_events: 0;
30920              clip_to: "have-files-clipper";
30921              description { state: "default" 0.0;
30922                rel1 {
30923                   relative: 0.5  0.0;
30924                   to: "icon_box";
30925                }
30926                rel2 {
30927                   relative: 1.0  0.5;
30928                   offset: -1 -1;
30929                   to: "icon_box";
30930                }
30931             }
30932          }
30933          part { name: "elm.swallow.icon.3";
30934              type: SWALLOW;
30935              mouse_events: 0;
30936              clip_to: "have-files-clipper";
30937              description { state: "default" 0.0;
30938                rel1 {
30939                   relative: 0.0  0.5;
30940                   to: "icon_box";
30941                }
30942                rel2 {
30943                   relative: 0.5  1.0;
30944                   offset: -1 -1;
30945                   to: "icon_box";
30946                }
30947             }
30948          }
30949          part { name: "elm.swallow.icon.4";
30950              type: SWALLOW;
30951              mouse_events: 0;
30952              clip_to: "have-files-clipper";
30953              description { state: "default" 0.0;
30954                rel1 {
30955                   relative: 0.5  0.5;
30956                   to: "icon_box";
30957                }
30958                rel2 {
30959                   relative: 1.0  1.0;
30960                   offset: -1 -1;
30961                   to: "icon_box";
30962                }
30963             }
30964          }
30965          part { name: "elm.text";
30966             clip_to: "disclip";
30967             type: TEXT;
30968             effect: SOFT_SHADOW;
30969             mouse_events: 0;
30970             scale: 1;
30971             description { state: "default" 0.0;
30972                rel1 {
30973                   relative: 0.0  1.0;
30974                   offset: 20 -30;
30975                }
30976                rel2 {
30977                   relative: 1.0  1.0;
30978                   offset: -21 -15;
30979                }
30980                color: 0 0 0 255;
30981                color3: 0 0 0 0;
30982                text {
30983                   font: "Sans";
30984                   size: 10;
30985                   min: 0 1;
30986                   align: 0.5 0.0;
30987                   text_class: "grid_item";
30988                }
30989             }
30990             description { state: "selected" 0.0;
30991                 inherit: "default" 0.0;
30992                 color: 255 255 255 255;
30993             }
30994          }
30995          part { name: "fg1";
30996             clip_to: "disclip";
30997             mouse_events: 0;
30998             description { state: "default" 0.0;
30999                visible: 0;
31000                color: 255 255 255 0;
31001                rel1.offset: -3 -3;
31002                rel2 {
31003                    relative: 1.0 0.5;
31004                    offset: 2 -1;
31005                }
31006                image {
31007                   normal: "bt_sm_hilight.png";
31008                   border: 6 6 6 0;
31009                }
31010             }
31011             description { state: "selected" 0.0;
31012                inherit: "default" 0.0;
31013                visible: 1;
31014                color: 255 255 255 255;
31015             }
31016          }
31017          part { name: "fg2";
31018             clip_to: "disclip";
31019             mouse_events: 0;
31020             description { state: "default" 0.0;
31021                visible: 0;
31022                color: 255 255 255 0;
31023                rel1.offset: -3 -3;
31024                rel2.offset: 2 2;
31025                image {
31026                   normal: "bt_sm_shine.png";
31027                   border: 6 6 6 0;
31028                }
31029             }
31030             description { state: "selected" 0.0;
31031                inherit: "default" 0.0;
31032                visible: 1;
31033                color: 255 255 255 255;
31034             }
31035          }
31036          part { name: "disclip";
31037             type: RECT;
31038             description { state: "default" 0.0;
31039                rel1.to: "bg";
31040                rel2.to: "bg";
31041             }
31042             description { state: "disabled" 0.0;
31043                inherit: "default" 0.0;
31044                color: 255 255 255 64;
31045             }
31046          }
31047       }
31048       programs {
31049          program { name:    "go_active";
31050             signal:  "elm,state,selected";
31051             source:  "elm";
31052             action:  STATE_SET "selected" 0.0;
31053             target:  "bg";
31054             target:  "fg1";
31055             target:  "fg2";
31056             target:  "elm.text";
31057          }
31058          program { name:    "go_passive";
31059             signal:  "elm,state,unselected";
31060             source:  "elm";
31061             action:  STATE_SET "default" 0.0;
31062             target:  "bg";
31063             target:  "fg1";
31064             target:  "fg2";
31065             target:  "elm.text";
31066             transition: LINEAR 0.1;
31067          }
31068          program { name:    "go_disabled";
31069             signal:  "elm,state,disabled";
31070             source:  "elm";
31071             action:  STATE_SET "disabled" 0.0;
31072             target:  "disclip";
31073          }
31074          program { name:    "go_enabled";
31075             signal:  "elm,state,enabled";
31076             source:  "elm";
31077             action:  STATE_SET "default" 0.0;
31078             target:  "disclip";
31079          }
31080          program {
31081              signal: "elm,state,have_files,active";
31082              source: "elm";
31083              action: STATE_SET "visible" 0.0;
31084              target: "have-files-clipper";
31085          }
31086       }
31087    }
31088
31089    group { name: "elm/gengrid/item/thumb/default";
31090        data {
31091            item: "icons" "elm.swallow.icon";
31092            item: "labels" "elm.text";
31093        }
31094        images {
31095            image: "bt_sm_base1.png" COMP;
31096            image: "bt_sm_shine.png" COMP;
31097            image: "bt_sm_hilight.png" COMP;
31098            image: "thumb_shadow.png" COMP;
31099        }
31100        parts {
31101            part { name: "event";
31102                type: RECT;
31103                repeat_events: 1;
31104                description { state: "default" 0.0;
31105                    color: 0 0 0 0;
31106                }
31107            }
31108            part { name: "bg";
31109                mouse_events: 0;
31110                description { state: "default" 0.0;
31111                    visible: 0;
31112                    color: 255 255 255 0;
31113                    rel1.offset: -3 -3;
31114                    rel2.offset: 2 2;
31115                    image {
31116                        normal: "bt_sm_base1.png";
31117                        border: 6 6 6 6;
31118                        middle: SOLID;
31119                    }
31120                }
31121                description { state: "selected" 0.0;
31122                    inherit: "default" 0.0;
31123                    visible: 1;
31124                    color: 255 255 255 255;
31125                }
31126            }
31127            part { name: "border-shadow";
31128                type: IMAGE;
31129                mouse_events: 0;
31130                description { state: "default" 0.0;
31131                    rel1 {
31132                        to: "elm.swallow.icon";
31133                        offset: -18 -18;
31134                    }
31135                    rel2 {
31136                        to_x: "elm.swallow.icon";
31137                        to_y: "elm.text";
31138                        offset: 17 17;
31139                    }
31140                    image {
31141                        normal: "thumb_shadow.png";
31142                        border: 17 17 17 17;
31143                        middle: NONE;
31144                    }
31145                }
31146            }
31147            part { name: "border";
31148                type: RECT;
31149                mouse_events: 0;
31150                description { state: "default" 0.0;
31151                    rel1 {
31152                        to: "border-shadow";
31153                        offset: 16 16;
31154                    }
31155                    rel2 {
31156                        to: "border-shadow";
31157                        offset: -15 -15;
31158                    }
31159                }
31160            }
31161            part { name: "elm.swallow.icon";
31162                type: SWALLOW;
31163                mouse_events: 0;
31164                description { state: "default" 0.0;
31165                    aspect_preference: BOTH;
31166                    aspect: 1.0 1.0;
31167                    rel1.offset: 0 8;
31168                    rel2 {
31169                        to_y: "elm.text";
31170                        relative: 1.0 0.0;
31171                        offset: -1 -2;
31172                    }
31173                }
31174            }
31175            part { name: "elm.text";
31176                type: TEXT;
31177                effect: SOFT_SHADOW;
31178                mouse_events: 0;
31179                scale: 1;
31180                description { state: "default" 0.0;
31181                    color: 0 0 0 255;
31182                    color3: 0 0 0 0;
31183                    align: 0.5 1.0;
31184                    rel1 {
31185                        relative: 0.0 1.0;
31186                        offset: 20 -30;
31187                    }
31188                    rel2 {
31189                        relative: 1.0 1.0;
31190                        offset: -21 -15;
31191                    }
31192                    text {
31193                        font: "Sans";
31194                        size: 10;
31195                        min: 0 1;
31196                        align: 0.5 0.0;
31197                        text_class: "grid_item";
31198                    }
31199                }
31200            }
31201            part { name: "fg1";
31202                mouse_events: 0;
31203                description { state: "default" 0.0;
31204                    visible: 0;
31205                    color: 255 255 255 0;
31206                    rel1.offset: -3 -3;
31207                    rel2 {
31208                        relative: 1.0 0.5;
31209                        offset: 2 -1;
31210                    }
31211                    image {
31212                        normal: "bt_sm_hilight.png";
31213                        border: 6 6 6 0;
31214                    }
31215                }
31216                description { state: "selected" 0.0;
31217                    inherit: "default" 0.0;
31218                    visible: 1;
31219                    color: 255 255 255 255;
31220                }
31221            }
31222            part { name: "fg2";
31223                mouse_events: 0;
31224                description { state: "default" 0.0;
31225                    visible: 0;
31226                    color: 255 255 255 0;
31227                    rel1.offset: -3 -3;
31228                    rel2.offset: 2 2;
31229                    image {
31230                        image: "bt_sm_shine.png";
31231                        border: 6 6 6 0;
31232                    }
31233                }
31234                description { state: "selected" 0.0;
31235                    inherit: "default" 0.0;
31236                    visible: 1;
31237                    color: 255 255 255 255;
31238                }
31239            }
31240        }
31241        programs {
31242            program {
31243                signal: "elm,state,selected";
31244                source: "elm";
31245                action: STATE_SET "selected" 0.0;
31246                target: "bg";
31247                target: "fg1";
31248                target: "fg2";
31249            }
31250            program {
31251                signal: "elm,state,unselected";
31252                source: "elm";
31253                action:  STATE_SET "default" 0.0;
31254                target: "bg";
31255                target: "fg1";
31256                target: "fg2";
31257                transition: LINEAR 0.1;
31258            }
31259        }
31260    }
31261
31262 ///////////////////////////////////////////////////////////////////////////////
31263    group { name: "elm/photocam/base/default";
31264        script {
31265            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31266            public timer0(val) {
31267                new v;
31268                v = get_int(sbvis_v);
31269                if (v) {
31270                    v = get_int(sbalways_v);
31271                    if (!v) {
31272                        emit("do-hide-vbar", "");
31273                        set_int(sbvis_v, 0);
31274                    }
31275                }
31276                v = get_int(sbvis_h);
31277                if (v) {
31278                    v = get_int(sbalways_h);
31279                    if (!v) {
31280                        emit("do-hide-hbar", "");
31281                        set_int(sbvis_h, 0);
31282                    }
31283                }
31284                set_int(sbvis_timer, 0);
31285                return 0;
31286            }
31287        }
31288        images {
31289            image: "shelf_inset.png" COMP;
31290            image: "bt_sm_base2.png" COMP;
31291            image: "bt_sm_shine.png" COMP;
31292            image: "bt_sm_hilight.png" COMP;
31293            image: "busy-1.png" COMP;
31294            image: "busy-2.png" COMP;
31295            image: "busy-3.png" COMP;
31296            image: "busy-4.png" COMP;
31297            image: "busy-5.png" COMP;
31298            image: "busy-6.png" COMP;
31299            image: "busy-7.png" COMP;
31300            image: "busy-8.png" COMP;
31301            image: "busy-9.png" COMP;
31302        }
31303        parts {
31304            part { name: "bg";
31305                type: RECT;
31306                description { state: "default" 0.0;
31307                    rel1.offset: 1 1;
31308                    rel2.offset: -2 -2;
31309                    color: 255 255 255 0;
31310                }
31311            }
31312            part { name: "clipper";
31313                type: RECT;
31314                mouse_events: 0;
31315                description { state: "default" 0.0;
31316                    rel1.to: "bg";
31317                    rel2.to: "bg";
31318                }
31319            }
31320            part { name: "elm.swallow.content";
31321                clip_to: "clipper";
31322                type: SWALLOW;
31323                description { state: "default" 0.0;
31324                    rel1.offset: 1 1;
31325                    rel2.offset: -2 -2;
31326                }
31327            }
31328            part { name: "busy_clip";
31329                type: RECT;
31330                mouse_events: 0;
31331                description { state: "default" 0.0;
31332                    visible: 0;
31333                    color: 255 255 255 0;
31334                }
31335                description { state: "active" 0.0;
31336                    visible: 1;
31337                    color: 255 255 255 255;
31338                }
31339            }
31340            part { name: "busy";
31341                clip_to: "busy_clip";
31342                mouse_events: 0;
31343                description { state: "default" 0.0;
31344                    fixed: 1 1;
31345                    min: 32 32;
31346                    aspect: 1.0 1.0;
31347                    align: 1.0 1.0;
31348                    aspect_preference: BOTH;
31349                    rel1 {
31350                        relative: 0.9 0.9;
31351                        offset:   -9 -9;
31352                    }
31353                    rel2 {
31354                        relative: 0.9 0.9;
31355                        offset:   -9 -9;
31356                    }
31357                    image {
31358                        normal: "busy-9.png";
31359                        tween:  "busy-1.png";
31360                        tween:  "busy-2.png";
31361                        tween:  "busy-3.png";
31362                        tween:  "busy-4.png";
31363                        tween:  "busy-5.png";
31364                        tween:  "busy-6.png";
31365                        tween:  "busy-7.png";
31366                        tween:  "busy-8.png";
31367                    }
31368                }
31369            }
31370            part { name: "conf_over";
31371                mouse_events:  0;
31372                description { state: "default" 0.0;
31373                    rel1.offset: 0 0;
31374                    rel2.offset: -1 -1;
31375                    image {
31376                        normal: "shelf_inset.png";
31377                        border: 7 7 7 7;
31378                        middle: 0;
31379                    }
31380                    fill.smooth : 0;
31381                }
31382            }
31383            part { name: "sb_vbar_clip_master";
31384                type: RECT;
31385                mouse_events: 0;
31386                description { state: "default" 0.0;
31387                }
31388                description { state: "hidden" 0.0;
31389                    visible: 0;
31390                    color: 255 255 255 0;
31391                }
31392            }
31393            part { name: "sb_vbar_clip";
31394                clip_to: "sb_vbar_clip_master";
31395                type: RECT;
31396                mouse_events: 0;
31397                description { state: "default" 0.0;
31398                }
31399                description { state: "hidden" 0.0;
31400                    visible: 0;
31401                    color: 255 255 255 0;
31402                }
31403            }
31404            part { name: "sb_vbar";
31405                type: RECT;
31406                mouse_events: 0;
31407                description { state: "default" 0.0;
31408                    fixed: 1 1;
31409                    visible: 0;
31410                    min: 10 17;
31411                    align: 1.0 0.0;
31412                    rel1 {
31413                        relative: 1.0 0.0;
31414                        offset:   -2 0;
31415                    }
31416                    rel2 {
31417                        relative: 1.0 0.0;
31418                        offset:   -2 -1;
31419                        to_y:     "sb_hbar";
31420                    }
31421                }
31422            }
31423            part { name: "elm.dragable.vbar";
31424                clip_to: "sb_vbar_clip";
31425                mouse_events: 0;
31426                dragable {
31427                    x: 0 0 0;
31428                    y: 1 1 0;
31429                    confine: "sb_vbar";
31430                }
31431                description { state: "default" 0.0;
31432                    fixed: 1 1;
31433                    min: 10 17;
31434                    max: 10 99999;
31435                    rel1 {
31436                        relative: 0.5  0.5;
31437                        offset:   0    0;
31438                        to: "sb_vbar";
31439                    }
31440                    rel2 {
31441                        relative: 0.5  0.5;
31442                        offset:   0    0;
31443                        to: "sb_vbar";
31444                    }
31445                    image {
31446                        normal: "bt_sm_base2.png";
31447                        border: 6 6 6 6;
31448                        middle: SOLID;
31449                    }
31450                }
31451            }
31452            part { name: "sb_vbar_over1";
31453                clip_to: "sb_vbar_clip";
31454                mouse_events: 0;
31455                description { state: "default" 0.0;
31456                    rel1.to: "elm.dragable.vbar";
31457                    rel2.relative: 1.0 0.5;
31458                    rel2.to: "elm.dragable.vbar";
31459                    image {
31460                        normal: "bt_sm_hilight.png";
31461                        border: 6 6 6 0;
31462                    }
31463                }
31464            }
31465            part { name: "sb_vbar_over2";
31466                clip_to: "sb_vbar_clip";
31467                mouse_events: 0;
31468                description { state: "default" 0.0;
31469                    rel1.to: "elm.dragable.vbar";
31470                    rel2.to: "elm.dragable.vbar";
31471                    image {
31472                        normal: "bt_sm_shine.png";
31473                        border: 6 6 6 0;
31474                    }
31475                }
31476            }
31477
31478            part { name: "sb_hbar_clip_master";
31479                type: RECT;
31480                mouse_events: 0;
31481                description { state: "default" 0.0;
31482                }
31483                description { state: "hidden" 0.0;
31484                    visible: 0;
31485                    color: 255 255 255 0;
31486                }
31487            }
31488            part { name: "sb_hbar_clip";
31489                clip_to: "sb_hbar_clip_master";
31490                type: RECT;
31491                mouse_events: 0;
31492                description { state: "default" 0.0;
31493                }
31494                description { state: "hidden" 0.0;
31495                    visible: 0;
31496                    color: 255 255 255 0;
31497                }
31498            }
31499            part { name: "sb_hbar";
31500                type: RECT;
31501                mouse_events: 0;
31502                description { state: "default" 0.0;
31503                    fixed: 1 1;
31504                    visible: 0;
31505                    min: 17 10;
31506                    align: 0.0 1.0;
31507                    rel1 {
31508                        relative: 0.0 1.0;
31509                        offset:   0 -2;
31510                    }
31511                    rel2 {
31512                        relative: 0.0 1.0;
31513                        offset:   -1 -2;
31514                        to_x:     "sb_vbar";
31515                    }
31516                }
31517            }
31518            part { name: "elm.dragable.hbar";
31519                clip_to: "sb_hbar_clip";
31520                mouse_events: 0;
31521                dragable {
31522                    x: 1 1 0;
31523                    y: 0 0 0;
31524                    confine: "sb_hbar";
31525                }
31526                description { state: "default" 0.0;
31527                    fixed: 1 1;
31528                    min: 17 10;
31529                    max: 99999 10;
31530                    rel1 {
31531                        relative: 0.5  0.5;
31532                        offset:   0    0;
31533                        to: "sb_hbar";
31534                    }
31535                    rel2 {
31536                        relative: 0.5  0.5;
31537                        offset:   0    0;
31538                        to: "sb_hbar";
31539                    }
31540                    image {
31541                        normal: "bt_sm_base2.png";
31542                        border: 4 4 4 4;
31543                        middle: SOLID;
31544                    }
31545                }
31546            }
31547            part { name: "sb_hbar_over1";
31548                clip_to: "sb_hbar_clip";
31549                mouse_events: 0;
31550                description { state: "default" 0.0;
31551                    rel1.to: "elm.dragable.hbar";
31552                    rel2.relative: 1.0 0.5;
31553                    rel2.to: "elm.dragable.hbar";
31554                    image {
31555                        normal: "bt_sm_hilight.png";
31556                        border: 4 4 4 0;
31557                    }
31558                }
31559            }
31560            part { name: "sb_hbar_over2";
31561                clip_to: "sb_hbar_clip";
31562                mouse_events: 0;
31563                description { state: "default" 0.0;
31564                    rel1.to: "elm.dragable.hbar";
31565                    rel2.to: "elm.dragable.hbar";
31566                    image {
31567                        normal: "bt_sm_shine.png";
31568                        border: 4 4 4 0;
31569                    }
31570                }
31571            }
31572        }
31573        programs {
31574            program { name: "load";
31575                signal: "load";
31576                source: "";
31577                script {
31578                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31579                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31580                    set_int(sbvis_h, 0);
31581                    set_int(sbvis_v, 0);
31582                    set_int(sbalways_v, 0);
31583                    set_int(sbalways_h, 0);
31584                    set_int(sbvis_timer, 0);
31585                }
31586            }
31587
31588            program { name: "vbar_show";
31589                signal: "elm,action,show,vbar";
31590                source: "elm";
31591                action:  STATE_SET "default" 0.0;
31592                target: "sb_vbar_clip_master";
31593            }
31594            program { name: "vbar_hide";
31595                signal: "elm,action,hide,vbar";
31596                source: "elm";
31597                action:  STATE_SET "hidden" 0.0;
31598                target: "sb_vbar_clip_master";
31599            }
31600            program { name: "vbar_show_always";
31601                signal: "elm,action,show_always,vbar";
31602                source: "elm";
31603                script {
31604                    new v;
31605                    v = get_int(sbvis_v);
31606                    v |= get_int(sbalways_v);
31607                    if (!v) {
31608                        set_int(sbalways_v, 1);
31609                        emit("do-show-vbar", "");
31610                        set_int(sbvis_v, 1);
31611                    }
31612                }
31613            }
31614            program { name: "vbar_show_notalways";
31615                signal: "elm,action,show_notalways,vbar";
31616                source: "elm";
31617                script {
31618                    new v;
31619                    v = get_int(sbalways_v);
31620                    if (v) {
31621                        set_int(sbalways_v, 0);
31622                        v = get_int(sbvis_v);
31623                        if (!v) {
31624                            emit("do-hide-vbar", "");
31625                            set_int(sbvis_v, 0);
31626                        }
31627                    }
31628                }
31629            }
31630            program { name: "sb_vbar_show";
31631                signal: "do-show-vbar";
31632                source: "";
31633                action:  STATE_SET "default" 0.0;
31634                transition: LINEAR 0.5;
31635                target: "sb_vbar_clip";
31636            }
31637            program { name: "sb_vbar_hide";
31638                signal: "do-hide-vbar";
31639                source: "";
31640                action:  STATE_SET "hidden" 0.0;
31641                transition: LINEAR 0.5;
31642                target: "sb_vbar_clip";
31643            }
31644
31645            program { name: "hbar_show";
31646                signal: "elm,action,show,hbar";
31647                source: "elm";
31648                action:  STATE_SET "default" 0.0;
31649                target: "sb_hbar_clip_master";
31650            }
31651            program { name: "hbar_hide";
31652                signal: "elm,action,hide,hbar";
31653                source: "elm";
31654                action:  STATE_SET "hidden" 0.0;
31655                target: "sb_hbar_clip_master";
31656            }
31657            program { name: "hbar_show_always";
31658                signal: "elm,action,show_always,hbar";
31659                source: "elm";
31660                script {
31661                    new v;
31662                    v = get_int(sbvis_h);
31663                    v |= get_int(sbalways_h);
31664                    if (!v) {
31665                        set_int(sbalways_h, 1);
31666                        emit("do-show-hbar", "");
31667                        set_int(sbvis_h, 1);
31668                    }
31669                }
31670            }
31671            program { name: "hbar_show_notalways";
31672                signal: "elm,action,show_notalways,hbar";
31673                source: "elm";
31674                script {
31675                    new v;
31676                    v = get_int(sbalways_h);
31677                    if (v) {
31678                        set_int(sbalways_h, 0);
31679                        v = get_int(sbvis_h);
31680                        if (!v) {
31681                            emit("do-hide-hbar", "");
31682                            set_int(sbvis_h, 0);
31683                        }
31684                    }
31685                }
31686            }
31687            program { name: "sb_hbar_show";
31688                signal: "do-show-hbar";
31689                source: "";
31690                action:  STATE_SET "default" 0.0;
31691                transition: LINEAR 0.5;
31692                target: "sb_hbar_clip";
31693            }
31694            program { name: "sb_hbar_hide";
31695                signal: "do-hide-hbar";
31696                source: "";
31697                action:  STATE_SET "hidden" 0.0;
31698                transition: LINEAR 0.5;
31699                target: "sb_hbar_clip";
31700            }
31701
31702            program { name: "scroll";
31703                signal: "elm,action,scroll";
31704                source: "elm";
31705                script {
31706                    new v;
31707                    v = get_int(sbvis_v);
31708                    v |= get_int(sbalways_v);
31709                    if (!v) {
31710                        emit("do-show-vbar", "");
31711                        set_int(sbvis_v, 1);
31712                    }
31713                    v = get_int(sbvis_h);
31714                    v |= get_int(sbalways_h);
31715                    if (!v) {
31716                        emit("do-show-hbar", "");
31717                        set_int(sbvis_h, 1);
31718                    }
31719                    v = get_int(sbvis_timer);
31720                    if (v > 0) cancel_timer(v);
31721                    v = timer(1.0, "timer0", 0);
31722                    set_int(sbvis_timer, v);
31723                }
31724            }
31725            program { name: "go1";
31726                signal: "elm,state,busy,start";
31727                source: "elm";
31728                action: STATE_SET "active" 0.0;
31729                transition: SINUSOIDAL 1.0;
31730                target:  "busy_clip";
31731            }
31732            program { name: "go2";
31733                signal: "elm,state,busy,start";
31734                source: "elm";
31735                action: STATE_SET "default" 0.0;
31736                transition: LINEAR 0.5;
31737                target: "busy";
31738                after:  "go2";
31739            }
31740            program { name: "stop1";
31741                signal: "elm,state,busy,stop";
31742                source: "elm";
31743                action: STATE_SET "default" 0.0;
31744                transition: SINUSOIDAL 1.0;
31745                target: "busy_clip";
31746                after: "stop2";
31747            }
31748          program { name: "stop2";
31749             action: ACTION_STOP;
31750             target: "go2";
31751          }
31752       }
31753    }
31754
31755    ///////////////////////////////////////////////////////////////////////////////
31756    group { name: "elm/map/base/default";
31757        script {
31758            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31759            public timer0(val) {
31760                new v;
31761                v = get_int(sbvis_v);
31762                if (v) {
31763                    v = get_int(sbalways_v);
31764                    if (!v) {
31765                        emit("do-hide-vbar", "");
31766                        set_int(sbvis_v, 0);
31767                    }
31768                }
31769                v = get_int(sbvis_h);
31770                if (v) {
31771                    v = get_int(sbalways_h);
31772                    if (!v) {
31773                        emit("do-hide-hbar", "");
31774                        set_int(sbvis_h, 0);
31775                    }
31776                }
31777                set_int(sbvis_timer, 0);
31778                return 0;
31779            }
31780        }
31781        images {
31782            image: "shelf_inset.png" COMP;
31783            image: "bt_sm_base2.png" COMP;
31784            image: "bt_sm_shine.png" COMP;
31785            image: "bt_sm_hilight.png" COMP;
31786            image: "busy-1.png" COMP;
31787            image: "busy-2.png" COMP;
31788            image: "busy-3.png" COMP;
31789            image: "busy-4.png" COMP;
31790            image: "busy-5.png" COMP;
31791            image: "busy-6.png" COMP;
31792            image: "busy-7.png" COMP;
31793            image: "busy-8.png" COMP;
31794            image: "busy-9.png" COMP;
31795        }
31796        parts {
31797            part { name: "bg";
31798                type: RECT;
31799                description { state: "default" 0.0;
31800                    rel1.offset: 1 1;
31801                    rel2.offset: -2 -2;
31802                    color: 255 255 255 0;
31803                }
31804            }
31805            part { name: "clipper";
31806                type: RECT;
31807                mouse_events: 0;
31808                description { state: "default" 0.0;
31809                    rel1.to: "bg";
31810                    rel2.to: "bg";
31811                }
31812            }
31813            part { name: "elm.swallow.content";
31814                clip_to: "clipper";
31815                type: SWALLOW;
31816                description { state: "default" 0.0;
31817                    rel1.offset: 1 1;
31818                    rel2.offset: -2 -2;
31819                }
31820            }
31821            part { name: "busy_clip";
31822                type: RECT;
31823                mouse_events: 0;
31824                description { state: "default" 0.0;
31825                    visible: 0;
31826                    color: 255 255 255 0;
31827                }
31828                description { state: "active" 0.0;
31829                    visible: 1;
31830                    color: 255 255 255 255;
31831                }
31832            }
31833            part { name: "busy";
31834                clip_to: "busy_clip";
31835                mouse_events: 0;
31836                description { state: "default" 0.0;
31837                    fixed: 1 1;
31838                    min: 32 32;
31839                    aspect: 1.0 1.0;
31840                    align: 1.0 1.0;
31841                    aspect_preference: BOTH;
31842                    rel1 {
31843                        relative: 0.9 0.9;
31844                        offset:   -9 -9;
31845                    }
31846                    rel2 {
31847                        relative: 0.9 0.9;
31848                        offset:   -9 -9;
31849                    }
31850                    image {
31851                        normal: "busy-9.png";
31852                        tween:  "busy-1.png";
31853                        tween:  "busy-2.png";
31854                        tween:  "busy-3.png";
31855                        tween:  "busy-4.png";
31856                        tween:  "busy-5.png";
31857                        tween:  "busy-6.png";
31858                        tween:  "busy-7.png";
31859                        tween:  "busy-8.png";
31860                    }
31861                }
31862            }
31863            part { name: "conf_over";
31864                mouse_events:  0;
31865                description { state: "default" 0.0;
31866                    rel1.offset: 0 0;
31867                    rel2.offset: -1 -1;
31868                    image {
31869                        normal: "shelf_inset.png";
31870                        border: 7 7 7 7;
31871                        middle: 0;
31872                    }
31873                    fill.smooth : 0;
31874                }
31875            }
31876            part { name: "sb_vbar_clip_master";
31877                type: RECT;
31878                mouse_events: 0;
31879                description { state: "default" 0.0;
31880                }
31881                description { state: "hidden" 0.0;
31882                    visible: 0;
31883                    color: 255 255 255 0;
31884                }
31885            }
31886            part { name: "sb_vbar_clip";
31887                clip_to: "sb_vbar_clip_master";
31888                type: RECT;
31889                mouse_events: 0;
31890                description { state: "default" 0.0;
31891                }
31892                description { state: "hidden" 0.0;
31893                    visible: 0;
31894                    color: 255 255 255 0;
31895                }
31896            }
31897            part { name: "sb_vbar";
31898                type: RECT;
31899                mouse_events: 0;
31900                description { state: "default" 0.0;
31901                    fixed: 1 1;
31902                    visible: 0;
31903                    min: 10 17;
31904                    align: 1.0 0.0;
31905                    rel1 {
31906                        relative: 1.0 0.0;
31907                        offset:   -2 0;
31908                    }
31909                    rel2 {
31910                        relative: 1.0 0.0;
31911                        offset:   -2 -1;
31912                        to_y:     "sb_hbar";
31913                    }
31914                }
31915            }
31916            part { name: "elm.dragable.vbar";
31917                clip_to: "sb_vbar_clip";
31918                mouse_events: 0;
31919                dragable {
31920                    x: 0 0 0;
31921                    y: 1 1 0;
31922                    confine: "sb_vbar";
31923                }
31924                description { state: "default" 0.0;
31925                    fixed: 1 1;
31926                    min: 10 17;
31927                    max: 10 99999;
31928                    rel1 {
31929                        relative: 0.5  0.5;
31930                        offset:   0    0;
31931                        to: "sb_vbar";
31932                    }
31933                    rel2 {
31934                        relative: 0.5  0.5;
31935                        offset:   0    0;
31936                        to: "sb_vbar";
31937                    }
31938                    image {
31939                        normal: "bt_sm_base2.png";
31940                        border: 6 6 6 6;
31941                        middle: SOLID;
31942                    }
31943                }
31944            }
31945            part { name: "sb_vbar_over1";
31946                clip_to: "sb_vbar_clip";
31947                mouse_events: 0;
31948                description { state: "default" 0.0;
31949                    rel1.to: "elm.dragable.vbar";
31950                    rel2.relative: 1.0 0.5;
31951                    rel2.to: "elm.dragable.vbar";
31952                    image {
31953                        normal: "bt_sm_hilight.png";
31954                        border: 6 6 6 0;
31955                    }
31956                }
31957            }
31958            part { name: "sb_vbar_over2";
31959                clip_to: "sb_vbar_clip";
31960                mouse_events: 0;
31961                description { state: "default" 0.0;
31962                    rel1.to: "elm.dragable.vbar";
31963                    rel2.to: "elm.dragable.vbar";
31964                    image {
31965                        normal: "bt_sm_shine.png";
31966                        border: 6 6 6 0;
31967                    }
31968                }
31969            }
31970
31971            part { name: "sb_hbar_clip_master";
31972                type: RECT;
31973                mouse_events: 0;
31974                description { state: "default" 0.0;
31975                }
31976                description { state: "hidden" 0.0;
31977                    visible: 0;
31978                    color: 255 255 255 0;
31979                }
31980            }
31981            part { name: "sb_hbar_clip";
31982                clip_to: "sb_hbar_clip_master";
31983                type: RECT;
31984                mouse_events: 0;
31985                description { state: "default" 0.0;
31986                }
31987                description { state: "hidden" 0.0;
31988                    visible: 0;
31989                    color: 255 255 255 0;
31990                }
31991            }
31992            part { name: "sb_hbar";
31993                type: RECT;
31994                mouse_events: 0;
31995                description { state: "default" 0.0;
31996                    fixed: 1 1;
31997                    visible: 0;
31998                    min: 17 10;
31999                    align: 0.0 1.0;
32000                    rel1 {
32001                        relative: 0.0 1.0;
32002                        offset:   0 -2;
32003                    }
32004                    rel2 {
32005                        relative: 0.0 1.0;
32006                        offset:   -1 -2;
32007                        to_x:     "sb_vbar";
32008                    }
32009                }
32010            }
32011            part { name: "elm.dragable.hbar";
32012                clip_to: "sb_hbar_clip";
32013                mouse_events: 0;
32014                dragable {
32015                    x: 1 1 0;
32016                    y: 0 0 0;
32017                    confine: "sb_hbar";
32018                }
32019                description { state: "default" 0.0;
32020                    fixed: 1 1;
32021                    min: 17 10;
32022                    max: 99999 10;
32023                    rel1 {
32024                        relative: 0.5  0.5;
32025                        offset:   0    0;
32026                        to: "sb_hbar";
32027                    }
32028                    rel2 {
32029                        relative: 0.5  0.5;
32030                        offset:   0    0;
32031                        to: "sb_hbar";
32032                    }
32033                    image {
32034                        normal: "bt_sm_base2.png";
32035                        border: 4 4 4 4;
32036                        middle: SOLID;
32037                    }
32038                }
32039            }
32040            part { name: "sb_hbar_over1";
32041                clip_to: "sb_hbar_clip";
32042                mouse_events: 0;
32043                description { state: "default" 0.0;
32044                    rel1.to: "elm.dragable.hbar";
32045                    rel2.relative: 1.0 0.5;
32046                    rel2.to: "elm.dragable.hbar";
32047                    image {
32048                        normal: "bt_sm_hilight.png";
32049                        border: 4 4 4 0;
32050                    }
32051                }
32052            }
32053            part { name: "sb_hbar_over2";
32054                clip_to: "sb_hbar_clip";
32055                mouse_events: 0;
32056                description { state: "default" 0.0;
32057                    rel1.to: "elm.dragable.hbar";
32058                    rel2.to: "elm.dragable.hbar";
32059                    image {
32060                        normal: "bt_sm_shine.png";
32061                        border: 4 4 4 0;
32062                    }
32063                }
32064            }
32065        }
32066        programs {
32067            program { name: "load";
32068                signal: "load";
32069                source: "";
32070                script {
32071                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
32072                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
32073                    set_int(sbvis_h, 0);
32074                    set_int(sbvis_v, 0);
32075                    set_int(sbalways_v, 0);
32076                    set_int(sbalways_h, 0);
32077                    set_int(sbvis_timer, 0);
32078                }
32079            }
32080
32081            program { name: "vbar_show";
32082                signal: "elm,action,show,vbar";
32083                source: "elm";
32084                action:  STATE_SET "default" 0.0;
32085                target: "sb_vbar_clip_master";
32086            }
32087            program { name: "vbar_hide";
32088                signal: "elm,action,hide,vbar";
32089                source: "elm";
32090                action:  STATE_SET "hidden" 0.0;
32091                target: "sb_vbar_clip_master";
32092            }
32093            program { name: "vbar_show_always";
32094                signal: "elm,action,show_always,vbar";
32095                source: "elm";
32096                script {
32097                    new v;
32098                    v = get_int(sbvis_v);
32099                    v |= get_int(sbalways_v);
32100                    if (!v) {
32101                        set_int(sbalways_v, 1);
32102                        emit("do-show-vbar", "");
32103                        set_int(sbvis_v, 1);
32104                    }
32105                }
32106            }
32107            program { name: "vbar_show_notalways";
32108                signal: "elm,action,show_notalways,vbar";
32109                source: "elm";
32110                script {
32111                    new v;
32112                    v = get_int(sbalways_v);
32113                    if (v) {
32114                        set_int(sbalways_v, 0);
32115                        v = get_int(sbvis_v);
32116                        if (!v) {
32117                            emit("do-hide-vbar", "");
32118                            set_int(sbvis_v, 0);
32119                        }
32120                    }
32121                }
32122            }
32123            program { name: "sb_vbar_show";
32124                signal: "do-show-vbar";
32125                source: "";
32126                action:  STATE_SET "default" 0.0;
32127                transition: LINEAR 0.5;
32128                target: "sb_vbar_clip";
32129            }
32130            program { name: "sb_vbar_hide";
32131                signal: "do-hide-vbar";
32132                source: "";
32133                action:  STATE_SET "hidden" 0.0;
32134                transition: LINEAR 0.5;
32135                target: "sb_vbar_clip";
32136            }
32137
32138            program { name: "hbar_show";
32139                signal: "elm,action,show,hbar";
32140                source: "elm";
32141                action:  STATE_SET "default" 0.0;
32142                target: "sb_hbar_clip_master";
32143            }
32144            program { name: "hbar_hide";
32145                signal: "elm,action,hide,hbar";
32146                source: "elm";
32147                action:  STATE_SET "hidden" 0.0;
32148                target: "sb_hbar_clip_master";
32149            }
32150            program { name: "hbar_show_always";
32151                signal: "elm,action,show_always,hbar";
32152                source: "elm";
32153                script {
32154                    new v;
32155                    v = get_int(sbvis_h);
32156                    v |= get_int(sbalways_h);
32157                    if (!v) {
32158                        set_int(sbalways_h, 1);
32159                        emit("do-show-hbar", "");
32160                        set_int(sbvis_h, 1);
32161                    }
32162                }
32163            }
32164            program { name: "hbar_show_notalways";
32165                signal: "elm,action,show_notalways,hbar";
32166                source: "elm";
32167                script {
32168                    new v;
32169                    v = get_int(sbalways_h);
32170                    if (v) {
32171                        set_int(sbalways_h, 0);
32172                        v = get_int(sbvis_h);
32173                        if (!v) {
32174                            emit("do-hide-hbar", "");
32175                            set_int(sbvis_h, 0);
32176                        }
32177                    }
32178                }
32179            }
32180            program { name: "sb_hbar_show";
32181                signal: "do-show-hbar";
32182                source: "";
32183                action:  STATE_SET "default" 0.0;
32184                transition: LINEAR 0.5;
32185                target: "sb_hbar_clip";
32186            }
32187            program { name: "sb_hbar_hide";
32188                signal: "do-hide-hbar";
32189                source: "";
32190                action:  STATE_SET "hidden" 0.0;
32191                transition: LINEAR 0.5;
32192                target: "sb_hbar_clip";
32193            }
32194
32195            program { name: "scroll";
32196                signal: "elm,action,scroll";
32197                source: "elm";
32198                script {
32199                    new v;
32200                    v = get_int(sbvis_v);
32201                    v |= get_int(sbalways_v);
32202                    if (!v) {
32203                        emit("do-show-vbar", "");
32204                        set_int(sbvis_v, 1);
32205                    }
32206                    v = get_int(sbvis_h);
32207                    v |= get_int(sbalways_h);
32208                    if (!v) {
32209                        emit("do-show-hbar", "");
32210                        set_int(sbvis_h, 1);
32211                    }
32212                    v = get_int(sbvis_timer);
32213                    if (v > 0) cancel_timer(v);
32214                    v = timer(1.0, "timer0", 0);
32215                    set_int(sbvis_timer, v);
32216                }
32217            }
32218            program { name: "go1";
32219                signal: "elm,state,busy,start";
32220                source: "elm";
32221                action: STATE_SET "active" 0.0;
32222                transition: SINUSOIDAL 1.0;
32223                target:  "busy_clip";
32224            }
32225            program { name: "go2";
32226                signal: "elm,state,busy,start";
32227                source: "elm";
32228                action: STATE_SET "default" 0.0;
32229                transition: LINEAR 0.5;
32230                target: "busy";
32231                after:  "go2";
32232            }
32233            program { name: "stop1";
32234                signal: "elm,state,busy,stop";
32235                source: "elm";
32236                action: STATE_SET "default" 0.0;
32237                transition: SINUSOIDAL 1.0;
32238                target: "busy_clip";
32239                after: "stop2";
32240            }
32241          program { name: "stop2";
32242             action: ACTION_STOP;
32243             target: "go2";
32244          }
32245       }
32246    }
32247    group { name: "elm/map/marker/radio/default";
32248         data {
32249             item: size_w 24;
32250             item: size_h 24;
32251             item: size_max_w 58;
32252             item: size_max_h 58;
32253         }
32254         images {
32255                 image: "map_item.png" COMP;
32256         }
32257         parts {
32258             part { name: "whole";
32259                 description { state: "default" 0.0;
32260                 }
32261             }
32262             part { name: "base";
32263                 ignore_flags: ON_HOLD;
32264                 description { state: "default" 0.0;
32265                     image.normal: "map_item.png";
32266                 }
32267             }
32268             part { name: "elm.icon";
32269                 type: SWALLOW;
32270                 clip_to: "whole";
32271                 mouse_events:  0;
32272                 description { state: "default" 0.0;
32273                     rel1.relative: 0.27 0.27;
32274                     rel2.relative: 0.73 0.73;
32275                 }
32276             }
32277             part { name: "elm.text";
32278                 type:          TEXT;
32279                 effect:        SOFT_SHADOW;
32280                 mouse_events:  0;
32281                 scale: 1;
32282                 description { state: "default" 0.0;
32283                     align:    0.5 0.5;
32284                     color: 224 224 224 255;
32285                     color3: 0 0 0 64;
32286                     rel1.relative: 0.28 0.25;
32287                     rel2.relative: 0.75 0.75;
32288                     text {
32289                         font:     "Sans,Edje-Vera";
32290                         size:     10;
32291                         min:      0 0;
32292                         align:    0.5 0.5;
32293                     }
32294                 }
32295             }
32296        }
32297        programs {
32298             program { name: "open";
32299                 signal: "mouse,clicked,1";
32300                 source: "base";
32301                 action: SIGNAL_EMIT "open" "elm";
32302             }
32303             program { name: "bringin";
32304                 signal: "mouse,down,1,double";
32305                 source: "base";
32306                 action: SIGNAL_EMIT "bringin" "elm";
32307             }
32308        }
32309    }
32310    group { name: "elm/map/marker/radio2/default";
32311         data {
32312             item: size_w 24;
32313             item: size_h 24;
32314             item: size_max_w 58;
32315             item: size_max_h 58;
32316         }
32317         images {
32318                 image: "map_item_2.png" COMP;
32319         }
32320         parts {
32321             part { name: "base";
32322                 ignore_flags: ON_HOLD;
32323                 description { state: "default" 0.0;
32324                     image.normal: "map_item_2.png";
32325                 }
32326             }
32327             part { name: "elm.text";
32328                 type:          TEXT;
32329                 effect:        SOFT_SHADOW;
32330                 mouse_events:  0;
32331                 scale: 1;
32332                 description { state: "default" 0.0;
32333                     align:    0.5 0.5;
32334                     color: 224 224 224 255;
32335                     color3: 0 0 0 64;
32336                     rel1.relative: 0.28 0.25;
32337                     rel2.relative: 0.75 0.75;
32338                     text {
32339                         font:     "Sans,Edje-Vera";
32340                         size:     10;
32341                         min:      0 0;
32342                         align:    0.5 0.5;
32343                     }
32344                 }
32345             }
32346        }
32347        programs {
32348             program { name: "open";
32349                 signal: "mouse,clicked,1";
32350                 source: "base";
32351                 action: SIGNAL_EMIT "open" "elm";
32352             }
32353             program { name: "bringin";
32354                 signal: "mouse,down,1,double";
32355                 source: "base";
32356                 action: SIGNAL_EMIT "bringin" "elm";
32357             }
32358        }
32359    }
32360    group { name: "elm/map/marker/empty/default";
32361         data {
32362             item: size_w 22;
32363             item: size_h 22;
32364             item: size_max_w 64;
32365             item: size_max_h 64;
32366         }
32367         parts {
32368             part { name: "whole";
32369                 description { state: "default" 0.0;
32370                 }
32371             }
32372             part { name: "base";
32373                 ignore_flags: ON_HOLD;
32374                 description { state: "default" 0.0;
32375                 }
32376             }
32377             part { name: "elm.icon";
32378                 type: SWALLOW;
32379                 clip_to: "whole";
32380                 mouse_events:  0;
32381                 description { state: "default" 0.0;
32382                 }
32383             }
32384             part { name: "elm.text";
32385                 type:          TEXT;
32386                 effect:        SOFT_SHADOW;
32387                 mouse_events:  0;
32388                 scale: 1;
32389                 description { state: "default" 0.0;
32390                     align:    0.5 0.5;
32391                     color: 224 224 224 255;
32392                     color3: 0 0 0 64;
32393                     rel1.relative: 0.28 0.25;
32394                     rel2.relative: 0.75 0.75;
32395                     text {
32396                         font:     "Sans,Edje-Vera";
32397                         size:     10;
32398                         min:      0 0;
32399                         align:    0.5 0.5;
32400                     }
32401                 }
32402             }
32403        }
32404        programs {
32405             program { name: "open";
32406                 signal: "mouse,clicked,1";
32407                 source: "base";
32408                 action: SIGNAL_EMIT "open" "elm";
32409             }
32410             program { name: "bringin";
32411                 signal: "mouse,down,1,double";
32412                 source: "base";
32413                 action: SIGNAL_EMIT "bringin" "elm";
32414             }
32415        }
32416    }
32417    group { name: "elm/map/marker_bubble/default";
32418     images {
32419       image: "bubble.png" COMP;
32420       image: "bubble_shine.png" COMP;
32421     }
32422     data {
32423             item: size_w 400;
32424             item: size_h 100;
32425         }
32426     parts {
32427     part { name: "clipper";
32428         mouse_events:  1;
32429         description { state: "default" 0.0;
32430           color: 255 255 255 0;
32431         }
32432         description { state: "show" 0.0;
32433             inherit: "default" 0.0;
32434             color: 255 255 255 255;
32435         }
32436       }
32437      part { name: "base0";
32438         mouse_events:  0;
32439         clip_to: "clipper";
32440         description { state: "default" 0.0;
32441           image {
32442             normal: "bubble.png";
32443             border: 11 36 10 19;
32444           }
32445           image.middle: SOLID;
32446           fill.smooth: 0;
32447         }
32448         description { state: "rtl" 0.0;
32449            inherit: "default" 0.0;
32450            image {
32451               normal: "bubble_4.png";
32452               border: 11 36 18 9;
32453            }
32454         }
32455       }
32456       part { name: "elm.swallow.content";
32457         type: SWALLOW;
32458         clip_to: "clipper";
32459         description { state: "default" 0.0;
32460             align: 0.5 0.5;
32461           rel1 {
32462             offset: 9 8;
32463           }
32464           rel2 {
32465             offset: -10 -17;
32466           }
32467         }
32468       }
32469       part { name: "shine";
32470         mouse_events:  0;
32471         clip_to: "clipper";
32472         description { state:    "default" 0.0;
32473           rel1 {
32474             to: "base0";
32475           }
32476           rel2 {
32477             to: "base0";
32478             relative: 1.0 0.5;
32479           }
32480           image {
32481             normal: "bubble_shine.png";
32482             border: 5 5 5 0;
32483           }
32484           fill.smooth: 0;
32485         }
32486         }
32487     }
32488     programs {
32489         program { name: "show";
32490             signal: "show";
32491             action: STATE_SET "show" 0.0;
32492             target: "clipper";
32493             transition: ACCELERATE 0.5;
32494         }
32495     }
32496   }
32497
32498 /////////////////////////////////////////////////////////////////////////////
32499 // PANES
32500 /////////////////////////////////////////////////////////////////////////////
32501   group {
32502      name: "elm/panes/vertical/default";
32503       images {
32504          image: "bt_base1.png" COMP;
32505          image: "bt_base2.png" COMP;
32506          image: "bt_hilight.png" COMP;
32507          image: "bt_shine.png" COMP;
32508          image: "bt_glow.png" COMP;
32509          image: "bt_dis_base.png" COMP;
32510          image: "bt_dis_hilight.png" COMP;
32511          image: "arrow_right.png" COMP;
32512          image: "arrow_left.png" COMP;
32513       }
32514       script {
32515          public state_pair = 0; //0:both content are not set, 1:both content are set
32516       }
32517      parts
32518        {
32519           part
32520             {
32521                name: "whole";
32522                type: RECT;
32523                mouse_events: 1;
32524                description
32525                  {
32526                     state: "default" 0.0;
32527                     visible: 0;
32528                  }
32529             }
32530
32531          //2 contents
32532           part
32533             {
32534                name: "whole_left";
32535                type: RECT;
32536                mouse_events: 0;
32537                description
32538                  {
32539                     state: "default" 0.0;
32540                     rel2.to_x: "elm.bar";
32541                     rel2.relative: 0.0 1.0;
32542                     visible: 1;
32543                  }
32544             }
32545           part
32546             {
32547                name: "elm.swallow.left";
32548                type: SWALLOW;
32549                clip_to: "whole_left";
32550                description
32551                  {
32552                     state: "default" 0.0;
32553                     rel1.to: "whole_left";
32554                     rel2.to: "whole_left";
32555                  }
32556             }
32557
32558             part
32559             {
32560                name: "whole_right";
32561                type: RECT;
32562                mouse_events: 0;
32563                description
32564                  {
32565                     state: "default" 0.0;
32566                     rel1.to_x: "elm.bar";
32567                     rel1.relative: 1.0 0.0;
32568                     visible: 1;
32569                  }
32570             }
32571           part
32572             {
32573                name: "elm.swallow.right";
32574                type: SWALLOW;
32575                clip_to: "whole_right";
32576                description
32577                  {
32578                     state: "default" 0.0;
32579                     rel1.to: "whole_right";
32580                     rel2.to: "whole_right";
32581                  }
32582             }
32583          //BAR
32584          part { name: "elm.bar";
32585             mouse_events: 1;
32586             dragable {
32587                confine: "whole";
32588                x: 1 1 1;
32589                y: 0 0 0;
32590             }
32591             description { state: "default" 0.0;
32592                max: 0 999;
32593                min: 0 100;
32594                rel1.relative: 0.0 0.5;
32595                rel2.relative: 1.0 0.5;
32596                image {
32597                   normal: "bt_base2.png";
32598                   border: 7 7 7 7;
32599                }
32600                image.middle: SOLID;
32601             }
32602             description { state: "default" 0.1;
32603                inherit: "default" 0.0;
32604                max: 15 999;
32605                min: 15 100;
32606             }
32607             description { state: "clicked" 0.0;
32608                inherit: "default" 0.0;
32609                image.normal: "bt_base1.png";
32610                image.middle: SOLID;
32611             }
32612             description { state: "clicked" 0.1;
32613                inherit: "default" 0.1;
32614                image.normal: "bt_base1.png";
32615                image.middle: SOLID;
32616             }
32617             description { state: "disabled" 0.0;
32618                inherit:  "default" 0.0;
32619                image {
32620                   normal: "bt_dis_base.png";
32621                   border: 4 4 4 4;
32622                }
32623             }
32624             description { state: "disabled" 0.1;
32625                inherit:  "default" 0.1;
32626                image {
32627                   normal: "bt_dis_base.png";
32628                   border: 4 4 4 4;
32629                }
32630             }
32631          }
32632          part {          name: "over1";
32633             mouse_events: 0;
32634             description { state: "default" 0.0;
32635             rel1.to: "elm.bar";
32636             rel2.to: "elm.bar";
32637                rel2.relative: 1.0 0.5;
32638                image {
32639                   normal: "bt_hilight.png";
32640                   border: 7 7 7 0;
32641                }
32642             }
32643             description { state: "disabled" 0.0;
32644                inherit:  "default" 0.0;
32645                image {
32646                   normal: "bt_dis_hilight.png";
32647                   border: 4 4 4 0;
32648                }
32649             }
32650          }
32651          part { name: "over2";
32652             mouse_events: 1;
32653             repeat_events: 1;
32654             ignore_flags: ON_HOLD;
32655             description { state: "default" 0.0;
32656             rel1.to: "elm.bar";
32657             rel2.to: "elm.bar";
32658                image {
32659                   normal: "bt_shine.png";
32660                   border: 7 7 7 7;
32661                }
32662             }
32663             description { state: "disabled" 0.0;
32664                inherit:  "default" 0.0;
32665                visible: 0;
32666             }
32667          }
32668          part { name: "over3";
32669             mouse_events: 1;
32670             repeat_events: 1;
32671             description { state: "default" 0.0;
32672                color: 255 255 255 0;
32673             rel1.to: "elm.bar";
32674             rel2.to: "elm.bar";
32675                image {
32676                   normal: "bt_glow.png";
32677                   border: 12 12 12 12;
32678                }
32679                fill.smooth : 0;
32680             }
32681             description { state: "clicked" 0.0;
32682                inherit:  "default" 0.0;
32683                visible: 1;
32684                color: 255 255 255 255;
32685             }
32686          }
32687
32688          //Arrow
32689          part {
32690             name: "arrow_right";
32691             mouse_events: 0;
32692             description { state: "default" 0.0;
32693                 min: 45 45;
32694                 max: 45 45;
32695                 color: 255 255 255 0;
32696
32697                 rel1.relative: 1.0 0.5;
32698                 rel1.to_x: "elm.bar";
32699                 rel1.offset: 45/2 -45/2;
32700
32701                 rel2.relative: 1.0 0.5;
32702                 rel2.to_x: "elm.bar";
32703                 rel2.offset: 45/2 45/2;
32704
32705                 image.normal: "arrow_right.png";
32706
32707                 fixed: 1 1;
32708             }
32709             description { state: "default" 0.1;
32710                 inherit: "default" 0.0;
32711                 image.normal: "arrow_left.png";
32712             }
32713             description { state: "anim_1" 0.0;
32714                 inherit: "default" 0.0;
32715                 color: 255 255 255 200;
32716                 rel1.offset: (45/2 + 10) -45/2;
32717                 rel2.offset: (45/2 +10) 45/2;
32718             }
32719             description { state: "anim_1" 0.1;
32720                 inherit: "default" 0.0;
32721                 image.normal: "arrow_left.png";
32722                 color: 255 255 255 200;
32723                 rel1.offset: (45/2 + 10) -45/2;
32724                 rel2.offset: (45/2 +10) 45/2;
32725             }
32726             description { state: "anim_2" 0.0;
32727                 inherit: "default" 0.0;
32728                 color: 255 255 255 0;
32729                 rel1.offset: (45/2 + 20) -45/2;
32730                 rel2.offset: (45/2 + 20) 45/2;
32731             }
32732             description { state: "anim_2" 0.1;
32733                 inherit: "default" 0.0;
32734                 image.normal: "arrow_left.png";
32735                 color: 255 255 255 0;
32736                 rel1.offset: (45/2 + 20) -45/2;
32737                 rel2.offset: (45/2 + 20) 45/2;
32738             }
32739          }
32740         part {
32741             name: "arrow_left";
32742             mouse_events: 0;
32743             description { state: "default" 0.0;
32744                 min: 45 45;
32745                 max: 45 45;
32746                 color: 255 255 255 0;
32747
32748                 rel1.relative: 0.0 0.5;
32749                 rel1.to_x: "elm.bar";
32750                 rel1.offset: -45/2 -45/2;
32751
32752                 rel2.relative: 0.0 0.5;
32753                 rel2.to_x: "elm.bar";
32754                 rel2.offset: -45/2 45/2;
32755
32756                 image.normal: "arrow_left.png";
32757
32758                 fixed: 1 1;
32759             }
32760             description { state: "default" 0.1;
32761                 inherit: "default" 0.0;
32762                 image.normal: "arrow_right.png";
32763             }
32764             description { state: "anim_1" 0.0;
32765                 inherit: "default" 0.0;
32766                 color: 255 255 255 200;
32767                 rel1.offset: (-45/2 - 10) -45/2;
32768                 rel2.offset: (-45/2 - 10) 45/2;
32769             }
32770             description { state: "anim_1" 0.1;
32771                 inherit: "default" 0.0;
32772                 image.normal: "arrow_right.png";
32773                 color: 255 255 255 200;
32774                 rel1.offset: (-45/2 - 10) -45/2;
32775                 rel2.offset: (-45/2 - 10) 45/2;
32776             }
32777             description { state: "anim_2" 0.0;
32778                 inherit: "default" 0.0;
32779                 color: 255 255 255 0;
32780                 rel1.offset: (-45/2 - 20) -45/2;
32781                 rel2.offset: (-45/2 - 20) 45/2;
32782             }
32783             description { state: "anim_2" 0.1;
32784                 inherit: "default" 0.0;
32785                 image.normal: "arrow_right.png";
32786                 color: 255 255 255 0;
32787                 rel1.offset: (-45/2 - 20) -45/2;
32788                 rel2.offset: (-45/2 - 20) 45/2;
32789             }
32790          }
32791          part { name: "movement.decider";
32792             mouse_events: 1;
32793             description { state: "default" 0.0;
32794                rel1.to: "elm.bar";
32795                rel2.to: "elm.bar";
32796                visible: 0;
32797             }
32798             description { state: "disabled" 0.0;
32799                inherit: "default" 0.0;
32800                visible: 1;
32801             }
32802          }
32803        }
32804        programs {
32805          program {
32806             name:   "button_click";
32807             signal: "mouse,down,1";
32808             source: "over2";
32809             action: SIGNAL_EMIT "elm,action,press" "";
32810             after: "button_click_anim";
32811             after: "arrow_anim_start";
32812          }
32813          program {
32814             name:   "button_click_anim";
32815             script {
32816                if(get_int(state_pair) == 1)
32817                  set_state(PART:"elm.bar", "clicked", 0.1);
32818                else
32819                  set_state(PART:"elm.bar", "clicked", 0.0);          
32820             }
32821          }
32822          program {
32823             name:   "button_unclick";
32824             signal: "mouse,up,1";
32825             source: "over2";
32826             action: SIGNAL_EMIT "elm,action,unpress" "";
32827             after: "button_unclick_anim";
32828             after: "arrow_anim_stop";
32829          }
32830          program {
32831             name:   "button_unclick_anim";
32832             script {
32833             if(get_int(state_pair) == 1)
32834               set_state(PART:"elm.bar", "default", 0.1);
32835             else
32836               set_state(PART:"elm.bar", "default", 0.0);          
32837             }
32838          }
32839          program {
32840             name:   "button_click2";
32841             signal: "mouse,down,1";
32842             source: "over3";
32843             action: STATE_SET "clicked" 0.0;
32844             target: "over3";
32845          }
32846          program {
32847             name:   "button_unclick2";
32848             signal: "mouse,up,1";
32849             source: "over3";
32850             action: STATE_SET "default" 0.0;
32851             transition: DECELERATE 0.5;
32852             target: "over3";
32853          }
32854          program {
32855             name:   "button_unclick3";
32856             signal: "mouse,up,1";
32857             source: "over2";
32858             action: SIGNAL_EMIT "elm,action,click" "";
32859          }
32860          program {
32861             name:   "button_down_double";
32862             signal: "mouse,down,1,double";
32863             source: "over3";
32864             action: SIGNAL_EMIT "elm,action,click,double" "";
32865          }
32866
32867          //arrows animation
32868          program {
32869             name: "arrow_anim_start";
32870             script {
32871                new st[31];
32872                new Float:vl;
32873                get_state(PART:"arrow_left", st, 30, vl);
32874                if (vl == 0.0) {
32875                   run_program(PROGRAM:"arrow_anim_start_ltr");
32876                }
32877                else {
32878                   run_program(PROGRAM:"arrow_anim_start_rtl");
32879                }
32880             }
32881          }
32882          program {
32883             name: "arrow_anim_stop";
32884             script {
32885                new st[31];
32886                new Float:vl;
32887                get_state(PART:"arrow_left", st, 30, vl);
32888                if (vl == 0.0) {
32889                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32890                }
32891                else {
32892                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32893                }
32894             }
32895          }
32896
32897          program {
32898             name: "arrow_anim_start_ltr";
32899             action: STATE_SET "anim_1" 0.0;
32900             target: "arrow_right";
32901             target: "arrow_left";
32902             transition: LINEAR 0.6;
32903             after: "arrow_anim_1_ltr";
32904          }
32905          program {
32906             name: "arrow_anim_1_ltr";
32907             action: STATE_SET "anim_2" 0.0;
32908             target: "arrow_right";
32909             target: "arrow_left";
32910             transition: LINEAR 0.6;
32911             after: "arrow_anim_2_ltr";
32912          }
32913          program {
32914             name: "arrow_anim_2_ltr";
32915             action: STATE_SET "default" 0.0;
32916             target: "arrow_right";
32917             target: "arrow_left";
32918             after: "arrow_anim_start_ltr";
32919          }
32920          program {
32921             name: "arrow_anim_stop_ltr";
32922             action: ACTION_STOP;
32923             target: "arrow_anim_start_ltr";
32924             target: "arrow_anim_1_ltr";
32925             target: "arrow_anim_2_ltr";
32926             after: "arrow_anim_stop_1_ltr";
32927          }
32928          program {
32929             name: "arrow_anim_stop_1_ltr";
32930             action: STATE_SET "default" 0.0;
32931             target: "arrow_right";
32932             target: "arrow_left";
32933             transition: DECELERATE 0.4;
32934         }
32935          program {
32936             name: "arrow_anim_start_rtl";
32937             action: STATE_SET "anim_1" 0.1;
32938             target: "arrow_right";
32939             target: "arrow_left";
32940             transition: LINEAR 0.6;
32941             after: "arrow_anim_1_rtl";
32942          }
32943          program {
32944             name: "arrow_anim_1_rtl";
32945             action: STATE_SET "anim_2" 0.1;
32946             target: "arrow_right";
32947             target: "arrow_left";
32948             transition: LINEAR 0.6;
32949             after: "arrow_anim_2_rtl";
32950          }
32951          program {
32952             name: "arrow_anim_2_rtl";
32953             action: STATE_SET "default" 0.1;
32954             target: "arrow_right";
32955             target: "arrow_left";
32956             after: "arrow_anim_start_rtl";
32957          }
32958          program {
32959             name: "arrow_anim_stop_rtl";
32960             action: ACTION_STOP;
32961             target: "arrow_anim_start_rtl";
32962             target: "arrow_anim_1_rtl";
32963             target: "arrow_anim_2_rtl";
32964             after: "arrow_anim_stop_1_rtl";
32965          }
32966          program {
32967             name: "arrow_anim_stop_1_rtl";
32968             action: STATE_SET "default" 0.1;
32969             target: "arrow_right";
32970             target: "arrow_left";
32971             transition: DECELERATE 0.4;
32972         }
32973          program { name: "to_rtl";
32974             signal: "edje,state,rtl";
32975             source: "edje";
32976             script {
32977                new st[31];
32978                new Float:vl;
32979                get_state(PART:"arrow_left", st, 30, vl);
32980                if (vl == 0.0) {
32981                   set_state(PART:"arrow_left", st, 0.1);
32982                }
32983                get_state(PART:"arrow_right", st, 30, vl);
32984                if (vl == 0.0) {
32985                   set_state(PART:"arrow_right", st, 0.1);
32986                }
32987             }
32988          }
32989          program { name: "to_ltr";
32990             signal: "edje,state,ltr";
32991             source: "edje";
32992             script {
32993                new st[31];
32994                new Float:vl;
32995                get_state(PART:"arrow_left", st, 30, vl);
32996                if (vl == 0.1) {
32997                   set_state(PART:"arrow_left", st, 0.0);
32998                }
32999                get_state(PART:"arrow_right", st, 30, vl);
33000                if (vl == 0.1) {
33001                   set_state(PART:"arrow_right", st, 0.0);
33002                }
33003             }
33004          }
33005         //fix the pane
33006         program {
33007            name:   "panes_fixed";
33008            signal: "elm.panes.fixed";
33009            source: "elm";
33010            action: STATE_SET "disabled" 0.0;
33011            target: "movement.decider";
33012            target: "elm.bar";
33013         }
33014         //allow the movement by interaction
33015         program {
33016            name:   "panes_unfixed";
33017            signal: "elm.panes.unfixed";
33018            source: "elm";
33019            action: STATE_SET "default" 0.0;
33020            target: "movement.decider";
33021            target: "elm.bar";
33022         }
33023         program {
33024            name:   "panes_pair";
33025            signal: "elm.panes.pair";
33026            source: "elm";
33027            script {
33028               new st[31];
33029               new Float:vl;
33030               set_int(state_pair, 1);
33031               get_state(PART:"elm.bar", st, 30, vl);
33032               set_state(PART:"elm.bar", st, 0.1);
33033            }
33034         }
33035         program {
33036            name:   "panes_unpair";
33037            signal: "elm.panes.unpair";
33038            source: "elm";
33039            script {
33040               new st[31];
33041               new Float:vl;
33042               set_int(state_pair, 0);
33043               get_state(PART:"elm.bar", st, 30, vl);
33044               set_state(PART:"elm.bar", st, 0.0);
33045            }
33046         }
33047       }
33048   }
33049
33050   group {
33051      name: "elm/panes/horizontal/default";
33052       images {
33053          image: "bt_base1.png" COMP;
33054          image: "bt_base2.png" COMP;
33055          image: "bt_hilight.png" COMP;
33056          image: "bt_shine.png" COMP;
33057          image: "bt_glow.png" COMP;
33058          image: "bt_dis_base.png" COMP;
33059          image: "bt_dis_hilight.png" COMP;
33060          image: "arrow_up.png" COMP;
33061          image: "arrow_down.png" COMP;
33062       }
33063      script {
33064         public state_pair = 0; //0:both content are not set, 1:both content are set
33065      }
33066      parts
33067        {
33068           part
33069             {
33070                name: "whole";
33071                type: RECT;
33072                mouse_events: 1;
33073                description
33074                  {
33075                     state: "default" 0.0;
33076                     visible: 0;
33077                  }
33078             }
33079
33080          //2 contents
33081           part
33082             {
33083                name: "whole_left";
33084                type: RECT;
33085                mouse_events: 0;
33086                description
33087                  {
33088                     state: "default" 0.0;
33089                     rel2.to_y: "elm.bar";
33090                     rel2.relative: 1.0 0.0;
33091                     visible: 1;
33092                  }
33093             }
33094           part
33095             {
33096                name: "elm.swallow.left";
33097                type: SWALLOW;
33098                clip_to: "whole_left";
33099                description
33100                  {
33101                     state: "default" 0.0;
33102                     rel1.to: "whole_left";
33103                     rel2.to: "whole_left";
33104                  }
33105             }
33106
33107             part
33108             {
33109                name: "whole_right";
33110                type: RECT;
33111                mouse_events: 0;
33112                description
33113                  {
33114                     state: "default" 0.0;
33115                     rel1.to_y: "elm.bar";
33116                     rel1.relative: 0.0 1.0;
33117                     visible: 1;
33118                  }
33119             }
33120           part
33121             {
33122                name: "elm.swallow.right";
33123                type: SWALLOW;
33124                clip_to: "whole_right";
33125                description
33126                  {
33127                     state: "default" 0.0;
33128                     rel1.to: "whole_right";
33129                     rel2.to: "whole_right";
33130                  }
33131             }
33132          //BAR
33133          part { name: "elm.bar";
33134             mouse_events: 1;
33135             dragable {
33136                confine: "whole";
33137                x: 0 0 0;
33138                y: 1 1 1;
33139             }
33140        description { state: "default" 0.0;
33141                max: 999 0;
33142                min: 100 0;
33143                rel1.relative: 0.5 0.0;
33144                rel2.relative: 0.5 1.0;
33145                image {
33146                   normal: "bt_base2.png";
33147                   border: 7 7 7 7;
33148                }
33149                image.middle: SOLID;
33150        }
33151        description { state: "default" 0.1;
33152           inherit: "default" 0.0;
33153           max: 999 15;
33154           min: 100 15;
33155        }
33156        description { state: "clicked" 0.0;
33157           inherit: "default" 0.0;
33158           image.normal: "bt_base1.png";
33159                image.middle: SOLID;
33160        }
33161        description { state: "clicked" 0.1;
33162           inherit: "default" 0.1;
33163           image.normal: "bt_base1.png";
33164           image.middle: SOLID;
33165        }
33166        description { state: "disabled" 0.0;
33167           inherit:  "default" 0.0;
33168           image {
33169         normal: "bt_dis_base.png";
33170         border: 4 4 4 4;
33171           }
33172        }
33173        description { state: "disabled" 0.1;
33174           inherit:  "default" 0.1;
33175           image {
33176              normal: "bt_dis_base.png";
33177              border: 4 4 4 4;
33178           }
33179        }
33180     }
33181     part {    name: "over1";
33182        mouse_events: 0;
33183        description { state: "default" 0.0;
33184             rel1.to: "elm.bar";
33185             rel2.to: "elm.bar";
33186                rel2.relative: 1.0 0.5;
33187                image {
33188                   normal: "bt_hilight.png";
33189                   border: 7 7 7 0;
33190                }
33191             }
33192             description { state: "disabled" 0.0;
33193                inherit:  "default" 0.0;
33194                image {
33195                   normal: "bt_dis_hilight.png";
33196                   border: 4 4 4 0;
33197                }
33198             }
33199          }
33200          part { name: "over2";
33201             mouse_events: 1;
33202             repeat_events: 1;
33203             ignore_flags: ON_HOLD;
33204             description { state: "default" 0.0;
33205             rel1.to: "elm.bar";
33206             rel2.to: "elm.bar";
33207                image {
33208                   normal: "bt_shine.png";
33209                   border: 7 7 7 7;
33210                }
33211             }
33212             description { state: "disabled" 0.0;
33213                inherit:  "default" 0.0;
33214                visible: 0;
33215             }
33216          }
33217          part { name: "over3";
33218             mouse_events: 1;
33219             repeat_events: 1;
33220             description { state: "default" 0.0;
33221                color: 255 255 255 0;
33222             rel1.to: "elm.bar";
33223             rel2.to: "elm.bar";
33224                image {
33225                   normal: "bt_glow.png";
33226                   border: 12 12 12 12;
33227                }
33228                fill.smooth : 0;
33229             }
33230             description { state: "clicked" 0.0;
33231                inherit:  "default" 0.0;
33232                visible: 1;
33233                color: 255 255 255 255;
33234             }
33235          }
33236
33237          //Arrow
33238          part {
33239             name: "arrow_right";
33240             mouse_events: 0;
33241             description { state: "default" 0.0;
33242                 min: 45 45;
33243                 max: 45 45;
33244                 color: 255 255 255 0;
33245
33246                 rel1.relative: 0.5 1.0;
33247                 rel1.to_y: "elm.bar";
33248                 rel1.offset: -45/2 45/2;
33249
33250                 rel2.relative: 0.5 1.0;
33251                 rel2.to_y: "elm.bar";
33252                 rel2.offset: 45/2 45/2;
33253
33254                 image.normal: "arrow_down.png";
33255
33256                 fixed: 1 1;
33257             }
33258             description { state: "anim_1" 0.0;
33259                 inherit: "default" 0.0;
33260                 color: 255 255 255 200;
33261                 rel1.offset: -45/2 (45/2 +10);
33262                 rel2.offset: 45/2 (45/2 +10);
33263             }
33264             description { state: "anim_2" 0.0;
33265                 inherit: "default" 0.0;
33266                 color: 255 255 255 0;
33267                 rel1.offset: -45/2 (45/2 + 20);
33268                 rel2.offset: 45/2 (45/2 + 20);
33269             }
33270          }
33271         part {
33272             name: "arrow_left";
33273             mouse_events: 0;
33274             description { state: "default" 0.0;
33275                 min: 45 45;
33276                 max: 45 45;
33277                 color: 255 255 255 0;
33278
33279                 rel1.relative: 0.5 0.0;
33280                 rel1.to_y: "elm.bar";
33281                 rel1.offset: -45/2 -45/2;
33282
33283                 rel2.relative: 0.5 0.0;
33284                 rel2.to_y: "elm.bar";
33285                 rel2.offset: 45/2 -45/2;
33286
33287                 image.normal: "arrow_up.png";
33288
33289                 fixed: 1 1;
33290             }
33291             description { state: "anim_1" 0.0;
33292                 inherit: "default" 0.0;
33293                 color: 255 255 255 200;
33294                 rel1.offset: -45/2 (-45/2 - 10);
33295                 rel2.offset: 45/2 (-45/2 - 10);
33296             }
33297             description { state: "anim_2" 0.0;
33298                 inherit: "default" 0.0;
33299                 color: 255 255 255 0;
33300                 rel1.offset: -45/2 (-45/2 - 20);
33301                 rel2.offset: 45/2 (-45/2 - 20);
33302             }
33303          }
33304          part {
33305             name: "movement.decider";
33306             mouse_events: 1;
33307             description { state: "default" 0.0;
33308                rel1.to: "elm.bar";
33309                rel2.to: "elm.bar";
33310                visible: 0;
33311             }
33312             description { state: "disabled" 0.0;
33313                inherit: "default" 0.0;
33314                visible: 1;
33315             }
33316          }
33317        }
33318        programs {
33319           program {
33320              name:   "button_click";
33321              signal: "mouse,down,1";
33322              source: "over2";
33323              action: SIGNAL_EMIT "elm,action,press" "";
33324              after: "button_click_anim";
33325                   after: "arrow_anim_start";
33326           }
33327           program {
33328              name:   "button_click_anim";
33329              script {
33330                 if(get_int(state_pair) == 1)
33331                    set_state(PART:"elm.bar", "clicked", 0.1);
33332                 else
33333                    set_state(PART:"elm.bar", "clicked", 0.0);           
33334              }
33335           }
33336           program {
33337              name:   "button_unclick";
33338              signal: "mouse,up,1";
33339              source: "over2";
33340              action: SIGNAL_EMIT "elm,action,unpress" "";
33341              after: "button_unclick_anim";
33342                   after: "arrow_anim_stop";
33343           }
33344           program {
33345              name:   "button_unclick_anim";
33346              script {
33347                 if(get_int(state_pair) == 1)
33348                    set_state(PART:"elm.bar", "default", 0.1);
33349                 else
33350                    set_state(PART:"elm.bar", "default", 0.0);           
33351              }
33352           }
33353           program {
33354              name:   "button_click2";
33355              signal: "mouse,down,1";
33356              source: "over3";
33357              action: STATE_SET "clicked" 0.0;
33358              target: "over3";
33359           }
33360           program {
33361              name:   "button_unclick2";
33362              signal: "mouse,up,1";
33363              source: "over3";
33364              action: STATE_SET "default" 0.0;
33365                   transition: DECELERATE 0.5;
33366              target: "over3";
33367           }
33368           program {
33369              name:   "button_unclick3";
33370              signal: "mouse,up,1";
33371              source: "over2";
33372              action: SIGNAL_EMIT "elm,action,click" "";
33373           }
33374          program {
33375             name:   "button_down_double";
33376             signal: "mouse,down,1,double";
33377             source: "over3";
33378             action: SIGNAL_EMIT "elm,action,click,double" "";
33379          }
33380
33381          //arrows animation
33382          program {
33383             name: "arrow_anim_start";
33384             action: STATE_SET "anim_1" 0.0;
33385             target: "arrow_right";
33386             target: "arrow_left";
33387             transition: LINEAR 0.6;
33388             after: "arrow_anim_1";
33389          }
33390          program {
33391             name: "arrow_anim_1";
33392             action: STATE_SET "anim_2" 0.0;
33393             target: "arrow_right";
33394             target: "arrow_left";
33395             transition: LINEAR 0.6;
33396             after: "arrow_anim_2";
33397          }
33398          program {
33399             name: "arrow_anim_2";
33400             action: STATE_SET "default" 0.0;
33401             target: "arrow_right";
33402             target: "arrow_left";
33403             after: "arrow_anim_start";
33404          }
33405          program {
33406             name: "arrow_anim_stop";
33407             action: ACTION_STOP;
33408             target: "arrow_anim_start";
33409             target: "arrow_anim_1";
33410             target: "arrow_anim_2";
33411             after: "arrow_anim_stop_1";
33412          }
33413          program {
33414             name: "arrow_anim_stop_1";
33415             action: STATE_SET "default" 0.0;
33416             target: "arrow_right";
33417             target: "arrow_left";
33418             transition: DECELERATE 0.4;
33419         }
33420         //fix the pane
33421         program {
33422            name:   "panes_fixed";
33423            signal: "elm.panes.fixed";
33424            source: "elm";
33425            action: STATE_SET "disabled" 0.0;
33426            target: "movement.decider";
33427            target: "elm.bar";
33428         }
33429         //allow the movement by interaction
33430         program {
33431            name:   "panes_unfixed";
33432            signal: "elm.panes.unfixed";
33433            source: "elm";
33434            action: STATE_SET "default" 0.0;
33435            target: "movement.decider";
33436            target: "elm.bar";
33437         }
33438         program {
33439            name:   "panes_pair";
33440            signal: "elm.panes.pair";
33441            source: "elm";
33442            script {
33443               new st[31];
33444               new Float:vl;
33445               set_int(state_pair, 1);
33446               get_state(PART:"elm.bar", st, 30, vl);
33447               set_state(PART:"elm.bar", st, 0.1);
33448            }
33449         }
33450         program {
33451            name:   "panes_unpair";
33452            signal: "elm.panes.unpair";
33453            source: "elm";
33454            script {
33455               new st[31];
33456               new Float:vl;
33457               set_int(state_pair, 0);
33458               get_state(PART:"elm.bar", st, 30, vl);
33459               set_state(PART:"elm.bar", st, 0.0);
33460            }
33461         }
33462       }
33463   }
33464
33465 /////////////////////////////////////////////////////////////////////////////
33466 // PANEL
33467 /////////////////////////////////////////////////////////////////////////////
33468   group {
33469      name: "elm/panel/base/left";
33470      alias: "elm/panel/base/top";
33471      images
33472        {
33473           image: "bt_base1.png" COMP;
33474           image: "bt_hilight.png" COMP;
33475           image: "bt_shine.png" COMP;
33476           image: "bt_glow.png" COMP;
33477           image: "bt_dis_base.png" COMP;
33478           image: "icon_arrow_left.png" COMP;
33479           image: "icon_arrow_right.png" COMP;
33480        }
33481        data {
33482           item: "focus_highlight" "on";
33483        }
33484      parts
33485        {
33486             part { name: "focus_highlight";
33487                description { state: "default" 0.0;
33488                   visible: 0;
33489                   color: 255 255 255 0;
33490                   rel1 {
33491                      to: "btn";
33492                      offset: -8 -8;
33493                   }
33494                   rel2 {
33495                      to: "btn";
33496                      offset: 7 7;
33497                   }
33498                   image {
33499                      normal: "frame_2.png";
33500                      border: 5 5 32 26;
33501                      middle: 0;
33502                   }
33503                }
33504                description { state: "enabled" 0.0;
33505                   inherit: "default" 0.0;
33506                   visible: 1;
33507                   color: 255 255 255 255;
33508                }
33509             }
33510           part
33511             {
33512                name: "bg";
33513                type: RECT;
33514                mouse_events: 0;
33515                description
33516                  {
33517                     state: "default" 0.0;
33518                     color: 255 255 255 0;
33519                     rel1.relative: 0.0 0.0;
33520                     rel1.offset: 0 0;
33521                     rel2.relative: 1.0 1.0;
33522                     rel2.offset: -1 -1;
33523                  }
33524                description
33525                  {
33526                     state: "hidden" 0.0;
33527                     inherit: "default" 0.0;
33528                     rel1.relative: -1.0 0.0;
33529                     rel1.offset: 21 0;
33530                     rel2.relative: 0.0 1.0;
33531                     rel2.offset: 20 -1;
33532                  }
33533             }
33534           part
33535             {
33536                name: "base";
33537                type: IMAGE;
33538                mouse_events: 0;
33539                description
33540                  {
33541                     state: "default" 0.0;
33542                     rel1.to: "bg";
33543                     rel2.to: "bg";
33544                     rel2.offset: -20 -1;
33545                     image
33546                       {
33547                          normal: "bt_dis_base.png";
33548                          border: 4 4 4 4;
33549                       }
33550                  }
33551             }
33552           part
33553             {
33554                name: "clipper";
33555                type: RECT;
33556                mouse_events: 0;
33557                description
33558                  {
33559                     state: "default" 0.0;
33560                     rel1
33561                       {
33562                          offset: 4 4;
33563                          to: "base";
33564                       }
33565                     rel2
33566                       {
33567                          offset: -5 -5;
33568                          to: "base";
33569                       }
33570                  }
33571             }
33572           part
33573             {
33574                name: "elm.swallow.content";
33575                type: SWALLOW;
33576                clip_to: "clipper";
33577                description
33578                  {
33579                     state: "default" 0.0;
33580                     rel1.to: "clipper";
33581                     rel2.to: "clipper";
33582                  }
33583             }
33584           part
33585             {
33586                name: "btn";
33587                type: IMAGE;
33588                mouse_events: 1;
33589                description
33590                  {
33591                     state: "default" 0.0;
33592                     max: 32 48;
33593                     fixed: 1 1;
33594                     align: 0.0 0.5;
33595                     rel1
33596                       {
33597                          relative: 1.0 0.0;
33598                          offset: -3 0;
33599                          to_x: "base";
33600                       }
33601                     rel2.to_x: "bg";
33602                     image
33603                       {
33604                          normal: "bt_base1.png";
33605                          border: 0 5 4 12;
33606                       }
33607                     fill.smooth: 0;
33608                  }
33609                description
33610                  {
33611                     state: "clicked" 0.0;
33612                     inherit: "default" 0.0;
33613                  }
33614             }
33615           part
33616             {
33617                name: "btn_over";
33618                type: IMAGE;
33619                mouse_events: 0;
33620                description
33621                  {
33622                     state: "default" 0.0;
33623                     rel1.to: "btn";
33624                     rel2
33625                       {
33626                          relative: 1.0 0.5;
33627                          to: "btn";
33628                       }
33629                     image
33630                       {
33631                          normal: "bt_hilight.png";
33632                          border: 0 7 7 0;
33633                       }
33634                  }
33635             }
33636           part
33637             {
33638                name: "btn_over2";
33639                type: IMAGE;
33640                mouse_events: 1;
33641                repeat_events: 1;
33642                ignore_flags: ON_HOLD;
33643                description
33644                  {
33645                     state: "default" 0.0;
33646                     rel1.to: "btn";
33647                     rel2.to: "btn";
33648                     image
33649                       {
33650                          normal: "bt_shine.png";
33651                          border: 0 7 7 7;
33652                     }
33653                  }
33654             }
33655           part
33656             {
33657                name: "btn_over3";
33658                type: IMAGE;
33659                mouse_events: 1;
33660                repeat_events: 1;
33661                description
33662                  {
33663                     state: "default" 0.0;
33664                     color: 255 255 255 0;
33665                     rel1.to: "btn";
33666                     rel2.to: "btn";
33667                     image
33668                       {
33669                        normal: "bt_glow.png";
33670                        border: 12 12 12 12;
33671                     }
33672                   fill.smooth: 0;
33673                }
33674              description
33675                {
33676                   state: "clicked" 0.0;
33677                   inherit: "default" 0.0;
33678                   visible: 1;
33679                   color: 255 255 255 255;
33680                }
33681             }
33682           part
33683             {
33684                name: "btn_icon";
33685                type: IMAGE;
33686                repeat_events: 1;
33687                description
33688                  {
33689                     state: "default" 0.0;
33690                     rel1.to: "btn";
33691                     rel2.to: "btn";
33692                     align: 0.5 0.5;
33693                     min: 16 16;
33694                     max: 16 16;
33695                     image.normal: "icon_arrow_left.png";
33696                  }
33697                description
33698                  {
33699                     state: "hidden" 0.0;
33700                     inherit: "default" 0.0;
33701                     image.normal: "icon_arrow_right.png";
33702                  }
33703             }
33704        }
33705      programs
33706        {
33707           program
33708             {
33709                name: "show";
33710                signal: "elm,action,show";
33711                source: "elm";
33712                action: STATE_SET "default" 0.0;
33713                target: "bg";
33714                target: "btn_icon";
33715                transition: LINEAR 0.5;
33716             }
33717           program
33718             {
33719                name: "hide";
33720                signal: "elm,action,hide";
33721                source: "elm";
33722                action: STATE_SET "hidden" 0.0;
33723                target: "bg";
33724                target: "btn_icon";
33725                transition: LINEAR 0.5;
33726             }
33727           program
33728             {
33729                name: "btn_click";
33730                signal: "mouse,down,1";
33731                source: "btn_over2";
33732                action: STATE_SET "clicked" 0.0;
33733                target: "btn";
33734             }
33735           program
33736             {
33737                name: "btn_unclick";
33738                signal: "mouse,up,1";
33739                source: "btn_over2";
33740                action: STATE_SET "default" 0.0;
33741                target: "btn";
33742             }
33743           program
33744             {
33745                name: "btn_click2";
33746                signal: "mouse,down,1";
33747                source: "btn_over3";
33748                action: STATE_SET "clicked" 0.0;
33749                target: "btn_over3";
33750             }
33751           program
33752             {
33753                name: "btn_unclick2";
33754                signal: "mouse,up,1";
33755                source: "btn_over3";
33756                action: STATE_SET "default" 0.0;
33757                transition: DECELERATE 0.5;
33758                target: "btn_over3";
33759             }
33760           program
33761             {
33762                name: "btn_unclick3";
33763                signal: "mouse,clicked,1";
33764                source: "btn_over2";
33765                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33766             }
33767          program { name: "highlight_show";
33768             signal: "elm,action,focus_highlight,show";
33769             source: "elm";
33770             action: STATE_SET "enabled" 0.0;
33771             transition: ACCELERATE 0.3;
33772             target: "focus_highlight";
33773          }
33774          program { name: "highlight_hide";
33775             signal: "elm,action,focus_highlight,hide";
33776             source: "elm";
33777             action: STATE_SET "default" 0.0;
33778             transition: DECELERATE 0.3;
33779             target: "focus_highlight";
33780          }
33781        }
33782   }
33783
33784   group {
33785      name: "elm/panel/base/right";
33786      alias: "elm/panel/base/bottom";
33787      images
33788        {
33789           image: "bt_base1.png" COMP;
33790           image: "bt_hilight.png" COMP;
33791           image: "bt_shine.png" COMP;
33792           image: "bt_glow.png" COMP;
33793           image: "bt_dis_base.png" COMP;
33794           image: "icon_arrow_left.png" COMP;
33795           image: "icon_arrow_right.png" COMP;
33796        }
33797      parts
33798        {
33799             part { name: "focus_highlight";
33800                description { state: "default" 0.0;
33801                   visible: 0;
33802                   color: 255 255 255 0;
33803                   rel1 {
33804                      to: "btn";
33805                      offset: -8 -8;
33806                   }
33807                   rel2 {
33808                      to: "btn";
33809                      offset: 7 7;
33810                   }
33811                   image {
33812                      normal: "frame_2.png";
33813                      border: 5 5 32 26;
33814                      middle: 0;
33815                   }
33816                }
33817                description { state: "enabled" 0.0;
33818                   inherit: "default" 0.0;
33819                   visible: 1;
33820                   color: 255 255 255 255;
33821                }
33822             }
33823           part
33824             {
33825                name: "bg";
33826                type: RECT;
33827                mouse_events: 0;
33828                description
33829                  {
33830                     state: "default" 0.0;
33831                     color: 255 255 255 0;
33832                     rel1.relative: 0.0 0.0;
33833                     rel1.offset: 0 0;
33834                     rel2.relative: 1.0 1.0;
33835                     rel2.offset: -1 -1;
33836                  }
33837                description
33838                  {
33839                     state: "hidden" 0.0;
33840                     inherit: "default" 0.0;
33841                     rel1.relative: 1.0 0.0;
33842                     rel1.offset: -22 0;
33843                     rel2.relative: 2.0 1.0;
33844                     rel2.offset: -23 -1;
33845                  }
33846             }
33847           part
33848             {
33849                name: "base";
33850                type: IMAGE;
33851                mouse_events: 0;
33852                description
33853                  {
33854                     state: "default" 0.0;
33855                     rel1.to: "bg";
33856                     rel1.offset: 20 0;
33857                     rel2.to: "bg";
33858                     image
33859                       {
33860                          normal: "bt_dis_base.png";
33861                          border: 4 4 4 4;
33862                       }
33863                  }
33864             }
33865           part
33866             {
33867                name: "clipper";
33868                type: RECT;
33869                mouse_events: 0;
33870                description
33871                  {
33872                     state: "default" 0.0;
33873                     rel1
33874                       {
33875                          offset: 4 4;
33876                          to: "base";
33877                       }
33878                     rel2
33879                       {
33880                          offset: -5 -5;
33881                          to: "base";
33882                       }
33883                  }
33884             }
33885           part
33886             {
33887                name: "elm.swallow.content";
33888                type: SWALLOW;
33889                clip_to: "clipper";
33890                description
33891                  {
33892                     state: "default" 0.0;
33893                     rel1.to: "clipper";
33894                     rel2.to: "clipper";
33895                  }
33896             }
33897           part
33898             {
33899                name: "btn";
33900                type: IMAGE;
33901                mouse_events: 1;
33902                description
33903                  {
33904                     state: "default" 0.0;
33905                     max: 32 48;
33906                     fixed: 1 1;
33907                     align: 1 0.5;
33908                     rel1
33909                       {
33910                          to_x: "bg";
33911                       }
33912                     rel2
33913                       {
33914                          offset: 2 0;
33915                          relative: 0.0 1;
33916                          to_x: "base";
33917                       }
33918                     image
33919                       {
33920                          normal: "bt_base1.png";
33921                          border: 5 0 4 12;
33922                       }
33923                     fill.smooth: 0;
33924                  }
33925                description
33926                  {
33927                     state: "clicked" 0.0;
33928                     inherit: "default" 0.0;
33929                  }
33930             }
33931           part
33932             {
33933                name: "btn_over";
33934                type: IMAGE;
33935                mouse_events: 0;
33936                description
33937                  {
33938                     state: "default" 0.0;
33939                     rel1.to: "btn";
33940                     rel2
33941                       {
33942                          relative: 1.0 0.5;
33943                          to: "btn";
33944                       }
33945                     image
33946                       {
33947                          normal: "bt_hilight.png";
33948                          border: 7 0 7 0;
33949                       }
33950                  }
33951             }
33952           part
33953             {
33954                name: "btn_over2";
33955                type: IMAGE;
33956                mouse_events: 1;
33957                repeat_events: 1;
33958                ignore_flags: ON_HOLD;
33959                description
33960                  {
33961                     state: "default" 0.0;
33962                     rel1.to: "btn";
33963                     rel2.to: "btn";
33964                     image
33965                       {
33966                          normal: "bt_shine.png";
33967                          border: 7 0 7 7;
33968                     }
33969                  }
33970             }
33971           part
33972             {
33973                name: "btn_over3";
33974                type: IMAGE;
33975                mouse_events: 1;
33976                repeat_events: 1;
33977                description
33978                  {
33979                     state: "default" 0.0;
33980                     color: 255 255 255 0;
33981                     rel1.to: "btn";
33982                     rel2.to: "btn";
33983                     image
33984                       {
33985                        normal: "bt_glow.png";
33986                        border: 12 12 12 12;
33987                     }
33988                   fill.smooth: 0;
33989                }
33990              description
33991                {
33992                   state: "clicked" 0.0;
33993                   inherit: "default" 0.0;
33994                   visible: 1;
33995                   color: 255 255 255 255;
33996                }
33997             }
33998           part
33999             {
34000                name: "btn_icon";
34001                type: IMAGE;
34002                repeat_events: 1;
34003                description
34004                  {
34005                     state: "default" 0.0;
34006                     rel1.to: "btn";
34007                     rel2.to: "btn";
34008                     align: 0.5 0.5;
34009                     min: 16 16;
34010                     max: 16 16;
34011                     image.normal: "icon_arrow_right.png";
34012                  }
34013                description
34014                  {
34015                     state: "hidden" 0.0;
34016                     inherit: "default" 0.0;
34017                     image.normal: "icon_arrow_left.png";
34018                  }
34019             }
34020        }
34021      programs
34022        {
34023           program
34024             {
34025                name: "show";
34026                signal: "elm,action,show";
34027                source: "elm";
34028                action: STATE_SET "default" 0.0;
34029                target: "bg";
34030                target: "btn_icon";
34031                transition: LINEAR 0.5;
34032             }
34033           program
34034             {
34035                name: "hide";
34036                signal: "elm,action,hide";
34037                source: "elm";
34038                action: STATE_SET "hidden" 0.0;
34039                target: "bg";
34040                target: "btn_icon";
34041                transition: LINEAR 0.5;
34042             }
34043           program
34044             {
34045                name: "btn_click";
34046                signal: "mouse,down,1";
34047                source: "btn_over2";
34048                action: STATE_SET "clicked" 0.0;
34049                target: "btn";
34050             }
34051           program
34052             {
34053                name: "btn_unclick";
34054                signal: "mouse,up,1";
34055                source: "btn_over2";
34056                action: STATE_SET "default" 0.0;
34057                target: "btn";
34058             }
34059           program
34060             {
34061                name: "btn_click2";
34062                signal: "mouse,down,1";
34063                source: "btn_over3";
34064                action: STATE_SET "clicked" 0.0;
34065                target: "btn_over3";
34066             }
34067           program
34068             {
34069                name: "btn_unclick2";
34070                signal: "mouse,up,1";
34071                source: "btn_over3";
34072                action: STATE_SET "default" 0.0;
34073                transition: DECELERATE 0.5;
34074                target: "btn_over3";
34075             }
34076           program
34077             {
34078                name: "btn_unclick3";
34079                signal: "mouse,up,1";
34080                source: "btn_over2";
34081                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
34082             }
34083          program { name: "highlight_show";
34084             signal: "elm,action,focus";
34085             source: "elm";
34086             action: STATE_SET "enabled" 0.0;
34087             transition: ACCELERATE 0.3;
34088             target: "focus_highlight";
34089          }
34090          program { name: "highlight_hide";
34091             signal: "elm,action,unfocus";
34092             source: "elm";
34093             action: STATE_SET "default" 0.0;
34094             transition: DECELERATE 0.3;
34095             target: "focus_highlight";
34096          }
34097        }
34098   }
34099
34100 ///////////////////////////////////////////////////////////////////////////////
34101   group { name: "elm/conformant/base/default";
34102      parts {
34103         part { name: "elm.swallow.shelf";
34104            type: SWALLOW;
34105            description { state: "default" 0.0;
34106               fixed: 0 1;
34107               align: 0.0 0.0;
34108               rel2.relative: 1.0 0.0;
34109            }
34110         }
34111         part { name: "elm.swallow.content";
34112            type: SWALLOW;
34113            description { state: "default" 0.0;
34114               fixed: 0 1;
34115               align: 0.5 0.5;
34116               rel1.relative: 0.0 1.0;
34117               rel1.to_y: "elm.swallow.shelf";
34118               rel2.relative: 1.0 0.0;
34119               rel2.to_y: "elm.swallow.virtualkeypad";
34120            }
34121         }
34122         part { name: "elm.swallow.virtualkeypad";
34123            type: SWALLOW;
34124            description { state: "default" 0.0;
34125               fixed: 0 1;
34126               align: 0.0 1.0;
34127               rel2.relative: 1.0 0.0;
34128               rel2.to_y: "elm.swallow.panel";
34129            }
34130         }
34131         part { name: "elm.swallow.panel";
34132            type: SWALLOW;
34133            description { state: "default" 0.0;
34134               fixed: 0 1;
34135               align: 0.0 1.0;
34136               rel1.relative: 0.0 1.0;
34137            }
34138         }
34139      }
34140   }
34141
34142   group { name: "elm/conformant/layout/content";
34143    parts {
34144       part { name: "elm.swallow.content";
34145          type: SWALLOW;
34146          description { state: "default" 0.0;
34147          }
34148       }
34149    }
34150 }
34151
34152 /////////////////////////////////////////////////////////////////////////////
34153 // CALENDAR
34154 /////////////////////////////////////////////////////////////////////////////
34155 #define CH(_pos) \
34156          part { name: "ch_"#_pos".base"; \
34157             type: RECT; \
34158             description { state: "default" 0.0; \
34159                rel1 { \
34160                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
34161                   to: "header"; \
34162                } \
34163                rel2 { \
34164                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
34165                   to: "header"; \
34166                } \
34167                color: 0 0 0 0; \
34168                visible: 0; \
34169             } \
34170          } \
34171          part { name: "ch_"#_pos".text"; \
34172             type: TEXT; \
34173             effect: SOFT_SHADOW; \
34174             mouse_events: 0; \
34175             scale: 1; \
34176             clip_to: "ch_"#_pos".clipper"; \
34177             description { \
34178                state: "default" 0.0; \
34179                rel1.to: "ch_"#_pos".base"; \
34180                rel2.to: "ch_"#_pos".base"; \
34181                color: 0 0 0 255; \
34182                color3: 0 0 0 0; \
34183                text { \
34184                   font: "Sans"; \
34185                   size: 10; \
34186                   min: 1 1; \
34187                   align: 0.5 0.5; \
34188                } \
34189             } \
34190          } \
34191          part { name: "ch_"#_pos".clipper"; \
34192             type: RECT; \
34193             description { state: "default" 0.0; \
34194                rel1.to: "ch_"#_pos".base"; \
34195                rel2.to: "ch_"#_pos".base"; \
34196             } \
34197          }
34198
34199 #define CIT(_pos) \
34200          part { name: "cit_"#_pos".rect"; \
34201             type: RECT; \
34202             description { state: "default" 0.0; \
34203                rel1 { \
34204                   relative: (_pos % 7 * 7 / 8 / 6) \
34205                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
34206                   to: "base"; \
34207                } \
34208                rel2 { \
34209                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
34210                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
34211                   to: "base"; \
34212                } \
34213                color: 0 0 0 0; \
34214                visible: 0; \
34215             } \
34216          } \
34217          part { \
34218             name: "cit_"#_pos".event"; \
34219             type: RECT; \
34220             repeat_events: 1; \
34221             description { \
34222                rel1.to: "cit_"#_pos".rect"; \
34223                rel2.to: "cit_"#_pos".rect"; \
34224                state: "default" 0.0; \
34225                color: 0 0 0 0; \
34226             } \
34227          } \
34228          part { name: "cit_"#_pos".shelf"; \
34229             type: RECT; \
34230             mouse_events: 0; \
34231             description { state: "default" 0.0; \
34232                rel1 { \
34233                   to: "cit_"#_pos".bg"; \
34234                   offset: -1 -1; \
34235                } \
34236                rel2 { \
34237                   to: "cit_"#_pos".bg"; \
34238                } \
34239                color: 200 200 200 255; \
34240             } \
34241          } \
34242          part { name: "cit_"#_pos".hd"; \
34243             type: RECT; \
34244             mouse_events: 0; \
34245             description { state: "default" 0.0; \
34246                rel1 { \
34247                   to: "cit_"#_pos".bg"; \
34248                   offset: -1 -1; \
34249                } \
34250                rel2 { \
34251                   to: "cit_"#_pos".bg"; \
34252                } \
34253                visible: 0; \
34254                color: 160 0 0 255; \
34255             } \
34256             description { state: "visible" 0.0; \
34257                inherit: "default" 0.0; \
34258                visible: 1; \
34259             } \
34260          } \
34261          part { \
34262             name: "cit_"#_pos".base_sh"; \
34263             mouse_events: 0; \
34264             description { \
34265                state: "default" 0.0; \
34266                align: 0.0 0.0; \
34267                min: 0 1; \
34268                rel1 { \
34269                   to: "cit_"#_pos".base"; \
34270                   relative: 0.0 1.0; \
34271                   offset: 0 0; \
34272                } \
34273                rel2 { \
34274                   to: "cit_"#_pos".base"; \
34275                   relative: 1.0 1.05; \
34276                   offset: -1 0; \
34277                } \
34278                image { \
34279                   normal: "ilist_item_shadow.png"; \
34280                } \
34281                fill.smooth: 0; \
34282             } \
34283          } \
34284          part { \
34285             name: "cit_"#_pos".base"; \
34286             mouse_events: 0; \
34287             description { \
34288                state: "default" 0.0; \
34289                rel1.to: "cit_"#_pos".rect"; \
34290                rel2.to: "cit_"#_pos".rect"; \
34291                rel2.offset: -1 -1; \
34292                image { \
34293                   normal: "ilist_1.png"; \
34294                   border: 2 2 2 2; \
34295                } \
34296                fill.smooth: 0; \
34297             } \
34298             description { \
34299                state: "today" 0.0; \
34300                inherit: "default" 0.0; \
34301                image.normal: "ilist_2.png"; \
34302                color: 240 240 240 255; \
34303             } \
34304          } \
34305          part { name: "cit_"#_pos".bg"; \
34306             mouse_events: 0; \
34307             description { state: "default" 0.0; \
34308                visible: 0; \
34309                color: 255 255 255 0; \
34310                rel1 { \
34311                   to: "cit_"#_pos".rect"; \
34312                   relative: 0.0 0.0; \
34313                } \
34314                rel2 { \
34315                   to: "cit_"#_pos".rect"; \
34316                   relative: 1.0 1.0; \
34317                   offset: -1 -1; \
34318                } \
34319                image { \
34320                   normal: "bt_sm_base1.png"; \
34321                   border: 6 6 6 6; \
34322                } \
34323                image.middle: SOLID; \
34324             } \
34325             description { state: "selected" 0.0; \
34326                inherit: "default" 0.0; \
34327                visible: 1; \
34328                color: 255 255 255 255; \
34329             } \
34330          } \
34331          part { name: "cit_"#_pos".text"; \
34332             type: TEXT; \
34333             effect: SOFT_SHADOW; \
34334             mouse_events: 0; \
34335             scale: 1; \
34336             description { \
34337                state: "default" 0.0; \
34338                rel1.to: "cit_"#_pos".bg"; \
34339                rel2.to: "cit_"#_pos".bg"; \
34340                color: 0 0 0 255; \
34341                color3: 0 0 0 0; \
34342                text { \
34343                   font: "Sans"; \
34344                   size: 10; \
34345                   min: 1 1; \
34346                   align: 0.5 0.5; \
34347                } \
34348             } \
34349             description { state: "selected" 0.0; \
34350                inherit: "default" 0.0; \
34351                color: 224 224 224 255; \
34352                color3: 0 0 0 64; \
34353             } \
34354          } \
34355          part { name: "cit_"#_pos".fg1"; \
34356             mouse_events: 0; \
34357             description { state: "default" 0.0; \
34358                visible: 0; \
34359                color: 255 255 255 0; \
34360                rel1.to: "cit_"#_pos".bg"; \
34361                rel2.relative: 1.0 0.5; \
34362                rel2.to: "cit_"#_pos".bg"; \
34363                image { \
34364                   normal: "bt_sm_hilight.png"; \
34365                   border: 6 6 6 0; \
34366                } \
34367             } \
34368             description { state: "selected" 0.0; \
34369                inherit: "default" 0.0; \
34370                visible: 1; \
34371                color: 255 255 255 255; \
34372             } \
34373          } \
34374          part { name: "cit_"#_pos".fg2"; \
34375             mouse_events: 0; \
34376             description { state: "default" 0.0; \
34377                visible: 0; \
34378                color: 255 255 255 0; \
34379                rel1.to: "cit_"#_pos".bg"; \
34380                rel2.to: "cit_"#_pos".bg"; \
34381                image { \
34382                   normal: "bt_sm_shine.png"; \
34383                   border: 6 6 6 0; \
34384                } \
34385             } \
34386             description { state: "selected" 0.0; \
34387                inherit: "default" 0.0; \
34388                visible: 1; \
34389                color: 255 255 255 255; \
34390             } \
34391          } \
34392          part { name: "cit_"#_pos".check"; \
34393             mouse_events: 0; \
34394             description { state: "default" 0.0; \
34395                rel1 { \
34396                   to: "cit_"#_pos".bg"; \
34397                   relative: 0.7 0.6; \
34398                   offset: 1 1; \
34399                } \
34400                rel2 { \
34401                   to: "cit_"#_pos".bg"; \
34402                   relative: 1.1 1.2; \
34403                   offset: -2 -2; \
34404                } \
34405                aspect: 1 1; \
34406                visible: 0; \
34407                color: 255 0 0 255; \
34408                image.normal: "check.png"; \
34409             } \
34410             description { state: "visible" 0.0; \
34411                inherit: "default" 0.0; \
34412                visible: 1; \
34413             } \
34414          } \
34415       programs { \
34416          program { \
34417             name:    "cit_"#_pos".go_active"; \
34418             signal:  "cit_"#_pos",selected"; \
34419             source:  "elm"; \
34420             action:  STATE_SET "selected" 0.0; \
34421             target:  "cit_"#_pos".bg"; \
34422             target:  "cit_"#_pos".fg1"; \
34423             target:  "cit_"#_pos".fg2"; \
34424             target:  "cit_"#_pos".text"; \
34425          } \
34426          program { \
34427             name:    "cit_"#_pos".go_passive"; \
34428             signal:  "cit_"#_pos",unselected"; \
34429             source:  "elm"; \
34430             action:  STATE_SET "default" 0.0; \
34431             target:  "cit_"#_pos".bg"; \
34432             target:  "cit_"#_pos".fg1"; \
34433             target:  "cit_"#_pos".fg2"; \
34434             target:  "cit_"#_pos".text"; \
34435          } \
34436          program { \
34437             name:    "cit_"#_pos".is_today"; \
34438             signal:  "cit_"#_pos",today"; \
34439             source:  "elm"; \
34440             action:  STATE_SET "today" 0.0; \
34441             target: "cit_"#_pos".base"; \
34442          } \
34443          program { \
34444             name:    "cit_"#_pos".not_today"; \
34445             signal:  "cit_"#_pos",not_today"; \
34446             source:  "elm"; \
34447             action:  STATE_SET "default" 0.0; \
34448             target: "cit_"#_pos".base"; \
34449          } \
34450          program { \
34451             source: "cit_"#_pos".clicked"; \
34452             signal: "mouse,clicked,1"; \
34453             source: "cit_"#_pos".event"; \
34454             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
34455          } \
34456          program { \
34457             name:    "cit_"#_pos".clear"; \
34458             signal:  "cit_"#_pos",clear"; \
34459             source:  "elm"; \
34460             action:  STATE_SET "default" 0.0; \
34461             target: "cit_"#_pos".check"; \
34462             target: "cit_"#_pos".hd"; \
34463          } \
34464          program { \
34465             name:    "cit_"#_pos".checked"; \
34466             signal:  "cit_"#_pos",checked"; \
34467             source:  "elm"; \
34468             action:  STATE_SET "visible" 0.0; \
34469             target: "cit_"#_pos".check"; \
34470          } \
34471          program { \
34472             name:    "cit_"#_pos".holiday"; \
34473             signal:  "cit_"#_pos",holiday"; \
34474             source:  "elm"; \
34475             action:  STATE_SET "visible" 0.0; \
34476             target: "cit_"#_pos".hd"; \
34477          } \
34478       }
34479
34480    group { name: "elm/calendar/base/default";
34481        images {
34482            image: "shelf_inset.png" COMP;
34483            image: "bt_base1.png" COMP;
34484            image: "bt_hilight.png" COMP;
34485            image: "bt_shine.png" COMP;
34486            image: "bt_glow.png" COMP;
34487            image: "bt_dis_base.png" COMP;
34488            image: "bt_dis_hilight.png" COMP;
34489            image: "sp_bt_l.png" COMP;
34490            image: "sp_bt_r.png" COMP;
34491            image: "bt_sm_base1.png" COMP;
34492            image: "bt_sm_shine.png" COMP;
34493            image: "bt_sm_hilight.png" COMP;
34494            image: "ilist_1.png" COMP;
34495            image: "ilist_2.png" COMP;
34496            image: "ilist_item_shadow.png" COMP;
34497            image: "check.png" COMP;
34498        }
34499        parts {
34500            part { name: "bg";
34501                type: RECT;
34502                description { state: "default" 0.0;
34503                    min: 0 30;
34504                    rel1.offset: 1 1;
34505                    rel2.offset: -2 -2;
34506                    color: 255 255 255 0;
34507                    align: 0.0 0.5;
34508                }
34509            }
34510            part { name: "spinner-base";
34511                type: RECT;
34512                mouse_events: 0;
34513                description { state: "default" 0.0;
34514                    min: 24 24;
34515                    max: 999999 24;
34516                    rel1.to: "bg";
34517                    rel1.offset: 6 6;
34518                    rel2.to: "bg";
34519                    rel2.offset: -7 -7;
34520                    color: 255 255 255 0;
34521                    align: 0.0 0.0;
34522                }
34523            }
34524            part { name: "conf_over_spinner";
34525                mouse_events:  0;
34526                description { state: "default" 0.0;
34527                    rel1.to: "spinner-base";
34528                    rel1.offset: -3 -3;
34529                    rel2.to: "spinner-base";
34530                    rel2.offset: 2 2;
34531                    image {
34532                        normal: "shelf_inset.png";
34533                        border: 7 7 7 7;
34534                        middle: 0;
34535                    }
34536                    fill.smooth : 0;
34537                }
34538            }
34539            part { name: "table-base";
34540                type: RECT;
34541                mouse_events: 0;
34542                description { state: "default" 0.0;
34543                    min: 256 220;
34544                    rel1.to_x: "bg";
34545                    rel1.to_y: "spinner-base";
34546                    rel1.offset: 6 6;
34547                    rel1.relative: 0 1;
34548                    rel2.to: "bg";
34549                    rel2.offset: -7 -7;
34550                    color: 255 255 255 0;
34551                }
34552            }
34553            part { name: "conf_over_table";
34554                mouse_events:  0;
34555                description { state: "default" 0.0;
34556                    rel1.to: "table-base";
34557                    rel1.offset: -3 -3;
34558                    rel2.to: "table-base";
34559                    rel2.offset: 2 2;
34560                    image {
34561                        normal: "shelf_inset.png";
34562                        border: 7 7 7 7;
34563                        middle: 0;
34564                    }
34565                    fill.smooth : 0;
34566                }
34567            }
34568            part { name: "header";
34569                type: RECT;
34570                mouse_events: 0;
34571                description { state: "default" 0.0;
34572                    rel1.to: "table-base";
34573                    rel1.relative: 0 0;
34574                    rel2.to: "table-base";
34575                    rel2.relative: 1 0.1;
34576                    color: 255 255 255 0;
34577                }
34578            }
34579            part { name: "base";
34580                type: RECT;
34581                mouse_events: 0;
34582                description { state: "default" 0.0;
34583                    rel1.to_x: "table-base";
34584                    rel1.to_y: "header";
34585                    rel1.relative: 0 1;
34586                    rel1.offset: 3 0;
34587                    rel2.to: "table-base";
34588                    rel2.offset: -3 0;
34589                    color: 255 255 255 0;
34590                }
34591            }
34592            part { name: "left_bt";
34593                mouse_events:  1;
34594                description { state: "default" 0.0;
34595                    rel1 { to: "spinner-base";
34596                        offset: 2 2;
34597                    }
34598                    rel2 { to: "spinner-base";
34599                        offset: -3 -3;
34600                    }
34601                    align: 0.0 0.5;
34602                    min: 24 24;
34603                    max: 24 24;
34604                    fixed: 1 1;
34605                    image {
34606                        normal: "bt_base1.png";
34607                        border: 6 6 6 6;
34608                    }
34609                    fill.smooth : 0;
34610                }
34611                description { state: "clicked" 0.0;
34612                    inherit: "default" 0.0;
34613                    image.normal: "bt_base1.png";
34614                    image.middle: SOLID;
34615                }
34616            }
34617            part { name: "left_over1";
34618                mouse_events: 0;
34619                description { state: "default" 0.0;
34620                    rel1.to: "left_bt";
34621                    rel2 { to: "left_bt";
34622                        relative: 1.0 0.5;
34623                    }
34624                    image {
34625                        normal: "bt_hilight.png";
34626                        border: 7 7 7 0;
34627                    }
34628                }
34629            }
34630            part { name: "left_over2";
34631                mouse_events: 1;
34632                repeat_events: 1;
34633                description { state: "default" 0.0;
34634                    rel1.to: "left_bt";
34635                    rel2.to: "left_bt";
34636                    image {
34637                        normal: "bt_shine.png";
34638                        border: 7 7 7 7;
34639                    }
34640                }
34641            }
34642            part { name: "left_over3";
34643                mouse_events: 1;
34644                repeat_events: 1;
34645                description { state: "default" 0.0;
34646                    color: 255 255 255 0;
34647                    rel1.to: "left_bt";
34648                    rel2.to: "left_bt";
34649                    image {
34650                        normal: "bt_glow.png";
34651                        border: 12 12 12 12;
34652                    }
34653                    fill.smooth : 0;
34654                }
34655                description { state: "clicked" 0.0;
34656                    inherit:  "default" 0.0;
34657                    visible: 1;
34658                    color: 255 255 255 255;
34659                }
34660            }
34661            part { name: "right_bt";
34662                mouse_events:  1;
34663                description { state: "default" 0.0;
34664                    rel1 { to: "spinner-base";
34665                        offset: -27 3;
34666                    }
34667                    rel2 { to: "spinner-base";
34668                        offset: -3 -3;
34669                    }
34670                    align: 1.0 0.5;
34671                    min: 24 24;
34672                    max: 24 24;
34673                    fixed: 1 1;
34674                    image {
34675                        normal: "bt_base1.png";
34676                        border: 5 5 4 12;
34677                    }
34678                    fill.smooth : 0;
34679                }
34680                description { state: "clicked" 0.0;
34681                    inherit: "default" 0.0;
34682                    image.normal: "bt_base1.png";
34683                    image.middle: SOLID;
34684                }
34685            }
34686            part { name: "right_over1";
34687                mouse_events: 0;
34688                description { state: "default" 0.0;
34689                    rel1.to: "right_bt";
34690                    rel2 { to: "right_bt";
34691                        relative: 1.0 0.5;
34692                    }
34693                    image {
34694                        normal: "bt_hilight.png";
34695                        border: 7 7 7 0;
34696                    }
34697                }
34698            }
34699            part { name: "right_over2";
34700                mouse_events: 1;
34701                repeat_events: 1;
34702                description { state: "default" 0.0;
34703                    rel1.to: "right_bt";
34704                    rel2.to: "right_bt";
34705                    image {
34706                        normal: "bt_shine.png";
34707                        border: 7 7 7 7;
34708                    }
34709                }
34710            }
34711            part { name: "right_over3";
34712                mouse_events: 1;
34713                repeat_events: 1;
34714                description { state: "default" 0.0;
34715                    color: 255 255 255 0;
34716                    rel1.to: "right_bt";
34717                    rel2.to: "right_bt";
34718                    image {
34719                        normal: "bt_glow.png";
34720                        border: 12 12 12 12;
34721                    }
34722                    fill.smooth : 0;
34723                }
34724                description { state: "clicked" 0.0;
34725                    inherit:  "default" 0.0;
34726                    visible: 1;
34727                    color: 255 255 255 255;
34728                }
34729            }
34730            part { name: "left_bt_icon";
34731                repeat_events: 1;
34732                description { state: "default" 0.0;
34733                    rel1.to: "left_bt";
34734                    rel2.to: "left_bt";
34735                    align: 0.5 0.5;
34736                    min: 16 16;
34737                    max: 16 16;
34738                    image.normal: "sp_bt_l.png";
34739                }
34740                description { state: "rtl" 0.0;
34741                    inherit: "default" 0.0;
34742                    image.normal: "sp_bt_r.png";
34743                }
34744            }
34745            part { name: "right_bt_icon";
34746                repeat_events: 1;
34747                description { state: "default" 0.0;
34748                    rel1.to: "right_bt";
34749                    rel2.to: "right_bt";
34750                    align: 0.5 0.5;
34751                    min: 16 16;
34752                    max: 16 16;
34753                    image.normal: "sp_bt_r.png";
34754                }
34755                description { state: "rtl" 0.0;
34756                    inherit: "default" 0.0;
34757                    image.normal: "sp_bt_l.png";
34758                }
34759            }
34760            part { name: "month_text";
34761                type: TEXT;
34762                mouse_events: 0;
34763                scale: 1;
34764                description { state: "default" 0.0;
34765                    align: 0 0.5;
34766                    fixed: 1 1;
34767                    rel1 { relative: 1.0 0.0;
34768                        offset: 3 2;
34769                        to: "left_bt";
34770                        to_y: "spinner-base";
34771                    }
34772                    rel2 { relative: 0.0 1.0;
34773                        offset: -3 -2;
34774                        to_x: "right_bt";
34775                        to_y: "spinner-base";
34776                    }
34777                    color: 0 0 0 255;
34778                    text {
34779                        font: "Sans,Edje-Vera";
34780                        size: 12;
34781                        min: 1 1;
34782                        align: 0.5 0.5;
34783                    }
34784                }
34785            }
34786            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34787            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34788            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34789            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34790            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34791            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34792            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34793        }
34794        programs {
34795            program { name: "dec_start";
34796                signal: "mouse,down,1";
34797                source: "left_bt";
34798                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34799            }
34800            program { name: "dec_stop";
34801                signal: "mouse,up,1";
34802                source: "left_bt";
34803                action: SIGNAL_EMIT "elm,action,stop" "";
34804            }
34805            program { name: "inc_start";
34806                signal: "mouse,down,1";
34807                source: "right_bt";
34808                action: SIGNAL_EMIT "elm,action,increment,start" "";
34809            }
34810            program { name: "inc_stop";
34811                signal: "mouse,up,1";
34812                source: "right_bt";
34813                action: SIGNAL_EMIT "elm,action,stop" "";
34814            }
34815            program {
34816                name:   "left_bt_click";
34817                signal: "mouse,down,1";
34818                source: "left_over2";
34819                action: STATE_SET "clicked" 0.0;
34820                target: "left_bt";
34821            }
34822            program {
34823                name:   "left_bt_unclick";
34824                signal: "mouse,up,1";
34825                source: "left_over2";
34826                action: STATE_SET "default" 0.0;
34827                target: "left_bt";
34828            }
34829            program {
34830                name:   "left_bt_click2";
34831                signal: "mouse,down,1";
34832                source: "left_over3";
34833                action: STATE_SET "clicked" 0.0;
34834                target: "left_over3";
34835            }
34836            program {
34837                name:   "left_bt_unclick2";
34838                signal: "mouse,up,1";
34839                source: "left_over3";
34840                action: STATE_SET "default" 0.0;
34841                transition: DECELERATE 0.5;
34842                target: "left_over3";
34843            }
34844            program {
34845                name:   "right_bt_click";
34846                signal: "mouse,down,1";
34847                source: "right_over2";
34848                action: STATE_SET "clicked" 0.0;
34849                target: "right_bt";
34850            }
34851            program {
34852                name:   "right_bt_unclick";
34853                signal: "mouse,up,1";
34854                source: "right_over2";
34855                action: STATE_SET "default" 0.0;
34856                target: "right_bt";
34857            }
34858            program {
34859                name:   "right_bt_click2";
34860                signal: "mouse,down,1";
34861                source: "right_over3";
34862                action: STATE_SET "clicked" 0.0;
34863                target: "right_over3";
34864            }
34865            program {
34866                name:   "right_bt_unclick2";
34867                signal: "mouse,up,1";
34868                source: "right_over3";
34869                action: STATE_SET "default" 0.0;
34870                transition: DECELERATE 0.5;
34871                target: "right_over3";
34872            }
34873            program { name: "to_rtl";
34874                signal: "edje,state,rtl";
34875                source: "edje";
34876                action: STATE_SET "rtl" 0.0;
34877                target: "right_bt_icon";
34878                target: "left_bt_icon";
34879            }
34880            program { name: "to_ltr";
34881                signal: "edje,state,ltr";
34882                source: "edje";
34883                action: STATE_SET "default" 0.0;
34884                target: "right_bt_icon";
34885                target: "left_bt_icon";
34886            }
34887        }
34888    }
34889
34890 #undef CIT
34891 #undef CH
34892
34893 ////////////////////////////////////////////////////////////////////////////////
34894 // colorselector
34895 ////////////////////////////////////////////////////////////////////////////////
34896    group { name: "elm/colorselector/bg/default";
34897       parts {
34898          part { name: "elm.colorbar_0";
34899             type: SWALLOW;
34900             mouse_events: 1;
34901             description { state: "default" 0.0;
34902                min: 120 30;
34903                rel1.relative: 0.0 0.00653594771;
34904                rel2.relative: 1.0 0.254901961;
34905             }
34906          }
34907          part { name: "elm.colorbar_1";
34908             type: SWALLOW;
34909             mouse_events: 1;
34910             description { state: "default" 0.0;
34911                min: 120 30;
34912                rel1.relative: 0.0 0.254901961;
34913                rel2.relative: 1.0 0.503267974;
34914             }
34915          }
34916          part { name: "elm.colorbar_2";
34917             type: SWALLOW;
34918             mouse_events: 1;
34919             description { state: "default" 0.0;
34920                min: 120 30;
34921                rel1.relative: 0.0 0.503267974;
34922                rel2.relative: 1.0 0.751633987;
34923             }
34924          }
34925          part { name: "elm.colorbar_3";
34926             type: SWALLOW;
34927             mouse_events: 1;
34928             description { state: "default" 0.0;
34929                min: 120 30;
34930                rel1.relative: 0.0 0.751633987;
34931                rel2.relative: 1.0 1.0;
34932             }
34933          }
34934       }
34935    }
34936
34937    group { name: "elm/colorselector/base/default";
34938       parts {
34939          part { name: "elm.bar_bg";
34940             type: SWALLOW;
34941             mouse_events: 0;
34942             description { state: "default" 0.0;
34943                min: 60 22;
34944                rel1 {
34945                   relative: 0.0 0.8;
34946                   to_x: "elm.arrow_bg";
34947                   to_y: "elm.arrow_icon";
34948                   offset: 0 0;
34949                }
34950                rel2 {
34951                   relative: 1.0 0.83;
34952                   to_x: "elm.arrow_bg";
34953                   offset: 0 0;
34954                }
34955             }
34956          }
34957          part { name: "elm.bar";
34958             type: SWALLOW;
34959             mouse_events: 0;
34960             description { state: "default" 0.0;
34961                rel1.to: "elm.bar_bg";
34962                rel2.to: "elm.bar_bg";
34963             }
34964          }
34965          part { name: "elm.arrow_bg";
34966             type: SWALLOW;
34967             mouse_events: 1;
34968             description { state: "default" 0.0;
34969                rel1 {
34970                   relative: 1.0 0.17;
34971                   offset: 3 0;
34972                   to_x: "elm.l_button";
34973                }
34974                rel2 {
34975                   relative: 0.0 0.83;
34976                   offset: -4 0;
34977                   to_x: "elm.r_button";
34978                }
34979             }
34980          }
34981          part { name: "elm.arrow";
34982             type: RECT;
34983             mouse_events: 1;
34984             scale: 1;
34985             description { state: "default" 0.0;
34986                min: 1 1;
34987                fixed: 1 1;
34988                align: 0 0;
34989                rel1 {
34990                   to_x: "elm.arrow_bg";
34991                }
34992                rel2 {
34993                   relative: 0.0 0.17;
34994                   to_x: "elm.arrow_bg";
34995                }
34996                color: 0 0 0 0;
34997                visible: 0;
34998             }
34999             dragable {
35000                confine: "elm.arrow_bg";
35001                x: 1 1 0;
35002                y: 0 0 0;
35003             }
35004          }
35005          part { name: "elm.arrow_icon";
35006             type: SWALLOW;
35007             mouse_events: 0;
35008             description { state: "default" 0.0;
35009                min: 25 15;
35010                max: 25 15;
35011                fixed: 1 1;
35012                align: 0.5 0;
35013                rel1 {
35014                   to_x: "elm.arrow";
35015                }
35016                rel2 {
35017                   relative: 1.0 0.0;
35018                   offset: 0 10;
35019                   to_x: "elm.arrow";
35020                }
35021             }
35022          }
35023          part { name: "event";
35024             type: RECT;
35025             mouse_events: 1;
35026             description { state: "default" 0.0;
35027                rel1 {
35028                   to: "elm.arrow_icon";
35029                }
35030                rel2 {
35031                   to_x: "elm.arrow_icon";
35032                   to_y: "elm.arrow_bg";
35033                   offset: 0 0;
35034                }
35035                color: 0 0 0 0;
35036             }
35037             dragable {
35038                events: "elm.arrow";
35039             }
35040          }
35041          part { name: "elm.l_button";
35042             type: SWALLOW;
35043             mouse_events: 1;
35044             scale: 1;
35045             description { state: "default" 0.0;
35046                min: 24 24;
35047                fixed: 1 1;
35048                rel1 {
35049                   relative: 0.0 0.0;
35050                   to_y: "elm.bar_bg";
35051                }
35052                rel2 {
35053                   relative: 0.0 1.0;
35054                   to_y: "elm.bar_bg";
35055                }
35056                align: 0.0 0.5;
35057             }
35058          }
35059          part { name: "elm.r_button";
35060             type: SWALLOW;
35061             mouse_events: 1;
35062             scale: 1;
35063             description {
35064                state: "default" 0.0;
35065                min: 24 24;
35066                fixed: 1 1;
35067                rel1 {
35068                   relative: 1.0 0.0;
35069                   to_y: "elm.bar_bg";
35070                }
35071                rel2 {
35072                   relative: 1.0 1.0;
35073                   to_y: "elm.bar_bg";
35074                }
35075                align: 1.0 0.5;
35076             }
35077          }
35078       }
35079    }
35080
35081    group{ name: "elm/colorselector/image/colorbar_0/default";
35082       images {
35083          image: "color_picker_color.png" COMP;
35084       }
35085       parts {
35086          part { name: "colorbar_0_image";
35087             type: IMAGE;
35088             mouse_events: 1;
35089             description { state: "default" 0.0;
35090                rel2.offset: -1 -1;
35091                image.normal: "color_picker_color.png";
35092             }
35093          }
35094       }
35095    }
35096
35097    group { name: "elm/colorselector/image/colorbar_1/default";
35098       images {
35099          image: "color_picker_opacity.png" COMP;
35100       }
35101       parts {
35102          part { name: "colorbar_1_image";
35103             type: IMAGE;
35104             mouse_events: 1;
35105             description { state: "default" 0.0;
35106                rel2.offset: -1 -1;
35107                image.normal: "color_picker_opacity.png";
35108             }
35109          }
35110       }
35111    }
35112
35113    group { name: "elm/colorselector/image/colorbar_2/default";
35114       images {
35115          image: "color_picker_brightness.png" COMP;
35116       }
35117       parts {
35118          part { name: "colorbar_2_image";
35119             type: IMAGE;
35120             mouse_events: 1;
35121             description { state: "default" 0.0;
35122                rel2.offset: -1 -1;
35123                image.normal: "color_picker_brightness.png";
35124             }
35125          }
35126       }
35127    }
35128
35129    group { name: "elm/colorselector/image/colorbar_3/default";
35130       images {
35131          image: "color_picker_alpha.png" COMP;
35132       }
35133       parts {
35134          part { name: "colorbar_3_image";
35135             type: IMAGE;
35136             mouse_events: 1;
35137             description { state: "default" 0.0;
35138                rel2.offset: -1 -1;
35139                image.normal: "color_picker_alpha.png";
35140             }
35141          }
35142       }
35143    }
35144
35145    group { name: "elm/colorselector/bg_image/colorbar_3/default";
35146       images {
35147          image: "color_picker_alpha_bg.png" COMP;
35148       }
35149       parts {
35150          part { name: "colorbar_3_image";
35151             type: IMAGE;
35152             mouse_events: 1;
35153             description { state: "default" 0.0;
35154                rel2.offset: -1 -1;
35155                image.normal: "color_picker_alpha_bg.png";
35156             }
35157          }
35158       }
35159    }
35160
35161    group { name: "elm/colorselector/arrow/default";
35162       images {
35163          image: "icon_arrow_down.png" COMP;
35164       }
35165       parts {
35166          part { name: "bg";
35167             type: RECT;
35168             mouse_events: 1;
35169             description { state: "default" 0.0;
35170                color: 0 0 0 0;
35171             }
35172          }
35173          part { name: "arrow_image";
35174             type: IMAGE;
35175             mouse_events: 1;
35176             description { state: "default" 0.0;
35177                image.normal: "icon_arrow_down.png";
35178             }
35179          }
35180       }
35181    }
35182
35183
35184 ///////////////////////////////////////////////////////////////////////////////
35185 #define FLIP_PICKER_MAX_LEN (50)
35186 #define FLIP_PICKER_MAX_LEN_STR "50"
35187
35188    group { name: "elm/flipselector/base/default";
35189       images {
35190          image: "flip_base.png" COMP;
35191          image: "flip_base_shad.png" COMP;
35192          image: "flip_shad.png" COMP;
35193          image: "arrow_up.png" COMP;
35194          image: "arrow_down.png" COMP;
35195          image: "flip_t.png" COMP;
35196          image: "flip_b.png" COMP;
35197       }
35198
35199       data {
35200          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
35201       }
35202
35203       //FIXME: quick successive clicks on, say, up, lead to nastiness
35204       script {
35205          public cur, prev, next, lock;
35206
35207          public animator_bottom_down(val, Float:pos) {
35208             new tmp[FLIP_PICKER_MAX_LEN];
35209
35210             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
35211             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
35212                             0.0);
35213             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
35214                             0.0);
35215
35216             if (pos >= 1.0) {
35217                set_state(PART:"shadow", "default", 0.0);
35218                set_int(lock, 0);
35219
35220                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35221                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35222                   replace_str(next, 0, "");
35223                   message(MSG_STRING, 1, tmp);
35224                }
35225             }
35226          }
35227
35228          public animator_top_down(val, Float:pos) {
35229             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
35230             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
35231                             0.0);
35232             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
35233                             0.0);
35234
35235             if (pos >= 1.0)
35236                anim(0.2, "animator_bottom_down", val);
35237          }
35238
35239          public animator_bottom_up(val, Float:pos) {
35240             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
35241             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
35242                             0.0);
35243             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
35244                             0.0);
35245
35246             if (pos >= 1.0)
35247                anim(0.2, "animator_top_up", val);
35248          }
35249
35250          public animator_top_up(val, Float:pos) {
35251             new tmp[FLIP_PICKER_MAX_LEN];
35252
35253             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
35254             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
35255                             0.0);
35256             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
35257                             0.0);
35258
35259             if (pos >= 1.0) {
35260                set_state(PART:"shadow", "default", 0.0);
35261                set_int(lock, 0);
35262
35263                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35264                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35265                   replace_str(next, 0, "");
35266                   message(MSG_STRING, 2, tmp);
35267                }
35268             }
35269          }
35270
35271          public message(Msg_Type:type, id, ...) {
35272             /* flip down */
35273             if ((type == MSG_STRING) && (id == 1)) {
35274                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35275
35276                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35277
35278                if (get_int(lock) == 1) {
35279                   replace_str(next, 0, value);
35280                   return;
35281                }
35282
35283                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35284
35285                set_text(PART:"bottom_b", tmp);
35286
35287                set_state(PART:"top", "shrink", 0.0);
35288                set_text(PART:"top", tmp);
35289                set_state(PART:"top", "default", 0.0);
35290                set_text(PART:"top", tmp);
35291
35292                replace_str(prev, 0, tmp);
35293
35294                set_state(PART:"bottom", "default", 0.0);
35295                set_text(PART:"bottom", value);
35296                set_state(PART:"bottom", "shrink", 0.0);
35297                set_text(PART:"bottom", value);
35298
35299                set_text(PART:"top_b", value);
35300
35301                replace_str(cur, 0, value);
35302
35303                set_state(PART:"bottom_sheet", "shrink", 0.0);
35304                set_state(PART:"top_sheet", "default", 0.0);
35305
35306                set_int(lock, 1);
35307                set_state(PART:"shadow", "default", 0.0);
35308                anim(0.2, "animator_top_down", 1);
35309             }
35310
35311             /* flip up */
35312             if ((type == MSG_STRING) && (id == 2)) {
35313                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35314
35315                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35316
35317                if (get_int(lock) == 1) {
35318                   replace_str(next, 0, value);
35319                   return;
35320                }
35321
35322                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35323
35324                set_text(PART:"top_b", tmp);
35325
35326                set_state(PART:"bottom", "shrink", 0.0);
35327                set_text(PART:"bottom", tmp);
35328                set_state(PART:"bottom", "default", 0.0);
35329                set_text(PART:"bottom", tmp);
35330
35331                replace_str(prev, 0, tmp);
35332
35333                set_state(PART:"top", "default", 0.0);
35334                set_text(PART:"top", value);
35335                set_state(PART:"top", "shrink", 0.0);
35336                set_text(PART:"top", value);
35337
35338                set_text(PART:"bottom_b", value);
35339
35340                replace_str(cur, 0, value);
35341
35342                set_state(PART:"bottom_sheet", "default", 0.0);
35343                set_state(PART:"top_sheet", "shrink", 0.0);
35344
35345                set_int(lock, 1);
35346                set_state(PART:"shadow", "full", 0.0);
35347                anim(0.2, "animator_bottom_up", 1);
35348             }
35349          }
35350       }
35351
35352       parts {
35353          part { name: "shad";
35354             mouse_events: 0;
35355             description { state: "default" 0.0;
35356                rel1.offset: -4 -4;
35357                rel1.to: "base";
35358                rel2.offset: 3 3;
35359                rel2.to: "base";
35360                image {
35361                   normal: "flip_base_shad.png";
35362                   border: 8 8 8 8;
35363                }
35364             }
35365          }
35366
35367          part { name: "base";
35368             scale: 1;
35369             description { state: "default" 0.0;
35370                rel1.offset: 4 4;
35371                rel2.offset: -5 -5;
35372                min: 24 48;
35373                image.normal: "flip_base.png";
35374             }
35375          }
35376
35377          part { name: "b";
35378             type: RECT;
35379             mouse_events: 1;
35380             description { state: "default" 0.0;
35381                rel1.to: "base";
35382                rel1.relative: 0.0 0.5;
35383                rel2.to: "base";
35384                color: 0 0 0 0;
35385             }
35386             description { state: "hidden" 0.0;
35387                inherit: "default" 0.0;
35388                visible: 0;
35389             }
35390          }
35391
35392          part { name: "t";
35393             type: RECT;
35394             mouse_events: 1;
35395             description { state: "default" 0.0;
35396                rel1.to: "base";
35397                rel2.to: "base";
35398                rel2.relative: 1.0 0.5;
35399                color: 0 0 0 0;
35400             }
35401             description { state: "hidden" 0.0;
35402                inherit: "default" 0.0;
35403                visible: 0;
35404             }
35405          }
35406
35407          part { name: "bottom_sheet_static";
35408             mouse_events: 0;
35409             description { state: "default" 0.0;
35410                visible: 1;
35411                rel1.to: "b";
35412                rel2.to: "b";
35413                image.normal: "flip_b.png";
35414             }
35415          }
35416
35417          part { name: "bottom_b";
35418             mouse_events: 0;
35419             clip_to: "bottom_clipper";
35420             type: TEXT;
35421             scale: 1;
35422             description { state: "default" 0.0;
35423                rel1.to: "base";
35424                rel2.to: "base";
35425                color: 0 0 0 255;
35426                color2: 0 0 0 255;
35427                text {
35428                   font: "Sans:style=Bold,Edje-Vera-Bold";
35429                   size: 30;
35430                   min: 1 1;
35431                   align: 0.5 0.5;
35432                }
35433             }
35434          }
35435
35436          part { name: "shadow";
35437             mouse_events: 0;
35438             description { state: "default" 0.0;
35439                rel1.to: "b";
35440                rel2.to: "b";
35441                rel2.relative: 1.0 0.0;
35442                image.normal: "flip_shad.png";
35443             }
35444             description { state: "half" 0.0;
35445                inherit: "default" 0.0;
35446                rel2.relative: 1.0 0.5;
35447             }
35448             description { state: "full" 0.0;
35449                inherit: "default" 0.0;
35450                rel2.relative: 1.0 1.0;
35451             }
35452          }
35453
35454          part { name: "bottom_sheet";
35455             mouse_events: 0;
35456             description { state: "default" 0.0;
35457                visible: 1;
35458                rel1.to: "b";
35459                rel2.to: "b";
35460                image.normal: "flip_b.png";
35461             }
35462             description { state: "shrink" 0.0;
35463                inherit: "default" 0.0;
35464                visible: 0;
35465                rel2.relative: 1.0 0.0;
35466             }
35467          }
35468
35469          part { name: "bottom";
35470             mouse_events: 0;
35471             clip_to: "bottom_clipper";
35472             type: TEXT;
35473             scale: 1;
35474             description { state: "default" 0.0;
35475                rel1.to: "base";
35476                rel2.to: "base";
35477                color: 0 0 0 255;
35478                color2: 0 0 0 255;
35479                text {
35480                   font: "Sans:style=Bold,Edje-Vera-Bold";
35481                   size: 30;
35482                   min: 1 1;
35483                   align: 0.5 0.5;
35484                }
35485             }
35486             description { state: "shrink" 0.0;
35487                inherit: "default" 0.0;
35488                color: 128 128 128 255;
35489                visible: 0;
35490                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35491             }
35492          }
35493
35494          part { name: "top_sheet_static";
35495             mouse_events: 0;
35496             description { state: "default" 0.0;
35497                visible: 1;
35498                rel1.to: "t";
35499                rel2.to: "t";
35500                image.normal: "flip_t.png";
35501             }
35502          }
35503
35504          part { name: "top_b";
35505             mouse_events: 0;
35506             clip_to: "top_clipper";
35507             type: TEXT;
35508             scale: 1;
35509             description { state: "default" 0.0;
35510                rel1.to: "base";
35511                rel2.to: "base";
35512                color: 0 0 0 255;
35513                color2: 0 0 0 255;
35514                text {
35515                   font: "Sans:style=Bold,Edje-Vera-Bold";
35516                   size: 30;
35517                   min: 1 1;
35518                   align: 0.5 0.5;
35519                   source: "top";
35520                }
35521             }
35522          }
35523
35524          part { name: "top_sheet";
35525             mouse_events: 0;
35526             description { state: "default" 0.0;
35527                visible: 1;
35528                rel1.to: "t";
35529                rel2.to: "t";
35530                image.normal: "flip_t.png";
35531             }
35532             description { state: "shrink" 0.0;
35533                inherit: "default" 0.0;
35534                color: 128 128 128 255;
35535                visible: 0;
35536                rel1.relative: 0.0 1.0;
35537             }
35538          }
35539
35540          part { name: "top";
35541             mouse_events: 0;
35542             clip_to: "top_clipper";
35543             type: TEXT;
35544             scale: 1;
35545             description { state: "default" 0.0;
35546                rel1.to: "base";
35547                rel2.to: "base";
35548                color: 0 0 0 255;
35549                color2: 0 0 0 255;
35550                text {
35551                   font: "Sans:style=Bold,Edje-Vera-Bold";
35552                   size: 30;
35553                   min: 1 1;
35554                   align: 0.5 0.5;
35555                }
35556             }
35557             description { state: "shrink" 0.0;
35558                inherit: "default" 0.0;
35559                visible: 0;
35560                rel1.relative: 0.0 0.5;
35561             }
35562          }
35563
35564          part { name: "arrow_top";
35565             mouse_events: 0;
35566             scale: 1;
35567             description { state: "default" 0.0;
35568                min: 15 15;
35569                max: 15 15;
35570                align: 0.5 0.0;
35571                rel1.to: "t";
35572                rel2.to: "t";
35573                image.normal: "arrow_up.png";
35574             }
35575             description { state: "hidden" 0.0;
35576                inherit: "default" 0.0;
35577                visible: 0;
35578             }
35579          }
35580          part { name: "arrow_bottom";
35581             mouse_events: 0;
35582             scale: 1;
35583             description { state: "default" 0.0;
35584                min: 15 15;
35585                max: 15 15;
35586                align: 0.5 1.0;
35587                rel1.to: "b";
35588                rel2.to: "b";
35589                image.normal: "arrow_down.png";
35590             }
35591             description { state: "hidden" 0.0;
35592                inherit: "default" 0.0;
35593                visible: 0;
35594             }
35595          }
35596
35597          part {
35598             type: RECT;
35599             mouse_events: 0;
35600             name: "top_clipper";
35601             description {
35602                state: "default" 0.0;
35603                rel1.to: "t";
35604                rel2.to: "t";
35605                visible: 1;
35606             }
35607          }
35608
35609          part {
35610             type: RECT;
35611             mouse_events: 0;
35612             name: "bottom_clipper";
35613             description {
35614                state: "default" 0.0;
35615                rel1.to: "b";
35616                rel2.to: "b";
35617                visible: 1;
35618             }
35619          }
35620       }
35621
35622       programs {
35623          program { name: "load";
35624             signal: "load";
35625             source: "";
35626             script {
35627                append_str(cur, "");
35628                append_str(prev, "");
35629                append_str(next, "");
35630                set_int(lock, 0);
35631             }
35632          }
35633
35634          program { name: "hide_arrows";
35635             signal: "elm,state,button,hidden";
35636             source: "elm";
35637             action: STATE_SET "hidden" 0.0;
35638             target: "arrow_top";
35639             target: "arrow_bottom";
35640             target: "t";
35641             target: "b";
35642          }
35643
35644          program { name: "show_arrows";
35645             signal: "elm,state,button,visible";
35646             source: "elm";
35647             action: STATE_SET "default" 0.0;
35648             target: "arrow_top";
35649             target: "arrow_bottom";
35650             target: "t";
35651             target: "b";
35652          }
35653
35654          program { name: "up";
35655             signal: "mouse,down,1";
35656             source: "t";
35657             action: SIGNAL_EMIT "elm,action,up,start" "";
35658          }
35659          program { name: "up,stop";
35660             signal: "mouse,up,1";
35661             source: "t";
35662             action: SIGNAL_EMIT "elm,action,up,stop" "";
35663          }
35664          program { name: "down";
35665             signal: "mouse,down,1";
35666             source: "b";
35667             action: SIGNAL_EMIT "elm,action,down,start" "";
35668          }
35669          program { name: "down,stop";
35670             signal: "mouse,up,1";
35671             source: "b";
35672             action: SIGNAL_EMIT "elm,action,down,stop" "";
35673          }
35674       }
35675    }
35676
35677 ////////////////////////////////////////////////////////////////////////////////
35678 // diskselector
35679 ////////////////////////////////////////////////////////////////////////////////
35680    group { name: "elm/diskselector/base/default";
35681       images {
35682          image: "bar_shine.png" COMP;
35683       }
35684
35685       parts {
35686          part { name: "bg";
35687             type: RECT;
35688             mouse_events: 0;
35689             description { state: "default" 0.0;
35690                color: 0 0 0 255;
35691             }
35692          }
35693          part { name: "shine_left";
35694             mouse_events:  0;
35695             description { state: "default" 0.0;
35696                rel1.to: "bg";
35697                rel1.relative: -0.1 0;
35698                rel2.to: "bg";
35699                rel2.relative: 0.1 1;
35700                image.normal: "bar_shine.png";
35701                color: 255 255 255 120;
35702             }
35703          }
35704          part { name: "shine_center";
35705             mouse_events:  0;
35706             description { state: "default" 0.0;
35707                rel1.to: "bg";
35708                rel1.relative: 0.2 0;
35709                rel2.to: "bg";
35710                rel2.relative: 0.8 1;
35711                image.normal: "bar_shine.png";
35712                color: 255 255 255 180;
35713             }
35714          }
35715          part { name: "shine_right";
35716             mouse_events:  0;
35717             description { state: "default" 0.0;
35718                rel1.to: "bg";
35719                rel1.relative: 0.9 0;
35720                rel2.to: "bg";
35721                rel2.relative: 1.1 1;
35722                image.normal: "bar_shine.png";
35723                color: 255 255 255 120;
35724             }
35725          }
35726          part { name: "clipper";
35727             type: RECT;
35728             mouse_events: 0;
35729             description { state: "default" 0.0;
35730                rel1.to: "bg";
35731                rel2.to: "bg";
35732                rel1.offset: 2 2;
35733                rel2.offset: -3 -3;
35734             }
35735          }
35736          part { name: "elm.swallow.content";
35737             clip_to: "clipper";
35738             type: SWALLOW;
35739             description { state: "default" 0.0;
35740                rel1.to: "bg";
35741                rel2.to: "bg";
35742             }
35743          }
35744       }
35745    }
35746
35747    group { name: "elm/diskselector/item/default";
35748
35749       data {
35750          item: "len_threshold" "14";
35751          item: "display_item_num" "3";
35752          item: "min_height" "-1";
35753          item: "min_width" "-1";
35754       }
35755
35756       parts {
35757          part { name: "elm.swallow.icon";
35758             type: SWALLOW;
35759             description { state: "default" 0.0;
35760                fixed: 1 0;
35761                align: 0.0 0.5;
35762                rel1 {
35763                   relative: 0 0;
35764                   offset: 4 4;
35765                }
35766                rel2 {
35767                   relative: 0 1;
35768                   offset: 4 -5;
35769                }
35770             }
35771             description { state: "show" 0.0;
35772                inherit: "default" 0.0;
35773             }
35774             description { state: "default_small" 0.0;
35775                inherit: "default" 0.0;
35776                rel1.relative: 0 0.2;
35777                rel2.relative: 0 0.8;
35778             }
35779             description { state: "left_side" 0.0;
35780                inherit: "default" 0.0;
35781                rel1.relative: 0 0.2;
35782                rel2.relative: 0 0.8;
35783                color: 255 255 255 160;
35784             }
35785             description { state: "right_side" 0.0;
35786                inherit: "left_side" 0.0;
35787                rel1.relative: 0.4 0.2;
35788                rel2.relative: 0.4 0.8;
35789                color: 255 255 255 160;
35790             }
35791          }
35792          part { name: "elm.text";
35793             type: TEXT;
35794             mouse_events: 0;
35795             scale: 1;
35796             description { state: "default" 0.0;
35797                rel1.relative: 1 0.0;
35798                rel1.to_x: "elm.swallow.icon";
35799                rel2.relative: 1.0 1.0;
35800                color: 255 255 255 255;
35801                visible: 0;
35802                text {
35803                   font: "Sans,Edje-Vera";
35804                   size: 13;
35805                   align: 0.5 0.5;
35806                   min: 0 1;
35807                }
35808             }
35809             description { state: "show" 0.0;
35810                inherit: "default" 0.0;
35811                visible: 1;
35812             }
35813             description { state: "default_small" 0.0;
35814                inherit: "default" 0.0;
35815                visible: 1;
35816                text.size: 10;
35817             }
35818             description { state: "left_side" 0.0;
35819                inherit: "default" 0.0;
35820                color: 172 172 172 255;
35821                text.size: 10;
35822                visible: 1;
35823                text.align: 0.2 0.5;
35824             }
35825             description { state: "right_side" 0.0;
35826                inherit: "default" 0.0;
35827                color: 172 172 172 255;
35828                visible: 1;
35829                text.size: 10;
35830                text.align: 0.8 0.5;
35831             }
35832          }
35833       }
35834
35835       programs {
35836          program { name: "center_text";
35837             signal: "elm,state,center";
35838             source: "elm";
35839             action: STATE_SET "show" 0.0;
35840             target: "elm.text";
35841             target: "elm.swallow.icon";
35842          }
35843          program { name: "center_small_text";
35844             signal: "elm,state,center_small";
35845             source: "elm";
35846             action: STATE_SET "default_small" 0.0;
35847             target: "elm.text";
35848             target: "elm.swallow.icon";
35849          }
35850          program { name: "l_side_text";
35851             signal: "elm,state,left_side";
35852             source: "elm";
35853             action: STATE_SET "left_side" 0.0;
35854             target: "elm.text";
35855             target: "elm.swallow.icon";
35856          }
35857          program { name: "r_side_text";
35858             signal: "elm,state,right_side";
35859             source: "elm";
35860             action: STATE_SET "right_side" 0.0;
35861             target: "elm.text";
35862             target: "elm.swallow.icon";
35863          }
35864       }
35865    }
35866
35867    group { name: "elm/entry/path/separator/default";
35868       images.image: "arrow_right.png" COMP;
35869       parts {
35870          part { name: "icon";
35871             mouse_events: 0;
35872             description { state: "default" 0.0;
35873                image.normal: "arrow_right.png";
35874                max: 64 64;
35875                aspect: 1.0 1.0;
35876             }
35877          }
35878       }
35879    }
35880
35881    group { name: "elm/fileselector/base/default";
35882       data {
35883          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35884       }
35885       parts {
35886          part { name: "elm.swallow.up";
35887             type: SWALLOW;
35888             description { state: "default" 0.0;
35889                align: 0.0 0.0;
35890                min: 10 10;
35891                fixed: 1 1;
35892                rel2 {
35893                   relative: 0.0 0.0;
35894                   offset: 0 0;
35895                }
35896             }
35897          }
35898          part { name: "elm.swallow.home";
35899             type: SWALLOW;
35900             description { state: "default" 0.0;
35901                align: 0.0 0.0;
35902                min: 10 10;
35903                fixed: 1 1;
35904                rel1 {
35905                   to: "elm.swallow.up";
35906                   relative: 1.0 0.0;
35907                   offset: 5 0;
35908                }
35909                rel2 {
35910                   to: "elm.swallow.up";
35911                   relative: 1.0 1.0;
35912                   offset: 20 -1;
35913                }
35914             }
35915          }
35916          part { name: "elm.swallow.files";
35917             type: SWALLOW;
35918             description { state: "default" 0.0;
35919                align: 1.0 0.0;
35920                min: 10 10;
35921                fixed: 1 1;
35922                rel1 {
35923                   to_y: "elm.swallow.home";
35924                   relative: 0.0 1.0;
35925                   offset: 0 0;
35926                }
35927                rel2 {
35928                   to_y: "elm.swallow.path";
35929                   relative: 1.0 0.0;
35930                   offset: -1 -1;
35931                }
35932             }
35933          }
35934          part { name: "elm.swallow.path";
35935             type: SWALLOW;
35936             description { state: "default" 0.0;
35937                align: 0.5 1.0;
35938                fixed: 1 1;
35939                rel1 {
35940                   to_y: "elm.swallow.filename";
35941                   relative: 0.0 0.0;
35942                   offset: 0 -1;
35943                }
35944                rel2 {
35945                   to_y: "elm.swallow.filename";
35946                   relative: 1.0 0.0;
35947                   offset: -1 -1;
35948                }
35949             }
35950          }
35951          part { name: "elm.swallow.filename";
35952             type: SWALLOW;
35953             description { state: "default" 0.0;
35954                align: 0.5 1.0;
35955                fixed: 1 1;
35956                rel1 {
35957                   to_y: "elm.swallow.ok";
35958                   relative: 0.0 0.0;
35959                   offset: 0 -1;
35960                }
35961                rel2 {
35962                   to_y: "elm.swallow.ok";
35963                   relative: 1.0 0.0;
35964                   offset: -1 -1;
35965                }
35966             }
35967          }
35968          part { name: "elm.swallow.cancel";
35969             type: SWALLOW;
35970             description { state: "default" 0.0;
35971                align: 1.0 1.0;
35972                fixed: 1 1;
35973                rel1 {
35974                   to: "elm.swallow.ok";
35975                   relative: 0.0 0.0;
35976                   offset: -3 0;
35977                }
35978                rel2 {
35979                   to: "elm.swallow.ok";
35980                   relative: 0.0 1.0;
35981                   offset: -3 -1;
35982                }
35983             }
35984          }
35985          part { name: "elm.swallow.ok";
35986             type: SWALLOW;
35987             description { state: "default" 0.0;
35988                align: 1.0 1.0;
35989                fixed: 1 1;
35990                rel1 {
35991                   relative: 1.0 1.0;
35992                   offset: -1 -1;
35993                }
35994             }
35995          }
35996       }
35997    }
35998
35999    group { name: "elm/fileselector_entry/base/default";
36000       parts {
36001          part { name: "elm.swallow.entry";
36002             type: SWALLOW;
36003             description { state: "default" 0.0;
36004                align: 0.0 0.0;
36005                min: 50 10;
36006                rel2 { to_x: "elm.swallow.button";
36007                   relative: 0.0 1.0;
36008                   offset: -1 -1;
36009                }
36010             }
36011          }
36012          part { name: "elm.swallow.button";
36013             type: SWALLOW;
36014             description { state: "default" 0.0;
36015                align: 1.0 0.0;
36016                min: 10 10;
36017                fixed: 1 1;
36018                rel1 {
36019                   relative: 1.0 0.0;
36020                   offset: -21 0;
36021                }
36022             }
36023          }
36024       }
36025    }
36026
36027 ////////////////////////////////////////////////////////////////////////
36028 // Standard layouts to be used                                        //
36029 ////////////////////////////////////////////////////////////////////////
36030    /* application with toolbar and main content area */
36031    group { name: "elm/layout/application/toolbar-content";
36032       parts {
36033          part { name: "elm.swallow.content";
36034             type: SWALLOW;
36035             description { state: "default" 0.0;
36036                rel1 { to_y: "elm.external.toolbar";
36037                   relative: 0.0 1.0;
36038                   offset: -1 1;
36039                }
36040             }
36041          }
36042
36043          part { name: "elm.external.toolbar";
36044             type: EXTERNAL;
36045             source: "elm/toolbar";
36046             description { state: "default" 0.0;
36047                align: 0.5 0.0;
36048                fixed: 0 1;
36049                rel2 {
36050                   relative: 1.0 0.0;
36051                   offset: -1 47;
36052                }
36053             }
36054          }
36055       }
36056    }
36057
36058    /* application with toolbar and main content area with a back button and title area */
36059    group { name: "elm/layout/application/toolbar-content-back";
36060       parts {
36061          part { name: "elm.swallow.content";
36062             type: SWALLOW;
36063             description { state: "default" 0.0;
36064                rel1 { to_y: "title_clipper";
36065                   relative: 0.0 1.0;
36066                   offset: -1 1;
36067                }
36068             }
36069          }
36070
36071          part { name: "elm.external.toolbar";
36072             type: EXTERNAL;
36073             source: "elm/toolbar";
36074             description { state: "default" 0.0;
36075                fixed: 0 1;
36076                align: 0.5 0.0;
36077                rel2 {
36078                   relative: 1.0 0.0;
36079                   offset: -1 47;
36080                }
36081             }
36082          }
36083          part { name: "title_clipper";
36084             type: RECT;
36085             description { state: "default" 0.0;
36086                visible: 1;
36087                rel1 {
36088                   to_y: "back";
36089                }
36090                rel2 {
36091                   to_y: "back";
36092                }
36093             }
36094             description { state: "hidden" 0.0;
36095                inherit: "default" 0.0;
36096                visible: 0;
36097                rel2 {
36098                   relative: 1.0 0.0;
36099                }
36100             }
36101          }
36102          part { name: "back_clipper";
36103             type: RECT;
36104             clip_to: "title_clipper";
36105             description { state: "default" 0.0;
36106                visible: 1;
36107             }
36108             description { state: "hidden" 0.0;
36109                visible: 0;
36110             }
36111          }
36112          part { name: "back";
36113             type: EXTERNAL;
36114             source: "elm/button";
36115             clip_to: "back_clipper";
36116             description { state: "default" 0.0;
36117                align: 0.0 0.0;
36118                fixed: 1 1;
36119                rel1 { to_y: "elm.external.toolbar";
36120                   relative: 0.0 1.0;
36121                   offset: 0 1;
36122                }
36123                rel2 { to_y: "elm.external.toolbar";
36124                   relative: 0.0 1.0;
36125                   offset: 50 32;
36126                }
36127                params.string: "label" "Back";
36128             }
36129          }
36130          programs {
36131             program {
36132                signal: "clicked";
36133                source: "back";
36134                action: SIGNAL_EMIT "elm,action,back" "";
36135             }
36136             program {
36137                signal: "elm,back,hide";
36138                source: "elm";
36139                action: STATE_SET "hidden" 0.0;
36140                target: "back_clipper";
36141             }
36142             program {
36143                signal: "elm,back,show";
36144                source: "elm";
36145                action: STATE_SET "default" 0.0;
36146                target: "back_clipper";
36147             }
36148             program {
36149                signal: "elm,title,hide";
36150                source: "elm";
36151                action: STATE_SET "hidden" 0.0;
36152                transition: LINEAR 0.1;
36153                target: "title_clipper";
36154             }
36155             program {
36156                signal: "elm,title,show";
36157                source: "elm";
36158                action: STATE_SET "default" 0.0;
36159                target: "title_clipper";
36160             }
36161          }
36162
36163          part { name: "elm.swallow.end";
36164             type: SWALLOW;
36165             description { state: "default" 0.0;
36166                align: 1.0 0.0;
36167                fixed: 1 1;
36168                rel1 { to_y: "elm.external.toolbar";
36169                   relative: 1.0 1.0;
36170                   offset: -2 1;
36171                }
36172                rel2 { to_y: "elm.external.toolbar";
36173                   relative: 1.0 1.0;
36174                   offset: -1 32;
36175                }
36176             }
36177          }
36178
36179          part { name: "elm.text.title";
36180             type: TEXT;
36181             effect: SOFT_SHADOW;
36182             scale: 1;
36183             description { state: "default" 0.0;
36184                rel1 { to_y: "elm.external.toolbar";
36185                   to_x: "back";
36186                   relative: 1.0 1.0;
36187                   offset: 2 1;
36188                }
36189                rel2 { to_y: "back";
36190                   to_x: "elm.swallow.end";
36191                   relative: 0.0 1.0;
36192                   offset: -3 -1;
36193                }
36194                text {
36195                   font: "Sans:style=Bold";
36196                   size: 12;
36197                }
36198             }
36199          }
36200       }
36201    }
36202
36203    /* application with toolbar and main content area with a back and next buttons and title area */
36204    group { name: "elm/layout/application/toolbar-content-back-next";
36205       parts {
36206          part { name: "elm.swallow.content";
36207             type: SWALLOW;
36208             description { state: "default" 0.0;
36209                rel1 { to_y: "title_clipper";
36210                   relative: 0.0 1.0;
36211                   offset: -1 1;
36212                }
36213             }
36214          }
36215
36216          part { name: "elm.external.toolbar";
36217             type: EXTERNAL;
36218             source: "elm/toolbar";
36219             description { state: "default" 0.0;
36220                fixed: 0 1;
36221                align: 0.5 0.0;
36222                rel2 {
36223                   relative: 1.0 0.0;
36224                   offset: -1 47;
36225                }
36226             }
36227          }
36228          part { name: "title_clipper";
36229             type: RECT;
36230             description { state: "default" 0.0;
36231                visible: 1;
36232                rel1 {
36233                   to_y: "back";
36234                }
36235                rel2 {
36236                   to_y: "back";
36237                }
36238             }
36239             description { state: "hidden" 0.0;
36240                inherit: "default" 0.0;
36241                visible: 0;
36242                rel2 {
36243                   relative: 1.0 0.0;
36244                }
36245             }
36246          }
36247          part { name: "back";
36248             type: EXTERNAL;
36249             source: "elm/button";
36250             clip_to: "back_clipper";
36251             description { state: "default" 0.0;
36252                align: 0.0 0.0;
36253                fixed: 1 1;
36254                rel1 { to_y: "elm.external.toolbar";
36255                   relative: 0.0 1.0;
36256                   offset: 0 1;
36257                }
36258                rel2 { to_y: "elm.external.toolbar";
36259                   relative: 0.0 1.0;
36260                   offset: 50 32;
36261                }
36262                params.string: "label" "Back";
36263             }
36264          }
36265          part { name: "back_clipper";
36266             type: RECT;
36267             clip_to: "title_clipper";
36268             description { state: "default" 0.0;
36269                visible: 1;
36270             }
36271             description { state: "hidden" 0.0;
36272                visible: 0;
36273             }
36274          }
36275          part { name: "next";
36276             type: EXTERNAL;
36277             source: "elm/button";
36278             clip_to: "next_clipper";
36279             description { state: "default" 0.0;
36280                align: 1.0 0.0;
36281                fixed: 1 1;
36282                rel1 { to_y: "elm.external.toolbar";
36283                   relative: 1.0 1.0;
36284                   offset: -2 1;
36285                }
36286                rel2 { to_y: "elm.external.toolbar";
36287                   relative: 1.0 1.0;
36288                   offset: -1 32;
36289                }
36290                params.string: "label" "Next";
36291            }
36292          }
36293          part { name: "next_clipper";
36294             type: RECT;
36295             clip_to: "title_clipper";
36296             description { state: "default" 0.0;
36297                visible: 1;
36298             }
36299             description { state: "hidden" 0.0;
36300                visible: 0;
36301             }
36302          }
36303          programs {
36304             program {
36305                signal: "clicked";
36306                source: "back";
36307                action: SIGNAL_EMIT "elm,action,back" "";
36308             }
36309             program {
36310                signal: "elm,title,hide";
36311                source: "elm";
36312                action: STATE_SET "hidden" 0.0;
36313                transition: LINEAR 0.1;
36314                target: "title_clipper";
36315             }
36316             program {
36317                signal: "elm,title,show";
36318                source: "elm";
36319                action: STATE_SET "default" 0.0;
36320                target: "title_clipper";
36321             }
36322             program {
36323                signal: "elm,back,hide";
36324                source: "elm";
36325                action: STATE_SET "hidden" 0.0;
36326                target: "back_clipper";
36327             }
36328             program {
36329                signal: "elm,back,show";
36330                source: "elm";
36331                action: STATE_SET "default" 0.0;
36332                target: "back_clipper";
36333             }
36334             program {
36335                signal: "clicked";
36336                source: "next";
36337                action: SIGNAL_EMIT "elm,action,next" "";
36338             }
36339             program {
36340                signal: "elm,next,hide";
36341                source: "elm";
36342                action: STATE_SET "hidden" 0.0;
36343                target: "next_clipper";
36344             }
36345             program {
36346                signal: "elm,next,show";
36347                source: "elm";
36348                action: STATE_SET "default" 0.0;
36349                target: "next_clipper";
36350             }
36351          }
36352          part { name: "elm.text.title";
36353             type: TEXT;
36354             effect: SOFT_SHADOW;
36355             scale: 1;
36356             clip_to: "title_clipper";
36357             description { state: "default" 0.0;
36358                rel1 { to_y: "elm.external.toolbar";
36359                   to_x: "back";
36360                   relative: 1.0 1.0;
36361                   offset: 2 1;
36362                }
36363                rel2 { to_y: "back";
36364                   to_x: "next";
36365                   relative: 0.0 1.0;
36366                   offset: -3 -1;
36367                }
36368                text {
36369                   font: "Sans:style=Bold";
36370                   size: 12;
36371                }
36372             }
36373          }
36374       }
36375    }
36376    /* application with a main content area with a back button and title area */
36377    group { name: "elm/layout/application/content-back";
36378       parts {
36379          part { name: "elm.swallow.content";
36380             type: SWALLOW;
36381             description { state: "default" 0.0;
36382                rel1 { to_y: "title_clipper";
36383                   relative: 0.0 1.0;
36384                   offset: -1 1;
36385                }
36386             }
36387          }
36388          part { name: "title_clipper";
36389             type: RECT;
36390             description { state: "default" 0.0;
36391                visible: 1;
36392                rel1 {
36393                   to_y: "back";
36394                }
36395                rel2 {
36396                   to_y: "back";
36397                }
36398             }
36399             description { state: "hidden" 0.0;
36400                inherit: "default" 0.0;
36401                visible: 0;
36402                rel2 {
36403                   relative: 1.0 0.0;
36404                }
36405             }
36406          }
36407          part { name: "back_clipper";
36408             type: RECT;
36409             clip_to: "title_clipper";
36410             description { state: "default" 0.0;
36411                visible: 1;
36412             }
36413             description { state: "hidden" 0.0;
36414                visible: 0;
36415             }
36416          }
36417          part { name: "back";
36418             type: EXTERNAL;
36419             source: "elm/button";
36420             clip_to: "back_clipper";
36421             description { state: "default" 0.0;
36422                align: 0.0 0.0;
36423                fixed: 1 1;
36424                rel1 {
36425                   relative: 0.0 0.0;
36426                   offset: 0 1;
36427                }
36428                rel2 {
36429                   relative: 0.0 0.0;
36430                   offset: 50 32;
36431                }
36432                params.string: "label" "Back";
36433             }
36434          }
36435          programs {
36436             program {
36437                signal: "clicked";
36438                source: "back";
36439                action: SIGNAL_EMIT "elm,action,back" "";
36440             }
36441             program {
36442                signal: "elm,back,hide";
36443                source: "elm";
36444                action: STATE_SET "hidden" 0.0;
36445                target: "back_clipper";
36446             }
36447             program {
36448                signal: "elm,back,show";
36449                source: "elm";
36450                action: STATE_SET "default" 0.0;
36451                target: "back_clipper";
36452             }
36453             program {
36454                signal: "elm,title,hide";
36455                source: "elm";
36456                action: STATE_SET "hidden" 0.0;
36457                transition: LINEAR 0.1;
36458                target: "title_clipper";
36459             }
36460             program {
36461                signal: "elm,title,show";
36462                source: "elm";
36463                action: STATE_SET "default" 0.0;
36464                target: "title_clipper";
36465             }
36466          }
36467
36468          part { name: "elm.swallow.end";
36469             type: SWALLOW;
36470             description { state: "default" 0.0;
36471                align: 1.0 0.0;
36472                fixed: 1 1;
36473                rel1 {
36474                   relative: 1.0 0.0;
36475                   offset: -2 1;
36476                }
36477                rel2 {
36478                   relative: 1.0 1.0;
36479                   offset: -1 32;
36480                }
36481             }
36482          }
36483
36484          part { name: "elm.text.title";
36485             type: TEXT;
36486             effect: SOFT_SHADOW;
36487             scale: 1;
36488             description { state: "default" 0.0;
36489                rel1 {
36490                   to_x: "back";
36491                   relative: 1.0 0.0;
36492                   offset: 2 1;
36493                }
36494                rel2 { to_y: "back";
36495                   to_x: "elm.swallow.end";
36496                   relative: 0.0 1.0;
36497                   offset: -3 -1;
36498                }
36499                text {
36500                   font: "Sans:style=Bold";
36501                   size: 12;
36502                }
36503             }
36504          }
36505       }
36506    }
36507
36508    /* application with a main content area with a back and next buttons and title area */
36509    group { name: "elm/layout/application/content-back-next";
36510       parts {
36511          part { name: "elm.swallow.content";
36512             type: SWALLOW;
36513             description { state: "default" 0.0;
36514                rel1 { to_y: "title_clipper";
36515                   relative: 0.0 1.0;
36516                   offset: -1 1;
36517                }
36518             }
36519          }
36520
36521          part { name: "title_clipper";
36522             type: RECT;
36523             description { state: "default" 0.0;
36524                visible: 1;
36525                rel1 {
36526                   to_y: "back";
36527                }
36528                rel2 {
36529                   to_y: "back";
36530                }
36531             }
36532             description { state: "hidden" 0.0;
36533                inherit: "default" 0.0;
36534                visible: 0;
36535                rel2 {
36536                   relative: 1.0 0.0;
36537                }
36538             }
36539          }
36540          part { name: "back";
36541             type: EXTERNAL;
36542             source: "elm/button";
36543             clip_to: "back_clipper";
36544             description { state: "default" 0.0;
36545                align: 0.0 0.0;
36546                fixed: 1 1;
36547                rel1 {
36548                   relative: 0.0 0.0;
36549                   offset: 0 1;
36550                }
36551                rel2 {
36552                   relative: 0.0 0.0;
36553                   offset: 50 32;
36554                }
36555                params.string: "label" "Back";
36556             }
36557          }
36558          part { name: "back_clipper";
36559             type: RECT;
36560             clip_to: "title_clipper";
36561             description { state: "default" 0.0;
36562                visible: 1;
36563             }
36564             description { state: "hidden" 0.0;
36565                visible: 0;
36566             }
36567          }
36568          part { name: "next";
36569             type: EXTERNAL;
36570             source: "elm/button";
36571             clip_to: "next_clipper";
36572             description { state: "default" 0.0;
36573                align: 1.0 0.0;
36574                fixed: 1 1;
36575                rel1 {
36576                   relative: 1.0 0.0;
36577                   offset: -2 1;
36578                }
36579                rel2 {
36580                   relative: 1.0 0.0;
36581                   offset: -1 32;
36582                }
36583                params.string: "label" "Next";
36584            }
36585          }
36586          part { name: "next_clipper";
36587             type: RECT;
36588             clip_to: "title_clipper";
36589             description { state: "default" 0.0;
36590                visible: 1;
36591             }
36592             description { state: "hidden" 0.0;
36593                visible: 0;
36594             }
36595          }
36596          programs {
36597             program {
36598                signal: "clicked";
36599                source: "back";
36600                action: SIGNAL_EMIT "elm,action,back" "";
36601             }
36602             program {
36603                signal: "elm,title,hide";
36604                source: "elm";
36605                action: STATE_SET "hidden" 0.0;
36606                transition: LINEAR 0.1;
36607                target: "title_clipper";
36608             }
36609             program {
36610                signal: "elm,title,show";
36611                source: "elm";
36612                action: STATE_SET "default" 0.0;
36613                target: "title_clipper";
36614             }
36615             program {
36616                signal: "elm,back,hide";
36617                source: "elm";
36618                action: STATE_SET "hidden" 0.0;
36619                target: "back_clipper";
36620             }
36621             program {
36622                signal: "elm,back,show";
36623                source: "elm";
36624                action: STATE_SET "default" 0.0;
36625                target: "back_clipper";
36626             }
36627             program {
36628                signal: "clicked";
36629                source: "next";
36630                action: SIGNAL_EMIT "elm,action,next" "";
36631             }
36632             program {
36633                signal: "elm,next,hide";
36634                source: "elm";
36635                action: STATE_SET "hidden" 0.0;
36636                target: "next_clipper";
36637             }
36638             program {
36639                signal: "elm,next,show";
36640                source: "elm";
36641                action: STATE_SET "default" 0.0;
36642                target: "next_clipper";
36643             }
36644          }
36645          part { name: "elm.text.title";
36646             type: TEXT;
36647             effect: SOFT_SHADOW;
36648             scale: 1;
36649             clip_to: "title_clipper";
36650             description { state: "default" 0.0;
36651                rel1 {
36652                   to_x: "back";
36653                   relative: 1.0 0.0;
36654                   offset: 2 1;
36655                }
36656                rel2 { to_y: "back";
36657                   to_x: "next";
36658                   relative: 0.0 1.0;
36659                   offset: -3 -1;
36660                }
36661                text {
36662                   font: "Sans:style=Bold";
36663                   size: 12;
36664                }
36665             }
36666          }
36667       }
36668    }
36669
36670    /* application with toolbar and main content area as a vertical box */
36671    group { name: "elm/layout/application/toolbar-vbox";
36672       parts {
36673          part { name: "elm.box.content";
36674             type: BOX;
36675             description { state: "default" 0.0;
36676                rel1 { to_y: "elm.external.toolbar";
36677                   relative: 0.0 1.0;
36678                   offset: -1 1;
36679                }
36680                box.layout: "vertical";
36681             }
36682          }
36683
36684          part { name: "elm.external.toolbar";
36685             type: EXTERNAL;
36686             source: "elm/toolbar";
36687             description { state: "default" 0.0;
36688                align: 0.5 0.0;
36689                fixed: 0 1;
36690                rel2 {
36691                   relative: 1.0 0.0;
36692                   offset: -1 47;
36693                }
36694             }
36695          }
36696       }
36697    }
36698
36699    /* application with toolbar and main content area as a table */
36700    group { name: "elm/layout/application/toolbar-table";
36701       parts {
36702          part { name: "elm.table.content";
36703             type: TABLE;
36704             description { state: "default" 0.0;
36705                rel1 { to_y: "elm.external.toolbar";
36706                   relative: 0.0 1.0;
36707                   offset: -1 1;
36708                }
36709             }
36710          }
36711
36712          part { name: "elm.external.toolbar";
36713             type: EXTERNAL;
36714             source: "elm/toolbar";
36715             description { state: "default" 0.0;
36716                align: 0.5 0.0;
36717                fixed: 0 1;
36718                rel2 {
36719                   relative: 1.0 0.0;
36720                   offset: -1 47;
36721                }
36722             }
36723          }
36724       }
36725    }
36726
36727 ///////////////////////////////////////////////////////////////////////////////
36728    group { name: "elm/segment_control/base/default";
36729 #define SEGMENT_TYPE_SINGLE 1
36730 #define SEGMENT_TYPE_LEFT 2
36731 #define SEGMENT_TYPE_MIDDLE 3
36732 #define SEGMENT_TYPE_RIGHT 4
36733 #define SEGMENT_STATE_NORMAL 1
36734 #define SEGMENT_STATE_PRESSED 2
36735 #define SEGMENT_STATE_SELECTED 3
36736 #define SEGMENT_STATUS_ENABLED 0
36737 #define SEGMENT_STATUS_DISABLED 1
36738       parts {
36739          part { name: "bg";
36740             type: RECT;
36741             mouse_events: 0;
36742             scale: 1;
36743             description {
36744                state: "default" 0.0;
36745                color: 0 0 0 0;
36746                min: 100 40;
36747             }
36748          }
36749       }
36750    }
36751    group { name: "elm/segment_control/item/default";
36752       images {
36753          image: "seg_single_pressed.png" COMP;
36754          image: "seg_single_selected.png" COMP;
36755          image: "seg_single_normal.png" COMP;
36756
36757          image: "seg_left_pressed.png" COMP;
36758          image: "seg_left_selected.png" COMP;
36759          image: "seg_left_normal.png" COMP;
36760
36761          image: "seg_middle_pressed.png" COMP;
36762          image: "seg_middle_selected.png" COMP;
36763          image: "seg_middle_normal.png" COMP;
36764
36765          image: "seg_right_pressed.png" COMP;
36766          image: "seg_right_selected.png" COMP;
36767          image: "seg_right_normal.png" COMP;
36768       }
36769       parts {
36770          part { name: "segment";
36771             mouse_events: 1;
36772             scale: 1;
36773             description { state: "default" 0.0;
36774                min: 1 1;
36775                visible: 0;
36776                image {
36777                   normal: "seg_single_normal.png";
36778                   border: 7 7 7 7;
36779                   border_scale: 1;
36780                   middle: 1;
36781                }
36782             }
36783             description { state: "default_single" 0.0;
36784                inherit: "default" 0.0;
36785                visible: 1;
36786                image {
36787                   normal: "seg_single_normal.png";
36788                   border: 7 7 7 7;
36789                }
36790             }
36791             description { state: "default_left" 0.0;
36792                inherit: "default" 0.0;
36793                visible: 1;
36794                image {
36795                normal: "seg_left_normal.png";
36796                   border:  6 1 7 7;
36797                }
36798             }
36799             description { state: "default_right" 0.0;
36800                inherit: "default" 0.0;
36801                visible: 1;
36802                image {
36803                   normal: "seg_right_normal.png";
36804                   border: 1 6 7 7;
36805                }
36806             }
36807             description { state: "default_middle" 0.0;
36808                inherit: "default" 0.0;
36809                visible: 1;
36810                image {
36811                   normal: "seg_middle_normal.png";
36812                   border: 2 2 2 2;
36813                }
36814             }
36815             description { state: "pressed_single" 0.0;
36816                inherit: "default" 0.0;
36817                visible: 1;
36818                image {
36819                   normal: "seg_single_pressed.png";
36820                   border: 7 7 7 7;
36821                }
36822             }
36823             description { state: "pressed_left" 0.0;
36824                inherit: "default" 0.0;
36825                visible: 1;
36826                image {
36827                   normal: "seg_left_pressed.png";
36828                   border:  6 1 7 7;
36829                }
36830             }
36831             description { state: "pressed_right" 0.0;
36832                inherit: "default" 0.0;
36833                visible: 1;
36834                image {
36835                   normal: "seg_right_pressed.png";
36836                   border: 1 6 7 7;
36837                }
36838             }
36839             description { state: "pressed_middle" 0.0;
36840                inherit: "default" 0.0;
36841                visible: 1;
36842                image {
36843                   normal: "seg_middle_pressed.png";
36844                   border: 1 1 2 2;
36845                }
36846             }
36847             description { state: "selected_single" 0.0;
36848                inherit: "default" 0.0;
36849                visible: 1;
36850                image {
36851                   normal: "seg_single_selected.png";
36852                   border: 7 7 7 7;
36853                }
36854             }
36855             description { state: "selected_left" 0.0;
36856                inherit: "default" 0.0;
36857                visible: 1;
36858                image {
36859                   normal: "seg_left_selected.png";
36860                   border:  6 3 7 7;
36861                }
36862             }
36863             description { state: "selected_right" 0.0;
36864                inherit: "default" 0.0;
36865                visible: 1;
36866                image {
36867                   normal: "seg_right_selected.png";
36868                   border: 3 6 7 7;
36869                }
36870             }
36871             description { state: "selected_middle" 0.0;
36872                inherit: "default" 0.0;
36873                visible: 1;
36874                image {
36875                   normal: "seg_middle_selected.png";
36876                   border: 3 3 3 3;
36877                }
36878             }
36879          }
36880          part { name: "padding_left";
36881             type: RECT;
36882             scale: 1;
36883             mouse_events: 0;
36884             description { state: "default" 0.0;
36885                align: 0.0 0.0;
36886                rel1.relative: 0.0 0.0;
36887                rel2.relative: 0.0 1.0;
36888                min: 2 2;
36889                max: 2 2;
36890                fixed: 1 0;
36891                color: 0 0 0 0;
36892             }
36893          }
36894          part { name: "padding_right";
36895             type: RECT;
36896             scale: 1;
36897             mouse_events: 0;
36898             description { state: "default" 0.0;
36899                align: 1.0 0.0;
36900                rel1.relative: 1.0 0.0;
36901                rel2.relative: 1.0 1.0;
36902                min: 2 2;
36903                max: 2 2;
36904                fixed: 1 0;
36905                color: 0 0 0 0;
36906             }
36907          }
36908          part { name: "padding_top";
36909             type: RECT;
36910             scale: 1;
36911             mouse_events: 0;
36912             description { state: "default" 0.0;
36913                align: 0.0 0.0;
36914                rel1.relative: 0.0 0.0;
36915                rel2.relative: 1.0 0.0;
36916                min: 2 2;
36917                max: 2 2;
36918                fixed: 0 1;
36919                color: 0 0 0 0;
36920             }
36921          }
36922          part { name: "padding_bottom";
36923             type: RECT;
36924             scale: 1;
36925             mouse_events: 0;
36926             description { state: "default" 0.0;
36927                align: 1.0 1.0;
36928                rel1.relative: 0.0 1.0;
36929                rel2.relative: 1.0 1.0;
36930                min: 2 2;
36931                max: 2 2;
36932                fixed: 0 1;
36933                color: 0 0 0 0;
36934             }
36935          }
36936          part { name: "icon.bg";
36937             type: RECT;
36938             scale: 1;
36939             mouse_events: 0;
36940             description { state: "default" 0.0;
36941                visible: 1;
36942                fixed: 1 0;
36943                rel1 {
36944                   to_x: "padding_left";
36945                   to_y: "padding_top";
36946                   relative: 1.0 1.0;
36947                }
36948                rel2 {
36949                   to: "elm.swallow.icon";
36950                   relative: 1.0 1.0;
36951                }
36952                align: 0.0 0.5;
36953                color: 0 0 0 0;
36954             }
36955          }
36956          part { name: "padding_icon_text";
36957             type: RECT;
36958             scale: 1;
36959             mouse_events: 0;
36960             description { state: "default" 0.0; //when only icon or no icon is there
36961                align: 0.0 0.0;
36962                rel1 {
36963                   to: "icon.bg";
36964                   relative: 1.0 0.0;
36965                }
36966                rel2 {
36967                   to: "icon.bg";
36968                   relative: 1.0 1.0;
36969                }
36970                fixed: 1 0;
36971                min: 0 0;
36972                color: 0 0 0 0;
36973             }
36974             description { state: "icononly" 0.0;
36975                inherit: "default" 0.0;
36976             }
36977             description { state: "visible" 0.0; //when icon is visible
36978                inherit: "default" 0.0;
36979                min: 2 0;
36980             }
36981          }
36982          part { name: "elm.swallow.icon";
36983             type: SWALLOW;
36984             scale: 1;
36985             description { state: "default" 0.0;
36986                visible: 0;
36987                align: 0.0 0.5;
36988                rel1 {
36989                   to_x: "padding_left";
36990                   to_y: "padding_top";
36991                   relative: 1.0 1.0;
36992                }
36993                rel2 {
36994                   to_y: "padding_bottom";
36995                   relative: 0.0 0.0;
36996                }
36997                fixed: 1 0;
36998                aspect: 1.0 1.0;
36999                aspect_preference: BOTH;
37000             }
37001             description { state: "visible" 0.0;
37002                inherit: "default" 0.0;
37003                visible: 1;
37004                rel2 {
37005                   to_y: "padding_bottom";
37006                   relative: 0.3 0.0;
37007                }
37008             }
37009             description { state: "icononly" 0.0;
37010                inherit: "default" 0.0;
37011                visible: 1;
37012                rel2 {
37013                   to_x: "padding_right";
37014                   to_y: "padding_bottom";
37015                   relative: 0.0 0.0;
37016                }
37017                align: 0.5 0.5;
37018             }
37019          }
37020          part { name: "elm.text";
37021             type: TEXT;
37022             mouse_events: 0;
37023             scale: 1;
37024             description {
37025                state: "default" 0.0;
37026                visible: 0;
37027                fixed: 1 1;
37028                min: 1 1;
37029                rel1 {
37030                   to_x: "padding_icon_text";
37031                   relative: 1.0 1.0;
37032                }
37033                rel2 {
37034                   to_x: "padding_right";
37035                   relative: 0.0 0.0;
37036                }
37037                color: 224 224 224 255;
37038                color3: 0 0 0 64;
37039                text {
37040                   font: "Sans";
37041                   ellipsis: 0.0;
37042                   fit: 1 1;
37043                   size: 24;
37044                   size_range: 8 36;
37045                   min: 0 1;
37046                }
37047             }
37048             description { state: "normal" 0.0;
37049                inherit: "default" 0.0;
37050                visible: 1;
37051             }
37052             description { state: "pressed" 0.0;
37053                inherit: "default" 0.0;
37054                visible: 1;
37055                color: 0 0 0 255;
37056             }
37057             description { state: "selected" 0.0;
37058                inherit: "default" 0.0;
37059                visible: 1;
37060                color: 50 50 50 255;
37061             }
37062             description { state: "disabled" 0.0;
37063                inherit: "default" 0.0;
37064                visible: 1;
37065                color: 200 200 200 255;
37066             }
37067          }
37068          part { name: "disabler";
37069             repeat_events: 0;
37070             scale: 1;
37071             description { state: "default" 0.0;
37072                visible: 0;
37073                fixed: 1 1;
37074                min: 1 1;
37075                align: 0.0 0.5;
37076                rel1 { relative: 0.0 0.0; to: "segment";}
37077                rel2 { relative: 1.0 1.0; to: "segment";}
37078                color: 255 255 255 150;
37079             }
37080             description { state: "disabled_single" 0.0;
37081                inherit: "default" 0.0;
37082                visible: 1;
37083                image {
37084                   normal: "seg_single_normal.png";
37085                   border: 7 7 7 7;
37086                }
37087             }
37088             description { state: "disabled_left" 0.0;
37089                inherit: "default" 0.0;
37090                visible: 1;
37091                image {
37092                   normal: "seg_left_normal.png";
37093                   border:  6 1 7 7;
37094                }
37095             }
37096             description { state: "disabled_right" 0.0;
37097                inherit: "default" 0.0;
37098                visible: 1;
37099                image {
37100                   normal: "seg_right_normal.png";
37101                   border: 1 6 7 7;
37102                }
37103             }
37104             description { state: "disabled_middle" 0.0;
37105                inherit: "default" 0.0;
37106                visible: 1;
37107                image {
37108                   normal: "seg_middle_normal.png";
37109                   border: 2 2 2 2;
37110                }
37111             }
37112          }
37113       }
37114       programs {
37115          script {
37116             public seg_type; // Single, Left, Middle, Right.
37117             public seg_state; // Normal/Default, Pressed, Selected.
37118             public seg_status;// Enabled/Default, Disabled
37119
37120             public update_state() {
37121                new type, state, disabled;
37122                type = get_int(seg_type);
37123                state = get_int(seg_state);
37124                disabled = get_int(seg_status);
37125
37126                if(state == SEGMENT_STATE_NORMAL)
37127                  {
37128                     if(type == SEGMENT_TYPE_SINGLE)
37129                       set_state(PART:"segment", "default_single", 0.0);
37130                     else if(type == SEGMENT_TYPE_LEFT)
37131                       set_state(PART:"segment", "default_left", 0.0);
37132                     else if(type == SEGMENT_TYPE_MIDDLE)
37133                       set_state(PART:"segment", "default_middle", 0.0);
37134                     else if(type == SEGMENT_TYPE_RIGHT)
37135                       set_state(PART:"segment", "default_right", 0.0);
37136                     set_state(PART:"elm.text", "normal", 0.0);
37137                  }
37138                else if(state == SEGMENT_STATE_PRESSED)
37139                  {
37140                     if(type == SEGMENT_TYPE_SINGLE)
37141                       set_state(PART:"segment", "pressed_single", 0.0);
37142                     else if(type == SEGMENT_TYPE_LEFT)
37143                       set_state(PART:"segment", "pressed_left", 0.0);
37144                     else if(type == SEGMENT_TYPE_MIDDLE)
37145                       set_state(PART:"segment", "pressed_middle", 0.0);
37146                     else if(type == SEGMENT_TYPE_RIGHT)
37147                       set_state(PART:"segment", "pressed_right", 0.0);
37148                     set_state(PART:"elm.text", "pressed", 0.0);
37149                  }
37150                else if(state == SEGMENT_STATE_SELECTED)
37151                  {
37152                     if(type == SEGMENT_TYPE_SINGLE)
37153                       set_state(PART:"segment", "selected_single", 0.0);
37154                     else if(type == SEGMENT_TYPE_LEFT)
37155                       set_state(PART:"segment", "selected_left", 0.0);
37156                     else if(type == SEGMENT_TYPE_MIDDLE)
37157                       set_state(PART:"segment", "selected_middle", 0.0);
37158                     else if(type == SEGMENT_TYPE_RIGHT)
37159                       set_state(PART:"segment", "selected_right", 0.0);
37160                     set_state(PART:"elm.text", "selected", 0.0);
37161                  }
37162                if(disabled == SEGMENT_STATUS_DISABLED)
37163                  {
37164                     if(type == SEGMENT_TYPE_SINGLE)
37165                       set_state(PART:"disabler", "disabled_single", 0.0);
37166                     else if(type == SEGMENT_TYPE_LEFT)
37167                       set_state(PART:"disabler", "disabled_left", 0.0);
37168                     else if(type == SEGMENT_TYPE_MIDDLE)
37169                       set_state(PART:"disabler", "disabled_middle", 0.0);
37170                     else if(type == SEGMENT_TYPE_RIGHT)
37171                       set_state(PART:"disabler", "disabled_right", 0.0);
37172                     set_state(PART:"elm.text", "disabled", 0.0);
37173                  }
37174             }
37175          }
37176          program {
37177             name: "segment_type_s";
37178             signal: "elm,type,segment,single";
37179             source: "elm";
37180             script {
37181                set_int(seg_type, SEGMENT_TYPE_SINGLE);
37182                update_state();
37183             }
37184          }
37185          program {
37186             name: "segment_type_l";
37187             signal: "elm,type,segment,left";
37188             source: "elm";
37189             script {
37190                set_int(seg_type, SEGMENT_TYPE_LEFT);
37191                update_state();
37192             }
37193          }
37194          program {
37195             name: "segment_type_m";
37196             signal: "elm,type,segment,middle";
37197             source: "elm";
37198             script {
37199                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
37200                update_state();
37201             }
37202          }
37203          program {
37204             name: "segment_type_r";
37205             signal: "elm,type,segment,right";
37206             source: "elm";
37207             script {
37208                set_int(seg_type, SEGMENT_TYPE_RIGHT);
37209                update_state();
37210             }
37211          }
37212          program {
37213             name: "normal_segment";
37214             signal: "elm,state,segment,normal";
37215             source: "elm";
37216             script {
37217                set_int(seg_state, SEGMENT_STATE_NORMAL);
37218                update_state();
37219             }
37220          }
37221          program {
37222             name: "pressed_segment";
37223             signal: "elm,state,segment,pressed";
37224             source: "elm";
37225             script {
37226                set_int(seg_state, SEGMENT_STATE_PRESSED);
37227                update_state();
37228             }
37229          }
37230          program {
37231             name: "selected_segment";
37232             signal: "elm,state,segment,selected";
37233             source: "elm";
37234             script {
37235                set_int(seg_state, SEGMENT_STATE_SELECTED);
37236                update_state();
37237             }
37238          }
37239          program { name: "disable_segment";
37240             signal: "elm,state,disabled";
37241             source: "elm";
37242             script {
37243                set_int(seg_status, SEGMENT_STATUS_DISABLED);
37244                update_state();
37245             }
37246          }
37247          program { name: "enable_segment";
37248             signal: "elm,state,enabled";
37249             source: "elm";
37250             script {
37251                set_int(seg_status, SEGMENT_STATUS_ENABLED);
37252                update_state();
37253             }
37254          }
37255          program { name: "text_show";
37256             signal: "elm,state,text,visible";
37257             source: "elm";
37258             script {
37259                new st[31];
37260                new Float:vl;
37261                get_state(PART:"elm.swallow.icon", st, 30, vl);
37262                if (!strcmp(st, "icononly"))
37263                  {
37264                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37265                     set_state(PART:"padding_icon_text", "visible", 0.0);
37266                  }
37267                get_state(PART:"elm.text", st, 30, vl);
37268                if (!strcmp(st, "selected"))
37269                   set_state(PART:"elm.text", "selected", 0.0);
37270                else
37271                   set_state(PART:"elm.text", "normal", 0.0);
37272             }
37273          }
37274          program { name: "text_hide";
37275             signal: "elm,state,text,hidden";
37276             source: "elm";
37277             script {
37278                new st[31];
37279                new Float:vl;
37280                get_state(PART:"elm.swallow.icon", st, 30, vl);
37281                if (!strcmp(st, "visible"))
37282                  {
37283                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37284                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37285                  }
37286                set_state(PART:"elm.text", "default", 0.0);
37287             }
37288          }
37289          program { name: "icon_show";
37290             signal: "elm,state,icon,visible";
37291             source: "elm";
37292             script {
37293                new st[31];
37294                new Float:vl;
37295                get_state(PART:"elm.text", st, 30, vl);
37296                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
37297                  {
37298                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37299                     set_state(PART:"padding_icon_text", "visible", 0.0);
37300                  }
37301                else
37302                  {
37303                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37304                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37305                  }
37306             }
37307          }
37308          program { name: "icon_hide";
37309             signal: "elm,state,icon,hidden";
37310             source: "elm";
37311             action:  STATE_SET "default" 0.0;
37312             target: "elm.swallow.icon";
37313          }
37314       }
37315 #undef SEGMENT_TYPE_SINGLE
37316 #undef SEGMENT_TYPE_LEFT
37317 #undef SEGMENT_TYPE_MIDDLE
37318 #undef SEGMENT_TYPE_RIGHT
37319 #undef SEGMENT_STATE_NORMAL
37320 #undef SEGMENT_STATE_PRESSED
37321 #undef SEGMENT_STATE_SELECTED
37322 #undef SEGMENT_STATUS_ENABLED
37323 #undef SEGMENT_STATUS_DISABLED
37324    }
37325
37326    /* a simple title layout, with a label and two icons */
37327    group { name: "elm/layout/application/titlebar";
37328       images {
37329          image: "toolbar_sel.png" COMP;
37330       }
37331       parts {
37332          part { name: "base";
37333             mouse_events: 0;
37334             scale: 1;
37335             description { state: "default" 0.0;
37336                min: 0 33;
37337                max: 99999 33;
37338                align: 0.5 0.0;
37339                rel1.offset: -1 0;
37340                rel2.offset: 1 0;
37341                image {
37342                   normal: "toolbar_sel.png";
37343                   border: 3 3 0 0;
37344                }
37345             }
37346          }
37347          part { name: "elm.swallow.content";
37348             type: SWALLOW;
37349             description { state: "default" 0.0;
37350                visible: 1;
37351                rel1 {
37352                   to: "base";
37353                   relative: 0.0 1.0;
37354                }
37355             }
37356          }
37357          part { name: "elm.swallow.icon";
37358             type: SWALLOW;
37359             scale: 1;
37360             description { state: "default" 0.0;
37361                visible: 0;
37362                fixed: 1 1;
37363                align: 0.0 0.0;
37364                rel1 {
37365                   to: "base";
37366                   relative: 0.0 0.0;
37367                   offset: 4 0;
37368                }
37369                rel2 {
37370                   to: "base";
37371                   relative: 0.0 1.0;
37372                }
37373             }
37374             description { state: "visible" 0.0;
37375                inherit: "default" 0.0;
37376                visible: 1;
37377             }
37378          }
37379          part { name: "elm.swallow.end";
37380             type: SWALLOW;
37381             scale: 1;
37382             description { state: "default" 0.0;
37383                visible: 0;
37384                fixed: 1 1;
37385                align: 1.0 0.0;
37386                rel1 {
37387                   to: "base";
37388                   relative: 1.0 0.0;
37389                   offset: 0 0;
37390                }
37391                rel2 {
37392                   to: "base";
37393                   relative: 1.0 1.0;
37394                   offset: -5 -1;
37395                }
37396             }
37397             description { state: "visible" 0.0;
37398                inherit: "default" 0.0;
37399                visible: 1;
37400             }
37401          }
37402          part { name: "elm.text";
37403             type: TEXT;
37404             effect: SOFT_SHADOW;
37405             mouse_events: 0;
37406             scale: 1;
37407             description { state: "default" 0.0;
37408                fixed: 1 1;
37409                rel1 {
37410                   to_x: "elm.swallow.icon";
37411                   to_y: "base";
37412                   relative: 1.0 0.0;
37413                }
37414                rel2 {
37415                   to_x: "elm.swallow.end";
37416                   to_y: "base";
37417                   relative: 0.0 1.0;
37418                }
37419                text {
37420                   font: "Sans";
37421                   size: 12;
37422                   min: 0 0;
37423                   align: 0.5 0.5;
37424                   text_class: "title_bar";
37425                }
37426             }
37427          }
37428       }
37429       programs {
37430          program { name: "show_icon";
37431             signal: "elm,state,icon,visible";
37432             source: "elm";
37433             action: STATE_SET "visible" 0.0;
37434             target: "elm.swallow.icon";
37435          }
37436          program { name: "hide_icon";
37437             signal: "elm,state,icon,hidden";
37438             source: "elm";
37439             action: STATE_SET "default" 0.0;
37440             target: "elm.swallow.icon";
37441          }
37442          program { name: "show_end";
37443             signal: "elm,state,end,visible";
37444             source: "elm";
37445             action: STATE_SET "visible" 0.0;
37446             target: "elm.swallow.end";
37447          }
37448          program { name: "hide_end";
37449             signal: "elm,state,end,hidden";
37450             source: "elm";
37451             action: STATE_SET "default" 0.0;
37452             target: "elm.swallow.end";
37453          }
37454       }
37455    }
37456
37457    group {
37458       name: "elm/player/base/default";
37459       min: 290 26;
37460
37461       parts {
37462          part {
37463             type: SWALLOW;
37464             name: "media_player/slider";
37465
37466             description {
37467                rel2 {
37468                   relative: 1.0 0.0;
37469                   to_x: "media_player/forward";
37470                }
37471             }
37472          }
37473          part {
37474             type: SWALLOW;
37475             name: "media_player/rewind";
37476
37477             description {
37478                rel1 {
37479                   to_y: "media_player/slider";
37480                   offset: 42 0;
37481                   relative: 0.0 1.0;
37482                }
37483                rel2 {
37484                   relative: 0.0 1.0;
37485                }
37486             }
37487          }
37488          part {
37489             type: SWALLOW;
37490             name: "media_player/prev";
37491
37492             description {
37493                rel1 {
37494                   to: "media_player/rewind";
37495                   relative: 1.0 0.0;
37496                }
37497                rel2 {
37498                   to: "media_player/rewind";
37499                   relative: 2.0 1.0;
37500                }
37501             }
37502          }
37503          part {
37504             type: SWALLOW;
37505             name: "media_player/play";
37506
37507             description {
37508                rel1 {
37509                   to: "media_player/prev";
37510                   relative: 1.0 0.0;
37511                }
37512                rel2 {
37513                   to: "media_player/prev";
37514                   relative: 2.0 1.0;
37515                }
37516             }
37517             description {
37518                state: hidden 0.0;
37519                inherit: default 0.0;
37520                visible: 0;
37521             }
37522          }
37523          part {
37524             type: SWALLOW;
37525             name: "media_player/pause";
37526
37527             description {
37528                rel1.to: "media_player/play";
37529                rel2.to: "media_player/play";
37530             }
37531             description {
37532                state: hidden 0.0;
37533                inherit: default 0.0;
37534                visible: 0;
37535             }
37536          }
37537          part {
37538             type: SWALLOW;
37539             name: "media_player/info";
37540             description {
37541                rel1 {
37542                   to: "media_player/play";
37543                   relative: 1.0 0.0;
37544                }
37545                rel2 {
37546                   to: "media_player/play";
37547                   relative: 2.0 1.0;
37548                }
37549             }
37550          }
37551
37552          part {
37553             type: SWALLOW;
37554             name: "media_player/stop";
37555             description {
37556                rel1 {
37557                   to: "media_player/info";
37558                   relative: 3.0 0.0;
37559                }
37560                rel2 {
37561                   to: "media_player/info";
37562                   relative: 4.0 1.0;
37563                }
37564             }
37565          }
37566          part {
37567             type: SWALLOW;
37568             name: "media_player/next";
37569             description {
37570                rel1 {
37571                   to: "media_player/stop";
37572                   relative: 1.0 0.0;
37573                }
37574                rel2 {
37575                   to: "media_player/stop";
37576                   relative: 2.0 1.0;
37577                }
37578             }
37579          }
37580          part {
37581             type: SWALLOW;
37582             name: "media_player/forward";
37583             description {
37584                rel1 {
37585                   to: "media_player/next";
37586                   relative: 1.0 0.0;
37587                }
37588                rel2 {
37589                   to: "media_player/next";
37590                   relative: 2.0 1.0;
37591                }
37592             }
37593          }
37594       }
37595       programs {
37596          program {
37597             signal: "show";
37598             source: "";
37599             after: "pause/0";
37600          }
37601          program {
37602             signal: "elm,player,play";
37603             source: "elm";
37604             after: "play/0";
37605          }
37606          program {
37607             signal: "elm,player,pause";
37608             source: "elm";
37609             after: "pause/0";
37610          }
37611          program {
37612             name: "play/0";
37613
37614             action: STATE_SET "hidden" 0.0;
37615             target: "media_player/play";
37616
37617             after: "play/1";
37618          }
37619          program {
37620             name: "play/1";
37621
37622             action: STATE_SET "default" 0.0;
37623             target: "media_player/pause";
37624          }
37625          program {
37626             name: "pause/0";
37627
37628             action: STATE_SET "hidden" 0.0;
37629             target: "media_player/pause";
37630
37631             after: "pause/1";
37632          }
37633          program {
37634             name: "pause/1";
37635
37636             action: STATE_SET "default" 0.0;
37637             target: "media_player/play";
37638          }
37639       }
37640    }
37641
37642    group {
37643       name: "elm/video/base/default";
37644
37645       parts {
37646          part {
37647             name: "clipper";
37648             type: RECT;
37649
37650             description {
37651                color: 255 255 255 255;
37652             }
37653             description {
37654                state: "darker" 0.0;
37655                color: 128 128 128 255;
37656             }
37657          }
37658          part {
37659             name: "elm.swallow.video";
37660             type: SWALLOW;
37661
37662             clip_to: "clipper";
37663             mouse_events: 1;
37664             repeat_events: 1;
37665
37666             description {
37667                aspect_preference: BOTH;
37668                aspect: 1 1;
37669             }
37670          }
37671       }
37672
37673       programs {
37674          program {
37675             signal: "elm,video,load";
37676             source: "elm";
37677
37678             action: STATE_SET "darker" 0.0;
37679             target: "clipper";
37680          }
37681          program {
37682             signal: "elm,video,play";
37683             source: "elm";
37684
37685             action: STATE_SET "default" 0.0;
37686             target: "clipper";
37687          }
37688          program {
37689             signal: "elm,video,end";
37690             source: "elm";
37691
37692             action: STATE_SET "darker" 0.0;
37693             target: "clipper";
37694             transition: LINEAR 0.5;
37695          }
37696          program {
37697             signal: "elm,video,pause";
37698             source: "elm";
37699
37700             action: STATE_SET "darker" 0.0;
37701             target: "clipper";
37702          }
37703       }
37704    }
37705 /////////////////////////////////////////////////////////////////////////
37706 group { name:"elm/naviframe/base/default";
37707    images {
37708       image: "frame_1.png" COMP;
37709       image: "frame_2.png" COMP;
37710       image: "dia_grad.png" COMP;
37711    }
37712    parts {
37713       part { name: "base0";
37714          mouse_events:  0;
37715          description { state: "default" 0.0;
37716             image.normal: "dia_grad.png";
37717             fill {
37718                smooth: 0;
37719                size {
37720                   relative: 0.0 1.0;
37721                   offset: 64 0;
37722                }
37723             }
37724          }
37725       }
37726       part { name: "base1";
37727          type: IMAGE;
37728          description { state: "default" 0.0;
37729             image {
37730                normal: "frame_2.png";
37731                border: 5 5 32 26;
37732                middle: 0;
37733             }
37734             fill.smooth : 0;
37735          }
37736       }
37737       part { name: "over";
37738          mouse_events:  0;
37739          description { state: "default" 0.0;
37740             rel1.offset: 4 4;
37741             rel2.offset: 5 5;
37742             image {
37743                normal: "frame_1.png";
37744                border: 2 2 28 22;
37745                middle: 0;
37746             }
37747             fill.smooth : 0;
37748          }
37749       }
37750    }
37751 }
37752 group { name:"elm/naviframe/item/basic/default";
37753    images {
37754       image: "flip_base.png" COMP;
37755       image: "flip_shad.png" COMP;
37756    }
37757    parts {
37758       part { name: "title_clip";
37759          type: RECT;
37760          mouse_events: 0;
37761          description { state: "default" 0.0;
37762             min: 1 50;
37763             align: 0.0 0.0;
37764             fixed: 0 1;
37765             rel1 { relative: 0.0 0.0; }
37766             rel2 { relative: 1.0 0.0; }
37767          }
37768          description { state: "hide" 0.0;
37769             inherit: "default" 0.0;
37770             min: 0 0;
37771             max: 0 0;
37772             fixed: 1 1;
37773          }
37774       }
37775       part { name: "content_clip";
37776          type: RECT;
37777          mouse_events: 0;
37778          description { state: "default" 0.0;
37779             rel1.to_y: "title_clip";
37780             rel1.relative: 0 1;
37781          }
37782       }
37783       part { name: "elm.swallow.content";
37784          type: SWALLOW;
37785          scale: 1;
37786          repeat_events: 0;
37787          clip_to: "content_clip";
37788          description { state: "default" 0.0;
37789             align: 0.0 0.0;
37790             rel1.relative: 1.0 1.0;
37791             rel1.to_y: "title_clip";
37792             rel2.relative: 2.0 1.0;
37793          }
37794          description { state: "show" 0.0;
37795             inherit: "default" 0.0;
37796             rel1.relative: 0.0 1.0;
37797             rel2.relative: 1.0 1.0;
37798          }
37799          description { state: "pushed" 0.0;
37800             inherit: "default" 0.0;
37801             rel1.relative: -1.0 1.0;
37802             rel2.relative: 0.0 1.0;
37803          }
37804          description { state: "popped" 0.0;
37805             inherit: "default" 0.0;
37806             rel1.relative: 1.0 1.0;
37807             rel2.relative: 2.0 1.0;
37808          }
37809       }
37810       part { name: "title_base";
37811          type: IMAGE;
37812          scale: 1;
37813          repeat_events: 0;
37814          clip_to: "title_clip";
37815          description { state: "default" 0.0;
37816             min: 1 50;
37817             align: 0.0 0.0;
37818             fixed: 0 1;
37819             rel1 { relative: 0.0 0.0; }
37820             rel2 { relative: 1.0 0.0; }
37821             image.normal: "flip_base.png";
37822          }
37823       }
37824       part { name: "elm.swallow.prev_btn";
37825          type: SWALLOW;
37826          scale: 1;
37827          clip_to: "title_clip";
37828          description { state: "default" 0.0;
37829             min: 80 40;
37830             max: 80 40;
37831             align: 0 0;
37832             fixed: 1 1;
37833             rel1.offset: 5 5;
37834             rel1.to: "title_base";
37835             rel2.offset: -1 -6;
37836             rel2.to: "title_base";
37837          }
37838       }
37839       part { name: "elm.swallow.next_btn";
37840          type: SWALLOW;
37841          scale: 1;
37842          clip_to: "title_clip";
37843          description { state: "default" 0.0;
37844             min: 80 40;
37845             max: 80 40;
37846             align: 1 0;
37847             fixed: 1 1;
37848             rel1.offset: 0 5;
37849             rel1.to: "title_base";
37850             rel2.offset: -6 -6;
37851             rel2.to: "title_base";
37852          }
37853       }
37854       part { name: "elm.swallow.icon";
37855          type: SWALLOW;
37856          scale: 1;
37857          clip_to: "title_clip";
37858          description { state: "default" 0.0;
37859             min: 40 40;
37860             max: 40 40;
37861             align: 1 0.5;
37862             rel1.to: "elm.text.title";
37863             rel1.relative: 0 0;
37864             rel1.to: "title_base";
37865             rel2.to: "elm.text.title";
37866             rel2.relative: 0 1;
37867             rel2.to: "title_base";
37868          }
37869       }
37870       part { name: "elm.text.title";
37871          type: TEXT;
37872          scale: 1;
37873          repeat_events: 1;
37874          clip_to: "title_clip";
37875          description { state: "default" 0.0;
37876             text { font: "Sans,Edje-Vera";
37877                size: 10;
37878                min: 0 0;
37879                max: 1 0;
37880                align: 0.5 0.5;
37881             }
37882             color: 0 0 0 255;
37883             align: 0.5 0.5;
37884             rel1.to: "title_base";
37885             rel2.to: "title_base";
37886          }
37887       }
37888       part { name: "elm.text.subtitle";
37889          type: TEXT;
37890          scale: 1;
37891          repeat_events: 1;
37892          clip_to: "title_clip";
37893          description { state: "default" 0.0;
37894             text { font: "Sans,Edje-Vera";
37895                size: 8;
37896                min: 0 0;
37897                max: 1 0;
37898                align: 0.5 1;
37899             }
37900             rel1.to_y: "elm.text.title";
37901             rel1.relative: 0 1;
37902             rel1.to: "title_base";
37903             rel2.to: "title_base";
37904             color: 50 50 50 255;
37905             align: 0.5 0;
37906          }
37907       }
37908       part { name: "shade";
37909          type: IMAGE;
37910          mouse_events: 0;
37911          clip_to: "title_clip";
37912          description {
37913             align: 0.5 1;
37914             rel1.to_y: "elm.text.title";
37915             rel1.relative: 0 1;
37916             rel1.offset: 0 0;
37917             rel1.to: "title_base";
37918             rel2.offset: -1 5;
37919             rel2.to: "title_base";
37920             image.normal: "flip_shad.png";
37921          }
37922       }
37923    }
37924    programs {
37925       program { name: "show";
37926          signal: "elm,state,show";
37927          source: "elm";
37928          action: STATE_SET "show" 0.0;
37929          target: "elm.swallow.content";
37930          transition: DECELERATE 0.5;
37931          after: "show_finished";
37932       }
37933       program { name: "pushed";
37934          signal: "elm,state,pushed";
37935          source: "elm";
37936          action: STATE_SET "pushed" 0.0;
37937          target: "elm.swallow.content";
37938          transition: DECELERATE 0.5;
37939          after: "pushed_finished";
37940       }
37941       program { name: "popped";
37942          signal: "elm,state,popped";
37943          source: "elm";
37944          action: STATE_SET "popped" 0.0;
37945          target: "elm.swallow.content";
37946          transition: DECELERATE 0.5;
37947          after: "popped_finished";
37948       }
37949       program { name: "visible";
37950          signal: "elm,state,visible";
37951          source: "elm";
37952          action: STATE_SET "show" 0.0;
37953          target: "elm.swallow.content";
37954       }
37955       program { name: "title_show";
37956          signal: "elm,state,title,show";
37957          source: "elm";
37958          action: STATE_SET "default" 0.0;
37959          target: "title_clip";
37960       }
37961       program { name: "title_hide";
37962          signal: "elm,state,title,hide";
37963          source: "elm";
37964          action: STATE_SET "hide" 0.0;
37965          target: "title_clip";
37966       }
37967       program {
37968          name: "title_clicked";
37969          signal: "mouse,clicked,1";
37970          source: "base";
37971          action: SIGNAL_EMIT "elm,action,clicked" "elm";
37972       }
37973       program { name: "show_finished";
37974          action: SIGNAL_EMIT "elm,action,show,finished" "";
37975       }
37976       program { name: "pushed_finished";
37977          action: SIGNAL_EMIT "elm,action,pushed,finished" "";
37978       }
37979       program { name: "popped_finished";
37980          action: SIGNAL_EMIT "elm,action,popped,finished" "";
37981       }
37982    }
37983 }
37984